Answers for "add quotes to column and replace \n with comma"

0

add quotes to column and replace \n with comma

echo $(sed '$ ! s/.*/"&",/; $ s/.*/"&"/' foo.txt)
Posted by: Guest on August-19-2021

Code answers related to "add quotes to column and replace \n with comma"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language