I Used cat | grep — And Someone Yelled at Me
I was just trying to search through a log file. Innocently, I typed: It worked. I was happy. Then, during a code review (yes, we review bash scripts too), someone yelled — okay, maybe not literally, but they left a fiery comment: “Useless use of cat. Don’t do this!” I blinked. What? What did cat…