Hi,

I've just worked around a strange problem in an old version of  
libtool, which distills down to this shell script misbehaving:

---
#!/bin/sh

case `echo A|tr A '\301'` in
  A) echo "EBCDIC\n" ;;
  *) echo "ASCII\n" ;;
esac
---

On Solaris 8 - 10, Centos 5, HP-UX 11, this script echos "ASCII".

On OpenSolaris 2008.05 and still in build 99, it echos "EBCDIC". This  
causes problems later on in libtool :-)

Newer versions of libtool do a slightly different test, which works  
correctly.

I'm not sure of the legality or otherwise of what the shell script  
snippet is doing, but this looks like a (small) regression introduced  
by ksh93.

Cheers,

Chris

Reply via email to