Manpage logo

tr - tr

NAME  SYNOPSIS  DESCRIPTION  Arguments:  OPTIONS 

NAME

tr − tr

SYNOPSIS

tr [OPTION]... SET1 [SET2]

DESCRIPTION

Translate or delete characters

Arguments:

[sets]...

OPTIONS

−c, −−complement

use the complement of SET1 [aliases: −C]

−d, −−delete

delete characters in SET1, do not translate

−s, −−squeeze−repeats

replace each sequence of a repeated character that is listed in the last specified SET, with a single occurrence of that character

−t, −−truncate−set1

first truncate SET1 to length of SET2

−h, −−help

Print help

−V, −−version

Print version

Translate, squeeze, and/or delete characters from standard input, writing to standard output.


Updated 2026-06-01 - jenkler.se | uex.se