ranrodrig has asked for the wisdom of the Perl Monks concerning the following question:
Can you help me in order to find out how can I stop it when it prints what I want? or give me a tip about how to do it using another method?
TIA for your help.
perl -e "@lines=<>; print @lines[41900..50000];" -p data02.log > data03.log
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Print some lines in a range
by ikegami (Patriarch) on Mar 04, 2010 at 23:57 UTC | |
by ranrodrig (Novice) on Mar 06, 2010 at 04:15 UTC | |
by ikegami (Patriarch) on Mar 06, 2010 at 23:19 UTC | |
Re: Print some lines in a range
by chuckbutler (Monsignor) on Mar 05, 2010 at 01:02 UTC | |
Re: Print some lines in a range
by snape (Pilgrim) on Mar 05, 2010 at 04:21 UTC | |
Re: Print some lines in a range
by jwkrahn (Abbot) on Mar 04, 2010 at 23:53 UTC | |
by ikegami (Patriarch) on Mar 05, 2010 at 00:15 UTC | |
Re: Print some lines in a range
by sweetblood (Prior) on Mar 04, 2010 at 23:39 UTC |