Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash replace comma with newline

Just use tr command as follow:
tr , '
' < file	#Replaces all ',' matches for a new line
 
PREVIOUS NEXT
Tagged: #bash #replace #comma #newline
ADD COMMENT
Topic
Name
2+6 =