Bash ersetzen Newline durch Platz

Just use tr command as follow:
tr '\n' ' ' < file	#Replaces all newlines matches with a space ' '
Armandres