Dunno, watching people cat something then pipe it to grep drives me up the wall. I'll let piping grep to wc -l instead of just using -c pass this time though.
I prefer cat-then-pipe while using shell interactively. It's easier to add things to the middle of the pipeline. You simply move the cursor the pipe character, and type another command.
ash|6 years ago
Original:
After change: But with cat-less version, you have to think and sometimes even move things around.Original:
After change: Moreover, some commands behave differently in cat-less mode. For example, gzip: