3 ms·
The manual is pretty dang good, tbh. https://stedolan.github.io/jq/manual/ https://stedolan.github.io/jq/manual/
by chucky_z 7y ago
The manual is pretty dang good, tbh.
https://stedolan.github.io/jq/manual/ https://stedolan.github.io/jq/manual/
- e12e 7y agoI agree that it is clear, but I still struggle to figure out (by myself) how to do (in an awk sense) simple things like: Filter out empty or null values: https://stackoverflow.com/questions/39500608/remove-all-null-values https://stackoverflow.com/questions/39500608/remove-all-null... I seem to either end up with unwieldy, long/verbose solutions - or shorter ones that does not work :)
- chucky_z 7y agoOh wow, that's terrible! I tend to get 90% of the way with jq and then awk/sed/grep my way to the desired result (jq -r).