in reply to Re^2: Reading specific lines in a filein thread Reading specific lines in a file
perl -ne 'print $_ if $. >= 60 and $. <= 70' file.txt [download]
perl -e 'while (<>) {print $_ if $. >= 60 and $. <= 70;}' file.txt [download]