Y
Hacker News
new
|
ask
|
show
|
jobs
by
amp108
1663 days ago
You could just `grep "something" file.
1 comments
penguin_booze
1662 days ago
Indeed - it's a known anti-pattern[0].
[0]
https://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat
link
[0] https://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat