Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Illustrated Jq Tutorial.
I liked jq but liked json, a similar npm package, a little bit better for simple tasks.
You can find more about it here: https://github.com/trentm/json
As a JS dev I tend to have node installed anyhow so I just use a shell alias to wrap ‘node -pe’ these days. It’s not really for shell scripts but it’s great for quick every day usage. Plus you can use JS if needed instead of their DSL.
Here the code for the alias in my shell profile: https://github.com/KylePDavis/dotfiles/blob/master/.profile#...
There are no comments on this comment yet.
I liked jq but liked json, a similar npm package, a little bit better for simple tasks.
You can find more about it here: https://github.com/trentm/json
As a JS dev I tend to have node installed anyhow so I just use a shell alias to wrap ‘node -pe’ these days. It’s not really for shell scripts but it’s great for quick every day usage. Plus you can use JS if needed instead of their DSL.
Here the code for the alias in my shell profile: https://github.com/KylePDavis/dotfiles/blob/master/.profile#...