Thread
:
Limit output to range of lines
View Single Post
#
3
(View Single Post)
9th November 2014
soderlund
New User
Join Date: Nov 2014
Posts: 9
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.
soderlund
View Public Profile
Find all posts by soderlund