blink has asked for the wisdom of the Perl Monks concerning the following question:
I have text in a file like this:
What I need to do is check for the existence of "media does not exist" between:checking image file <NT-Development_1024371283_FULL> >copy 1 frag 1 media CC0202 host netbackup2: media does not exist >copy 1 frag 2 media CC0202 host netbackup2: media does not exist >copy 1 frag 3 media CC0202 host netbackup2: media does not exist >copy 1 frag 4 media CC0202 host netbackup2: media does not exist >copy 1 frag 5 media CC0202 host netbackup2: media does not exist checking files file <NT-Development_1024371283_FULL.f>
andchecking image file <NT-Development_1024371283_FULL>
and populate a variable with "NT-Development_1024371283_FULL" for later use.checking files file <NT-Development_1024371283_FULL.f>
Any help, as always, is appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to act upon lines between two other lines in file?
by tall_man (Parson) on Feb 09, 2003 at 02:43 UTC | |
|
Re: How to act upon lines between two other lines in file?
by zengargoyle (Deacon) on Feb 09, 2003 at 03:09 UTC | |
|
Re: How to act upon lines between two other lines in file?
by Enlil (Parson) on Feb 09, 2003 at 03:11 UTC | |
|
Re: How to act upon lines between two other lines in file?
by BrowserUk (Patriarch) on Feb 09, 2003 at 05:48 UTC | |
|
Re: How to act upon lines between two other lines in file?
by FoxtrotUniform (Prior) on Feb 09, 2003 at 02:46 UTC | |
|
Re: How to act upon lines between two other lines in file?
by pg (Canon) on Feb 09, 2003 at 02:46 UTC | |
|
Re: How to act upon lines between two other lines in file?
by dash2 (Hermit) on Feb 10, 2003 at 09:24 UTC |