====== tr ====== * [[coreutils]] == 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:]
cat test.txt | tr "\n" " "
cat test.txt | tr -d "\n"
cat test.txt | tr [:upper:] [:lower:]
echo \"testing\" | tr -d [:punct:]