From: Pádraig Brady Date: Sun, 19 Jun 2022 12:18:01 +0000 (+0100) Subject: doc: tr: clarify that -t is ignored unless translating X-Git-Tag: v9.2~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8aafe514516c5796c8ae9e6806f1f3a803b6adb;p=thirdparty%2Fcoreutils.git doc: tr: clarify that -t is ignored unless translating * src/tr.c (usage): Don't say that -t is disallowed unless translating. Reported in https://bugs.debian.org/1012447 --- diff --git a/src/tr.c b/src/tr.c index e2aa33e764..59b0969d2c 100644 --- a/src/tr.c +++ b/src/tr.c @@ -340,7 +340,7 @@ Interpreted sequences are:\n\ fputs (_("\ \n\ Translation occurs if -d is not given and both STRING1 and STRING2 appear.\n\ --t may be used only when translating. ARRAY2 is extended to length of\n\ +-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\