3 ms·
Which is sorta-kinda the same thing as jq .field <(aws s3 cp s3://bucket/file.json.gz - | zcat | head) | sort which is more annoying to type but works.
by Spivak 6y ago
Which is sorta-kinda the same thing as
jq .field <(aws s3 cp s3://bucket/file.json.gz - | zcat | head) | sort
which is more annoying to type but works.
- dullgiulio 6y agoRedirection is not a parameter, meaning that would still not work with this Q tool.
- jraph 6y agoThis is not a simple redirection. cmd <(subcmd) is a bashism that redirects the output of command subcmd to something that looks like a regular file to command cmd. Command cmd receive a path at the place the <(subcmd) syntax is used. Different from cmd < f, which redirects the contents of file f to cmd's input. So, this should work :-)