"Nick Guenther" <[EMAIL PROTECTED]> writes: > Message-ID: <[EMAIL PROTECTED]> > Date: Thu, 27 Jul 2006 22:31:10 -0400 > From: "Nick Guenther" <[EMAIL PROTECTED]> > To: OpenBSD-Misc <misc@openbsd.org> > Subject: cat -v > > Why does cat retain the -[etv], -[bn] and -[s] options? I am reading > the paper cited in cat's manpage and saw 'vis' mentioned. vis is in > base, and line numbering and stripping can be done with sed, so why > does cat have those options? Is for history, just for compatibility, > or has no one ever bothered to remove them (I find this unlikely)? > > -Nick
Using the same argument, everything that grep, sed and awk can do can be done in perl, so why have grep, sed & awk? All we need to do is teach everybody to type "perl -pe 1" in place of "cat". -Marcus Watts