Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2002 22:53:38 +0200
From:      Matthias Buelow <mkb@informatik.uni-wuerzburg.de>
To:        Joe Kelsey <joek@mail.flyingcroc.net>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/39198: sh aborts on variables with periods
Message-ID:  <3D07B4D2.6090407@informatik.uni-wuerzburg.de>
References:  <200206122010.g5CKA3L09165@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Kelsey wrote:

>  zsh, but I will keep it in mind.  I just want to separate generic ksh 
>  from /bin/sh, and RANDOM should do that.  The check for KSH_VERSION 
>  fails in ksh93 since they went to the .sh.version parameter and dropped 
>  KSH_VERSION completely, a real killer.

You might be confusing pdksh (the public domain ksh clone) with ksh88,
since KSH_VERSION is a pdksh-only artifact (ksh88 has neither
KSH_VERSION, nor .sh.version).  But you're right, for just 
distinguishing it from sh, checking RANDOM would suffice.

--mkb






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?3D07B4D2.6090407>