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: [alex5161] command line option -n , -p with multiple files...: Edit Log



FishMonger
Veteran / Moderator

Jun 1, 2017, 10:00 AM


Views: 5022
Re: [alex5161] command line option -n , -p with multiple files...


Code
perl -ne 'print "$ARGV: $. - $_"; close ARGV if eof ARGV' fl[0-3]



(This post was edited by FishMonger on Jun 1, 2017, 10:02 AM)


Edit Log:
Post edited by FishMonger (Veteran) on Jun 1, 2017, 10:02 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