* src/tr.c (usage): Warn about avoiding shell globbing.
* doc/coreutils.texi (character arrays): Likewise.
Suggested by Daniel Dallos.
@end table
+Since @samp{[:@var{class}:]} and @samp{[=@var{c}=]} syntax
+are similar to shell globbing syntax, all such class arguments should
+be quoted appropriately, when running @command{tr} from the shell.
@node Translating
@subsection Translating
-t is only significant when translating. ARRAY2 is extended to length of\n\
ARRAY1 by repeating its last character as necessary. Excess characters\n\
of ARRAY2 are ignored. Character classes expand in unspecified order;\n\
-while translating, [:lower:] and [:upper:] may be used in pairs to\n\
+while translating, '[:lower:]' and '[:upper:]' may be used in pairs to\n\
specify case conversion. Squeezing occurs after translation or deletion.\n\
+Arguments like '[...]' should be quoted, to avoid potential shell globbing.\n\
"), stdout);
emit_ancillary_info (PROGRAM_NAME);
}