Re:Tips on adding JSON output to your CLI app
by preseinger on Monday December 06, 2021 @12:03AM
(#29456353)
That jq expression is surely more difficult to summon than a line-based grep pattern.
[ Parent
| on HN ]
Re:Tips on adding JSON output to your CLI app
by kbrazil on Monday December 06, 2021 @01:19AM
(#29456773)
Grep would not be able to do numeric comparison, would it?
Re:Tips on adding JSON output to your CLI app
by preseinger on Wednesday December 08, 2021 @03:44PM
(#29490241)
Not directly, but once you want to do that, IMO, you've moved out of "shell script" territory and into "actual program" territory.