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
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
... 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.