mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 02:40:49 +02:00
commit bash-20181116 snapshot
This commit is contained in:
+13
-13
@@ -2303,19 +2303,19 @@ AALLIIAASSEESS
|
||||
sshhoopptt under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below).
|
||||
|
||||
The rules concerning the definition and use of aliases are somewhat
|
||||
confusing. BBaasshh always reads at least one complete line of input
|
||||
before executing any of the commands on that line. Aliases are
|
||||
expanded when a command is read, not when it is executed. Therefore,
|
||||
an alias definition appearing on the same line as another command does
|
||||
not take effect until the next line of input is read. The commands
|
||||
following the alias definition on that line are not affected by the new
|
||||
alias. This behavior is also an issue when functions are executed.
|
||||
Aliases are expanded when a function definition is read, not when the
|
||||
function is executed, because a function definition is itself a com-
|
||||
mand. As a consequence, aliases defined in a function are not avail-
|
||||
able until after that function is executed. To be safe, always put
|
||||
alias definitions on a separate line, and do not use aalliiaass in compound
|
||||
commands.
|
||||
confusing. BBaasshh always reads at least one complete line of input, and
|
||||
all lines that make up a compound command, before executing any of the
|
||||
commands on that line or the compound command. Aliases are expanded
|
||||
when a command is read, not when it is executed. Therefore, an alias
|
||||
definition appearing on the same line as another command does not take
|
||||
effect until the next line of input is read. The commands following
|
||||
the alias definition on that line are not affected by the new alias.
|
||||
This behavior is also an issue when functions are executed. Aliases
|
||||
are expanded when a function definition is read, not when the function
|
||||
is executed, because a function definition is itself a command. As a
|
||||
consequence, aliases defined in a function are not available until
|
||||
after that function is executed. To be safe, always put alias defini-
|
||||
tions on a separate line, and do not use aalliiaass in compound commands.
|
||||
|
||||
For almost every purpose, aliases are superseded by shell functions.
|
||||
|
||||
|
||||
+4
-3
@@ -4232,9 +4232,10 @@ below).
|
||||
The rules concerning the definition and use of aliases are
|
||||
somewhat confusing.
|
||||
.B Bash
|
||||
always reads at least one complete line
|
||||
of input before executing any
|
||||
of the commands on that line. Aliases are expanded when a
|
||||
always reads at least one complete line of input,
|
||||
and all lines that make up a compound command,
|
||||
before executing any of the commands on that line or the compound command.
|
||||
Aliases are expanded when a
|
||||
command is read, not when it is executed. Therefore, an
|
||||
alias definition appearing on the same line as another
|
||||
command does not take effect until the next line of input is read.
|
||||
|
||||
+5
-4
@@ -5402,9 +5402,10 @@ The rules concerning the definition and use of aliases are
|
||||
somewhat confusing.
|
||||
<B>Bash</B>
|
||||
|
||||
always reads at least one complete line
|
||||
of input before executing any
|
||||
of the commands on that line. Aliases are expanded when a
|
||||
always reads at least one complete line of input,
|
||||
and all lines that make up a compound command,
|
||||
before executing any of the commands on that line or the compound command.
|
||||
Aliases are expanded when a
|
||||
command is read, not when it is executed. Therefore, an
|
||||
alias definition appearing on the same line as another
|
||||
command does not take effect until the next line of input is read.
|
||||
@@ -14021,6 +14022,6 @@ There may be only one active coprocess at a time.
|
||||
</DL>
|
||||
<HR>
|
||||
This document was created by man2html from bash.1.<BR>
|
||||
Time: 09 November 2018 14:50:32 EST
|
||||
Time: 16 November 2018 09:02:02 EST
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
+64
-63
@@ -6205,9 +6205,10 @@ the 'expand_aliases' shell option is set using 'shopt' (*note The Shopt
|
||||
Builtin::).
|
||||
|
||||
The rules concerning the definition and use of aliases are somewhat
|
||||
confusing. Bash always reads at least one complete line of input before
|
||||
executing any of the commands on that line. Aliases are expanded when a
|
||||
command is read, not when it is executed. Therefore, an alias
|
||||
confusing. Bash always reads at least one complete line of input, and
|
||||
all lines that make up a compound command, before executing any of the
|
||||
commands on that line or the compound command. Aliases are expanded
|
||||
when a command is read, not when it is executed. Therefore, an alias
|
||||
definition appearing on the same line as another command does not take
|
||||
effect until the next line of input is read. The commands following the
|
||||
alias definition on that line are not affected by the new alias. This
|
||||
@@ -11748,65 +11749,65 @@ Node: Interactive Shell Behavior251014
|
||||
Node: Bash Conditional Expressions254501
|
||||
Node: Shell Arithmetic259078
|
||||
Node: Aliases261895
|
||||
Node: Arrays264443
|
||||
Node: The Directory Stack269809
|
||||
Node: Directory Stack Builtins270593
|
||||
Node: Controlling the Prompt273561
|
||||
Node: The Restricted Shell276327
|
||||
Node: Bash POSIX Mode278152
|
||||
Node: Job Control289085
|
||||
Node: Job Control Basics289545
|
||||
Node: Job Control Builtins294513
|
||||
Node: Job Control Variables299240
|
||||
Node: Command Line Editing300396
|
||||
Node: Introduction and Notation302067
|
||||
Node: Readline Interaction303690
|
||||
Node: Readline Bare Essentials304881
|
||||
Node: Readline Movement Commands306664
|
||||
Node: Readline Killing Commands307624
|
||||
Node: Readline Arguments309542
|
||||
Node: Searching310586
|
||||
Node: Readline Init File312772
|
||||
Node: Readline Init File Syntax313919
|
||||
Node: Conditional Init Constructs334358
|
||||
Node: Sample Init File338554
|
||||
Node: Bindable Readline Commands341671
|
||||
Node: Commands For Moving342875
|
||||
Node: Commands For History344724
|
||||
Node: Commands For Text349019
|
||||
Node: Commands For Killing352407
|
||||
Node: Numeric Arguments354888
|
||||
Node: Commands For Completion356027
|
||||
Node: Keyboard Macros360218
|
||||
Node: Miscellaneous Commands360905
|
||||
Node: Readline vi Mode366858
|
||||
Node: Programmable Completion367765
|
||||
Node: Programmable Completion Builtins375545
|
||||
Node: A Programmable Completion Example386238
|
||||
Node: Using History Interactively391478
|
||||
Node: Bash History Facilities392162
|
||||
Node: Bash History Builtins395167
|
||||
Node: History Interaction399698
|
||||
Node: Event Designators403318
|
||||
Node: Word Designators404537
|
||||
Node: Modifiers406174
|
||||
Node: Installing Bash407576
|
||||
Node: Basic Installation408713
|
||||
Node: Compilers and Options411971
|
||||
Node: Compiling For Multiple Architectures412712
|
||||
Node: Installation Names414405
|
||||
Node: Specifying the System Type415223
|
||||
Node: Sharing Defaults415939
|
||||
Node: Operation Controls416612
|
||||
Node: Optional Features417570
|
||||
Node: Reporting Bugs428088
|
||||
Node: Major Differences From The Bourne Shell429282
|
||||
Node: GNU Free Documentation License446134
|
||||
Node: Indexes471311
|
||||
Node: Builtin Index471765
|
||||
Node: Reserved Word Index478592
|
||||
Node: Variable Index481040
|
||||
Node: Function Index496791
|
||||
Node: Concept Index510094
|
||||
Node: Arrays264515
|
||||
Node: The Directory Stack269881
|
||||
Node: Directory Stack Builtins270665
|
||||
Node: Controlling the Prompt273633
|
||||
Node: The Restricted Shell276399
|
||||
Node: Bash POSIX Mode278224
|
||||
Node: Job Control289157
|
||||
Node: Job Control Basics289617
|
||||
Node: Job Control Builtins294585
|
||||
Node: Job Control Variables299312
|
||||
Node: Command Line Editing300468
|
||||
Node: Introduction and Notation302139
|
||||
Node: Readline Interaction303762
|
||||
Node: Readline Bare Essentials304953
|
||||
Node: Readline Movement Commands306736
|
||||
Node: Readline Killing Commands307696
|
||||
Node: Readline Arguments309614
|
||||
Node: Searching310658
|
||||
Node: Readline Init File312844
|
||||
Node: Readline Init File Syntax313991
|
||||
Node: Conditional Init Constructs334430
|
||||
Node: Sample Init File338626
|
||||
Node: Bindable Readline Commands341743
|
||||
Node: Commands For Moving342947
|
||||
Node: Commands For History344796
|
||||
Node: Commands For Text349091
|
||||
Node: Commands For Killing352479
|
||||
Node: Numeric Arguments354960
|
||||
Node: Commands For Completion356099
|
||||
Node: Keyboard Macros360290
|
||||
Node: Miscellaneous Commands360977
|
||||
Node: Readline vi Mode366930
|
||||
Node: Programmable Completion367837
|
||||
Node: Programmable Completion Builtins375617
|
||||
Node: A Programmable Completion Example386310
|
||||
Node: Using History Interactively391550
|
||||
Node: Bash History Facilities392234
|
||||
Node: Bash History Builtins395239
|
||||
Node: History Interaction399770
|
||||
Node: Event Designators403390
|
||||
Node: Word Designators404609
|
||||
Node: Modifiers406246
|
||||
Node: Installing Bash407648
|
||||
Node: Basic Installation408785
|
||||
Node: Compilers and Options412043
|
||||
Node: Compiling For Multiple Architectures412784
|
||||
Node: Installation Names414477
|
||||
Node: Specifying the System Type415295
|
||||
Node: Sharing Defaults416011
|
||||
Node: Operation Controls416684
|
||||
Node: Optional Features417642
|
||||
Node: Reporting Bugs428160
|
||||
Node: Major Differences From The Bourne Shell429354
|
||||
Node: GNU Free Documentation License446206
|
||||
Node: Indexes471383
|
||||
Node: Builtin Index471837
|
||||
Node: Reserved Word Index478664
|
||||
Node: Variable Index481112
|
||||
Node: Function Index496863
|
||||
Node: Concept Index510166
|
||||
|
||||
End Tag Table
|
||||
|
||||
Binary file not shown.
+2766
-2768
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -216,9 +216,9 @@
|
||||
@xrdef{Controlling the Prompt-pg}{97}
|
||||
@xrdef{The Restricted Shell-title}{The Restricted Shell}
|
||||
@xrdef{The Restricted Shell-snt}{Section@tie 6.10}
|
||||
@xrdef{The Restricted Shell-pg}{98}
|
||||
@xrdef{Bash POSIX Mode-title}{Bash POSIX Mode}
|
||||
@xrdef{Bash POSIX Mode-snt}{Section@tie 6.11}
|
||||
@xrdef{The Restricted Shell-pg}{99}
|
||||
@xrdef{Bash POSIX Mode-pg}{99}
|
||||
@xrdef{Job Control-title}{Job Control}
|
||||
@xrdef{Job Control-snt}{Chapter@tie 7}
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@
|
||||
\entry{arrays}{94}{arrays}
|
||||
\entry{directory stack}{96}{directory stack}
|
||||
\entry{prompting}{97}{prompting}
|
||||
\entry{restricted shell}{98}{restricted shell}
|
||||
\entry{restricted shell}{99}{restricted shell}
|
||||
\entry{POSIX Mode}{99}{POSIX Mode}
|
||||
\entry{job control}{103}{job control}
|
||||
\entry{foreground}{103}{foreground}
|
||||
|
||||
+1
-1
@@ -109,7 +109,7 @@
|
||||
\entry {Readline, how to use}{106}
|
||||
\entry {redirection}{34}
|
||||
\entry {reserved word}{3}
|
||||
\entry {restricted shell}{98}
|
||||
\entry {restricted shell}{99}
|
||||
\entry {return status}{4}
|
||||
\initial {S}
|
||||
\entry {shell arithmetic}{92}
|
||||
|
||||
Binary file not shown.
+5
-4
@@ -8486,10 +8486,11 @@ unless the <code>expand_aliases</code> shell option is set using
|
||||
<code>shopt</code> (see <a href="#The-Shopt-Builtin">The Shopt Builtin</a>).
|
||||
</p>
|
||||
<p>The rules concerning the definition and use of aliases are
|
||||
somewhat confusing. Bash
|
||||
always reads at least one complete line
|
||||
of input before executing any
|
||||
of the commands on that line. Aliases are expanded when a
|
||||
somewhat confusing. Bash
|
||||
always reads at least one complete line of input,
|
||||
and all lines that make up a compound command,
|
||||
before executing any of the commands on that line or the compound command.
|
||||
Aliases are expanded when a
|
||||
command is read, not when it is executed. Therefore, an
|
||||
alias definition appearing on the same line as another
|
||||
command does not take effect until the next line of input is read.
|
||||
|
||||
+64
-63
@@ -6205,9 +6205,10 @@ the 'expand_aliases' shell option is set using 'shopt' (*note The Shopt
|
||||
Builtin::).
|
||||
|
||||
The rules concerning the definition and use of aliases are somewhat
|
||||
confusing. Bash always reads at least one complete line of input before
|
||||
executing any of the commands on that line. Aliases are expanded when a
|
||||
command is read, not when it is executed. Therefore, an alias
|
||||
confusing. Bash always reads at least one complete line of input, and
|
||||
all lines that make up a compound command, before executing any of the
|
||||
commands on that line or the compound command. Aliases are expanded
|
||||
when a command is read, not when it is executed. Therefore, an alias
|
||||
definition appearing on the same line as another command does not take
|
||||
effect until the next line of input is read. The commands following the
|
||||
alias definition on that line are not affected by the new alias. This
|
||||
@@ -11748,65 +11749,65 @@ Node: Interactive Shell Behavior251014
|
||||
Node: Bash Conditional Expressions254501
|
||||
Node: Shell Arithmetic259078
|
||||
Node: Aliases261895
|
||||
Node: Arrays264443
|
||||
Node: The Directory Stack269809
|
||||
Node: Directory Stack Builtins270593
|
||||
Node: Controlling the Prompt273561
|
||||
Node: The Restricted Shell276327
|
||||
Node: Bash POSIX Mode278152
|
||||
Node: Job Control289085
|
||||
Node: Job Control Basics289545
|
||||
Node: Job Control Builtins294513
|
||||
Node: Job Control Variables299240
|
||||
Node: Command Line Editing300396
|
||||
Node: Introduction and Notation302067
|
||||
Node: Readline Interaction303690
|
||||
Node: Readline Bare Essentials304881
|
||||
Node: Readline Movement Commands306664
|
||||
Node: Readline Killing Commands307624
|
||||
Node: Readline Arguments309542
|
||||
Node: Searching310586
|
||||
Node: Readline Init File312772
|
||||
Node: Readline Init File Syntax313919
|
||||
Node: Conditional Init Constructs334358
|
||||
Node: Sample Init File338554
|
||||
Node: Bindable Readline Commands341671
|
||||
Node: Commands For Moving342875
|
||||
Node: Commands For History344724
|
||||
Node: Commands For Text349019
|
||||
Node: Commands For Killing352407
|
||||
Node: Numeric Arguments354888
|
||||
Node: Commands For Completion356027
|
||||
Node: Keyboard Macros360218
|
||||
Node: Miscellaneous Commands360905
|
||||
Node: Readline vi Mode366858
|
||||
Node: Programmable Completion367765
|
||||
Node: Programmable Completion Builtins375545
|
||||
Node: A Programmable Completion Example386238
|
||||
Node: Using History Interactively391478
|
||||
Node: Bash History Facilities392162
|
||||
Node: Bash History Builtins395167
|
||||
Node: History Interaction399698
|
||||
Node: Event Designators403318
|
||||
Node: Word Designators404537
|
||||
Node: Modifiers406174
|
||||
Node: Installing Bash407576
|
||||
Node: Basic Installation408713
|
||||
Node: Compilers and Options411971
|
||||
Node: Compiling For Multiple Architectures412712
|
||||
Node: Installation Names414405
|
||||
Node: Specifying the System Type415223
|
||||
Node: Sharing Defaults415939
|
||||
Node: Operation Controls416612
|
||||
Node: Optional Features417570
|
||||
Node: Reporting Bugs428088
|
||||
Node: Major Differences From The Bourne Shell429282
|
||||
Node: GNU Free Documentation License446134
|
||||
Node: Indexes471311
|
||||
Node: Builtin Index471765
|
||||
Node: Reserved Word Index478592
|
||||
Node: Variable Index481040
|
||||
Node: Function Index496791
|
||||
Node: Concept Index510094
|
||||
Node: Arrays264515
|
||||
Node: The Directory Stack269881
|
||||
Node: Directory Stack Builtins270665
|
||||
Node: Controlling the Prompt273633
|
||||
Node: The Restricted Shell276399
|
||||
Node: Bash POSIX Mode278224
|
||||
Node: Job Control289157
|
||||
Node: Job Control Basics289617
|
||||
Node: Job Control Builtins294585
|
||||
Node: Job Control Variables299312
|
||||
Node: Command Line Editing300468
|
||||
Node: Introduction and Notation302139
|
||||
Node: Readline Interaction303762
|
||||
Node: Readline Bare Essentials304953
|
||||
Node: Readline Movement Commands306736
|
||||
Node: Readline Killing Commands307696
|
||||
Node: Readline Arguments309614
|
||||
Node: Searching310658
|
||||
Node: Readline Init File312844
|
||||
Node: Readline Init File Syntax313991
|
||||
Node: Conditional Init Constructs334430
|
||||
Node: Sample Init File338626
|
||||
Node: Bindable Readline Commands341743
|
||||
Node: Commands For Moving342947
|
||||
Node: Commands For History344796
|
||||
Node: Commands For Text349091
|
||||
Node: Commands For Killing352479
|
||||
Node: Numeric Arguments354960
|
||||
Node: Commands For Completion356099
|
||||
Node: Keyboard Macros360290
|
||||
Node: Miscellaneous Commands360977
|
||||
Node: Readline vi Mode366930
|
||||
Node: Programmable Completion367837
|
||||
Node: Programmable Completion Builtins375617
|
||||
Node: A Programmable Completion Example386310
|
||||
Node: Using History Interactively391550
|
||||
Node: Bash History Facilities392234
|
||||
Node: Bash History Builtins395239
|
||||
Node: History Interaction399770
|
||||
Node: Event Designators403390
|
||||
Node: Word Designators404609
|
||||
Node: Modifiers406246
|
||||
Node: Installing Bash407648
|
||||
Node: Basic Installation408785
|
||||
Node: Compilers and Options412043
|
||||
Node: Compiling For Multiple Architectures412784
|
||||
Node: Installation Names414477
|
||||
Node: Specifying the System Type415295
|
||||
Node: Sharing Defaults416011
|
||||
Node: Operation Controls416684
|
||||
Node: Optional Features417642
|
||||
Node: Reporting Bugs428160
|
||||
Node: Major Differences From The Bourne Shell429354
|
||||
Node: GNU Free Documentation License446206
|
||||
Node: Indexes471383
|
||||
Node: Builtin Index471837
|
||||
Node: Reserved Word Index478664
|
||||
Node: Variable Index481112
|
||||
Node: Function Index496863
|
||||
Node: Concept Index510166
|
||||
|
||||
End Tag Table
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/MacPorts 2018.47642_1) (preloaded format=pdfetex 2018.9.7) 9 NOV 2018 16:30
|
||||
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/MacPorts 2018.47642_1) (preloaded format=pdfetex 2018.9.7) 16 NOV 2018 09:02
|
||||
entering extended mode
|
||||
restricted \write18 enabled.
|
||||
file:line:error style messages enabled.
|
||||
@@ -295,7 +295,7 @@ s/type1/public/amsfonts/cm/cmtt12.pfb></opt/local/share/texmf-texlive/fonts/typ
|
||||
e1/public/amsfonts/cm/cmtt9.pfb></opt/local/share/texmf-texlive/fonts/type1/pub
|
||||
lic/cm-super/sfrm1095.pfb></opt/local/share/texmf-texlive/fonts/type1/public/cm
|
||||
-super/sfrm1440.pfb>
|
||||
Output written on bashref.pdf (184 pages, 753143 bytes).
|
||||
Output written on bashref.pdf (184 pages, 753023 bytes).
|
||||
PDF statistics:
|
||||
2624 PDF objects out of 2984 (max. 8388607)
|
||||
2395 compressed objects within 24 object streams
|
||||
|
||||
Binary file not shown.
+450
-452
File diff suppressed because it is too large
Load Diff
+5
-4
@@ -7125,10 +7125,11 @@ unless the @code{expand_aliases} shell option is set using
|
||||
@code{shopt} (@pxref{The Shopt Builtin}).
|
||||
|
||||
The rules concerning the definition and use of aliases are
|
||||
somewhat confusing. Bash
|
||||
always reads at least one complete line
|
||||
of input before executing any
|
||||
of the commands on that line. Aliases are expanded when a
|
||||
somewhat confusing. Bash
|
||||
always reads at least one complete line of input,
|
||||
and all lines that make up a compound command,
|
||||
before executing any of the commands on that line or the compound command.
|
||||
Aliases are expanded when a
|
||||
command is read, not when it is executed. Therefore, an
|
||||
alias definition appearing on the same line as another
|
||||
command does not take effect until the next line of input is read.
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@
|
||||
@numsecentry{The Directory Stack}{6.8}{The Directory Stack}{96}
|
||||
@numsubsecentry{Directory Stack Builtins}{6.8.1}{Directory Stack Builtins}{96}
|
||||
@numsecentry{Controlling the Prompt}{6.9}{Controlling the Prompt}{97}
|
||||
@numsecentry{The Restricted Shell}{6.10}{The Restricted Shell}{98}
|
||||
@numsecentry{The Restricted Shell}{6.10}{The Restricted Shell}{99}
|
||||
@numsecentry{Bash POSIX Mode}{6.11}{Bash POSIX Mode}{99}
|
||||
@numchapentry{Job Control}{7}{Job Control}{103}
|
||||
@numsecentry{Job Control Basics}{7.1}{Job Control Basics}{103}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0
|
||||
%%Creator: groff version 1.22.3
|
||||
%%CreationDate: Fri Nov 9 14:50:19 2018
|
||||
%%CreationDate: Fri Nov 16 09:01:51 2018
|
||||
%%DocumentNeededResources: font Times-Roman
|
||||
%%+ font Times-Bold
|
||||
%%+ font Times-Italic
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0
|
||||
%%Creator: groff version 1.22.3
|
||||
%%CreationDate: Fri Nov 9 14:50:19 2018
|
||||
%%CreationDate: Fri Nov 16 09:01:51 2018
|
||||
%%DocumentNeededResources: font Times-Roman
|
||||
%%+ font Times-Bold
|
||||
%%DocumentSuppliedResources: procset grops 1.22 3
|
||||
|
||||
Reference in New Issue
Block a user