TR(1) TR(1) tr -- tr []... 1 [2] , / . 1 2 1 2, . -c, -C, --complement 1 -d, --delete , 1; -s, --squeeze-repeats , , -t, --truncate-set1 1 2 --help --version . . : \NNN NNN ( 1 3 ) \\ \a BEL \b \f \n \r \t \v 1-2 1 2 [*] 2: 1 [*] ; , 0 [:alnum:] [:alpha:] [:blank:] [:cntrl:] [:digit:] [:graph:] [:lower:] [:print:] , [:punct:] [:space:] [:upper:] [:xdigit:] [==] , Translation occurs if -d is not given and both STRING1 and STRING2 appear. -t is only significant when translating. ARRAY2 is extended to length of ARRAY1 by repeating its last character as necessary. Excess characters of ARRAY2 are ignored. Character classes expand in unspecified order; while translating, '[:lower:]' and '[:upper:]' may be used in pairs to specify case conversion. Squeezing occurs after translation or deletion. Arguments like '[...]' should be quoted, to avoid potential shell globbing. , . C GNU, , LC_ALL=C tr tr. (Jim Meyering). bug-coreutils@gnu.org GNU coreutils: GNU: Copyright (C) 2026 Free Software Foundation, Inc. GPLv3+: GNU GPL 3 . : . , . , info '(coreutils) tr invocation' () ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () . GNU coreutils 9.11 2026 . TR(1)