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"
Convert from lower case to upper case
echo 'hello world' | tr '[:lower:]' '[:upper:]'