in reply to Reading specific lines in a file
perl -e '10 .. 20 and print while <>' wordlist
Or
perl -e 'print for (<>)[9 .. 19]' wordlist
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reading specific lines in a file
by gurpreetsingh13 (Scribe) on May 20, 2014 at 08:32 UTC | |
by Corion (Patriarch) on May 20, 2014 at 08:58 UTC | |
by gurpreetsingh13 (Scribe) on May 20, 2014 at 09:16 UTC |