mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-01 16:03:39 +02:00
remove (' from chars that can follow ${' command substitution; fix for empty command substitutions; fix for adding incomplete command substitutions to history; fix for function source file with -c command; fix for EOF at PS2 when ignoreeof is set
This commit is contained in:
+7
-10
@@ -3,7 +3,7 @@
|
||||
</HEAD>
|
||||
<BODY><TABLE WIDTH=100%>
|
||||
<TR>
|
||||
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2023 May 14<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2023 May 23<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
</TR>
|
||||
</TABLE>
|
||||
<BR><A HREF="#index">Index</A>
|
||||
@@ -4520,7 +4520,7 @@ and captures its output, again with trailing newlines removed.
|
||||
<P>
|
||||
|
||||
The character <I>c</I> following the open brace must be a space, tab,
|
||||
newline, <B>(</B>, or <B>|</B>, and the close brace must be in a position
|
||||
newline, or <B>|</B>, and the close brace must be in a position
|
||||
where a reserved word may appear (i.e., preceded by a command terminator
|
||||
such as semicolon).
|
||||
<B>Bash</B> allows the close brace to be joined to the remaining characters in
|
||||
@@ -4542,11 +4542,8 @@ however, the rest of the execution environment,
|
||||
including the positional parameters, is shared with the caller.
|
||||
<P>
|
||||
|
||||
If the first character following the open brace is a <B>(</B>,
|
||||
<I>command</I> is executed in a subshell, and <I>command</I> must be
|
||||
terminated by a <B>)</B>. This is similar to the <B>(</B> compound
|
||||
command (see <B>Compound Commands</B> above).
|
||||
If the first character is a <B>|</B>, the construct expands to the
|
||||
If the first character following the open brace
|
||||
is a <B>|</B>, the construct expands to the
|
||||
value of the <B>REPLY</B> shell variable after <I>command</I> executes,
|
||||
without removing any trailing newlines,
|
||||
and the standard output of <I>command</I> remains the same as in the
|
||||
@@ -15002,7 +14999,7 @@ There may be only one active coprocess at a time.
|
||||
<HR>
|
||||
<TABLE WIDTH=100%>
|
||||
<TR>
|
||||
<TH ALIGN=LEFT width=33%>GNU Bash 5.2<TH ALIGN=CENTER width=33%>2023 May 14<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
<TH ALIGN=LEFT width=33%>GNU Bash 5.2<TH ALIGN=CENTER width=33%>2023 May 23<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
</TR>
|
||||
</TABLE>
|
||||
<HR>
|
||||
@@ -15108,7 +15105,7 @@ There may be only one active coprocess at a time.
|
||||
<DT><A HREF="#lbDI">BUGS</A><DD>
|
||||
</DL>
|
||||
<HR>
|
||||
This document was created by man2html from /usr/local/src/bash/bash-20230515/doc/bash.1.<BR>
|
||||
Time: 20 May 2023 11:02:33 EDT
|
||||
This document was created by man2html from /usr/local/src/bash/bash-20230522/doc/bash.1.<BR>
|
||||
Time: 23 May 2023 11:31:51 EDT
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Reference in New Issue
Block a user