a perl question
Ian Smith
smithi at nimnet.asn.au
Wed Jan 5 13:07:23 UTC 2011
In freebsd-questions Digest, Vol 344, Issue 4, Message: 14
On Tue, 4 Jan 2011 23:24:01 -0700 Chad Perrin <perrin at apotheon.com> wrote:
> On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote:
> > >>>>> "Patrick" == Patrick Bihan-Faou <patrick.bihan-faou at 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
More information about the freebsd-questions
mailing list