From owner-freebsd-questions@FreeBSD.ORG Wed Jan 5 16:11:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A28E3106566C for ; Wed, 5 Jan 2011 16:11:09 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 698EB8FC18 for ; Wed, 5 Jan 2011 16:11:09 +0000 (UTC) Received: from 97-113-167-219.tukw.qwest.net ([97.113.167.219] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1PaVx2-0001EI-3o for freebsd-questions@freebsd.org; Wed, 05 Jan 2011 08:11:05 -0800 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Wed, 05 Jan 2011 08:11:03 -0800 Date: Wed, 5 Jan 2011 08:11:03 -0800 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110105161103.GB94459@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20110105120012.26D6710656E0@hub.freebsd.org> <20110105234451.T49334@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E39vaYmALEf/7YXx" Content-Disposition: inline In-Reply-To: <20110105234451.T49334@sola.nimnet.asn.au> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: a perl question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 16:11:09 -0000 --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 wrote: > > On Tue, Jan 04, 2011 at 09:33:03AM -0800, Randal L. Schwartz wrote: > > > >>>>> "Patrick" =3D=3D Patrick Bihan-Faou 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--