I'm processing a text file that has a few statements of the form
(the idiom '...' appears only in these structures) that I'd like to convert to statements of the form...
'0' '1' '2' '3' '4' '5' '6' '7'
I can do this with vim marcos, reasonably cutely, or knock up some python, but I'd like to do it from the command line. Can I get a recommended starting point? I'm suspecting there's some sed magic that can be done but I can't get my head around it...