bash replace line in file 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