tr: mention multibyte problem in man page

* man/tr.x: Document tr problem.
This commit is contained in:
Paul Eggert
2022-02-14 12:16:07 -08:00
parent 8d3dce9861
commit 0b0f1965fb

View File

@@ -2,3 +2,12 @@
tr \- translate or delete characters
[DESCRIPTION]
.\" Add any additional description here
[BUGS]
.PP
Full support is available only for safe single-byte locales,
in which every possible input byte represents a single character.
The C locale is safe in GNU systems, so you can avoid this issue
in the shell by running
.B "LC_ALL=C tr"
instead of plain
.BR tr .