mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-07 12:20:50 +02:00
commit bash-20200131 snapshot
This commit is contained in:
+176
-167
@@ -2,9 +2,9 @@ This is bashref.info, produced by makeinfo version 6.7 from
|
||||
bashref.texi.
|
||||
|
||||
This text is a brief description of the features that are present in the
|
||||
Bash shell (version 5.0, 26 November 2019).
|
||||
Bash shell (version 5.0, 29 January 2020).
|
||||
|
||||
This is Edition 5.0, last updated 26 November 2019, of 'The GNU Bash
|
||||
This is Edition 5.0, last updated 29 January 2020, 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, 26 November 2019). The Bash home page is
|
||||
Bash shell (version 5.0, 29 January 2020). The Bash home page is
|
||||
<http://www.gnu.org/software/bash/>.
|
||||
|
||||
This is Edition 5.0, last updated 26 November 2019, of 'The GNU Bash
|
||||
This is Edition 5.0, last updated 29 January 2020, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 5.0.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -3427,10 +3427,12 @@ standard.
|
||||
Cause SHELL-COMMAND to be executed whenever KEYSEQ is entered.
|
||||
When SHELL-COMMAND is executed, the shell sets the
|
||||
'READLINE_LINE' variable to the contents of the Readline line
|
||||
buffer and the 'READLINE_POINT' variable to the current
|
||||
location of the insertion point. If the executed command
|
||||
changes the value of 'READLINE_LINE' or 'READLINE_POINT',
|
||||
those new values will be reflected in the editing state.
|
||||
buffer and the 'READLINE_POINT' and 'READLINE_MARK' variables
|
||||
to the current location of the insertion point and the saved
|
||||
insertion point (the MARK), respectively. If the executed
|
||||
command changes the value of any of 'READLINE_LINE',
|
||||
'READLINE_POINT', or 'READLINE_MARK', those new values will be
|
||||
reflected in the editing state.
|
||||
|
||||
'-X'
|
||||
List all key sequences bound to shell commands and the
|
||||
@@ -5448,6 +5450,12 @@ Variables::).
|
||||
The contents of the Readline line buffer, for use with 'bind -x'
|
||||
(*note Bash Builtins::).
|
||||
|
||||
'READLINE_MARK'
|
||||
The position of the MARK (saved insertion point) in the Readline
|
||||
line buffer, for use with 'bind -x' (*note Bash Builtins::). The
|
||||
characters between the insertion point and the mark are often
|
||||
called the REGION.
|
||||
|
||||
'READLINE_POINT'
|
||||
The position of the insertion point in the Readline line buffer,
|
||||
for use with 'bind -x' (*note Bash Builtins::).
|
||||
@@ -11052,11 +11060,11 @@ D.1 Index of Shell Builtin Commands
|
||||
* bind: Bash Builtins. (line 21)
|
||||
* break: Bourne Shell Builtins.
|
||||
(line 36)
|
||||
* builtin: Bash Builtins. (line 102)
|
||||
* caller: Bash Builtins. (line 111)
|
||||
* builtin: Bash Builtins. (line 104)
|
||||
* caller: Bash Builtins. (line 113)
|
||||
* cd: Bourne Shell Builtins.
|
||||
(line 44)
|
||||
* command: Bash Builtins. (line 128)
|
||||
* command: Bash Builtins. (line 130)
|
||||
* compgen: Programmable Completion Builtins.
|
||||
(line 12)
|
||||
* complete: Programmable Completion Builtins.
|
||||
@@ -11065,13 +11073,13 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 237)
|
||||
* continue: Bourne Shell Builtins.
|
||||
(line 85)
|
||||
* declare: Bash Builtins. (line 148)
|
||||
* declare: Bash Builtins. (line 150)
|
||||
* dirs: Directory Stack Builtins.
|
||||
(line 7)
|
||||
* disown: Job Control Builtins.
|
||||
(line 97)
|
||||
* echo: Bash Builtins. (line 246)
|
||||
* enable: Bash Builtins. (line 295)
|
||||
* echo: Bash Builtins. (line 248)
|
||||
* enable: Bash Builtins. (line 297)
|
||||
* eval: Bourne Shell Builtins.
|
||||
(line 94)
|
||||
* exec: Bourne Shell Builtins.
|
||||
@@ -11088,26 +11096,26 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 143)
|
||||
* hash: Bourne Shell Builtins.
|
||||
(line 187)
|
||||
* help: Bash Builtins. (line 324)
|
||||
* help: Bash Builtins. (line 326)
|
||||
* history: Bash History Builtins.
|
||||
(line 40)
|
||||
* jobs: Job Control Builtins.
|
||||
(line 27)
|
||||
* kill: Job Control Builtins.
|
||||
(line 58)
|
||||
* let: Bash Builtins. (line 343)
|
||||
* local: Bash Builtins. (line 351)
|
||||
* logout: Bash Builtins. (line 365)
|
||||
* mapfile: Bash Builtins. (line 370)
|
||||
* let: Bash Builtins. (line 345)
|
||||
* local: Bash Builtins. (line 353)
|
||||
* logout: Bash Builtins. (line 367)
|
||||
* mapfile: Bash Builtins. (line 372)
|
||||
* popd: Directory Stack Builtins.
|
||||
(line 35)
|
||||
* printf: Bash Builtins. (line 416)
|
||||
* printf: Bash Builtins. (line 418)
|
||||
* pushd: Directory Stack Builtins.
|
||||
(line 53)
|
||||
* pwd: Bourne Shell Builtins.
|
||||
(line 207)
|
||||
* read: Bash Builtins. (line 460)
|
||||
* readarray: Bash Builtins. (line 554)
|
||||
* read: Bash Builtins. (line 462)
|
||||
* readarray: Bash Builtins. (line 556)
|
||||
* readonly: Bourne Shell Builtins.
|
||||
(line 217)
|
||||
* return: Bourne Shell Builtins.
|
||||
@@ -11116,7 +11124,7 @@ D.1 Index of Shell Builtin Commands
|
||||
* shift: Bourne Shell Builtins.
|
||||
(line 257)
|
||||
* shopt: The Shopt Builtin. (line 9)
|
||||
* source: Bash Builtins. (line 563)
|
||||
* source: Bash Builtins. (line 565)
|
||||
* suspend: Job Control Builtins.
|
||||
(line 109)
|
||||
* test: Bourne Shell Builtins.
|
||||
@@ -11125,12 +11133,12 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 349)
|
||||
* trap: Bourne Shell Builtins.
|
||||
(line 355)
|
||||
* type: Bash Builtins. (line 568)
|
||||
* typeset: Bash Builtins. (line 600)
|
||||
* ulimit: Bash Builtins. (line 606)
|
||||
* type: Bash Builtins. (line 570)
|
||||
* typeset: Bash Builtins. (line 602)
|
||||
* ulimit: Bash Builtins. (line 608)
|
||||
* umask: Bourne Shell Builtins.
|
||||
(line 404)
|
||||
* unalias: Bash Builtins. (line 705)
|
||||
* unalias: Bash Builtins. (line 707)
|
||||
* unset: Bourne Shell Builtins.
|
||||
(line 422)
|
||||
* wait: Job Control Builtins.
|
||||
@@ -11376,14 +11384,15 @@ D.3 Parameter and Variable Index
|
||||
* PWD: Bash Variables. (line 598)
|
||||
* RANDOM: Bash Variables. (line 601)
|
||||
* READLINE_LINE: Bash Variables. (line 607)
|
||||
* READLINE_POINT: Bash Variables. (line 611)
|
||||
* REPLY: Bash Variables. (line 615)
|
||||
* READLINE_MARK: Bash Variables. (line 611)
|
||||
* READLINE_POINT: Bash Variables. (line 617)
|
||||
* REPLY: Bash Variables. (line 621)
|
||||
* revert-all-at-newline: Readline Init File Syntax.
|
||||
(line 272)
|
||||
* SECONDS: Bash Variables. (line 618)
|
||||
* SHELL: Bash Variables. (line 625)
|
||||
* SHELLOPTS: Bash Variables. (line 630)
|
||||
* SHLVL: Bash Variables. (line 639)
|
||||
* SECONDS: Bash Variables. (line 624)
|
||||
* SHELL: Bash Variables. (line 631)
|
||||
* SHELLOPTS: Bash Variables. (line 636)
|
||||
* SHLVL: Bash Variables. (line 645)
|
||||
* show-all-if-ambiguous: Readline Init File Syntax.
|
||||
(line 278)
|
||||
* show-all-if-unmodified: Readline Init File Syntax.
|
||||
@@ -11392,13 +11401,13 @@ D.3 Parameter and Variable Index
|
||||
(line 293)
|
||||
* skip-completed-text: Readline Init File Syntax.
|
||||
(line 299)
|
||||
* SRANDOM: Bash Variables. (line 644)
|
||||
* SRANDOM: Bash Variables. (line 650)
|
||||
* TEXTDOMAIN: Locale Translation. (line 11)
|
||||
* TEXTDOMAINDIR: Locale Translation. (line 11)
|
||||
* TIMEFORMAT: Bash Variables. (line 653)
|
||||
* TMOUT: Bash Variables. (line 691)
|
||||
* TMPDIR: Bash Variables. (line 703)
|
||||
* UID: Bash Variables. (line 707)
|
||||
* TIMEFORMAT: Bash Variables. (line 659)
|
||||
* TMOUT: Bash Variables. (line 697)
|
||||
* TMPDIR: Bash Variables. (line 709)
|
||||
* UID: Bash Variables. (line 713)
|
||||
* vi-cmd-mode-string: Readline Init File Syntax.
|
||||
(line 312)
|
||||
* vi-ins-mode-string: Readline Init File Syntax.
|
||||
@@ -11769,135 +11778,135 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top897
|
||||
Node: Introduction2817
|
||||
Node: What is Bash?3033
|
||||
Node: What is a shell?4147
|
||||
Node: Definitions6685
|
||||
Node: Basic Shell Features9636
|
||||
Node: Shell Syntax10855
|
||||
Node: Shell Operation11881
|
||||
Node: Quoting13174
|
||||
Node: Escape Character14474
|
||||
Node: Single Quotes14959
|
||||
Node: Double Quotes15307
|
||||
Node: ANSI-C Quoting16585
|
||||
Node: Locale Translation17844
|
||||
Node: Comments18740
|
||||
Node: Shell Commands19358
|
||||
Node: Simple Commands20230
|
||||
Node: Pipelines20861
|
||||
Node: Lists23793
|
||||
Node: Compound Commands25584
|
||||
Node: Looping Constructs26596
|
||||
Node: Conditional Constructs29091
|
||||
Node: Command Grouping40662
|
||||
Node: Coprocesses42141
|
||||
Node: GNU Parallel44044
|
||||
Node: Shell Functions48345
|
||||
Node: Shell Parameters55552
|
||||
Node: Positional Parameters59965
|
||||
Node: Special Parameters60865
|
||||
Node: Shell Expansions64089
|
||||
Node: Brace Expansion66212
|
||||
Node: Tilde Expansion68935
|
||||
Node: Shell Parameter Expansion71552
|
||||
Node: Command Substitution85985
|
||||
Node: Arithmetic Expansion87340
|
||||
Node: Process Substitution88272
|
||||
Node: Word Splitting89392
|
||||
Node: Filename Expansion91336
|
||||
Node: Pattern Matching93885
|
||||
Node: Quote Removal97871
|
||||
Node: Redirections98166
|
||||
Node: Executing Commands107724
|
||||
Node: Simple Command Expansion108394
|
||||
Node: Command Search and Execution110348
|
||||
Node: Command Execution Environment112724
|
||||
Node: Environment115708
|
||||
Node: Exit Status117367
|
||||
Node: Signals119037
|
||||
Node: Shell Scripts121004
|
||||
Node: Shell Builtin Commands124016
|
||||
Node: Bourne Shell Builtins126054
|
||||
Node: Bash Builtins146978
|
||||
Node: Modifying Shell Behavior175903
|
||||
Node: The Set Builtin176248
|
||||
Node: The Shopt Builtin186661
|
||||
Node: Special Builtins204331
|
||||
Node: Shell Variables205310
|
||||
Node: Bourne Shell Variables205747
|
||||
Node: Bash Variables207851
|
||||
Node: Bash Features239793
|
||||
Node: Invoking Bash240692
|
||||
Node: Bash Startup Files246705
|
||||
Node: Interactive Shells251808
|
||||
Node: What is an Interactive Shell?252218
|
||||
Node: Is this Shell Interactive?252867
|
||||
Node: Interactive Shell Behavior253682
|
||||
Node: Bash Conditional Expressions257169
|
||||
Node: Shell Arithmetic261746
|
||||
Node: Aliases264686
|
||||
Node: Arrays267306
|
||||
Node: The Directory Stack272671
|
||||
Node: Directory Stack Builtins273455
|
||||
Node: Controlling the Prompt276423
|
||||
Node: The Restricted Shell279344
|
||||
Node: Bash POSIX Mode281826
|
||||
Node: Job Control292713
|
||||
Node: Job Control Basics293173
|
||||
Node: Job Control Builtins298137
|
||||
Node: Job Control Variables303283
|
||||
Node: Command Line Editing304439
|
||||
Node: Introduction and Notation306110
|
||||
Node: Readline Interaction307733
|
||||
Node: Readline Bare Essentials308924
|
||||
Node: Readline Movement Commands310707
|
||||
Node: Readline Killing Commands311667
|
||||
Node: Readline Arguments313585
|
||||
Node: Searching314629
|
||||
Node: Readline Init File316815
|
||||
Node: Readline Init File Syntax318074
|
||||
Node: Conditional Init Constructs338604
|
||||
Node: Sample Init File342800
|
||||
Node: Bindable Readline Commands345917
|
||||
Node: Commands For Moving347121
|
||||
Node: Commands For History348980
|
||||
Node: Commands For Text353275
|
||||
Node: Commands For Killing356663
|
||||
Node: Numeric Arguments359478
|
||||
Node: Commands For Completion360617
|
||||
Node: Keyboard Macros364808
|
||||
Node: Miscellaneous Commands365495
|
||||
Node: Readline vi Mode371448
|
||||
Node: Programmable Completion372355
|
||||
Node: Programmable Completion Builtins380135
|
||||
Node: A Programmable Completion Example390830
|
||||
Node: Using History Interactively396077
|
||||
Node: Bash History Facilities396761
|
||||
Node: Bash History Builtins399766
|
||||
Node: History Interaction404298
|
||||
Node: Event Designators407918
|
||||
Node: Word Designators409272
|
||||
Node: Modifiers411032
|
||||
Node: Installing Bash412843
|
||||
Node: Basic Installation413980
|
||||
Node: Compilers and Options417238
|
||||
Node: Compiling For Multiple Architectures417979
|
||||
Node: Installation Names419672
|
||||
Node: Specifying the System Type420490
|
||||
Node: Sharing Defaults421206
|
||||
Node: Operation Controls421879
|
||||
Node: Optional Features422837
|
||||
Node: Reporting Bugs433355
|
||||
Node: Major Differences From The Bourne Shell434549
|
||||
Node: GNU Free Documentation License451401
|
||||
Node: Indexes476578
|
||||
Node: Builtin Index477032
|
||||
Node: Reserved Word Index483859
|
||||
Node: Variable Index486307
|
||||
Node: Function Index502131
|
||||
Node: Concept Index515570
|
||||
Node: Top895
|
||||
Node: Introduction2813
|
||||
Node: What is Bash?3029
|
||||
Node: What is a shell?4143
|
||||
Node: Definitions6681
|
||||
Node: Basic Shell Features9632
|
||||
Node: Shell Syntax10851
|
||||
Node: Shell Operation11877
|
||||
Node: Quoting13170
|
||||
Node: Escape Character14470
|
||||
Node: Single Quotes14955
|
||||
Node: Double Quotes15303
|
||||
Node: ANSI-C Quoting16581
|
||||
Node: Locale Translation17840
|
||||
Node: Comments18736
|
||||
Node: Shell Commands19354
|
||||
Node: Simple Commands20226
|
||||
Node: Pipelines20857
|
||||
Node: Lists23789
|
||||
Node: Compound Commands25580
|
||||
Node: Looping Constructs26592
|
||||
Node: Conditional Constructs29087
|
||||
Node: Command Grouping40658
|
||||
Node: Coprocesses42137
|
||||
Node: GNU Parallel44040
|
||||
Node: Shell Functions48341
|
||||
Node: Shell Parameters55548
|
||||
Node: Positional Parameters59961
|
||||
Node: Special Parameters60861
|
||||
Node: Shell Expansions64085
|
||||
Node: Brace Expansion66208
|
||||
Node: Tilde Expansion68931
|
||||
Node: Shell Parameter Expansion71548
|
||||
Node: Command Substitution85981
|
||||
Node: Arithmetic Expansion87336
|
||||
Node: Process Substitution88268
|
||||
Node: Word Splitting89388
|
||||
Node: Filename Expansion91332
|
||||
Node: Pattern Matching93881
|
||||
Node: Quote Removal97867
|
||||
Node: Redirections98162
|
||||
Node: Executing Commands107720
|
||||
Node: Simple Command Expansion108390
|
||||
Node: Command Search and Execution110344
|
||||
Node: Command Execution Environment112720
|
||||
Node: Environment115704
|
||||
Node: Exit Status117363
|
||||
Node: Signals119033
|
||||
Node: Shell Scripts121000
|
||||
Node: Shell Builtin Commands124012
|
||||
Node: Bourne Shell Builtins126050
|
||||
Node: Bash Builtins146974
|
||||
Node: Modifying Shell Behavior176020
|
||||
Node: The Set Builtin176365
|
||||
Node: The Shopt Builtin186778
|
||||
Node: Special Builtins204448
|
||||
Node: Shell Variables205427
|
||||
Node: Bourne Shell Variables205864
|
||||
Node: Bash Variables207968
|
||||
Node: Bash Features240159
|
||||
Node: Invoking Bash241058
|
||||
Node: Bash Startup Files247071
|
||||
Node: Interactive Shells252174
|
||||
Node: What is an Interactive Shell?252584
|
||||
Node: Is this Shell Interactive?253233
|
||||
Node: Interactive Shell Behavior254048
|
||||
Node: Bash Conditional Expressions257535
|
||||
Node: Shell Arithmetic262112
|
||||
Node: Aliases265052
|
||||
Node: Arrays267672
|
||||
Node: The Directory Stack273037
|
||||
Node: Directory Stack Builtins273821
|
||||
Node: Controlling the Prompt276789
|
||||
Node: The Restricted Shell279710
|
||||
Node: Bash POSIX Mode282192
|
||||
Node: Job Control293079
|
||||
Node: Job Control Basics293539
|
||||
Node: Job Control Builtins298503
|
||||
Node: Job Control Variables303649
|
||||
Node: Command Line Editing304805
|
||||
Node: Introduction and Notation306476
|
||||
Node: Readline Interaction308099
|
||||
Node: Readline Bare Essentials309290
|
||||
Node: Readline Movement Commands311073
|
||||
Node: Readline Killing Commands312033
|
||||
Node: Readline Arguments313951
|
||||
Node: Searching314995
|
||||
Node: Readline Init File317181
|
||||
Node: Readline Init File Syntax318440
|
||||
Node: Conditional Init Constructs338970
|
||||
Node: Sample Init File343166
|
||||
Node: Bindable Readline Commands346283
|
||||
Node: Commands For Moving347487
|
||||
Node: Commands For History349346
|
||||
Node: Commands For Text353641
|
||||
Node: Commands For Killing357029
|
||||
Node: Numeric Arguments359844
|
||||
Node: Commands For Completion360983
|
||||
Node: Keyboard Macros365174
|
||||
Node: Miscellaneous Commands365861
|
||||
Node: Readline vi Mode371814
|
||||
Node: Programmable Completion372721
|
||||
Node: Programmable Completion Builtins380501
|
||||
Node: A Programmable Completion Example391196
|
||||
Node: Using History Interactively396443
|
||||
Node: Bash History Facilities397127
|
||||
Node: Bash History Builtins400132
|
||||
Node: History Interaction404664
|
||||
Node: Event Designators408284
|
||||
Node: Word Designators409638
|
||||
Node: Modifiers411398
|
||||
Node: Installing Bash413209
|
||||
Node: Basic Installation414346
|
||||
Node: Compilers and Options417604
|
||||
Node: Compiling For Multiple Architectures418345
|
||||
Node: Installation Names420038
|
||||
Node: Specifying the System Type420856
|
||||
Node: Sharing Defaults421572
|
||||
Node: Operation Controls422245
|
||||
Node: Optional Features423203
|
||||
Node: Reporting Bugs433721
|
||||
Node: Major Differences From The Bourne Shell434915
|
||||
Node: GNU Free Documentation License451767
|
||||
Node: Indexes476944
|
||||
Node: Builtin Index477398
|
||||
Node: Reserved Word Index484225
|
||||
Node: Variable Index486673
|
||||
Node: Function Index502570
|
||||
Node: Concept Index516009
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user