CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [gerble1000] need help with a simple code: Edit Log



FishMonger
Veteran / Moderator

Apr 30, 2012, 8:48 AM


Views: 1882
Re: [gerble1000] need help with a simple code

perl -ne "print if 1..14" input.txt > output.txt

or

perl -ni.bak -e "print if 1..14" input.txt


(This post was edited by FishMonger on Apr 30, 2012, 8:49 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Apr 30, 2012, 8:49 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives