Re: tr -s SET1 not mentioned on man page

Jim Meyering <[email protected]> Wed, 16 Oct 2002 11:31:58 +0200
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <[email protected]>
Dan Jacobson <[email protected]> wrote:
> The  tr(1) man page and --help mentions forgot to mention SET1 for the
> -s option.  Maybe they should mention SET2 too.
> By the way, even on the Info page, why this does what it does might
> not be clear:
> $ echo aaaabbbbb|tr -s a b
> b

Thanks for the report, but even in the --help output,
I see this:

  Usage: tr [OPTION]... SET1 [SET2]
  ...
  -s uses SET1 if not
  translating nor deleting; else squeezing uses SET2 and occurs after
  translation or deletion.

I admit the wording could use some work (patch welcome!),
but it does get the idea across.

I'm using this
  ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.3.tar.gz
but that part of tr's --help hasn't changes for a long time.