In message <[EMAIL PROTECTED]> on Tue, 17 Dec 2002 
01:07:47 +0100 (CET), Richard Levitte - VMS Whacker <[EMAIL PROTECTED]> said:

levitte> In message <[EMAIL PROTECTED]> on Tue, 17 Dec 2002 01:07:31 
+0100, Andy Polyakov <[EMAIL PROTECTED]> said:
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.

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to