From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 18:01:51 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 90434106564A for ; Tue, 4 Jan 2011 18:01:51 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id 75DAC8FC13 for ; Tue, 4 Jan 2011 18:01:51 +0000 (UTC) Received: from [192.168.134.187] (port=50147 helo=[192.168.1.109]) by postoffice.vicor.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) (envelope-from ) id 1PaBCd-0006ag-VE; Tue, 04 Jan 2011 10:01:50 -0800 Mime-Version: 1.0 (Apple Message framework v1081) From: Devin Teske In-Reply-To: <86pqsc3774.fsf@red.stonehenge.com> Date: Tue, 4 Jan 2011 10:01:47 -0800 Message-Id: <16ABD485-4B26-47C4-AD19-6B84AB497874@vicor.com> References: <117654.42578.qm@web121409.mail.ne1.yahoo.com> <4D231CB7.2060902@teambox.fr> <86pqsc3774.fsf@red.stonehenge.com> To: Randal L. Schwartz X-Mailer: Apple Mail (2.1081) X-Scan-Signature: 4200ec4bc691d63e2a7faedd91cea596 X-Scan-Host: postoffice.vicor.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Patrick Bihan-Faou , freebsd-questions@freebsd.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: Tue, 04 Jan 2011 18:01:51 -0000 On Jan 4, 2011, at 9:33 AM, 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". 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 > > 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 <-