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 the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-16-2008
vkesineni vkesineni is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 5
Venkat

gzcat test1.gz|awk '/ERROR/{print $0}'

You can get with AWK like above