Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

file manipulation
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
 
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. 
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. 
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. 
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. 
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.

Report this thread to moderator Post Follow-up to this message
Old Post
dragrid
11-16-04 11:50 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

AWK archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:07 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.