Add Quotes To Column And Replace N With Comma

[Solved] Add Quotes To Column And Replace N With Comma | Swift - Code Explorer | yomemimo.com
Question : add quotes to column and replace \n with comma

Answered by : shiny-skipper-n13cen680ymn

echo $(sed '$ ! s/.*/"&",/; $ s/.*/"&"/' foo.txt)

Source : https://stackoverflow.com/questions/27617110/adding-double-quotes-commas-and-removing-newlines | Last Update : Thu, 26 Aug 21

Answers related to add quotes to column and replace n with comma

Code Explorer Popular Question For Swift