DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+6 =
Submit