Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2011 00:07:13 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Chad Perrin <perrin@apotheon.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: a perl question
Message-ID:  <20110105234451.T49334@sola.nimnet.asn.au>
In-Reply-To: <20110105120012.26D6710656E0@hub.freebsd.org>
References:  <20110105120012.26D6710656E0@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In freebsd-questions Digest, Vol 344, Issue 4, Message: 14
On Tue, 4 Jan 2011 23:24:01 -0700 Chad Perrin <perrin@apotheon.com> wrote:
 > On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote:
 > > >>>>> "Patrick" == Patrick Bihan-Faou <patrick.bihan-faou@teambox.fr> writes:
 > > 
 > > Patrick> cat asdf.txt | grep -v XYZ | grep -v bla
 > > 
 > > And yet, you still have the "Useless Use of Cat".
 > 
 > The weirdest thing about most useless uses of cat is that not using cat
 > would actually be a little clearer and involve fewer keystrokes -- as in
 > this case.

Do you know of any 'less useless' or more economical way to do such as:

 % cat /boot/boot1 /boot/boot2 | diff - /boot/boot
 %

?, Ian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110105234451.T49334>