The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Trouble grepping for multiple strings
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Trouble grepping for multiple strings
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
05-16-2008
summer_cherry
Registered User
Join Date: Jun 2007
Posts: 338
Code:
sed -n '/ORA-5543/p;/ORA-1234/p' filename
summer_cherry
View Public Profile
Find all posts by summer_cherry