![]() |
|
|
|
|
|||||||
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. Shell Script Page. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To find multiple strings count in a file | salaathi | Linux | 3 | 11-28-2007 02:31 AM |
| Trouble pasting multiple files together!! | etownbetty | UNIX for Dummies Questions & Answers | 2 | 11-21-2007 04:20 PM |
| Problem to search multiple strings | sudhish | Shell Programming and Scripting | 2 | 10-25-2007 11:00 AM |
| Grepping for strings | t4st33@mac.com | UNIX for Dummies Questions & Answers | 5 | 06-20-2007 08:51 PM |
| How to concatenate two strings or several strings into one string in B-shell? | fontana | Shell Programming and Scripting | 2 | 08-26-2005 08:58 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Trouble grepping for multiple strings
I am having a heck of a time trying to write a script that will grep for multiple strings in a single file. I am really at my wits end here and I am hoping to get some feedback here.
Basic information: OS: Solaris 9 Shell: KSH Oracle Database server I was trying to grep through a file looking for two certain errors: ORA-5543 and ORA-1234 I have tried numerous combinations, but I cannot get it to work. I can get one value to work, but when I try the other, it does not work. Anyone have some suggestions? I greatly appreciate it. TCG |
| Forum Sponsor | ||
|
|
| Tags |
| solaris |
| Thread Tools | |
| Display Modes | |
|
|