linux replace new line with comma code example
Example: bash replace comma with newline
Just use tr command as follow:
tr , '\n' < file #Replaces all ',' matches for a new line
Just use tr command as follow:
tr , '\n' < file #Replaces all ',' matches for a new line