diff options
author | Jim Meyering <jim@meyering.net> | 2004-06-02 08:35:02 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-06-02 08:35:02 +0000 |
commit | 733ceab1b8ec97da7f6bd687abd94dd70d02a223 (patch) | |
tree | ca64aa578dad755dd3fd0a7e7d8937f4a6fdd5d7 /doc | |
parent | 17ccbf5907061bd073766f0300de10d892856ca5 (diff) | |
download | coreutils-733ceab1b8ec97da7f6bd687abd94dd70d02a223.tar.xz |
(tr invocation): Mention -C.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 11 |
1 files changed, 10 insertions, 1 deletions
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 |