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
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