The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



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
To find multiple strings count in a file salaathi Linux 3 11-28-2007 06:31 AM
Trouble pasting multiple files together!! etownbetty UNIX for Dummies Questions & Answers 2 11-21-2007 08:20 PM
Problem to search multiple strings sudhish Shell Programming and Scripting 2 10-25-2007 03:00 PM
Grepping for strings t4st33@mac.com UNIX for Dummies Questions & Answers 5 06-21-2007 12:51 AM
How to concatenate two strings or several strings into one string in B-shell? fontana Shell Programming and Scripting 2 08-26-2005 12:58 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-14-2008
thecoffeeguy thecoffeeguy is offline
Registered User
  
 

Join Date: May 2008
Posts: 7
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
 

Bookmarks

Tags
solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:05 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0