diff --git a/INSTALL b/INSTALL index bb19bd92..c60d5917 100644 --- a/INSTALL +++ b/INSTALL @@ -57,6 +57,8 @@ code directory by typing 'make clean'. To also remove the files that 'configure' created (so you can compile Bash for a different kind of computer), type 'make distclean'. +Next: Compiling For Multiple Architectures, Prev: Basic Installation, Up: Installing Bash + Compilers and Options ===================== @@ -74,6 +76,8 @@ On systems that have the 'env' program, you can do it like this: The configuration process uses GCC to build Bash if it is available. +Next: Installation Names, Prev: Compilers and Options, Up: Installing Bash + Compiling For Multiple Architectures ==================================== @@ -104,6 +108,8 @@ The 'mkclone' script requires Bash, so you must have already built Bash for at least one architecture before you can create build directories for other architectures. +Next: Specifying the System Type, Prev: Compiling For Multiple Architectures, Up: Installing Bash + Installation Names ================== @@ -119,6 +125,8 @@ option '--exec-prefix=PATH', 'make install' will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. +Next: Sharing Defaults, Prev: Installation Names, Up: Installing Bash + Specifying the System Type ========================== @@ -132,6 +140,8 @@ canonical name with three fields: 'CPU-COMPANY-SYSTEM' (e.g., See the file 'support/config.sub' for the possible values of each field. +Next: Operation Controls, Prev: Specifying the System Type, Up: Installing Bash + Sharing Defaults ================ @@ -144,6 +154,8 @@ looks for 'PREFIX/share/config.site' if it exists, then A warning: the Bash 'configure' looks for a site script, but not all 'configure' scripts do. +Next: Optional Features, Prev: Sharing Defaults, Up: Installing Bash + Operation Controls ================== @@ -173,6 +185,8 @@ Operation Controls 'configure' also accepts some other, not widely used, boilerplate options. 'configure --help' prints the complete list. +Prev: Operation Controls, Up: Installing Bash + Optional Features ================= diff --git a/POSIX b/POSIX index 7564f84f..84ab6bea 100644 --- a/POSIX +++ b/POSIX @@ -209,6 +209,9 @@ The following list is what's changed when 'POSIX mode' is in effect: 'read', the trap handler executes and 'read' returns an exit status greater than 128. + 54. Bash removes an exited background process's status from the list + of such statuses after the 'wait' builtin is used to obtain it. + There is other POSIX behavior that Bash does not implement by default even when in POSIX mode. Specifically: diff --git a/builtins/cd.def b/builtins/cd.def index b5e4c605..421e819b 100644 --- a/builtins/cd.def +++ b/builtins/cd.def @@ -1,7 +1,7 @@ This file is cd.def, from which is created cd.c. It implements the builtins "cd" and "pwd" in Bash. -Copyright (C) 1987-2015 Free Software Foundation, Inc. +Copyright (C) 1987-2016 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -329,6 +329,13 @@ cd_builtin (list) builtin_error (_("too many arguments")); return (EXECUTION_FAILURE); } +#endif +#if 0 + else if (list->word->word[0] == '\0') + { + builtin_error (_("null directory")); + return (EXECUTION_FAILURE); + } #endif else if (list->word->word[0] == '-' && list->word->word[1] == '\0') { diff --git a/builtins/reserved.def b/builtins/reserved.def index 2478f163..7f3c236b 100644 --- a/builtins/reserved.def +++ b/builtins/reserved.def @@ -145,7 +145,7 @@ to indices 0 and 1 of an array variable NAME in the executing shell. The default NAME is "COPROC". Exit Status: -Returns the exit status of COMMAND. +The coproc command returns an exit status of 0. $END $BUILTIN function diff --git a/doc/bash.0 b/doc/bash.0 index a35e325a..77b37e7e 100644 --- a/doc/bash.0 +++ b/doc/bash.0 @@ -306,7 +306,7 @@ SSHHEELLLL GGRRAAMMMMAARR command to terminate in turn. The return status is the exit status of the last command executed. - AND and OR lists are sequences of one of more pipelines separated by + AND and OR lists are sequences of one or more pipelines separated by the &&&& and |||| control operators, respectively. AND and OR lists are executed with left associativity. An AND list has the form @@ -1238,7 +1238,7 @@ PPAARRAAMMEETTEERRSS value of PPAATTHH indicates the current directory. A null directory name may appear as two adjacent colons, or as an initial or trailing colon. The default path is system-dependent, and is - set by the administrator who installs bbaasshh. A common value is + set by the administrator who installs bbaasshh. A common value is ``/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin''. PPOOSSIIXXLLYY__CCOORRRREECCTT If this variable is in the environment when bbaasshh starts, the @@ -5409,8 +5409,10 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS AALLIIAASSEESS. This option is enabled by default for interac- tive shells. eexxttddeebbuugg - If set, behavior intended for use by debuggers is - enabled: + If set at shell invocation, arrange to execute the + debugger profile before the shell starts, identical to + the ----ddeebbuuggggeerr option. If set after invocation, behav- + ior intended for use by debuggers is enabled: 11.. The --FF option to the ddeeccllaarree builtin displays the source file name and line number corresponding to each function name supplied as an argument. @@ -5922,4 +5924,4 @@ BBUUGGSS -GNU Bash 4.4 2016 February 8 BASH(1) +GNU Bash 4.4 2016 April 27 BASH(1) diff --git a/doc/bash.1 b/doc/bash.1 index 2b76cf6c..a67b1b04 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -2322,8 +2322,10 @@ The default path is system-dependent, and is set by the administrator who installs .BR bash . A common value is +.na .if t \f(CW/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin\fP. .if n ``/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin''. +.ad .TP .B POSIXLY_CORRECT If this variable is in the environment when \fBbash\fP starts, the shell diff --git a/doc/bash.html b/doc/bash.html index 9877fab1..8120e692 100644 --- a/doc/bash.html +++ b/doc/bash.html @@ -3,7 +3,7 @@
| BASH(1) | 2016 February 8 | BASH(1) + | BASH(1) | 2016 April 27 | BASH(1) |
|---|
-AND and OR lists are sequences of one of more pipelines separated by the +AND and OR lists are sequences of one or more pipelines separated by the && and || control operators, respectively. AND and OR lists are executed with left associativity. An AND list has the form @@ -2952,8 +2952,10 @@ and is set by the administrator who installs bash. A common value is + /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin. +
| GNU Bash 4.4 | 2016 February 8 | BASH(1) + | GNU Bash 4.4 | 2016 April 27 | BASH(1) |
|---|