Date: Tue, 4 Jan 2011 22:12:42 +0000 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: a perl question Message-ID: <20110104221242.35a1710f@gumby.homeunix.com> In-Reply-To: <16ABD485-4B26-47C4-AD19-6B84AB497874@vicor.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> <16ABD485-4B26-47C4-AD19-6B84AB497874@vicor.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Jan 2011 10:01:47 -0800 Devin Teske <dteske@vicor.com> wrote: > > On Jan 4, 2011, at 9:33 AM, 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". > > I know I'm joining the party late, but... what about: > > grep -Ev '(XYZ|bla)' asdf.txt > > or > > awk '!/XYZ/ && !/bla/ {print}' asdf.txt > > ok... end useless contribution. It's odd that people seem to be taking bla-bla so literally, when it's clearly a place holder for arbitary text.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110104221242.35a1710f>