Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Need to multi grep and grep exclude in perl.by Random_Walk (Prior) |
on Feb 23, 2016 at 08:55 UTC ( [id://1155893]=note: print w/replies, xml ) | Need Help?? |
cat file.large | ggrep country | ggrep city1 | ggrep street1 | ggrep -v name1
UpdateHere is some code that prints the second name at an address, ignoring the first name, and any third, fourth,...
Cheers,
Pereant, qui ante nos nostra dixerunt!
In Section
Seekers of Perl Wisdom
|
|