mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-10 21:50:49 +02:00
bash-5.0-rc1 release
This commit is contained in:
+141
-139
@@ -2,9 +2,9 @@ This is bashref.info, produced by makeinfo version 6.5 from
|
||||
bashref.texi.
|
||||
|
||||
This text is a brief description of the features that are present in the
|
||||
Bash shell (version 5.0, 9 November 2018).
|
||||
Bash shell (version 5.0, 7 December 2018).
|
||||
|
||||
This is Edition 5.0, last updated 9 November 2018, of 'The GNU Bash
|
||||
This is Edition 5.0, last updated 7 December 2018, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 5.0.
|
||||
|
||||
Copyright (C) 1988-2018 Free Software Foundation, Inc.
|
||||
@@ -27,10 +27,10 @@ Bash Features
|
||||
*************
|
||||
|
||||
This text is a brief description of the features that are present in the
|
||||
Bash shell (version 5.0, 9 November 2018). The Bash home page is
|
||||
Bash shell (version 5.0, 7 December 2018). The Bash home page is
|
||||
<http://www.gnu.org/software/bash/>.
|
||||
|
||||
This is Edition 5.0, last updated 9 November 2018, of 'The GNU Bash
|
||||
This is Edition 5.0, last updated 7 December 2018, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 5.0.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -619,11 +619,12 @@ commands, equivalent to a semicolon.
|
||||
|
||||
If a command is terminated by the control operator '&', the shell
|
||||
executes the command asynchronously in a subshell. This is known as
|
||||
executing the command in the BACKGROUND. The shell does not wait for
|
||||
the command to finish, and the return status is 0 (true). When job
|
||||
control is not active (*note Job Control::), the standard input for
|
||||
asynchronous commands, in the absence of any explicit redirections, is
|
||||
redirected from '/dev/null'.
|
||||
executing the command in the BACKGROUND, and these are referred to as
|
||||
ASYNCHRONOUS commands. The shell does not wait for the command to
|
||||
finish, and the return status is 0 (true). When job control is not
|
||||
active (*note Job Control::), the standard input for asynchronous
|
||||
commands, in the absence of any explicit redirections, is redirected
|
||||
from '/dev/null'.
|
||||
|
||||
Commands separated by a ';' are executed sequentially; the shell
|
||||
waits for each command to terminate in turn. The return status is the
|
||||
@@ -3543,11 +3544,12 @@ standard.
|
||||
environment.
|
||||
|
||||
Using '+' instead of '-' turns off the attribute instead, with the
|
||||
exceptions that '+a' may not be used to destroy an array variable
|
||||
and '+r' will not remove the readonly attribute. When used in a
|
||||
function, 'declare' makes each NAME local, as with the 'local'
|
||||
command, unless the '-g' option is used. If a variable name is
|
||||
followed by =VALUE, the value of the variable is set to VALUE.
|
||||
exceptions that '+a' and '+A' may not be used to destroy array
|
||||
variables and '+r' will not remove the readonly attribute. When
|
||||
used in a function, 'declare' makes each NAME local, as with the
|
||||
'local' command, unless the '-g' option is used. If a variable
|
||||
name is followed by =VALUE, the value of the variable is set to
|
||||
VALUE.
|
||||
|
||||
When using '-a' or '-A' and the compound assignment syntax to
|
||||
create array variables, additional attributes do not take effect
|
||||
@@ -10984,8 +10986,8 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 7)
|
||||
* disown: Job Control Builtins.
|
||||
(line 92)
|
||||
* echo: Bash Builtins. (line 245)
|
||||
* enable: Bash Builtins. (line 294)
|
||||
* echo: Bash Builtins. (line 246)
|
||||
* enable: Bash Builtins. (line 295)
|
||||
* eval: Bourne Shell Builtins.
|
||||
(line 94)
|
||||
* exec: Bourne Shell Builtins.
|
||||
@@ -11002,26 +11004,26 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 143)
|
||||
* hash: Bourne Shell Builtins.
|
||||
(line 186)
|
||||
* help: Bash Builtins. (line 323)
|
||||
* help: Bash Builtins. (line 324)
|
||||
* history: Bash History Builtins.
|
||||
(line 40)
|
||||
* jobs: Job Control Builtins.
|
||||
(line 27)
|
||||
* kill: Job Control Builtins.
|
||||
(line 58)
|
||||
* let: Bash Builtins. (line 342)
|
||||
* local: Bash Builtins. (line 350)
|
||||
* logout: Bash Builtins. (line 364)
|
||||
* mapfile: Bash Builtins. (line 369)
|
||||
* let: Bash Builtins. (line 343)
|
||||
* local: Bash Builtins. (line 351)
|
||||
* logout: Bash Builtins. (line 365)
|
||||
* mapfile: Bash Builtins. (line 370)
|
||||
* popd: Directory Stack Builtins.
|
||||
(line 35)
|
||||
* printf: Bash Builtins. (line 415)
|
||||
* printf: Bash Builtins. (line 416)
|
||||
* pushd: Directory Stack Builtins.
|
||||
(line 53)
|
||||
* pwd: Bourne Shell Builtins.
|
||||
(line 206)
|
||||
* read: Bash Builtins. (line 459)
|
||||
* readarray: Bash Builtins. (line 553)
|
||||
* read: Bash Builtins. (line 460)
|
||||
* readarray: Bash Builtins. (line 554)
|
||||
* readonly: Bourne Shell Builtins.
|
||||
(line 216)
|
||||
* return: Bourne Shell Builtins.
|
||||
@@ -11030,7 +11032,7 @@ D.1 Index of Shell Builtin Commands
|
||||
* shift: Bourne Shell Builtins.
|
||||
(line 256)
|
||||
* shopt: The Shopt Builtin. (line 9)
|
||||
* source: Bash Builtins. (line 562)
|
||||
* source: Bash Builtins. (line 563)
|
||||
* suspend: Job Control Builtins.
|
||||
(line 104)
|
||||
* test: Bourne Shell Builtins.
|
||||
@@ -11039,12 +11041,12 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 348)
|
||||
* trap: Bourne Shell Builtins.
|
||||
(line 354)
|
||||
* type: Bash Builtins. (line 567)
|
||||
* typeset: Bash Builtins. (line 599)
|
||||
* ulimit: Bash Builtins. (line 605)
|
||||
* type: Bash Builtins. (line 568)
|
||||
* typeset: Bash Builtins. (line 600)
|
||||
* ulimit: Bash Builtins. (line 606)
|
||||
* umask: Bourne Shell Builtins.
|
||||
(line 403)
|
||||
* unalias: Bash Builtins. (line 704)
|
||||
* unalias: Bash Builtins. (line 705)
|
||||
* unset: Bourne Shell Builtins.
|
||||
(line 421)
|
||||
* wait: Job Control Builtins.
|
||||
@@ -11699,115 +11701,115 @@ Node: Shell Commands19354
|
||||
Node: Simple Commands20226
|
||||
Node: Pipelines20857
|
||||
Node: Lists23789
|
||||
Node: Compound Commands25528
|
||||
Node: Looping Constructs26540
|
||||
Node: Conditional Constructs29035
|
||||
Node: Command Grouping40118
|
||||
Node: Coprocesses41597
|
||||
Node: GNU Parallel43500
|
||||
Node: Shell Functions47558
|
||||
Node: Shell Parameters54641
|
||||
Node: Positional Parameters59054
|
||||
Node: Special Parameters59954
|
||||
Node: Shell Expansions63708
|
||||
Node: Brace Expansion65831
|
||||
Node: Tilde Expansion68555
|
||||
Node: Shell Parameter Expansion71172
|
||||
Node: Command Substitution85628
|
||||
Node: Arithmetic Expansion86983
|
||||
Node: Process Substitution87915
|
||||
Node: Word Splitting89035
|
||||
Node: Filename Expansion90979
|
||||
Node: Pattern Matching93509
|
||||
Node: Quote Removal97495
|
||||
Node: Redirections97790
|
||||
Node: Executing Commands107348
|
||||
Node: Simple Command Expansion108018
|
||||
Node: Command Search and Execution109948
|
||||
Node: Command Execution Environment112324
|
||||
Node: Environment115308
|
||||
Node: Exit Status116967
|
||||
Node: Signals118637
|
||||
Node: Shell Scripts120604
|
||||
Node: Shell Builtin Commands123119
|
||||
Node: Bourne Shell Builtins125157
|
||||
Node: Bash Builtins145907
|
||||
Node: Modifying Shell Behavior174820
|
||||
Node: The Set Builtin175165
|
||||
Node: The Shopt Builtin185578
|
||||
Node: Special Builtins203150
|
||||
Node: Shell Variables204129
|
||||
Node: Bourne Shell Variables204566
|
||||
Node: Bash Variables206670
|
||||
Node: Bash Features237130
|
||||
Node: Invoking Bash238029
|
||||
Node: Bash Startup Files244042
|
||||
Node: Interactive Shells249145
|
||||
Node: What is an Interactive Shell?249555
|
||||
Node: Is this Shell Interactive?250204
|
||||
Node: Interactive Shell Behavior251019
|
||||
Node: Bash Conditional Expressions254506
|
||||
Node: Shell Arithmetic259083
|
||||
Node: Aliases261900
|
||||
Node: Arrays264520
|
||||
Node: The Directory Stack269886
|
||||
Node: Directory Stack Builtins270670
|
||||
Node: Controlling the Prompt273638
|
||||
Node: The Restricted Shell276404
|
||||
Node: Bash POSIX Mode278229
|
||||
Node: Job Control289162
|
||||
Node: Job Control Basics289622
|
||||
Node: Job Control Builtins294590
|
||||
Node: Job Control Variables299317
|
||||
Node: Command Line Editing300473
|
||||
Node: Introduction and Notation302144
|
||||
Node: Readline Interaction303767
|
||||
Node: Readline Bare Essentials304958
|
||||
Node: Readline Movement Commands306741
|
||||
Node: Readline Killing Commands307701
|
||||
Node: Readline Arguments309619
|
||||
Node: Searching310663
|
||||
Node: Readline Init File312849
|
||||
Node: Readline Init File Syntax313996
|
||||
Node: Conditional Init Constructs334435
|
||||
Node: Sample Init File338631
|
||||
Node: Bindable Readline Commands341748
|
||||
Node: Commands For Moving342952
|
||||
Node: Commands For History344801
|
||||
Node: Commands For Text349096
|
||||
Node: Commands For Killing352484
|
||||
Node: Numeric Arguments354965
|
||||
Node: Commands For Completion356104
|
||||
Node: Keyboard Macros360295
|
||||
Node: Miscellaneous Commands360982
|
||||
Node: Readline vi Mode366935
|
||||
Node: Programmable Completion367842
|
||||
Node: Programmable Completion Builtins375622
|
||||
Node: A Programmable Completion Example386315
|
||||
Node: Using History Interactively391555
|
||||
Node: Bash History Facilities392239
|
||||
Node: Bash History Builtins395244
|
||||
Node: History Interaction399775
|
||||
Node: Event Designators403395
|
||||
Node: Word Designators404614
|
||||
Node: Modifiers406251
|
||||
Node: Installing Bash407653
|
||||
Node: Basic Installation408790
|
||||
Node: Compilers and Options412048
|
||||
Node: Compiling For Multiple Architectures412789
|
||||
Node: Installation Names414482
|
||||
Node: Specifying the System Type415300
|
||||
Node: Sharing Defaults416016
|
||||
Node: Operation Controls416689
|
||||
Node: Optional Features417647
|
||||
Node: Reporting Bugs428165
|
||||
Node: Major Differences From The Bourne Shell429359
|
||||
Node: GNU Free Documentation License446211
|
||||
Node: Indexes471388
|
||||
Node: Builtin Index471842
|
||||
Node: Reserved Word Index478669
|
||||
Node: Variable Index481117
|
||||
Node: Function Index496868
|
||||
Node: Concept Index510171
|
||||
Node: Compound Commands25580
|
||||
Node: Looping Constructs26592
|
||||
Node: Conditional Constructs29087
|
||||
Node: Command Grouping40170
|
||||
Node: Coprocesses41649
|
||||
Node: GNU Parallel43552
|
||||
Node: Shell Functions47610
|
||||
Node: Shell Parameters54693
|
||||
Node: Positional Parameters59106
|
||||
Node: Special Parameters60006
|
||||
Node: Shell Expansions63760
|
||||
Node: Brace Expansion65883
|
||||
Node: Tilde Expansion68607
|
||||
Node: Shell Parameter Expansion71224
|
||||
Node: Command Substitution85680
|
||||
Node: Arithmetic Expansion87035
|
||||
Node: Process Substitution87967
|
||||
Node: Word Splitting89087
|
||||
Node: Filename Expansion91031
|
||||
Node: Pattern Matching93561
|
||||
Node: Quote Removal97547
|
||||
Node: Redirections97842
|
||||
Node: Executing Commands107400
|
||||
Node: Simple Command Expansion108070
|
||||
Node: Command Search and Execution110000
|
||||
Node: Command Execution Environment112376
|
||||
Node: Environment115360
|
||||
Node: Exit Status117019
|
||||
Node: Signals118689
|
||||
Node: Shell Scripts120656
|
||||
Node: Shell Builtin Commands123171
|
||||
Node: Bourne Shell Builtins125209
|
||||
Node: Bash Builtins145959
|
||||
Node: Modifying Shell Behavior174884
|
||||
Node: The Set Builtin175229
|
||||
Node: The Shopt Builtin185642
|
||||
Node: Special Builtins203214
|
||||
Node: Shell Variables204193
|
||||
Node: Bourne Shell Variables204630
|
||||
Node: Bash Variables206734
|
||||
Node: Bash Features237194
|
||||
Node: Invoking Bash238093
|
||||
Node: Bash Startup Files244106
|
||||
Node: Interactive Shells249209
|
||||
Node: What is an Interactive Shell?249619
|
||||
Node: Is this Shell Interactive?250268
|
||||
Node: Interactive Shell Behavior251083
|
||||
Node: Bash Conditional Expressions254570
|
||||
Node: Shell Arithmetic259147
|
||||
Node: Aliases261964
|
||||
Node: Arrays264584
|
||||
Node: The Directory Stack269950
|
||||
Node: Directory Stack Builtins270734
|
||||
Node: Controlling the Prompt273702
|
||||
Node: The Restricted Shell276468
|
||||
Node: Bash POSIX Mode278293
|
||||
Node: Job Control289226
|
||||
Node: Job Control Basics289686
|
||||
Node: Job Control Builtins294654
|
||||
Node: Job Control Variables299381
|
||||
Node: Command Line Editing300537
|
||||
Node: Introduction and Notation302208
|
||||
Node: Readline Interaction303831
|
||||
Node: Readline Bare Essentials305022
|
||||
Node: Readline Movement Commands306805
|
||||
Node: Readline Killing Commands307765
|
||||
Node: Readline Arguments309683
|
||||
Node: Searching310727
|
||||
Node: Readline Init File312913
|
||||
Node: Readline Init File Syntax314060
|
||||
Node: Conditional Init Constructs334499
|
||||
Node: Sample Init File338695
|
||||
Node: Bindable Readline Commands341812
|
||||
Node: Commands For Moving343016
|
||||
Node: Commands For History344865
|
||||
Node: Commands For Text349160
|
||||
Node: Commands For Killing352548
|
||||
Node: Numeric Arguments355029
|
||||
Node: Commands For Completion356168
|
||||
Node: Keyboard Macros360359
|
||||
Node: Miscellaneous Commands361046
|
||||
Node: Readline vi Mode366999
|
||||
Node: Programmable Completion367906
|
||||
Node: Programmable Completion Builtins375686
|
||||
Node: A Programmable Completion Example386379
|
||||
Node: Using History Interactively391619
|
||||
Node: Bash History Facilities392303
|
||||
Node: Bash History Builtins395308
|
||||
Node: History Interaction399839
|
||||
Node: Event Designators403459
|
||||
Node: Word Designators404678
|
||||
Node: Modifiers406315
|
||||
Node: Installing Bash407717
|
||||
Node: Basic Installation408854
|
||||
Node: Compilers and Options412112
|
||||
Node: Compiling For Multiple Architectures412853
|
||||
Node: Installation Names414546
|
||||
Node: Specifying the System Type415364
|
||||
Node: Sharing Defaults416080
|
||||
Node: Operation Controls416753
|
||||
Node: Optional Features417711
|
||||
Node: Reporting Bugs428229
|
||||
Node: Major Differences From The Bourne Shell429423
|
||||
Node: GNU Free Documentation License446275
|
||||
Node: Indexes471452
|
||||
Node: Builtin Index471906
|
||||
Node: Reserved Word Index478733
|
||||
Node: Variable Index481181
|
||||
Node: Function Index496932
|
||||
Node: Concept Index510235
|
||||
|
||||
End Tag Table
|
||||
|
||||
Reference in New Issue
Block a user