On 10/05/2010 04:59 PM, Bruno Haible wrote:
Here the problem is that Solaris 'tr' does not support ranges in POSIX syntax. The autoconf manual <http://www.gnu.org/software/autoconf/manual/html_node/Limitations-of-Usual-Tools.html> gives a workaround according to the gnulib philosophy: Use /usr/xpg4/bin/tr instead of tr from $PATH.
The autoconf manual was just updated today to also document that using [] around range expressions is also a valid workaround. The solution still is POSIX-compliant; it's just that you are transliterating [ and ] to themselves in a working tr.
http://lists.gnu.org/archive/html/bug-autoconf/2010-10/msg00012.html
2010-10-05 Bruno Haible<br...@clisp.org> Less intrusive workarounds for Solaris 'tr'. * gnulib-tool: Undo last change. (TR): New variable. (tr): New function. * tests/test-pipe-filter-gi1.c (main): Undo last change. Workaround already in place since 2009-08-16. * tests/test-pipe-filter-ii1.c (main): Likewise.
I'd rather use a simple idiom (always use []) than a more complex idiom (play with PATH to find a more-compliant tr) when both are valid workarounds.
-- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org