Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Hikikomori
on Nov 23, 2021
|
parent
|
context
|
favorite
| on:
Bash patterns I use weekly
My daily bash pattern.
cat file cat file | grep something
Eduard
on Nov 23, 2021
|
next
[–]
https://security.stackexchange.com/questions/56307/can-cat-i...
amp108
on Nov 24, 2021
|
prev
|
next
[–]
You could just `grep "something" file.
penguin_booze
on Nov 24, 2021
|
parent
|
next
[–]
Indeed - it's a known anti-pattern[0].
[0]
https://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat
phist_mcgee
on Nov 24, 2021
|
prev
[–]
I prefer less tbh, less pollution of the term output.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: