Print this page
13507 some man pages need update following 13405
6308 some man pages are obsolete after moving to ksh builtins

@@ -7,17 +7,10 @@
 
 SYNOPSIS
        /usr/bin/cd [directory]
 
 
-   sh
-       cd [argument]
-
-
-       chdir [argument]
-
-
    csh
        cd [dir]
 
 
        chdir [dir]

@@ -30,11 +23,11 @@
 
 
        dirs [-l]
 
 
-   ksh, ksh93
+   ksh93
        cd [-L] [-P] [arg]
 
 
        cd old new
 

@@ -45,29 +38,10 @@
        the cd utility only. This is in contrast to the version built into the
        shell. /usr/bin/cd has no effect on the invoking process but can be
        used to determine whether or not a given directory can be set as the
        current directory.
 
-   sh
-       The Bourne shell built-in cd changes the current directory to argument.
-       The shell parameter HOME is the default argument.  The shell parameter
-       CDPATH defines the search path for the directory containing argument.
-       Alternative directory names are separated by a colon (:). The default
-       path is <null> (specifying the current directory).  The current
-       directory is specified by a null path name, which can appear
-       immediately after the equal sign or between the colon delimiters
-       anywhere else in the path list. If argument begins with `/', `.', or
-       `..', the search path is not used. Otherwise, each directory in the
-       path is searched for argument. cd must have execute (search) permission
-       in argument. Because a new process is created to execute each command,
-       cd would be ineffective if it were written as a normal command;
-       therefore, it is recognized by and is internal to the shell. (See
-       pwd(1), sh(1), and chdir(2)).
-
-
-       chdir is just another way to call cd.
-
    csh
        If dir is not specified, the C shell built-in cd uses the value of
        shell parameter HOME as the new working directory. If dir specifies a
        complete path starting with `/', `.', or `..', dir becomes the new
        working directory. If neither case applies, cd tries to find the

@@ -112,11 +86,11 @@
 
        dirs prints the directory stack, most recent to the left; the first
        directory shown is the current directory. With the -l argument, produce
        an unabbreviated printout; use of the ~ notation is suppressed.
 
-   ksh, ksh93
+   ksh93
        The Korn shell built-in cd command can be in either of two forms. In
        the first form it changes the current directory to arg. If arg is - the
        directory is changed to the previous directory. The shell variable HOME
        is the default arg. The environment variable PWD is set to the current
        directory. If the PWD is changed, the OLDPWD environment variable shall

@@ -156,11 +130,11 @@
 
 
        The cd command cannot be executed by rksh. Because a new process is
        created to execute each command, cd would be ineffective if it were
        written as a normal command; therefore, it is recognized by and is
-       internal to the Korn shell. (See pwd(1), sh(1), and chdir(2)).
+       internal to the Korn shell. (See pwd(1), ksh93(1), and chdir(2)).
 
 OPERANDS
        The following operands are supported:
 
        directory

@@ -224,14 +198,12 @@
 
 
 ATTRIBUTES
        See attributes(5) for descriptions of the following attributes:
 
-   csh, ksh, sh
+   csh
 
-
-
        +--------------------+-------------------+
        |  ATTRIBUTE TYPE    |  ATTRIBUTE VALUE  |
        +--------------------+-------------------+
        |Interface Stability | Committed         |
        +--------------------+-------------------+

@@ -238,20 +210,18 @@
        |Standard            | See standards(5). |
        +--------------------+-------------------+
 
    ksh93
 
-
-
        +--------------------+-----------------+
        |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
        +--------------------+-----------------+
        |Interface Stability | Uncommitted     |
        +--------------------+-----------------+
 
 SEE ALSO
-       csh(1), ksh(1), ksh93(1), pwd(1), sh(1), chdir(2), attributes(5),
-       environ(5), standards(5)
+       csh(1), ksh93(1), pwd(1), chdir(2), attributes(5), environ(5),
+       standards(5)
 
 
 
-                                 April 8, 2008                           CD(1)
+                               February 9, 2021                          CD(1)