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.

Thanks,
Ralf

> 2009-08-16  Bruno Haible  <br...@clisp.org>
> 
>       * 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