> levitte>
> levitte> appro> Under bash:
> levitte> appro>
> levitte> appro> $ a=b c=$a; echo $c
> levitte> appro> b
> levitte> appro>
> levitte> appro> While under Solaris /bin/sh:
> levitte> appro>
> levitte> appro> $ a=b c=$a; echo $c
> levitte> appro>
> levitte> appro> i.e. it prints nothing. You need "a=b; c=$a; echo $c" to see "b." A.
> levitte>
> levitte> Ah, thanks, that may explain some weird stuff I saw and couldn't
> levitte> figure out.
> levitte>
> levitte> Doesn't that mean that every assignment should be followed by a ;?
> levitte> Right now, you've only done that for those with empty values...
> 
> Oh wait, I get it, it's whenever there's a reference to another
> variable that's assigned in the same statement that things don't work
> the same.

Right! The fact that only empty assignments are followed by ; is a pure
coincidence. It has nothing to do with the fact that assignments are
empty. A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to