vi

Dear Adelie,
I have a list of records in the format “lastname, firstname initial.” I need to turn them into “firstname initial lastname.” Any advice?
— Marketing Drone


While I normally don’t believe in helping anyone with “marketing” in their title, my heart is touched that you’ve come to me. Try this command in Vim:
:%s/\([^,]*\), \(.*\)/\2 \1/

Kurš vēl apgalvos, ka vi nav lietotājam draudzīgs? 🙂