mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 18:22:25 +02:00
commit bash-20200807 snapshot
This commit is contained in:
+172
-166
@@ -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.1, 2 July 2020).
|
||||
Bash shell (version 5.1, 3 August 2020).
|
||||
|
||||
This is Edition 5.1, last updated 2 July 2020, of 'The GNU Bash
|
||||
This is Edition 5.1, last updated 3 August 2020, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 5.1.
|
||||
|
||||
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.1, 2 July 2020). The Bash home page is
|
||||
Bash shell (version 5.1, 3 August 2020). The Bash home page is
|
||||
<http://www.gnu.org/software/bash/>.
|
||||
|
||||
This is Edition 5.1, last updated 2 July 2020, of 'The GNU Bash
|
||||
This is Edition 5.1, last updated 3 August 2020, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 5.1.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -3746,9 +3746,11 @@ standard.
|
||||
and its children. If NAME is '-', the set of shell options is made
|
||||
local to the function in which 'local' is invoked: shell options
|
||||
changed using the 'set' builtin inside the function are restored to
|
||||
their original values when the function returns. The return status
|
||||
is zero unless 'local' is used outside a function, an invalid NAME
|
||||
is supplied, or NAME is a readonly variable.
|
||||
their original values when the function returns. The restore is
|
||||
effected as if a series of 'set' commands were executed to restore
|
||||
the values that were in place before the function. The return
|
||||
status is zero unless 'local' is used outside a function, an
|
||||
invalid NAME is supplied, or NAME is a readonly variable.
|
||||
|
||||
'logout'
|
||||
logout [N]
|
||||
@@ -8523,10 +8525,14 @@ File: bashref.info, Node: Commands For Killing, Next: Numeric Arguments, Prev
|
||||
-------------------------
|
||||
|
||||
'kill-line (C-k)'
|
||||
Kill the text from point to the end of the line.
|
||||
Kill the text from point to the end of the line. With a negative
|
||||
numeric argument, kill backward from the cursor to the beginning of
|
||||
the current line.
|
||||
|
||||
'backward-kill-line (C-x Rubout)'
|
||||
Kill backward from the cursor to the beginning of the current line.
|
||||
With a negative numeric argument, kill forward from the cursor to
|
||||
the end of the current line.
|
||||
|
||||
'unix-line-discard (C-u)'
|
||||
Kill backward from the cursor to the beginning of the current line.
|
||||
@@ -11294,17 +11300,17 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 58)
|
||||
* let: Bash Builtins. (line 350)
|
||||
* local: Bash Builtins. (line 358)
|
||||
* logout: Bash Builtins. (line 372)
|
||||
* mapfile: Bash Builtins. (line 377)
|
||||
* logout: Bash Builtins. (line 374)
|
||||
* mapfile: Bash Builtins. (line 379)
|
||||
* popd: Directory Stack Builtins.
|
||||
(line 35)
|
||||
* printf: Bash Builtins. (line 423)
|
||||
* printf: Bash Builtins. (line 425)
|
||||
* pushd: Directory Stack Builtins.
|
||||
(line 53)
|
||||
* pwd: Bourne Shell Builtins.
|
||||
(line 207)
|
||||
* read: Bash Builtins. (line 472)
|
||||
* readarray: Bash Builtins. (line 568)
|
||||
* read: Bash Builtins. (line 474)
|
||||
* readarray: Bash Builtins. (line 570)
|
||||
* readonly: Bourne Shell Builtins.
|
||||
(line 217)
|
||||
* return: Bourne Shell Builtins.
|
||||
@@ -11313,7 +11319,7 @@ D.1 Index of Shell Builtin Commands
|
||||
* shift: Bourne Shell Builtins.
|
||||
(line 257)
|
||||
* shopt: The Shopt Builtin. (line 9)
|
||||
* source: Bash Builtins. (line 577)
|
||||
* source: Bash Builtins. (line 579)
|
||||
* suspend: Job Control Builtins.
|
||||
(line 113)
|
||||
* test: Bourne Shell Builtins.
|
||||
@@ -11322,12 +11328,12 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 349)
|
||||
* trap: Bourne Shell Builtins.
|
||||
(line 355)
|
||||
* type: Bash Builtins. (line 582)
|
||||
* typeset: Bash Builtins. (line 614)
|
||||
* ulimit: Bash Builtins. (line 620)
|
||||
* type: Bash Builtins. (line 584)
|
||||
* typeset: Bash Builtins. (line 616)
|
||||
* ulimit: Bash Builtins. (line 622)
|
||||
* umask: Bourne Shell Builtins.
|
||||
(line 404)
|
||||
* unalias: Bash Builtins. (line 723)
|
||||
* unalias: Bash Builtins. (line 725)
|
||||
* unset: Bourne Shell Builtins.
|
||||
(line 422)
|
||||
* wait: Job Control Builtins.
|
||||
@@ -11622,9 +11628,9 @@ D.4 Function Index
|
||||
* backward-char (C-b): Commands For Moving. (line 15)
|
||||
* backward-delete-char (Rubout): Commands For Text. (line 17)
|
||||
* backward-kill-line (C-x Rubout): Commands For Killing.
|
||||
(line 9)
|
||||
(line 11)
|
||||
* backward-kill-word (M-<DEL>): Commands For Killing.
|
||||
(line 24)
|
||||
(line 28)
|
||||
* backward-word (M-b): Commands For Moving. (line 22)
|
||||
* beginning-of-history (M-<): Commands For History.
|
||||
(line 20)
|
||||
@@ -11653,18 +11659,18 @@ D.4 Function Index
|
||||
* complete-variable (M-$): Commands For Completion.
|
||||
(line 64)
|
||||
* copy-backward-word (): Commands For Killing.
|
||||
(line 65)
|
||||
(line 69)
|
||||
* copy-forward-word (): Commands For Killing.
|
||||
(line 70)
|
||||
(line 74)
|
||||
* copy-region-as-kill (): Commands For Killing.
|
||||
(line 61)
|
||||
(line 65)
|
||||
* dabbrev-expand (): Commands For Completion.
|
||||
(line 95)
|
||||
* delete-char (C-d): Commands For Text. (line 12)
|
||||
* delete-char-or-list (): Commands For Completion.
|
||||
(line 43)
|
||||
* delete-horizontal-space (): Commands For Killing.
|
||||
(line 53)
|
||||
(line 57)
|
||||
* digit-argument (M-0, M-1, ... M--): Numeric Arguments. (line 6)
|
||||
* display-shell-version (C-x C-v): Miscellaneous Commands.
|
||||
(line 110)
|
||||
@@ -11720,11 +11726,11 @@ D.4 Function Index
|
||||
* kill-line (C-k): Commands For Killing.
|
||||
(line 6)
|
||||
* kill-region (): Commands For Killing.
|
||||
(line 57)
|
||||
(line 61)
|
||||
* kill-whole-line (): Commands For Killing.
|
||||
(line 15)
|
||||
* kill-word (M-d): Commands For Killing.
|
||||
(line 19)
|
||||
* kill-word (M-d): Commands For Killing.
|
||||
(line 23)
|
||||
* magic-space (): Miscellaneous Commands.
|
||||
(line 121)
|
||||
* menu-complete (): Commands For Completion.
|
||||
@@ -11771,15 +11777,15 @@ D.4 Function Index
|
||||
* set-mark (C-@): Miscellaneous Commands.
|
||||
(line 33)
|
||||
* shell-backward-kill-word (): Commands For Killing.
|
||||
(line 33)
|
||||
(line 37)
|
||||
* shell-backward-word (M-C-b): Commands For Moving. (line 30)
|
||||
* shell-expand-line (M-C-e): Miscellaneous Commands.
|
||||
(line 113)
|
||||
* shell-forward-word (M-C-f): Commands For Moving. (line 26)
|
||||
* shell-kill-word (M-C-d): Commands For Killing.
|
||||
(line 28)
|
||||
(line 32)
|
||||
* shell-transpose-words (M-C-t): Commands For Killing.
|
||||
(line 37)
|
||||
(line 41)
|
||||
* skip-csi-sequence (): Miscellaneous Commands.
|
||||
(line 52)
|
||||
* start-kbd-macro (C-x (): Keyboard Macros. (line 6)
|
||||
@@ -11791,20 +11797,20 @@ D.4 Function Index
|
||||
(line 23)
|
||||
* universal-argument (): Numeric Arguments. (line 10)
|
||||
* unix-filename-rubout (): Commands For Killing.
|
||||
(line 48)
|
||||
(line 52)
|
||||
* unix-line-discard (C-u): Commands For Killing.
|
||||
(line 12)
|
||||
(line 16)
|
||||
* unix-word-rubout (C-w): Commands For Killing.
|
||||
(line 44)
|
||||
(line 48)
|
||||
* upcase-word (M-u): Commands For Text. (line 58)
|
||||
* yank (C-y): Commands For Killing.
|
||||
(line 75)
|
||||
(line 79)
|
||||
* yank-last-arg (M-. or M-_): Commands For History.
|
||||
(line 84)
|
||||
* yank-nth-arg (M-C-y): Commands For History.
|
||||
(line 75)
|
||||
* yank-pop (M-y): Commands For Killing.
|
||||
(line 78)
|
||||
(line 82)
|
||||
|
||||
|
||||
File: bashref.info, Node: Concept Index, Prev: Function Index, Up: Indexes
|
||||
@@ -11973,137 +11979,137 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top887
|
||||
Node: Introduction2797
|
||||
Node: What is Bash?3013
|
||||
Node: What is a shell?4127
|
||||
Node: Definitions6665
|
||||
Node: Basic Shell Features9616
|
||||
Node: Shell Syntax10835
|
||||
Node: Shell Operation11861
|
||||
Node: Quoting13154
|
||||
Node: Escape Character14454
|
||||
Node: Single Quotes14939
|
||||
Node: Double Quotes15287
|
||||
Node: ANSI-C Quoting16565
|
||||
Node: Locale Translation17824
|
||||
Node: Comments18977
|
||||
Node: Shell Commands19595
|
||||
Node: Reserved Words20533
|
||||
Node: Simple Commands21289
|
||||
Node: Pipelines21943
|
||||
Node: Lists24875
|
||||
Node: Compound Commands26666
|
||||
Node: Looping Constructs27678
|
||||
Node: Conditional Constructs30173
|
||||
Node: Command Grouping41744
|
||||
Node: Coprocesses43223
|
||||
Node: GNU Parallel45126
|
||||
Node: Shell Functions49427
|
||||
Node: Shell Parameters56634
|
||||
Node: Positional Parameters61047
|
||||
Node: Special Parameters61947
|
||||
Node: Shell Expansions65171
|
||||
Node: Brace Expansion67294
|
||||
Node: Tilde Expansion70017
|
||||
Node: Shell Parameter Expansion72634
|
||||
Node: Command Substitution87763
|
||||
Node: Arithmetic Expansion89118
|
||||
Node: Process Substitution90050
|
||||
Node: Word Splitting91170
|
||||
Node: Filename Expansion93114
|
||||
Node: Pattern Matching95663
|
||||
Node: Quote Removal99649
|
||||
Node: Redirections99944
|
||||
Node: Executing Commands109514
|
||||
Node: Simple Command Expansion110184
|
||||
Node: Command Search and Execution112138
|
||||
Node: Command Execution Environment114514
|
||||
Node: Environment117498
|
||||
Node: Exit Status119157
|
||||
Node: Signals120827
|
||||
Node: Shell Scripts122794
|
||||
Node: Shell Builtin Commands125806
|
||||
Node: Bourne Shell Builtins127844
|
||||
Node: Bash Builtins148773
|
||||
Node: Modifying Shell Behavior178564
|
||||
Node: The Set Builtin178909
|
||||
Node: The Shopt Builtin189322
|
||||
Node: Special Builtins204232
|
||||
Node: Shell Variables205211
|
||||
Node: Bourne Shell Variables205648
|
||||
Node: Bash Variables207752
|
||||
Node: Bash Features240330
|
||||
Node: Invoking Bash241343
|
||||
Node: Bash Startup Files247356
|
||||
Node: Interactive Shells252459
|
||||
Node: What is an Interactive Shell?252869
|
||||
Node: Is this Shell Interactive?253518
|
||||
Node: Interactive Shell Behavior254333
|
||||
Node: Bash Conditional Expressions257847
|
||||
Node: Shell Arithmetic262424
|
||||
Node: Aliases265364
|
||||
Node: Arrays267984
|
||||
Node: The Directory Stack273993
|
||||
Node: Directory Stack Builtins274777
|
||||
Node: Controlling the Prompt277745
|
||||
Node: The Restricted Shell280695
|
||||
Node: Bash POSIX Mode283289
|
||||
Node: Shell Compatibility Mode294325
|
||||
Node: Job Control300981
|
||||
Node: Job Control Basics301441
|
||||
Node: Job Control Builtins306437
|
||||
Node: Job Control Variables311837
|
||||
Node: Command Line Editing312993
|
||||
Node: Introduction and Notation314664
|
||||
Node: Readline Interaction316287
|
||||
Node: Readline Bare Essentials317478
|
||||
Node: Readline Movement Commands319261
|
||||
Node: Readline Killing Commands320221
|
||||
Node: Readline Arguments322139
|
||||
Node: Searching323183
|
||||
Node: Readline Init File325369
|
||||
Node: Readline Init File Syntax326628
|
||||
Node: Conditional Init Constructs347167
|
||||
Node: Sample Init File351363
|
||||
Node: Bindable Readline Commands354487
|
||||
Node: Commands For Moving355691
|
||||
Node: Commands For History357742
|
||||
Node: Commands For Text362535
|
||||
Node: Commands For Killing366184
|
||||
Node: Numeric Arguments368999
|
||||
Node: Commands For Completion370138
|
||||
Node: Keyboard Macros374329
|
||||
Node: Miscellaneous Commands375016
|
||||
Node: Readline vi Mode380700
|
||||
Node: Programmable Completion381607
|
||||
Node: Programmable Completion Builtins389387
|
||||
Node: A Programmable Completion Example400082
|
||||
Node: Using History Interactively405329
|
||||
Node: Bash History Facilities406013
|
||||
Node: Bash History Builtins409018
|
||||
Node: History Interaction413747
|
||||
Node: Event Designators417367
|
||||
Node: Word Designators418721
|
||||
Node: Modifiers420481
|
||||
Node: Installing Bash422292
|
||||
Node: Basic Installation423429
|
||||
Node: Compilers and Options426687
|
||||
Node: Compiling For Multiple Architectures427428
|
||||
Node: Installation Names429121
|
||||
Node: Specifying the System Type429939
|
||||
Node: Sharing Defaults430655
|
||||
Node: Operation Controls431328
|
||||
Node: Optional Features432286
|
||||
Node: Reporting Bugs442804
|
||||
Node: Major Differences From The Bourne Shell443998
|
||||
Node: GNU Free Documentation License460850
|
||||
Node: Indexes486027
|
||||
Node: Builtin Index486481
|
||||
Node: Reserved Word Index493308
|
||||
Node: Variable Index495756
|
||||
Node: Function Index511653
|
||||
Node: Concept Index525163
|
||||
Node: Top891
|
||||
Node: Introduction2805
|
||||
Node: What is Bash?3021
|
||||
Node: What is a shell?4135
|
||||
Node: Definitions6673
|
||||
Node: Basic Shell Features9624
|
||||
Node: Shell Syntax10843
|
||||
Node: Shell Operation11869
|
||||
Node: Quoting13162
|
||||
Node: Escape Character14462
|
||||
Node: Single Quotes14947
|
||||
Node: Double Quotes15295
|
||||
Node: ANSI-C Quoting16573
|
||||
Node: Locale Translation17832
|
||||
Node: Comments18985
|
||||
Node: Shell Commands19603
|
||||
Node: Reserved Words20541
|
||||
Node: Simple Commands21297
|
||||
Node: Pipelines21951
|
||||
Node: Lists24883
|
||||
Node: Compound Commands26674
|
||||
Node: Looping Constructs27686
|
||||
Node: Conditional Constructs30181
|
||||
Node: Command Grouping41752
|
||||
Node: Coprocesses43231
|
||||
Node: GNU Parallel45134
|
||||
Node: Shell Functions49435
|
||||
Node: Shell Parameters56642
|
||||
Node: Positional Parameters61055
|
||||
Node: Special Parameters61955
|
||||
Node: Shell Expansions65179
|
||||
Node: Brace Expansion67302
|
||||
Node: Tilde Expansion70025
|
||||
Node: Shell Parameter Expansion72642
|
||||
Node: Command Substitution87771
|
||||
Node: Arithmetic Expansion89126
|
||||
Node: Process Substitution90058
|
||||
Node: Word Splitting91178
|
||||
Node: Filename Expansion93122
|
||||
Node: Pattern Matching95671
|
||||
Node: Quote Removal99657
|
||||
Node: Redirections99952
|
||||
Node: Executing Commands109522
|
||||
Node: Simple Command Expansion110192
|
||||
Node: Command Search and Execution112146
|
||||
Node: Command Execution Environment114522
|
||||
Node: Environment117506
|
||||
Node: Exit Status119165
|
||||
Node: Signals120835
|
||||
Node: Shell Scripts122802
|
||||
Node: Shell Builtin Commands125814
|
||||
Node: Bourne Shell Builtins127852
|
||||
Node: Bash Builtins148781
|
||||
Node: Modifying Shell Behavior178716
|
||||
Node: The Set Builtin179061
|
||||
Node: The Shopt Builtin189474
|
||||
Node: Special Builtins204384
|
||||
Node: Shell Variables205363
|
||||
Node: Bourne Shell Variables205800
|
||||
Node: Bash Variables207904
|
||||
Node: Bash Features240482
|
||||
Node: Invoking Bash241495
|
||||
Node: Bash Startup Files247508
|
||||
Node: Interactive Shells252611
|
||||
Node: What is an Interactive Shell?253021
|
||||
Node: Is this Shell Interactive?253670
|
||||
Node: Interactive Shell Behavior254485
|
||||
Node: Bash Conditional Expressions257999
|
||||
Node: Shell Arithmetic262576
|
||||
Node: Aliases265516
|
||||
Node: Arrays268136
|
||||
Node: The Directory Stack274145
|
||||
Node: Directory Stack Builtins274929
|
||||
Node: Controlling the Prompt277897
|
||||
Node: The Restricted Shell280847
|
||||
Node: Bash POSIX Mode283441
|
||||
Node: Shell Compatibility Mode294477
|
||||
Node: Job Control301133
|
||||
Node: Job Control Basics301593
|
||||
Node: Job Control Builtins306589
|
||||
Node: Job Control Variables311989
|
||||
Node: Command Line Editing313145
|
||||
Node: Introduction and Notation314816
|
||||
Node: Readline Interaction316439
|
||||
Node: Readline Bare Essentials317630
|
||||
Node: Readline Movement Commands319413
|
||||
Node: Readline Killing Commands320373
|
||||
Node: Readline Arguments322291
|
||||
Node: Searching323335
|
||||
Node: Readline Init File325521
|
||||
Node: Readline Init File Syntax326780
|
||||
Node: Conditional Init Constructs347319
|
||||
Node: Sample Init File351515
|
||||
Node: Bindable Readline Commands354639
|
||||
Node: Commands For Moving355843
|
||||
Node: Commands For History357894
|
||||
Node: Commands For Text362687
|
||||
Node: Commands For Killing366336
|
||||
Node: Numeric Arguments369369
|
||||
Node: Commands For Completion370508
|
||||
Node: Keyboard Macros374699
|
||||
Node: Miscellaneous Commands375386
|
||||
Node: Readline vi Mode381070
|
||||
Node: Programmable Completion381977
|
||||
Node: Programmable Completion Builtins389757
|
||||
Node: A Programmable Completion Example400452
|
||||
Node: Using History Interactively405699
|
||||
Node: Bash History Facilities406383
|
||||
Node: Bash History Builtins409388
|
||||
Node: History Interaction414117
|
||||
Node: Event Designators417737
|
||||
Node: Word Designators419091
|
||||
Node: Modifiers420851
|
||||
Node: Installing Bash422662
|
||||
Node: Basic Installation423799
|
||||
Node: Compilers and Options427057
|
||||
Node: Compiling For Multiple Architectures427798
|
||||
Node: Installation Names429491
|
||||
Node: Specifying the System Type430309
|
||||
Node: Sharing Defaults431025
|
||||
Node: Operation Controls431698
|
||||
Node: Optional Features432656
|
||||
Node: Reporting Bugs443174
|
||||
Node: Major Differences From The Bourne Shell444368
|
||||
Node: GNU Free Documentation License461220
|
||||
Node: Indexes486397
|
||||
Node: Builtin Index486851
|
||||
Node: Reserved Word Index493678
|
||||
Node: Variable Index496126
|
||||
Node: Function Index512023
|
||||
Node: Concept Index525533
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user