News for hackers. Stuff that matters.
Re:Useless Use of Cat Award by LukeShu on Wednesday September 11, 2013 @02:55PM (#6369160)
> setting up a data source at the left of the pipe in a way that's easy to modify to swap in a different kind of data source:

Just replace

    cat file |
with

    <file
It still keeps the data source on the left, and easily swapped out:

    <file grep xyz

There are no comments on this comment yet.