Date: Wed, 5 Jan 2011 15:13:02 -0700 From: Chad Perrin <perrin@apotheon.com> To: freebsd-questions@freebsd.org Subject: Re: a perl question Message-ID: <20110105221302.GA77555@guilt.hydra> In-Reply-To: <20110105221538.26daeb0d@gumby.homeunix.com> References: <117654.42578.qm@web121409.mail.ne1.yahoo.com> <AANLkTinEksoXQAA4ZAziE59h%2BLRTxSgSy2WZy6UaQne%2B@mail.gmail.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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Wed, Jan 05, 2011 at 10:15:38PM +0000, RW wrote:
>
> For example it's easier to edit
>
> cat file | foo
>
> into
>
> cat file | bar | foo
> or cat file? | foo
>
> than editing
>
> foo < file
>
> into
>
> bar < file | foo
> or cat file? | foo
In this case, example was:
cat file | foo arg
. . . 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.
--
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
iEYEARECAAYFAk0k7O4ACgkQ9mn/Pj01uKXmQQCfVT2Xy9DL8W3owfW3S8oRS2D3
l4oAn0nfyiQnoj0fhRoAQXKOFPR1qaKW
=MIZE
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110105221302.GA77555>
