Here's an example that converts a file to uppercase:
cat file.txt | pjs '_.toUpperCase()'
curl https://aduros.com | pjs --html 'h1,h2' '_.text'
cat database.json | pjs --json '.users[]' '_.age >= 21'
Here's an example that converts a file to uppercase:
It can also scrape websites using CSS selectors: And JSON using jq filters: Lots more examples on the README/man page. It's still quite new and may have bugs, if you find one let me know!