![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl parsing compared to Ksh parsing | popeye | Shell Programming and Scripting | 1 | 08-06-2008 11:46 PM |
| Parsing Powerbroker Logs for SysAdmin Changes (SOX) | bcouchtx | UNIX for Dummies Questions & Answers | 1 | 07-08-2008 03:16 PM |
| Generating xls with utf-8 format | kalyanramurs | Shell Programming and Scripting | 0 | 06-21-2008 08:27 AM |
| Generating a report -Formatted printing -Urgent | jisha | Shell Programming and Scripting | 1 | 01-10-2008 02:59 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
My file will contain following(log.txt):
start testcase: config loading ...... error XXXX ..... end testcase: config loading, result failed start testcase: ping check ..... error ZZZZZ ..... error AAAAA end testcase: Ping check, result failed I am expecting below output. ========================================= Testcase: config loading error XXXX Testcase: ping check error ZZZZ error AAAA ============================================== There are so many testcases like this in file also the number of error in testcase will vary. Please give better idea using shell script. Your help will be appreciated. Thanks |
| Bookmarks |
| Tags |
| parsing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|