At Fri, 15 Oct 2010 12:11:17 +0200 CentOS mailing list <centos at centos.org> wrote: > > Hi folks > > I have the command "find . | xargs grep 'mailx'", to search all files > with "mailx" in contents. I wish to add a second condition that NOT > contains string sven.aluoor at ubs.com on the same line. > > Every file which contains "mailx", but not the string > sven.aluoor at ubs.com in the same line. find . | xargs grep 'mailx'|grep -v sven.aluoor at ubs.com > > cheers Sven > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > -- Robert Heller -- 978-544-6933 / heller at deepsoft.com Deepwoods Software -- http://www.deepsoft.com/ () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments