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>
next in thread | previous in thread | raw e-mail | index | archive | help
--E39vaYmALEf/7YXx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" =3D=3D Patrick Bihan-Faou <patrick.bihan-faou@teambo= x.fr> writes: > > >=20 > > > Patrick> cat asdf.txt | grep -v XYZ | grep -v bla > > >=20 > > > And yet, you still have the "Useless Use of Cat". > >=20 > > 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. >=20 > Do you know of any 'less useless' or more economical way to do such as: >=20 > % cat /boot/boot1 /boot/boot2 | diff - /boot/boot > % >=20 > ?, 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.o= rg" Here you're using cat for what it was intended -- conCATenation. It's the right tool for that job. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --E39vaYmALEf/7YXx Content-Type: application/pgp-signature Content-Disposition: inline -----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----- --E39vaYmALEf/7YXx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110105161103.GB94459>