5 ms·
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.
by salgernon 12y ago
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.
- philsnow 12y agofwiw $ <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.