Quoth Ian Smith on Thursday, 06 January 2011: > In freebsd-questions Digest, Vol 344, Issue 4, Message: 14 > On Tue, 4 Jan 2011 23:24:01 -0700 Chad Perrin <per...@apotheon.com> wrote: > > On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote: > > > >>>>> "Patrick" == Patrick Bihan-Faou <patrick.bihan-f...@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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Here you're using cat for what it was intended -- conCATenation. It's the right tool for that job. -- Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
pgp6YwaaNVSZJ.pgp
Description: PGP signature