NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node was taken out by the NodeReaper on Mon May 24 17:09:27 2004 (EST)

Replies are listed 'Best First'.
Re: changing full name to last, first mid
by fletcher_the_dog (Friar) on May 24, 2004 at 21:12 UTC
    From the command line you could just do:
    perl -p -i -e 's/^(.*?)\s*(\w+)\s*$/$2, $1\n/' list.txt
      Thank you thank you thank you...you have saved me much student input time....gde