4 ms·
grep is a tool. jq is a good tool for json.
by theknarf 1y ago
grep is a tool. jq is a good tool for json.
- kergonath 1y agogrep is POSIX and you can count on it being installed pretty much anywhere. That’s not the case for jq.
- whizzter 1y agoDo people contain themselvs to a POSIX conformant grep subset in practice, or do you mean GNU grep that probably doesn't behave according to spec unless POSIXLY_CORRECT is set?
- IAmBroom 1y ago"Anywhere" does not include Windows environments, which are over half the work computers out there.
- deleted 1y ago[deleted]
- krogenx 1y agoIf a workstation has Git installed on it, which I’d think would be the case for substantial number of engineers out there (…not just software engineers), grep is there due to Git BASH.