mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-05 11:10:57 +08:00
* doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as
native /bin/sh may not set KSH_VERSION (seen on OpenBSD).
This commit is contained in:
parent
f5a64f3738
commit
cff03cfc50
@ -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
|
||||
|
@ -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\"`"
|
||||
|
Loading…
Reference in New Issue
Block a user