Best guess is you are on windows and your line ending settings are set for windows.
See this topic: How to change line-ending settings
or use:
tr '\r\n' ' '
Best guess is you are on windows and your line ending settings are set for windows.
See this topic: How to change line-ending settings
or use:
tr '\r\n' ' '