Similar to this question here, I would like to have double quotes around each variable (which are sometimes strings, sometimes numbers) separated by commas in a file without spaces, such as below:
variable1,12345,variable2,AA3
What's the easiest way to use BASH (on macOS 10.14.6) for adding quotation marks to each word?
The end result should look like:
"variable1","12345","variable2","AA3"