dtbach has asked for the wisdom of the Perl Monks concerning the following question:
Hello Wise Perl Monks and followers:
I've been using a convoluted method to find all lines in a file that end with 47 or greater, but would appreciate feedback how to accomplish this using perl. The format of the data is similar to the following: 20120312-16:00:02,39 so this line would be included in final output. Just want to parse content then delete all lines which are >=47 and save file as same name.
Thank you to anyone who replies.
Darryl
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Removing lines ending with integers larger than x
by moritz (Cardinal) on Mar 13, 2012 at 12:30 UTC | |
Re: Removing lines ending with integers larger than x
by sundialsvc4 (Abbot) on Mar 13, 2012 at 12:58 UTC | |
Re: Removing lines ending with integers larger than x
by thunders (Priest) on Mar 13, 2012 at 15:08 UTC | |
Re: Removing lines ending with integers larger than x
by choroba (Cardinal) on Mar 13, 2012 at 13:31 UTC | |
by dtbach (Novice) on Mar 13, 2012 at 14:06 UTC |
Back to
Seekers of Perl Wisdom