Extract lines using line numbers

Dell / Optiplex gx270...
May 6, 2009 at 07:35:12
Specs: Microsoft Windows XP Professional, 2.992 GHz / 1021 MB
i would like to extract a particular set of lines using the line number from a file and append it to another file.


Ex
cnt is a count variable
i would wanna extract from cnt-5 to cnt. like the last five lines.


See More: Extract lines using line numbers

Report •


#1
May 7, 2009 at 19:05:07
Are the lines in the source file already consecutively numbered?

Report •
Related Solutions


Ask Question