Date: Thu, 13 Jun 2002 02:28:33 +0200 From: Frank v Waveren <fvw@var.cx> To: parv <parv@pair.com> Cc: freebsd-bugs@freebsd.org Subject: Re: bin/39198: sh aborts on variables with periods Message-ID: <1023927778RGL.fvw@yendor.var.cx> In-Reply-To: <20020613002018.GA38200@moo.holy.cow> References: <200206122010.g5CKA3L09165@freefall.freebsd.org> <20020612214110.GA30199@moo.holy.cow> <1023918173HKC.fvw@yendor.var.cx> <20020613002018.GA38200@moo.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 12, 2002 at 08:20:18PM -0400, parv wrote: > oh, come on, i am merely conveying what i got in the mail! The criticism was mostly directed at the author of the text, and no offence intended to anyone... > anyway, i tried... > ...the above more than three times each in bash-2.05 & > ksh93-20020317 (i.e. more than 3 * 2 * 2^16 times) and did not get > any utterance of 'same'. not that that proves anything... it's quite possible that bash uses for instance a linear PRNG in which case it's not entirely unlikely that depending on configuration the same number will never be created twice in succession. However, this behaviour is not in the spec and thus not guaranteed. It could change, sneaking up behind you and brutally mutilating your scripts in the process. Trusting on it would be unwise. -- Frank v Waveren Fingerprint: 0EDB 8787 fvw@[var.cx|stack.nl|dse.nl|chello.nl] ICQ#10074100 09B9 6EF5 6425 B855 Public key: hkp://wwwkeys.pgp.net/fvw@var.cx 7179 3036 E136 B85D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1023927778RGL.fvw>