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

Re: Bug#95430 acknowledged by developer (Re: Bug#95430: ash: word-splitting changes break shell scripts)

Herbert Xu <herbert@gondor.apana.org.au> writes:

> Not only does that show that Solaris 2.6's shell does not set IFS,

windlord:~> printenv IFS
windlord:~> /bin/sh -c 'echo x-${IFS}-x'
x- -x
windlord:~> uname -a
SunOS windlord.stanford.edu 5.6 Generic_105181-19 sun4u sparc SUNW,Ultra-1

Looks set to me, although it appears to be set incorrectly.

Solaris's /bin/sh isn't a particularly good example, as it's one of the
most completely broken Bourne shells shipped with a modern OS.  It doesn't
even try to be POSIX-compliant.

Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Reply to: