Replace spaces with commas from one file and send the output to another file.
tr -s '[:blank:]' ', ' output.txt
It’s perfect for creating a comma delimited file for importing to Excel.
Replace spaces with commas from one file and send the output to another file.
tr -s '[:blank:]' ', ' output.txt
It’s perfect for creating a comma delimited file for importing to Excel.