diff --git a/src/cmd/ksh93/data/builtins.c b/src/cmd/ksh93/data/builtins.c index 855deaac0..691a944c4 100644 --- a/src/cmd/ksh93/data/builtins.c +++ b/src/cmd/ksh93/data/builtins.c @@ -441,7 +441,7 @@ const char sh_optbuiltin[] = ; const char sh_optcd[] = -"[-1c?\n@(#)$Id: cd (ksh 93u+m) 2021-12-02 $\n]" +"[-1c?\n@(#)$Id: cd (ksh 93u+m) 2021-12-05 $\n]" "[--catalog?" SH_DICT "]" "[+NAME?cd - change working directory ]" "[+DESCRIPTION?\bcd\b changes the current working directory of the " @@ -484,8 +484,7 @@ const char sh_optcd[] = "components are expanded in the resulting directory name.]" "[e?If the \b-P\b option is in effect and the correct \bPWD\b cannot be " "determined, exit with status 1. All other errors encountered while " - "both \b-e\b and \b-P\b are active result in exit status >1 (i.e., " - "exit status 2 unless an out of memory error occurred).]" + "both \b-e\b and \b-P\b are active result in exit status >1.]" "\n" "\n[directory]\n" "old new\n" diff --git a/src/cmd/ksh93/sh.1 b/src/cmd/ksh93/sh.1 index a9683e08a..ba945b1de 100644 --- a/src/cmd/ksh93/sh.1 +++ b/src/cmd/ksh93/sh.1 @@ -5857,8 +5857,6 @@ could not be determined after successfully changing the directory, will return with exit status one and produce no output. If any other error occurs while both flags are active, the exit status is greater than one. -This means the exit status is effectively -two unless an out of memory error occurs. .sp .5 The .B cd\^