]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 20 Feb 2006 08:41:53 +0000 (08:41 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 20 Feb 2006 08:41:53 +0000 (08:41 +0000)
native /bin/sh may not set KSH_VERSION (seen on OpenBSD).

ChangeLog
doc/autoconf.texi

index 48e36b1f6618f322d4a2df11513c14bd038a2b24..ef4edb5008fc4774087ceac2852e1e2e552315fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-02-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
+       native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
+
 2006-02-15  Eric Blake  <ebb9@byu.net>
 
        * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable
index d88df12126b8c8ab0cddf83cb33142fe3e33d808..dd5605164d8c5447a0d14052fb847ef99d94ba2c 100644 (file)
@@ -9916,12 +9916,12 @@ the standard shell conform to Posix.
 @prindex @samp{pdksh}
 A public-domain clone of the Korn shell called @command{pdksh} is widely
 available: it has most of the @samp{ksh88} features along with a few of
-its own.  Similarly to Bash, you can detect whether you are
-running @command{pdksh} by testing whether @code{KSH_VERSION} is set,
-and you can require Posix compatibility by running @samp{set
--o posix}.  Unfortunately, with @command{pdksh} 5.2.14 (the latest
-stable version as of January 2006) Posix mode is buggy and causes
-@command{pdksh} to depart from Posix in at least one respect:
+its own.  It will usually set @code{KSH_VERSION}, except if invoked as
+@command{/bin/sh} on OpenBSD, and similarly to Bash you can require
+Posix compatibility by running @samp{set -o posix}.  Unfortunately, with
+@command{pdksh} 5.2.14 (the latest stable version as of February 2006)
+Posix mode is buggy and causes @command{pdksh} to depart from Posix in
+at least one respect:
 
 @example
 $ echo "`echo \"hello\"`"