Date: Wed, 5 Jan 2011 08:11:03 -0800 From: Chip Camden <sterling@camdensoftware.com> To: freebsd-questions@freebsd.org Subject: Re: a perl question Message-ID: <20110105161103.GB94459@libertas.local.camdensoftware.com> In-Reply-To: <20110105234451.T49334@sola.nimnet.asn.au> References: <20110105120012.26D6710656E0@hub.freebsd.org> <20110105234451.T49334@sola.nimnet.asn.au>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 <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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Here you're using cat for what it was intended -- conCATenation. It's the right tool for that job. -- Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNJJgVAAoJEIpckszW26+RNlcH/1u3DFwlIw7ub2tzUEPFaNMH zm8s7sMOKKvxraVgCK4NKXDErsdHQvEOq4K6QpW4QMnuXOgatJ2Zbtcf1uwuGHnv fVqyzmKAoy18uIoGzSmndjP2MrRfGJ3pDXbQX/QhvcMqAq1DLoI4ziUo9knt3PUA LEZSKZ6xPJoJhpqopoIVRj/vMkceVdu/4dsEMyArb8kulDTRllN+8eq8GinXiuBG TSDvCGJJx0g+20rqiAVv2Qumf15Qz0yzAzMsPu4jtRZvcYxa0GxL/wYTUC5/aAkI N/VmiYBke1IEQXR70+OtG0y8uR/4moZNzueoytwnANNft1l7E4scVjRZPi/M0us= =QiVC -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110105161103.GB94459>
