オプション

-d
指定の文字列を削除する
$ tr a-z A-Z < file1.txt
AAA
BBB
CCC
MY

$ tr -d '\r' < windows.txt