[ksh93-integration-discuss] meaning of "obsolete second form of cd"in the ksh man page?
Roland Mainz
roland.mainz at nrubsig.org
Mon Sep 4 21:06:01 PDT 2006
Bernd Finger - Sun Germany wrote:
> I just installed ksh93 on my OpenSolaris systems, as a default shell for user
> root and my regular user. I'm quite impressed, and I hope this will be the
> default shell for Solaris soon!
Did you compile it from source or did you use one of the binary packages
from http://www.opensolaris.org/os/project/ksh93-integration/downloads/
(if "yes" - which one ?) ?
> In the man page, in the "Built-in Commands" section, under "cd", I found the
> following text:
>
> --->
> cd [ -LP ] [ arg ]
> cd [ -LP ] old new
> .
> .
> .
> The obsolete second form of cd substitutes the string
> new for the string old in the current directory name,
> PWD and tries to change to this new directory.
> <---
>
> What exactly does "obsolete" mean? I am using this feature from time to time, so
> it would be great if we can keep it for future releases.
>
> I suggest removing the word "obsolete" from that paragraph in the man page.
Uhm... I think you are using the ksh93 manual page shipped for "dtksh" -
the CDE destkop korn shell which ksh93 with add-ons for
X11/Xt/Motif/CDE. Unfortunately the Solaris dtksh is based on "ksh93d"-
(which means someone grabed an alpha version of ksh93 and shipped that
with a production version of an OS, something which should have been
NEVER done) which is MANY MANY years older than the current "ksh93r+".
For verification: What does $ man -l ksh93 # output on your machine ?
A newer version of the manual page can be found at
http://www.opensolaris.org/os/project/ksh93-integration/docs/ksh93r/man/man1/sh/
(this is for "ksh93r" and not for "ksh93r+" and lacks some newer things
but it is still better than the manual page for "ksh93d-") ...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the ksh93-integration-discuss
mailing list