3 ms·
Indeed. Unix philosophy is many tools that all do one small thing well. Cat handles opening a file and sending it to another file. I start pipelines with cat wh
by canjobear 6y ago
Indeed. Unix philosophy is many tools that all do one small thing well. Cat handles opening a file and sending it to another file. I start pipelines with cat whenever possible, in case later on I have to drop in zcat or similar instead.
The other examples given in the article also demonstrate that they have completely failed to understand not only Unix philosophy but also basic readability. For example, preferring the cryptic `something | grep . >/dev/null && ...` over `something | grep '..*' | wc -l`.