Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: