|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Extracing (and excluding) IP's from a fileby mjscott2702 (Pilgrim) |
| on Nov 09, 2010 at 15:39 UTC ( #870322=note: print w/ replies, xml ) | Need Help?? |
|
which would consume lines until the "vfiler1" line, then split lines beginnning with "IP address" on whitespace and print the third field - the address you are looking for. Not tested! :)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||