03-23-2011
7,
0
Join Date: Mar 2011
Last Activity: 24 March 2011, 2:11 AM EDT
Posts: 7
Thanks Given: 0
Thanked 0 Times in 0 Posts
Negation
Hello, have anybody any idea, how to negate some expression?
I have code that greps somethnig and I want filter from it some results...How to make it?
IDontWantThisExpression=$1
grep 'some regex' | grep '$IDontWantThisExpression' testfile.txt
Thanks for any advices.
Faculty of Mathematics and Physics, Charles University in Prague, The Czech Republic, Ondrej Tichy, ms.mff.cuni.cz/~ticho6am