perl -e '10 .. 20 and print while <>' wordlist
Or
perl -e 'print for (<>)[9 .. 19]' wordlist
In reply to Re: Reading specific lines in a file
by choroba
in thread Reading specific lines in a file
by gurpreetsingh13
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |