Re: [PATCH] config.sub: Work around command assignment bug in some shells.

2021-08-14 Thread Nick Bowler
On 13/08/2021, Karl Berry wrote: > When combining variable assignments with a shell command, some older > shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh) > > Just to confirm: Solaris 10 /bin/sh does indeed also have this bug. > > sparcsol$ /bin/sh -c 'x=good; x=bad :; e

Re: [PATCH] config.sub: Work around command assignment bug in some shells.

2021-08-13 Thread Karl Berry
When combining variable assignments with a shell command, some older shells (notably heirloom-sh and presumably also Solaris 10 /bin/sh) Just to confirm: Solaris 10 /bin/sh does indeed also have this bug. sparcsol$ /bin/sh -c 'x=good; x=bad :; echo $x' bad $ uname -a SunOS sparcsol 5.10 G