From owner-freebsd-bugs Wed Jun 12 17:46:59 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 0750E37B400 for ; Wed, 12 Jun 2002 17:46:57 -0700 (PDT) Received: from sdn-ar-004dcwashp313.dialsprint.net ([206.133.15.219] helo=moo.holy.cow) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 17IIlB-0000cm-00; Wed, 12 Jun 2002 17:46:46 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 6C9B850BB7; Wed, 12 Jun 2002 20:49:00 -0400 (EDT) Date: Wed, 12 Jun 2002 20:49:00 -0400 From: parv To: Frank v Waveren Cc: f-bug Subject: Re: bin/39198: sh aborts on variables with periods Message-ID: <20020613004900.GA38698@moo.holy.cow> References: <200206122010.g5CKA3L09165@freefall.freebsd.org> <20020612214110.GA30199@moo.holy.cow> <1023918173HKC.fvw@yendor.var.cx> <20020613002018.GA38200@moo.holy.cow> <1023927778RGL.fvw@yendor.var.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1023927778RGL.fvw@yendor.var.cx> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org in message <1023927778RGL.fvw@yendor.var.cx>, wrote Frank v Waveren thusly... > > On Wed, Jun 12, 2002 at 08:20:18PM -0400, parv wrote: > > > anyway, i tried... > > ...the above more than three times each in bash-2.05 & > > ksh93-20020317 ... and did not get any utterance of 'same'. > > it's quite possible that bash uses for instance a linear PRNG in > bash ... However, this behaviour is not in the spec and thus not > guaranteed. i got your point the first time that relying on comparison of a random number to another random is just plain sick. and now that you have put that in more concrete form, the thought will be going to stick a bit longer. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message