Date: Tue, 4 Jan 2011 10:01:47 -0800 From: Devin Teske <dteske@vicor.com> To: Randal L. Schwartz <merlyn@stonehenge.com> Cc: Patrick Bihan-Faou <patrick.bihan-faou@teambox.fr>, freebsd-questions@freebsd.org Subject: Re: a perl question Message-ID: <16ABD485-4B26-47C4-AD19-6B84AB497874@vicor.com> In-Reply-To: <86pqsc3774.fsf@red.stonehenge.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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 4, 2011, at 9:33 AM, Randal L. Schwartz wrote: >>>>>> "Patrick" =3D=3D Patrick Bihan-Faou = <patrick.bihan-faou@teambox.fr> writes: >=20 > Patrick> cat asdf.txt | grep -v XYZ | grep -v bla >=20 > 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. >=20 > --=20 > Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 = 0095 > <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> > Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. > See http://methodsandmessages.posterous.com/ for Smalltalk discussion > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> FUN STUFF <- -----BEGIN GEEK CODE BLOCK----- Version 3.1 GAT/CS d(+) s: a- C++(++++) UB++++$ P++(++++) L++(++++) !E--- W++ N? o? = K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R>++ tv(+) b+(++) DI+(++) D(+) G+>++ = e>+ h r>++ y+=20 ------END GEEK CODE BLOCK------ http://www.geekcode.com/ -> END TRANSMISSION <-
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16ABD485-4B26-47C4-AD19-6B84AB497874>