sn00p has asked for the wisdom of the Perl Monks concerning the following question:
I want to read in where it says head and then store servername and serverip and print them so the desired out put is..----BOF---- ##head## servername abc xxx xxx serverip: 123 xxx ##head## -------- ##head## servername def xxx xxx serverip: 456 serverip: 445566 xxx ##head## ##head## servername ghi xxx xxx serverip: 789 xxx ##head## ------EOF----
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl / grep help
by kyle (Abbot) on Jan 08, 2008 at 17:32 UTC | |
by WoodyWeaver (Monk) on Jan 08, 2008 at 23:09 UTC | |
|
Re: perl / grep help
by NetWallah (Canon) on Jan 08, 2008 at 17:34 UTC | |
|
Re: perl / grep help
by spx2 (Deacon) on Jan 08, 2008 at 23:14 UTC |