Re:jc: Converts the output of popular command-line tools to ...
by mikecarlton on Friday December 08, 2023 @11:22AM
(#38570759)
It supports `jc foo | jq` which is quite handy. E.g. `jc dig google.com txt | jq '.[]|.answer[]|.data'`
[ Parent
| on HN ]
Re:jc: Converts the output of popular command-line tools to ...
by kbrazil on Friday December 08, 2023 @12:28PM
(#38571589)
Also, `jc` automatically selects the correct /proc/file parser so you can just do `jc /proc/meminfo` or `cat /proc/meminfo | jc --proc` without specifying the actual proc parser (though you can do that if you want)
Disclaimer: I'm the author of `jc`.