or, expanding further:perl -ne 'print $_ if $. >= 60 and $. <= 70' file.txt
perl -e 'while (<>) {print $_ if $. >= 60 and $. <= 70;}' file.txt
In reply to Re^3: Reading specific lines in a file
by Laurent_R
in thread Reading specific lines in a file
by gurpreetsingh13
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |