enable MULTIPLE_COPROCS; bind -p/-P can print out bindings for individual command names; changes to Makefile to remove MFLAGS; simplify build tools by assuming C90 compilation environment for better cross-compiling support

This commit is contained in:
Chet Ramey
2024-04-26 16:51:04 -04:00
parent 8c8daff1e3
commit 9c430f6bf3
57 changed files with 4179 additions and 3995 deletions
+194 -183
View File
@@ -1,9 +1,9 @@
This is bash.info, produced by makeinfo version 7.1 from bashref.texi.
This text is a brief description of the features that are present in the
Bash shell (version 5.3, 5 April 2024).
Bash shell (version 5.3, 23 April 2024).
This is Edition 5.3, last updated 5 April 2024, of The GNU Bash
This is Edition 5.3, last updated 23 April 2024, of The GNU Bash
Reference Manual, for Bash, Version 5.3.
Copyright © 1988-2023 Free Software Foundation, Inc.
@@ -26,10 +26,10 @@ Bash Features
*************
This text is a brief description of the features that are present in the
Bash shell (version 5.3, 5 April 2024). The Bash home page is
Bash shell (version 5.3, 23 April 2024). The Bash home page is
<http://www.gnu.org/software/bash/>.
This is Edition 5.3, last updated 5 April 2024, of The GNU Bash
This is Edition 5.3, last updated 23 April 2024, of The GNU Bash
Reference Manual, for Bash, Version 5.3.
Bash contains features that appear in other popular shells, and some
@@ -1588,7 +1588,7 @@ only be referenced; assignment to them is not allowed.
?
($?) Expands to the exit status of the most recently executed
foreground pipeline.
foreground command.
-
($-, a hyphen.) Expands to the current option flags as specified
@@ -3779,12 +3779,13 @@ standard.
Aliases::.
bind
bind [-m KEYMAP] [-lpsvPSVX]
bind [-m KEYMAP] [-lsvSVX]
bind [-m KEYMAP] [-q FUNCTION] [-u FUNCTION] [-r KEYSEQ]
bind [-m KEYMAP] -f FILENAME
bind [-m KEYMAP] -x KEYSEQ[: ]SHELL-COMMAND
bind [-m KEYMAP] KEYSEQ:FUNCTION-NAME
bind [-m KEYMAP] KEYSEQ:READLINE-COMMAND
bind [-m KEYMAP] -p|-P [READLINE-COMMAND]
bind READLINE-COMMAND-LINE
Display current Readline (*note Command Line Editing::) key and
@@ -3810,10 +3811,14 @@ standard.
-p
Display Readline function names and bindings in such a way
that they can be used as an argument to a subsequent bind
command or in a Readline initialization file.
command or in a Readline initialization file. If arguments
remain after option processing, bind treats them as readline
command names and restricts output to those names.
-P
List current Readline function names and bindings.
List current Readline function names and bindings. If
arguments remain after option processing, bind treats them
as readline command names and restricts output to those names.
-v
Display Readline variable names and values in such a way that
@@ -5938,7 +5943,8 @@ Variables::).
PIPESTATUS
An array variable (*note Arrays::) containing a list of exit status
values from the processes in the most-recently-executed foreground
pipeline (which may contain only a single command).
pipeline, which may consist of only a simple command (*note Shell
Commands::).
POSIXLY_CORRECT
If this variable is in the environment when Bash starts, the shell
@@ -7777,6 +7783,11 @@ required for bash-5.1 and later versions.
• The test builtin uses its historical algorithm to parse
parenthesized subexpressions when given five or more
arguments.
• If the -p or -P option is supplied to the bind builtin,
bind treats any arguments remaining after option processing
as bindable command names, and displays any key sequences
bound to those commands, instead of treating the arguments as
key sequences to bind.

File: bash.info, Node: Job Control, Next: Command Line Editing, Prev: Bash Features, Up: Top
@@ -12209,11 +12220,11 @@ D.1 Index of Shell Builtin Commands
* bind: Bash Builtins. (line 21)
* break: Bourne Shell Builtins.
(line 37)
* builtin: Bash Builtins. (line 119)
* caller: Bash Builtins. (line 128)
* builtin: Bash Builtins. (line 124)
* caller: Bash Builtins. (line 133)
* cd: Bourne Shell Builtins.
(line 45)
* command: Bash Builtins. (line 145)
* command: Bash Builtins. (line 150)
* compgen: Programmable Completion Builtins.
(line 12)
* complete: Programmable Completion Builtins.
@@ -12222,13 +12233,13 @@ D.1 Index of Shell Builtin Commands
(line 248)
* continue: Bourne Shell Builtins.
(line 90)
* declare: Bash Builtins. (line 165)
* declare: Bash Builtins. (line 170)
* dirs: Directory Stack Builtins.
(line 7)
* disown: Job Control Builtins.
(line 104)
* echo: Bash Builtins. (line 268)
* enable: Bash Builtins. (line 317)
* echo: Bash Builtins. (line 273)
* enable: Bash Builtins. (line 322)
* eval: Bourne Shell Builtins.
(line 99)
* exec: Bourne Shell Builtins.
@@ -12247,26 +12258,26 @@ D.1 Index of Shell Builtin Commands
(line 153)
* hash: Bourne Shell Builtins.
(line 197)
* help: Bash Builtins. (line 355)
* help: Bash Builtins. (line 360)
* history: Bash History Builtins.
(line 46)
* jobs: Job Control Builtins.
(line 27)
* kill: Job Control Builtins.
(line 58)
* let: Bash Builtins. (line 374)
* local: Bash Builtins. (line 382)
* logout: Bash Builtins. (line 399)
* mapfile: Bash Builtins. (line 404)
* let: Bash Builtins. (line 379)
* local: Bash Builtins. (line 387)
* logout: Bash Builtins. (line 404)
* mapfile: Bash Builtins. (line 409)
* popd: Directory Stack Builtins.
(line 35)
* printf: Bash Builtins. (line 450)
* printf: Bash Builtins. (line 455)
* pushd: Directory Stack Builtins.
(line 69)
* pwd: Bourne Shell Builtins.
(line 222)
* read: Bash Builtins. (line 518)
* readarray: Bash Builtins. (line 624)
* read: Bash Builtins. (line 523)
* readarray: Bash Builtins. (line 629)
* readonly: Bourne Shell Builtins.
(line 232)
* return: Bourne Shell Builtins.
@@ -12275,7 +12286,7 @@ D.1 Index of Shell Builtin Commands
* shift: Bourne Shell Builtins.
(line 272)
* shopt: The Shopt Builtin. (line 9)
* source: Bash Builtins. (line 633)
* source: Bash Builtins. (line 638)
* suspend: Job Control Builtins.
(line 116)
* test: Bourne Shell Builtins.
@@ -12286,12 +12297,12 @@ D.1 Index of Shell Builtin Commands
(line 393)
* true: Bourne Shell Builtins.
(line 455)
* type: Bash Builtins. (line 638)
* typeset: Bash Builtins. (line 676)
* ulimit: Bash Builtins. (line 682)
* type: Bash Builtins. (line 643)
* typeset: Bash Builtins. (line 681)
* ulimit: Bash Builtins. (line 687)
* umask: Bourne Shell Builtins.
(line 460)
* unalias: Bash Builtins. (line 788)
* unalias: Bash Builtins. (line 793)
* unset: Bourne Shell Builtins.
(line 478)
* wait: Job Control Builtins.
@@ -12535,32 +12546,32 @@ D.3 Parameter and Variable Index
* PATH: Bourne Shell Variables.
(line 42)
* PIPESTATUS: Bash Variables. (line 602)
* POSIXLY_CORRECT: Bash Variables. (line 607)
* PPID: Bash Variables. (line 617)
* PROMPT_COMMAND: Bash Variables. (line 621)
* PROMPT_DIRTRIM: Bash Variables. (line 627)
* PS0: Bash Variables. (line 633)
* POSIXLY_CORRECT: Bash Variables. (line 608)
* PPID: Bash Variables. (line 618)
* PROMPT_COMMAND: Bash Variables. (line 622)
* PROMPT_DIRTRIM: Bash Variables. (line 628)
* PS0: Bash Variables. (line 634)
* PS1: Bourne Shell Variables.
(line 48)
* PS2: Bourne Shell Variables.
(line 53)
* PS3: Bash Variables. (line 638)
* PS4: Bash Variables. (line 643)
* PWD: Bash Variables. (line 651)
* RANDOM: Bash Variables. (line 654)
* READLINE_ARGUMENT: Bash Variables. (line 660)
* READLINE_LINE: Bash Variables. (line 664)
* READLINE_MARK: Bash Variables. (line 668)
* READLINE_POINT: Bash Variables. (line 674)
* REPLY: Bash Variables. (line 678)
* PS3: Bash Variables. (line 639)
* PS4: Bash Variables. (line 644)
* PWD: Bash Variables. (line 652)
* RANDOM: Bash Variables. (line 655)
* READLINE_ARGUMENT: Bash Variables. (line 661)
* READLINE_LINE: Bash Variables. (line 665)
* READLINE_MARK: Bash Variables. (line 669)
* READLINE_POINT: Bash Variables. (line 675)
* REPLY: Bash Variables. (line 679)
* revert-all-at-newline: Readline Init File Syntax.
(line 325)
* search-ignore-case: Readline Init File Syntax.
(line 332)
* SECONDS: Bash Variables. (line 681)
* SHELL: Bash Variables. (line 690)
* SHELLOPTS: Bash Variables. (line 695)
* SHLVL: Bash Variables. (line 704)
* SECONDS: Bash Variables. (line 682)
* SHELL: Bash Variables. (line 691)
* SHELLOPTS: Bash Variables. (line 696)
* SHLVL: Bash Variables. (line 705)
* show-all-if-ambiguous: Readline Init File Syntax.
(line 337)
* show-all-if-unmodified: Readline Init File Syntax.
@@ -12569,15 +12580,15 @@ D.3 Parameter and Variable Index
(line 352)
* skip-completed-text: Readline Init File Syntax.
(line 358)
* SRANDOM: Bash Variables. (line 709)
* SRANDOM: Bash Variables. (line 710)
* TEXTDOMAIN: Creating Internationalized Scripts.
(line 51)
* TEXTDOMAINDIR: Creating Internationalized Scripts.
(line 51)
* TIMEFORMAT: Bash Variables. (line 718)
* TMOUT: Bash Variables. (line 756)
* TMPDIR: Bash Variables. (line 768)
* UID: Bash Variables. (line 772)
* TIMEFORMAT: Bash Variables. (line 719)
* TMOUT: Bash Variables. (line 757)
* TMPDIR: Bash Variables. (line 769)
* UID: Bash Variables. (line 773)
* vi-cmd-mode-string: Readline Init File Syntax.
(line 371)
* vi-ins-mode-string: Readline Init File Syntax.
@@ -12969,138 +12980,138 @@ D.5 Concept Index

Tag Table:
Node: Top893
Node: Introduction2826
Node: What is Bash?3039
Node: What is a shell?4180
Node: Definitions6759
Node: Basic Shell Features9935
Node: Shell Syntax11155
Node: Shell Operation12182
Node: Quoting13480
Node: Escape Character14793
Node: Single Quotes15291
Node: Double Quotes15640
Node: ANSI-C Quoting16983
Node: Locale Translation18368
Node: Creating Internationalized Scripts19712
Node: Comments23910
Node: Shell Commands24545
Node: Reserved Words25484
Node: Simple Commands26349
Node: Pipelines27008
Node: Lists30071
Node: Compound Commands31943
Node: Looping Constructs32952
Node: Conditional Constructs35496
Node: Command Grouping50400
Node: Coprocesses51887
Node: GNU Parallel54583
Node: Shell Functions55501
Node: Shell Parameters63607
Node: Positional Parameters68140
Node: Special Parameters69075
Node: Shell Expansions72382
Node: Brace Expansion74571
Node: Tilde Expansion77234
Node: Shell Parameter Expansion80000
Node: Command Substitution99107
Node: Arithmetic Expansion102640
Node: Process Substitution103605
Node: Word Splitting104742
Node: Filename Expansion106883
Node: Pattern Matching109979
Node: Quote Removal115212
Node: Redirections115516
Node: Executing Commands125325
Node: Simple Command Expansion125992
Node: Command Search and Execution128103
Node: Command Execution Environment130511
Node: Environment133820
Node: Exit Status135524
Node: Signals137309
Node: Shell Scripts140923
Node: Shell Builtin Commands144015
Node: Bourne Shell Builtins146126
Node: Bash Builtins170530
Node: Modifying Shell Behavior205135
Node: The Set Builtin205477
Node: The Shopt Builtin216992
Node: Special Builtins233728
Node: Shell Variables234717
Node: Bourne Shell Variables235151
Node: Bash Variables237344
Node: Bash Features273894
Node: Invoking Bash274908
Node: Bash Startup Files281307
Node: Interactive Shells286619
Node: What is an Interactive Shell?287027
Node: Is this Shell Interactive?287693
Node: Interactive Shell Behavior288517
Node: Bash Conditional Expressions292271
Node: Shell Arithmetic297445
Node: Aliases300527
Node: Arrays303482
Node: The Directory Stack310281
Node: Directory Stack Builtins311078
Node: Controlling the Prompt315527
Node: The Restricted Shell318665
Node: Bash POSIX Mode321452
Node: Shell Compatibility Mode338963
Node: Job Control347647
Node: Job Control Basics348104
Node: Job Control Builtins353278
Node: Job Control Variables359238
Node: Command Line Editing360415
Node: Introduction and Notation362119
Node: Readline Interaction363763
Node: Readline Bare Essentials364951
Node: Readline Movement Commands366769
Node: Readline Killing Commands367766
Node: Readline Arguments369744
Node: Searching370801
Node: Readline Init File373030
Node: Readline Init File Syntax374312
Node: Conditional Init Constructs399250
Node: Sample Init File403615
Node: Bindable Readline Commands406736
Node: Commands For Moving407961
Node: Commands For History410061
Node: Commands For Text415144
Node: Commands For Killing419219
Node: Numeric Arguments422020
Node: Commands For Completion423172
Node: Keyboard Macros427488
Node: Miscellaneous Commands428189
Node: Readline vi Mode434843
Node: Programmable Completion435795
Node: Programmable Completion Builtins443752
Node: A Programmable Completion Example455318
Node: Using History Interactively460663
Node: Bash History Facilities461344
Node: Bash History Builtins464456
Node: History Interaction469699
Node: Event Designators474024
Node: Word Designators475607
Node: Modifiers477593
Node: Installing Bash479502
Node: Basic Installation480636
Node: Compilers and Options484515
Node: Compiling For Multiple Architectures485265
Node: Installation Names487014
Node: Specifying the System Type489248
Node: Sharing Defaults489994
Node: Operation Controls490708
Node: Optional Features491727
Node: Reporting Bugs503529
Node: Major Differences From The Bourne Shell504878
Node: GNU Free Documentation License524613
Node: Indexes549790
Node: Builtin Index550241
Node: Reserved Word Index557339
Node: Variable Index559784
Node: Function Index576915
Node: Concept Index590771
Node: Top895
Node: Introduction2830
Node: What is Bash?3043
Node: What is a shell?4184
Node: Definitions6763
Node: Basic Shell Features9939
Node: Shell Syntax11159
Node: Shell Operation12186
Node: Quoting13484
Node: Escape Character14797
Node: Single Quotes15295
Node: Double Quotes15644
Node: ANSI-C Quoting16987
Node: Locale Translation18372
Node: Creating Internationalized Scripts19716
Node: Comments23914
Node: Shell Commands24549
Node: Reserved Words25488
Node: Simple Commands26353
Node: Pipelines27012
Node: Lists30075
Node: Compound Commands31947
Node: Looping Constructs32956
Node: Conditional Constructs35500
Node: Command Grouping50404
Node: Coprocesses51891
Node: GNU Parallel54587
Node: Shell Functions55505
Node: Shell Parameters63611
Node: Positional Parameters68144
Node: Special Parameters69079
Node: Shell Expansions72385
Node: Brace Expansion74574
Node: Tilde Expansion77237
Node: Shell Parameter Expansion80003
Node: Command Substitution99110
Node: Arithmetic Expansion102643
Node: Process Substitution103608
Node: Word Splitting104745
Node: Filename Expansion106886
Node: Pattern Matching109982
Node: Quote Removal115215
Node: Redirections115519
Node: Executing Commands125328
Node: Simple Command Expansion125995
Node: Command Search and Execution128106
Node: Command Execution Environment130514
Node: Environment133823
Node: Exit Status135527
Node: Signals137312
Node: Shell Scripts140926
Node: Shell Builtin Commands144018
Node: Bourne Shell Builtins146129
Node: Bash Builtins170533
Node: Modifying Shell Behavior205492
Node: The Set Builtin205834
Node: The Shopt Builtin217349
Node: Special Builtins234085
Node: Shell Variables235074
Node: Bourne Shell Variables235508
Node: Bash Variables237701
Node: Bash Features274283
Node: Invoking Bash275297
Node: Bash Startup Files281696
Node: Interactive Shells287008
Node: What is an Interactive Shell?287416
Node: Is this Shell Interactive?288082
Node: Interactive Shell Behavior288906
Node: Bash Conditional Expressions292660
Node: Shell Arithmetic297834
Node: Aliases300916
Node: Arrays303871
Node: The Directory Stack310670
Node: Directory Stack Builtins311467
Node: Controlling the Prompt315916
Node: The Restricted Shell319054
Node: Bash POSIX Mode321841
Node: Shell Compatibility Mode339352
Node: Job Control348371
Node: Job Control Basics348828
Node: Job Control Builtins354002
Node: Job Control Variables359962
Node: Command Line Editing361139
Node: Introduction and Notation362843
Node: Readline Interaction364487
Node: Readline Bare Essentials365675
Node: Readline Movement Commands367493
Node: Readline Killing Commands368490
Node: Readline Arguments370468
Node: Searching371525
Node: Readline Init File373754
Node: Readline Init File Syntax375036
Node: Conditional Init Constructs399974
Node: Sample Init File404339
Node: Bindable Readline Commands407460
Node: Commands For Moving408685
Node: Commands For History410785
Node: Commands For Text415868
Node: Commands For Killing419943
Node: Numeric Arguments422744
Node: Commands For Completion423896
Node: Keyboard Macros428212
Node: Miscellaneous Commands428913
Node: Readline vi Mode435567
Node: Programmable Completion436519
Node: Programmable Completion Builtins444476
Node: A Programmable Completion Example456042
Node: Using History Interactively461387
Node: Bash History Facilities462068
Node: Bash History Builtins465180
Node: History Interaction470423
Node: Event Designators474748
Node: Word Designators476331
Node: Modifiers478317
Node: Installing Bash480226
Node: Basic Installation481360
Node: Compilers and Options485239
Node: Compiling For Multiple Architectures485989
Node: Installation Names487738
Node: Specifying the System Type489972
Node: Sharing Defaults490718
Node: Operation Controls491432
Node: Optional Features492451
Node: Reporting Bugs504253
Node: Major Differences From The Bourne Shell505602
Node: GNU Free Documentation License525337
Node: Indexes550514
Node: Builtin Index550965
Node: Reserved Word Index558063
Node: Variable Index560508
Node: Function Index577639
Node: Concept Index591495

End Tag Table