Hi ,
I have a script taht returns result in teh following format :
[+] End of input file.
a,b,c
3,4,5
s,d,f,
[+] End of input file.
d,t,h
r,t,y,
4,6,9
a,4,f
e,6,7
[+] End of input file.
w,e,r
the script that gives this result is :
tcpdump ..... | |sort|uniq -c | head -10
I need to remove all thw lines that are "[+] End of input file." so i piped the result of the script to the
sed command changing the script to :
tcpdump ..... | |sort|uniq -c |
sed "/End of input file/d" | head -10
but this doesnt seem to work. Can some one please help me with this?
Thanks,
Himi