I had a text file with multiple lines of input that I was manipulating using awk and sed but I found the following ‘tr’ command easiest to remove the line breaks:
cat input.txt | tr -d ‘\n’
Red Branch | For Future Reference …
I had a text file with multiple lines of input that I was manipulating using awk and sed but I found the following ‘tr’ command easiest to remove the line breaks:
cat input.txt | tr -d ‘\n’