Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Perl: the Markov chain saw
 
PerlMonks  

Re: one liner?

by jwkrahn (Monsignor)
on Aug 03, 2012 at 15:15 UTC ( #985261=note: print w/ replies, xml ) Need Help??


in reply to one liner?

perl -lpe's/([^,]+)$/ sprintf "%05s", $1 /e' yourfile


Comment on Re: one liner?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2014-04-17 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (453 votes), past polls