[Top][All Lists]

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

Re: tr's doc nits

From: Jim Meyering
Subject: Re: tr's doc nits
Date: Fri, 11 Nov 2005 18:10:42 +0100

Hi Alexandre!

Alexandre Duret-Lutz <address@hidden> wrote:
> I have coreutils 5.2.1 and texinfo 4.8 installed.
> Two notes regarding tr's documentation:
> 1) "man tr" points to "info coreutils tr" but this commands
>    brings me to the node "Trailing slashes" not to "tr invocation".

That is fixed in the stable coreutils-5.93.
Now it suggests `info tr'.

> 2) Node "Character sets" of the tr documentation states that
>      GNU `tr' does not support the System V syntax that uses square
>      brackets to enclose ranges.  Translations specified in that format
>      sometimes work as expected, since the brackets are often
>      transliterated to themselves.  However, they should be avoided
>      because they sometimes behave unexpectedly.  For example, `tr -d
>      '[0-9]'' deletes brackets as well as digits.
>    however node "Putting the tools together" teaches you bad habits
>    with many examples such as
>      $ tr '[A-Z]' '[a-z]' < whats.gnu | tr -cd '[A-Za-z0-9_ \012]' |
>      > tr -s '[ ]' '\012' | ...

Those have been fixed, too.

Thanks for taking the time.

reply via email to

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