bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tr -s SET1 not mentioned on man page


From: Jim Meyering
Subject: Re: tr -s SET1 not mentioned on man page
Date: Fri Oct 18 17:33:04 2002
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Dan Jacobson <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]