[PLUG] how to create a comma-delimited list?

Matt Alexander m at netpro.to
Mon Jul 15 18:44:04 UTC 2002


I have a list of items like this:

bob
sam
joe
mark
sally
marge

And I'd like to convert it to this:

bob,sam,joe,mark,sally,marge

Is there a way to do this within vi?

Thanks,
~M





More information about the PLUG mailing list