Wednesday, May 11, 2011

SED: enclose each line in quotes and comma at end of line


sed -e 's/^/" /g' -e 's/$/ ",/' myfile.txt 

No comments: