Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on PSA about abuse of cat(1) command. Don't abuse cats. Parent comment
"< file.txt somecommand | othercommand | anothercommand"
There is never any need for "cat".
When such a pipeline is used repeatedly in a script, the time for executing the redundant process "cat" can easily add up to a noticeable delay.
> "cat" can easily add up to a noticeable delay.
If you have a slow script, you will have more useful places to optimize than removing calls to cat.
"< file.txt somecommand | othercommand | anothercommand"
There is never any need for "cat".
When such a pipeline is used repeatedly in a script, the time for executing the redundant process "cat" can easily add up to a noticeable delay.