| dragrid 2004-11-16, 6:50 pm |
| see file below
I would like read thru file find and print the line that says FATAL
or URGENT and subsequent lines until I get to the next >>> check
that line if it says CRITICAL or FATAL print the lines that follow
if I see >>> with the match WARNING or URGENT I skip that line and
lines that follow
repeat the above process as I go thru the file
Thanks
[color=darkred]
IFPC: site 115 (EVRTWAXA06W), cage 1, slot 0
(3/1) Task I75(PAP Infrastructure)/0 Module FC(Flush routines)/1
00 00 00 00 have been removed, 00 00 00 00 have been delivered.[color=darkred]
IFPC: site 111 (DNTNTXXA01W), cage 1, slot 2
(3/1) Task I75(PAP Infrastructure)/0 Module FC(Flush routines)/1
00 00 00 00 have been removed, 00 00 00 00 have been
delivered.[color=darkred]
IFPC: site 109 (SNMNCAXP01W), cage 1, slot 0
(3/1) Task I75(PAP Infrastructure)/0 Module FC(Flush routines)/1
00 00 00 00 have been removed, 00 00 00 00 have been
delivered.[color=darkred]
IFPC: site 116 (BOTHWAXB06W), cage 1, slot 0
(3/1) Task I75(PAP Infrastructure)/0 Module FC(Flush routines)/1
00 00 00 00 have been removed, 00 00 00 00 have been
delivered.[color=darkred]
IFPC: site 111 (DNTNTXXA01W), cage 1, slot 0
(3/1) Task I75(PAP Infrastructure)/0 Module FC(Flush routines)/1
00 00 00 00 have been removed, 00 00 00 00 have been
delivered.
|