I don\'t seem to locate an SO question that matches this exact problem.
I have a text file that has one text token per line, without any commas, tabs, or quotes. I want
The usual command to do this is paste
csv_string=$(paste -sd, file.txt)