From 733ceab1b8ec97da7f6bd687abd94dd70d02a223 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 2 Jun 2004 08:35:02 +0000 Subject: (tr invocation): Mention -C. --- doc/coreutils.texi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/coreutils.texi b/doc/coreutils.texi index b216a2d19..9e8f2b63f 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -4670,9 +4670,18 @@ delete characters, then squeeze repeated characters from the result. The @var{set1} and (if given) @var{set2} arguments define ordered sets of characters, referred to below as @var{set1} and @var{set2}. These sets are the characters of the input that @command{tr} operates on. -The @option{--complement} (@option{-c}) option replaces @var{set1} with its +The @option{--complement} (@option{-c}, @option{-C}) option replaces +@var{set1} with its complement (all of the characters that are not in @var{set1}). +Currently @command{tr} fully supports only single-byte characters. +Eventually it will support multibyte characters; when it does, the +@option{-C} option will cause it to complement the set of characters, +whereas @option{-c} will cause it to complement the set of values. +This distinction will matter only when some values are not characters, +and this is possible only in locales using multibyte encodings when +the input contains encoding errors. + @exitstatus @menu -- cgit v1.2.3-54-g00ecf