mao@lemmy.sdf.org to Programmer Humor@lemmy.ml · 6 个月前Damn no integrated advanced AI-driven solution that analyzes patterns and just predicts the errors? 🤨lemmy.sdf.orgimagemessage-square56fedilinkarrow-up1374
arrow-up1374imageDamn no integrated advanced AI-driven solution that analyzes patterns and just predicts the errors? 🤨lemmy.sdf.orgmao@lemmy.sdf.org to Programmer Humor@lemmy.ml · 6 个月前message-square56fedilink
minus-squareporous_grey_matter@lemmy.mllinkfedilinkarrow-up9·6 个月前You can just do grep Error5 log.txt
minus-squarebiribiri11@lemmy.mllinkfedilinkarrow-up12·6 个月前In the back of my mind I know this is there, but the cat | grep pattern is just muscle memory at this point
minus-squareallywilson@lemmy.mllinkfedilinkarrow-up3·6 个月前I’ve been ‘told off’ so many times by the internet for my cat and grep combos that I still do it, then I remove the cat, it still works, and I feel better. shrug
minus-squareexpr@programming.devlinkfedilinkarrow-up3·6 个月前Just remember that if you aren’t actually concatenating files, cat is always unnecessary.
You can just do
In the back of my mind I know this is there, but the
cat | grep
pattern is just muscle memory at this pointI’ve been ‘told off’ so many times by the internet for my cat and grep combos that I still do it, then I remove the cat, it still works, and I feel better. shrug
Just remember that if you aren’t actually concatenating files,
cat
is always unnecessary.for me as well.