The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 05-19-2008
trey85stang trey85stang is offline
Registered User
  
 

Join Date: May 2008
Posts: 70
Quote:
Originally Posted by elthox View Post
Maybe like this:

cat -n something| awk '$1>11 && (the conditions you like)

cat -n adds to the first coloumn the number of line.

Regards
sounds like that will work, then I can just exclude the first column on the print out with awk.

Thanks for the help!