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 -->
  #7 (permalink)  
Old 05-27-2009
nareshk nareshk is offline
Registered User
  
 

Join Date: May 2009
Posts: 3
Quote:
Originally Posted by durden_tyler View Post
Something like this:


Code:
$
$ awk 'substr($0,10,10) == "0000001234"' input.txt
09 0 01000000001234 Z 1
09 0 01000000001234 Z 1
$

tyler_durden
Thanks guys !

This helped me a lot!