[CentOS] grep pattern x, but not pattern y on the same line
Sven Aluoor
aluoor at gmail.comFri Oct 15 10:11:17 UTC 2010
- Previous message: [CentOS] openoffice.org2.3 in CentOS5.3
- Next message: [CentOS] grep pattern x, but not pattern y on the same line
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. cheers Sven
- Previous message: [CentOS] openoffice.org2.3 in CentOS5.3
- Next message: [CentOS] grep pattern x, but not pattern y on the same line
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list