go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
A sed solution,
sed -n '/<request>/,/<\/request>/{/<request>/!{H;/<ipAddress>10.146.163.43<\/ipAddress>/{x;p;:a;n;p;/<\/request>/!ba}};/<request>/{h} }' <filename> In reply to Re: How i can extract the part of server report log based on Ipaddress
by suhailck
|
|