Delete all \n chars in a file…
Tagged with: command, delete, line, Linux, new, newline, slashn, text, tr
Monday, September 1st, 2008 11:32 PM
Delete all \n chars in a file…
tr -d "\n"
Delete all \n chars in a file…
tr -d "\n"
Add a \n after every line in a file using the sed command…
sed G