tr(1) (MLX Addendum) (MLX) tr(1) (MLX Addendum)
NAME
tr - translate characters (MLX addendum)
SYNOPSIS
tr [ -cds ] [ string1 [ string2 ] ]
DESCRIPTION
(International Functions)
tr can process characters from supplementary code sets. Characters
specified are searched for and translated in character units, not
bytes.
The abbreviation convention [x-y] denotes the string of characters
whose codes range from x to y in code set order. x and y must be from
the same code set, and x must be less than y.
NOTE
If x and y are not from the same code set [x-y] is treated as the
two-character string xy. If x and y are from the same code set but are
not in increasing code set order (x is greater than y) then the range
is invalid, and tr will exit with the error message Bad string.
WARNING
When octal notation with the backslash (\) escape character is used to
describe a multibyte character from a supplementary code set, each
byte of the character must be separately escaped and specified in
octal.
SEE ALSO
ed(1).
Page 1 Reliant UNIX 5.44 12, 196