The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 02-28-2006
mahendramahendr mahendramahendr is offline
Registered User
 

Join Date: Dec 2005
Location: London
Posts: 222
Try

/usr/xpg4/bin/grep -E 'yy|xx' testgrep.txt

(or)

egrep 'yy|xx' testgrep.txt
Reply With Quote