I have a log file which contains reports about a communication machine.I need to take some of the reports from the log file.Its hard to explain the issue.but shortly I can say that the reports has a unique report no. and this report number is located at the 3rd line and at the end of the report.How can I parse these reports?(I need all of the lines like below.)
It is very important for me.I am waiting for your fast response
Thanking you in advanced.
For Example:
Expand|Select|Wrap|Line Numbers
- INITSX1 2008-02-07 15:46:00 TH
- PSW001 0130/000C/0005
- SEQ=7734+2007-12-31 00104 00000000 M147AA03 M1SNSK04
- SWA-CE LOAD
- ACTIVATE-CEOVLD-OBSERV SUCCESSFUL
- RESULT PART 0001 -
- -------------------------------------------------------------------------
- REQUESTED START TIME: = 15:30
- REQUESTED STOP TIME : = 15:45
- PERIOD: = 00:15
- NO PROCESSORS IN OVERLOAD
- REPORT FOLLOWS NO = 00104