tr (1)


NAME
SYNOPSIS
DESCRIPTION
OPTIONS
OPERANDS
COPYRIGHT
Source Code

NAME

tr - translate characters

SYNOPSIS

tr

[-c|-C] [-s] string1 string2

tr

-s [-c|-C] string1

tr

-d [-c|-C] string1

tr

-ds [-c|-C] string1 string2

DESCRIPTION

The tr utility copies the standard input to the standard output with substitution or deletion of selected characters. The options specified and the string1 and string2 operands control translations that occur while copying characters.

OPTIONS

-c

Complement the set of characters specified in string1.

-C

(same as -c)

-d

Delete all occurences of input characters that are specified by string1.

-s

Replace instances of repeated characters with a single character.

OPERANDS

string1, string2

Translation control strings. Each string represents a set of characters to be converted into an array of characters used for translation.

COPYRIGHT

Copyright © 2021 Benjamin Stürz
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Generated using groff on 2022-01-16 22:48:32 (UTC)

Look at my source code on GitHub Memes
This website is licensed under the terms of the AGPLv3.
Tor link: 3gto4zix3cpwhq32sh5ygsr3brlmgy4pdf26md46e4zpzfzmbftw3cyd.onion