1
0
I have to filter lines like the following:
[javac] /Users/looris/Sviluppo/android/projects/toutry/src/net/looris/toutry/Stuff.java:23: warning: unmappable character for encoding ascii
[javac] return (poked=false); // NOTA: è un'assegnazione, non un controllo!
[javac] ^
I've tried |grep -v -A2 "unmappable character for encoding ascii"
but it just does nothing.
If I just do |grep -v "unmappable character for encoding ascii"
it does filter that line, but I need to filter the following two lines too.
(using "grep (GNU grep) 2.5.1" under OSX 10.5)
I don't think you can mix
-v
and-A
but You should be able to usesed
orawk
instead. – Nifle – 2010-04-17T15:52:36.713