On Sun, Jan 30, 2022 at 06:40:15PM +0100, inasprec...@disroot.org wrote:
> Why is cat -v considered bad?  I see that people often bring up
> this particular example as a way to illustrate bad extensions, but
> what exactly makes it so?
cat(1) should do one thing - concatenate files. cat(1) was never thought
to print "non printable characters". A separate tool should do that.

Definitely worth a read:
https://harmful.cat-v.org/cat-v/unix_prog_design.pdf


--
craekz

Reply via email to