Answers for "bash replace newline with space"

0

bash replace newline with space

Just use tr command as follow:
tr '\n' ' ' < file	#Replaces all newlines matches with a space ' '
Posted by: Guest on November-11-2020

Code answers related to "bash replace newline with space"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language