Bamboo
2
Q:

bash replace newline with space

Just use tr command as follow:
tr '\n' ' ' < file	#Replaces all newlines matches with a space ' '
0
Just use tr command as follow:
tr , '\n' < file	#Replaces all ',' matches for a new line
0

New to Communities?

Join the community