Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: changing full name to last, first mid

by fletcher_the_dog (Friar)
on May 24, 2004 at 21:12 UTC ( #356047=note: print w/replies, xml ) Need Help??


in reply to changing full name to last, first mid

From the command line you could just do:
perl -p -i -e 's/^(.*?)\s*(\w+)\s*$/$2, $1\n/' list.txt

Replies are listed 'Best First'.
Re: Re: changing full name to last, first mid
by jillern (Initiate) on May 24, 2004 at 22:10 UTC
    Thank you thank you thank you...you have saved me much student input time....gde

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-09-24 16:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?