|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Writing many lines to a fileby pvaldes (Hermit) |
| on Jul 16, 2012 at 21:42 UTC ( #982083=note: print w/ replies, xml ) | Need Help?? |
|
perl -ne 'print if $. <= 100' infile.txt > outfile.txt
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||