5 ms·
You can do <somefile awk ... | ... The redirect doesn't have to appear "out of order" at the end of the command. In zsh you can even do just `<somefile`
by kevincox 4y ago
You can do
<somefile awk ... | ...
The redirect doesn't have to appear "out of order" at the end of the command.
In zsh you can even do just `<somefile` to print it (equivalent to `cat somefile`, very useful for reading files into variables) although in bash that appears to do nothing.