Remove newline / nextline

tr --delete '\n' <input.txt >output.txt
click the source code to copy