38 ms·
> cat /proc/cpuinfo | grep -i mhz Completely ignoring the test, why use cat when grep accepts filename as argument?
by kramerger 4y ago
> cat /proc/cpuinfo | grep -i mhz
Completely ignoring the test, why use cat when grep accepts filename as argument?
- fasterthanlime 4y agoThe reason is that it takes me longer to remember the order of arguments for "grep" than it takes me to write the pipe. I also find that order more natural. I'm also trying to carbon-offset all my useless uses of cat by writing ops glue in Rust instead of bash. Hopefully I'm net positive.