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 05-15-2008
jim mcnamara jim mcnamara is offline
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,459
This reads byte position 2-5 on every line of a file
Code:
cut -c2-5 filename

Last edited by jim mcnamara; 05-15-2008 at 03:51 AM.
Reply With Quote