in reply to Changing from full name to last, first mid
From the command line you could just do:
Update This is making the assumption that the names are on different lines, if they are on the same line then you are going to have a very hard time determining where one name ends an another beginsperl -p -i -e 's/^(.*?)\s*(\w+)\s*$/$2, $1\n/' list.txt
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Changing from full name to last, first mid
by jillern (Initiate) on May 25, 2004 at 03:47 UTC | |
by jillern (Initiate) on May 25, 2004 at 03:49 UTC |
In Section
Seekers of Perl Wisdom