3 ms·
https://github.com/stedolan/jq/issues/243 https://github.com/stedolan/jq/issues/243 jq can also do the same thing, with more flexibility. And it is possible to
by flying_sheep 7y ago
https://github.com/stedolan/jq/issues/243 https://github.com/stedolan/jq/issues/243
jq can also do the same thing, with more flexibility. And it is possible to combine with bash alias to make it indistinguishable from catj
- jolmg 7y ago> combine with bash alias ... or you know, you could put the jq script in an executable file and add a shebang like #!/usr/bin/jq -jf or #!/usr/bin/jq -rf In my opinion, aliases should mostly be used to add default options only. Not really to insert whole scripts into them.
- Splognosticus 7y agoI've always been of the mind that aliases should be "whatever the user finds convenient." I don't think I've ever seen code that depends on them.