[Top][All Lists]

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

Re: update doc about Solaris 'tr'

From: Ralf Wildenhues
Subject: Re: update doc about Solaris 'tr'
Date: Mon, 17 Aug 2009 19:55:02 +0200
User-agent: Mutt/1.5.20 (2009-08-09)

Hello Bruno,

my two cents:

* Bruno Haible wrote on Sun, Aug 16, 2009 at 10:25:42PM CEST:
> On a Solaris 10 machine, I happened to not have /usr/xpg4/bin in front of
> /usr/bin in my PATH. Consequence: The 'tr' program does not recognize
> the POSIX (and BSD) syntax for character ranges.

You can work around it by using the System V way of writing ranges:
  tr '[a-z]' '[A-Z]'

which will work with both types of tr programs for this range.

> The autoconf doc should mention this, IMO.

Posix already documents this in more detail than we do.  I don't think
we should repeat each oddity that Posix already documents (but in this
particular case, I don't care much either way, as long as we mention
the workaround above).

> Here's a proposed patch. While at it, let's also
> mention that /usr/bin/tr still has the '\0' bug. (I verified it.)

Fine with me.


> 2009-08-16  Bruno Haible  <address@hidden>
>       * doc/autoconf.texi (Limitations of Usual Tools): Mention that Solaris
>       /usr/bin/tr does not support ranges, nor the '\0' octal escape.

reply via email to

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