Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
replace char for new line
Rey
Programming language:
Shell/Bash
2021-05-27 08:47:34
0
Q:
replace char for new line
Lee Kole
Code:
Shell/Bash
2021-03-01 19:49:20
Just use tr command as follow: tr , '\n' < file #Replaces all ',' matches for a new line
0
Tags
line
new
replace
Related
sed replace word with newline
bash replace comma with newline
tr replace char for string
tr replace char for
replace delimiter for new line
replace characters command
sed replace with newline
bash replace newline with space
replace delimiter for enter command
New to Communities?
Join the community