mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-07 14:26:52 +08:00
doc: mention tr issues in multi-byte locales
* doc/autoconf.texi (tr): Mention multi-byte issues.
This commit is contained in:
parent
71afdbc878
commit
b40645caa9
@ -19985,6 +19985,14 @@ timestamp truncation problems that @samp{cp -p} has.
|
|||||||
@item @command{tr}
|
@item @command{tr}
|
||||||
@c ---------------
|
@c ---------------
|
||||||
@prindex @command{tr}
|
@prindex @command{tr}
|
||||||
|
|
||||||
|
Many @command{tr} implementations do not support multi-byte locales
|
||||||
|
well. For example, Solaris 10 @command{tr} rejects character classes in
|
||||||
|
multi-byte locales. Also, ranges have well-defined behavior only in the
|
||||||
|
@samp{C} (or @samp{POSIX}) locale, so if you cannot guarantee the
|
||||||
|
setting of @env{LC_ALL} it is better to spell out a range
|
||||||
|
@samp{[ABCDEFGHIJKLMNOPQRSTUVWXYZ]} than to rely on @samp{[A-Z]}.
|
||||||
|
|
||||||
@cindex carriage return, deleting
|
@cindex carriage return, deleting
|
||||||
@cindex newline, deleting
|
@cindex newline, deleting
|
||||||
@cindex deleting carriage return
|
@cindex deleting carriage return
|
||||||
|
Loading…
Reference in New Issue
Block a user