Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 15:33:29 +0200
From:      Matthias Buelow <mkb@informatik.uni-wuerzburg.de>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/39198: sh aborts on variables with periods
Message-ID:  <3D09F0A9.3000700@informatik.uni-wuerzburg.de>
References:  <200206140750.g5E7o3A03840@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Peter Pentchev wrote:

>  You mean, like, testing $SHELL for being "/bin/ksh"? :)

That won't work reliably; you have to test $0, not $SHELL.

--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?3D09F0A9.3000700>