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

The advantage to using "cat foo | grep pattern" is that it is trivial to ^p and edit the pattern before adding the next pipeline sequence.


fwiw

    $ <filename grep <pattern>
no shell I'm aware of restricts you to placing redirections at the end, you can throw them on the beginning no problem.




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

Search: