mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-07 02:32:27 +02:00
commit bash-20150327 snapshot
This commit is contained in:
@@ -8208,3 +8208,10 @@ builtins/declare.def
|
|||||||
This happens with nameref variables referencing variables set to
|
This happens with nameref variables referencing variables set to
|
||||||
the empty string.
|
the empty string.
|
||||||
Fixes bug reported by Arthur200000 <arthur200126@163.com>
|
Fixes bug reported by Arthur200000 <arthur200126@163.com>
|
||||||
|
|
||||||
|
3/23
|
||||||
|
----
|
||||||
|
doc/{bash.1,bashref.texi}
|
||||||
|
- INVOCATION: add language to make it clear that non-interactive login
|
||||||
|
shells execute ~/.bash_logout if they run the `exit' builtin. From a
|
||||||
|
question from Christoph Anton Mitterer <calestyo@scientia.net>
|
||||||
|
|||||||
+4
-3
@@ -5,12 +5,12 @@
|
|||||||
.\" Case Western Reserve University
|
.\" Case Western Reserve University
|
||||||
.\" chet.ramey@case.edu
|
.\" chet.ramey@case.edu
|
||||||
.\"
|
.\"
|
||||||
.\" Last Change: Sat Mar 21 20:10:48 EDT 2015
|
.\" Last Change: Mon Mar 23 11:25:25 EDT 2015
|
||||||
.\"
|
.\"
|
||||||
.\" bash_builtins, strip all but Built-Ins section
|
.\" bash_builtins, strip all but Built-Ins section
|
||||||
.if \n(zZ=1 .ig zZ
|
.if \n(zZ=1 .ig zZ
|
||||||
.if \n(zY=1 .ig zY
|
.if \n(zY=1 .ig zY
|
||||||
.TH BASH 1 "2015 March 21" "GNU Bash 4.4"
|
.TH BASH 1 "2015 March 23" "GNU Bash 4.4"
|
||||||
.\"
|
.\"
|
||||||
.\" There's some problem with having a `@'
|
.\" There's some problem with having a `@'
|
||||||
.\" in a tagged paragraph with the BSD man macros.
|
.\" in a tagged paragraph with the BSD man macros.
|
||||||
@@ -324,7 +324,8 @@ The
|
|||||||
.B \-\-noprofile
|
.B \-\-noprofile
|
||||||
option may be used when the shell is started to inhibit this behavior.
|
option may be used when the shell is started to inhibit this behavior.
|
||||||
.PP
|
.PP
|
||||||
When a login shell exits,
|
When an interactive login shell exits,
|
||||||
|
or a non-interactive login shell executes the \fBexit\fP builtin command,
|
||||||
.B bash
|
.B bash
|
||||||
reads and executes commands from the file \fI~/.bash_logout\fP, if it
|
reads and executes commands from the file \fI~/.bash_logout\fP, if it
|
||||||
exists.
|
exists.
|
||||||
|
|||||||
+3
-1
@@ -6252,7 +6252,9 @@ and executes commands from the first one that exists and is readable.
|
|||||||
The @option{--noprofile} option may be used when the shell is started to
|
The @option{--noprofile} option may be used when the shell is started to
|
||||||
inhibit this behavior.
|
inhibit this behavior.
|
||||||
|
|
||||||
When a login shell exits, Bash reads and executes commands from
|
When an interactive login shell exits,
|
||||||
|
or a non-interactive login shell executes the @code{exit} builtin command,
|
||||||
|
Bash reads and executes commands from
|
||||||
the file @file{~/.bash_logout}, if it exists.
|
the file @file{~/.bash_logout}, if it exists.
|
||||||
|
|
||||||
@subsubheading Invoked as an interactive non-login shell
|
@subsubheading Invoked as an interactive non-login shell
|
||||||
|
|||||||
+2
-2
@@ -2,10 +2,10 @@
|
|||||||
Copyright (C) 1988-2015 Free Software Foundation, Inc.
|
Copyright (C) 1988-2015 Free Software Foundation, Inc.
|
||||||
@end ignore
|
@end ignore
|
||||||
|
|
||||||
@set LASTCHANGE Sat Mar 21 20:10:48 EDT 2015
|
@set LASTCHANGE Mon Mar 23 11:25:10 EDT 2015
|
||||||
|
|
||||||
@set EDITION 4.4
|
@set EDITION 4.4
|
||||||
@set VERSION 4.4
|
@set VERSION 4.4
|
||||||
|
|
||||||
@set UPDATED 21 March 2015
|
@set UPDATED 23 March 2015
|
||||||
@set UPDATED-MONTH March 2015
|
@set UPDATED-MONTH March 2015
|
||||||
|
|||||||
@@ -5128,7 +5128,7 @@ history_delimiting_chars (line)
|
|||||||
command lists. It's a suboptimal solution. */
|
command lists. It's a suboptimal solution. */
|
||||||
else if (parser_state & PST_CASESTMT) /* case statement pattern */
|
else if (parser_state & PST_CASESTMT) /* case statement pattern */
|
||||||
return " ";
|
return " ";
|
||||||
else
|
else
|
||||||
return "; "; /* (...) subshell */
|
return "; "; /* (...) subshell */
|
||||||
}
|
}
|
||||||
else if (token_before_that == WORD && two_tokens_ago == FUNCTION)
|
else if (token_before_that == WORD && two_tokens_ago == FUNCTION)
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
BUILD_DIR=/usr/local/build/bash/bash-current
|
BUILD_DIR=/usr/local/build/chet/bash/bash-current
|
||||||
THIS_SH=$BUILD_DIR/bash
|
THIS_SH=$BUILD_DIR/bash
|
||||||
PATH=$PATH:$BUILD_DIR
|
PATH=$PATH:$BUILD_DIR
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user