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 -->
  #4 (permalink)  
Old 10-03-2006
srikanthus2002's Avatar
srikanthus2002 srikanthus2002 is offline
Registered User
  
 

Join Date: Sep 2006
Location: Can u guess...!
Posts: 160
I think , It would be helpful for you


Code:
FILE=input_filename
no=10
        cat $FILE | awk '$2 ~ /'"$no"'/ {print $1 " " $2}'

if any problem ..pls don't hesitate to ask help..


Thanks
Srikanth