[HPADM] Grep for multiple patterns in a file
From: Naylor, Jim (Jnaylor_at_Schnucks.com)
Date: 11/23/05
- Previous message: j appleseed: "[HPADM] HP Openview"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Nov 2005 14:39:26 -0600 To: "Hpux-Admin@Dutchworks. Nl (E-mail)" <hpux-admin@dutchworks.nl>
Hello All,
I seem to be having a brain block. I need to grep two different patters within a file.
First Pattern = "OSS 064"
Second Pattern = "OSS 75"
Note the spaces after the OSS. I though grep -e pattern1 -e pattern2 filename would work but it doesn't. Any help would be appreciated.
Thanks,
Jim Naylor
Unix/Storage Systems Administrator
Schnuck Markets, Inc.
* Direct (314) 994-4784
))( Cell (314) 691-0186
Fax (314) 994-4684
* E-Mail jnaylor@schnucks.com
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
- Previous message: j appleseed: "[HPADM] HP Openview"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]