Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2002 11:20:03 -0700 (PDT)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/39198: sh aborts on variables with periods
Message-ID:  <200206121820.g5CIK3089623@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/39198; it has been noted by GNATS.

From: Peter Pentchev <roam@ringlet.net>
To: Joe Kelsey <joek@mail.flyingcroc.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/39198: sh aborts on variables with periods
Date: Wed, 12 Jun 2002 21:16:19 +0300

 On Wed, Jun 12, 2002 at 06:08:27PM -0000, Joe Kelsey wrote:
 > 
 > >Number:         39198
 > >Category:       bin
 > >Synopsis:       sh aborts on variables with periods
 > >Originator:     Joe Kelsey
 > 
 > >Description:
 > 	/bin/sh does not gracefully accept variables with periods.
 [snip]
 > 	if [ -n "$KSH_VERSION"] || [ -n "${.sh.version}" ]
 > 	then
 > 	  # ksh-only stuff
 > 	fi
 > 
 > 	Either /bin/sh has to allow parameters to contain periods or it
 > 	has to provide a reliable method of detecting /bin/sh versus
 > 	ksh.
 
 Does ksh93 set $SHELL to 'sh' and, for login shells, '-sh', or does it
 (as it should, IMHO) set it to 'ksh' and '-ksh', respectively?
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 This sentence contradicts itself - or rather - well, no, actually it doesn't!

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?200206121820.g5CIK3089623>