From owner-freebsd-questions@FreeBSD.ORG Wed Jan 5 22:21:37 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 DA6161065674 for ; Wed, 5 Jan 2011 22:21:37 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id A10B28FC12 for ; Wed, 5 Jan 2011 22:21:37 +0000 (UTC) Received: (qmail 23201 invoked by uid 0); 5 Jan 2011 22:21:37 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 5 Jan 2011 22:21:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=bRlEcWzINY4uO/re1pQuYZRPK5CgJKD3R9IEFknRufjOGOvuAdhA8VKrQbtl9fI6sBkyZalhc9CpEWdFZe2Dp1OO7qOVUlHVA1zrswUo84zuBl7VBNI0BsvuWabIQRP2; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pabjc-000211-1W for freebsd-questions@freebsd.org; Wed, 05 Jan 2011 15:21:37 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Wed, 05 Jan 2011 15:13:02 -0700 Date: Wed, 5 Jan 2011 15:13:02 -0700 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20110105221302.GA77555@guilt.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <117654.42578.qm@web121409.mail.ne1.yahoo.com> <4D231CB7.2060902@teambox.fr> <86pqsc3774.fsf@red.stonehenge.com> <20110105062401.GB74123@guilt.hydra> <20110105160514.GA94459@libertas.local.camdensoftware.com> <20110105221538.26daeb0d@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: <20110105221538.26daeb0d@gumby.homeunix.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} 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 22:21:37 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 05, 2011 at 10:15:38PM +0000, RW wrote: >=20 > For example it's easier to edit=20 >=20 > cat file | foo >=20 > into=20 > =20 > cat file | bar | foo > or cat file? | foo >=20 > than editing=20 >=20 > foo < file >=20 > into >=20 > bar < file | foo > or cat file? | foo In this case, example was: cat file | foo arg =2E . . where it could have been: foo arg file That's just kind of absurd. I mean, that sort of usage (foo arg file) is exactly the purpose for which grep was designed. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk0k7O4ACgkQ9mn/Pj01uKXmQQCfVT2Xy9DL8W3owfW3S8oRS2D3 l4oAn0nfyiQnoj0fhRoAQXKOFPR1qaKW =MIZE -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--