View Single Post
  #3   (View Single Post)  
Old 9th November 2014
soderlund soderlund is offline
New User
 
Join Date: Nov 2014
Posts: 9
Default

There is nothing you can't do with the standard text editor:

Code:
printf '<first line>,<last line>p\nQ\n' | ed -s <filename>
Or "n" instead of "p" for line numbers.
Reply With Quote