Re:Show HN: Pjs is an Awk-like CLI for processing textual fo...
by aduros on Monday January 25, 2021 @02:09PM
(#25907308)
pjs is for filtering and transformation like awk/sed/grep, but it supports many different text-based formats and its programs are written in plain JavaScript.
Here's an example that converts a file to uppercase:
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!