tr

Convert newline to space
cat test.txt | tr "\n" " "
Remove newlines
cat test.txt | tr -d "\n"
Convert upper case to lower case
cat test.txt | tr [:upper:] [:lower:]
Remove quotations
echo \"testing\" | tr -d [:punct:]