![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 |
| printing the next line too?? | AndyA | Shell Programming and Scripting | 6 | 01-31-2008 06:35 AM |
| egrep understanding problem | namishtiwari | Shell Programming and Scripting | 1 | 01-29-2008 07:03 AM |
| Egrep cheat sheet anywhere? Looking for meaning of egrep -c | leelm | UNIX for Dummies Questions & Answers | 2 | 01-11-2008 03:37 PM |
| adding blank line in egrep | antalexi | UNIX for Dummies Questions & Answers | 2 | 05-24-2004 01:40 PM |
| Printing line numbers | MizzGail | UNIX for Dummies Questions & Answers | 2 | 07-25-2002 05:18 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
egrep problem | printing next line?????
Hi !!! Dear People,
Please help me with the following problem. consider this output: Top 5 Timed Events ~~~~~~~~~~~~ Total Event Waits Time (s) Ela Time ---------------------------- ------------ ----------- ----- CPU time 2,152 54.10 free buffer 7,059 641 16.10 control file parallel write 19,625 490 12.31 log file sync 7,010 217 5.44 db file sequential read 3,000 1000 .99 -------------------------------------------------------- we all know ,if i give egrep '^(log file sync)...' /oracle/user_user/2 it will print log file sync 7,010 217 5.44 please tel me how to print next line using egrep. meaning... it should print immediate next line of pattern matching character(here it's log file sync). my desired output should be db file sequential read 3,000 1000 .99 perhaps with the same pattern matching character please help me to give the command. im using default shell(-sh) Thanks in Advance |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|