diff options
author | Chet Ramey <chet.ramey@case.edu> | 2012-01-09 08:35:06 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2012-01-09 08:35:06 -0500 |
commit | 2dead0c4f1dc7d9b74b6068ac9ed9da6b8cde5bd (patch) | |
tree | 6abbf82187cc714bf65494160c5d56067a306ee9 /doc | |
parent | e3db237e6836235526691cc1a64a3c8937338743 (diff) | |
download | bash-2dead0c4f1dc7d9b74b6068ac9ed9da6b8cde5bd.tar.gz |
commit bash-20111209 snapshot
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bash.1 | 12 | ||||
-rw-r--r-- | doc/bashref.texi | 5 | ||||
-rw-r--r-- | doc/version.texi | 6 |
3 files changed, 12 insertions, 11 deletions
@@ -5,12 +5,12 @@ .\" Case Western Reserve University .\" chet@po.cwru.edu .\" -.\" Last Change: Sat Nov 19 15:15:30 EST 2011 +.\" Last Change: Wed Dec 7 17:34:07 EST 2011 .\" .\" bash_builtins, strip all but Built-Ins section .if \n(zZ=1 .ig zZ .if \n(zY=1 .ig zY -.TH BASH 1 "2011 November 19" "GNU Bash 4.2" +.TH BASH 1 "2011 December 7" "GNU Bash 4.2" .\" .\" There's some problem with having a `@' .\" in a tagged paragraph with the BSD man macros. @@ -6846,12 +6846,12 @@ call or \fIexpr\fP does not correspond to a valid position in the call stack. .TP \fBcd\fP [\fB\-L\fP|[\fB\-P\fP [\fB\-e\fP]]] [\fIdir\fP] -Change the current directory to \fIdir\fP. The variable +Change the current directory to \fIdir\fP. +if \fIdir\fP is not supplied, the value of the .SM .B HOME -is the -default -.IR dir . +shell variable is the default. +Any additional arguments following \fIdir\fP are ignored. The variable .SM .B CDPATH diff --git a/doc/bashref.texi b/doc/bashref.texi index 42a3d005..66dae3de 100644 --- a/doc/bashref.texi +++ b/doc/bashref.texi @@ -3038,8 +3038,9 @@ cd [-L|[-P [-e]]] [@var{directory}] @end example Change the current working directory to @var{directory}. -If @var{directory} is not given, the value of the @env{HOME} shell -variable is used. +If @var{directory} is not supplied, the value of the @env{HOME} +shell variable is used. +Any additional arguments following @var{directory} are ignored. If the shell variable @env{CDPATH} exists, it is used as a search path. If @var{directory} begins with a slash, @env{CDPATH} is not used. diff --git a/doc/version.texi b/doc/version.texi index f8d37579..a5e71e28 100644 --- a/doc/version.texi +++ b/doc/version.texi @@ -2,9 +2,9 @@ Copyright (C) 1988-2011 Free Software Foundation, Inc. @end ignore -@set LASTCHANGE Sat Nov 26 16:56:23 EST 2011 +@set LASTCHANGE Wed Dec 7 17:34:29 EST 2011 @set EDITION 4.2 @set VERSION 4.2 -@set UPDATED 26 November 2011 -@set UPDATED-MONTH November 2011 +@set UPDATED 7 December 2011 +@set UPDATED-MONTH December 2011 |