fix for fdflags loadable builtin; new strptime loadable builtin; enable -f doesn't fall back to current directory if using BASH_LOADABLES_PATH; new operator for rl_complete_internal that just dumps possible completions

This commit is contained in:
Chet Ramey
2023-11-24 12:39:17 -05:00
parent f491b93350
commit 55a224da44
35 changed files with 1613 additions and 1078 deletions
+115 -103
View File
@@ -1,9 +1,9 @@
This is bash.info, produced by makeinfo version 6.8 from bashref.texi.
This text is a brief description of the features that are present in the
Bash shell (version 5.3, 1 November 2023).
Bash shell (version 5.3, 6 November 2023).
This is Edition 5.3, last updated 1 November 2023, of 'The GNU Bash
This is Edition 5.3, last updated 6 November 2023, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.3.
Copyright (C) 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, 1 November 2023). The Bash home page is
Bash shell (version 5.3, 6 November 2023). The Bash home page is
<http://www.gnu.org/software/bash/>.
This is Edition 5.3, last updated 1 November 2023, of 'The GNU Bash
This is Edition 5.3, last updated 6 November 2023, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.3.
Bash contains features that appear in other popular shells, and some
@@ -4089,8 +4089,10 @@ standard.
shared object FILENAME, on systems that support dynamic loading.
Bash will use the value of the 'BASH_LOADABLES_PATH' variable as a
colon-separated list of directories in which to search for
FILENAME. The default is system-dependent. The '-d' option will
delete a builtin loaded with '-f'.
FILENAME, if FILENAME does not contain a slash. The default is
system-dependent, and may include "." to force a search of the
current directory. The '-d' option will delete a builtin loaded
with '-f'.
If there are no options, a list of the shell builtins is displayed.
The '-s' option restricts 'enable' to the POSIX special builtins.
@@ -5165,8 +5167,9 @@ This builtin allows you to change additional shell optional behavior.
string is not translated, this has no effect.
'nullglob'
If set, Bash allows filename patterns which match no files to
expand to a null string, rather than themselves.
If set, filename expansion patterns which match no files
(*note Filename Expansion::) expand to nothing and are
removed, rather than expanding to themselves.
'patsub_replacement'
If set, Bash expands occurrences of '&' in the replacement
@@ -5246,8 +5249,8 @@ differently than the rest of the Bash builtin commands. The Bash POSIX
mode is described in *note Bash POSIX Mode::.
These are the POSIX special builtins:
break : . continue eval exec exit export readonly return set
shift trap unset
break : . source continue eval exec exit export readonly return set
shift times trap unset

File: bash.info, Node: Shell Variables, Next: Bash Features, Prev: Shell Builtin Commands, Up: Top
@@ -5698,7 +5701,7 @@ Variables::).
Control how the results of filename expansion are sorted. The
value of this variable specifies the sort criteria and sort order
for the results of filename expansion. If this variable is unset
or set to the null string, filename expansion uses the historial
or set to the null string, filename expansion uses the historical
behavior of sorting by name. If set, a valid value begins with an
optional '+', which is ignored, or '-', which reverses the sort
order from ascending to descending, followed by a sort specifier.
@@ -9678,6 +9681,13 @@ File: bash.info, Node: Miscellaneous Commands, Prev: Keyboard Macros, Up: Bin
result as shell commands. Bash attempts to invoke '$VISUAL',
'$EDITOR', and 'emacs' as the editor, in that order.
'execute-named-command (M-x)'
Read a bindable readline command name from the input and execute
the function to which it's bound, as if the key sequence to which
it was bound appeared in the input. If this function is supplied
with a numeric argument, it passes that argument to the function it
executes.

File: bash.info, Node: Readline vi Mode, Next: Programmable Completion, Prev: Bindable Readline Commands, Up: Command Line Editing
@@ -11119,7 +11129,7 @@ does not provide the necessary support.
another instance of the shell from the environment. This option is
enabled by default.
'--enable-glob-asciirange-default'
'--enable-glob-asciiranges-default'
Set the default value of the 'globasciiranges' shell option
described above under *note The Shopt Builtin:: to be enabled.
This controls the behavior of character ranges when used in pattern
@@ -12159,26 +12169,26 @@ D.1 Index of Shell Builtin Commands
(line 153)
* hash: Bourne Shell Builtins.
(line 197)
* help: Bash Builtins. (line 351)
* help: Bash Builtins. (line 353)
* history: Bash History Builtins.
(line 46)
* jobs: Job Control Builtins.
(line 27)
* kill: Job Control Builtins.
(line 58)
* let: Bash Builtins. (line 370)
* local: Bash Builtins. (line 378)
* logout: Bash Builtins. (line 395)
* mapfile: Bash Builtins. (line 400)
* let: Bash Builtins. (line 372)
* local: Bash Builtins. (line 380)
* logout: Bash Builtins. (line 397)
* mapfile: Bash Builtins. (line 402)
* popd: Directory Stack Builtins.
(line 35)
* printf: Bash Builtins. (line 446)
* printf: Bash Builtins. (line 448)
* pushd: Directory Stack Builtins.
(line 69)
* pwd: Bourne Shell Builtins.
(line 222)
* read: Bash Builtins. (line 514)
* readarray: Bash Builtins. (line 617)
* read: Bash Builtins. (line 516)
* readarray: Bash Builtins. (line 619)
* readonly: Bourne Shell Builtins.
(line 232)
* return: Bourne Shell Builtins.
@@ -12187,7 +12197,7 @@ D.1 Index of Shell Builtin Commands
* shift: Bourne Shell Builtins.
(line 272)
* shopt: The Shopt Builtin. (line 9)
* source: Bash Builtins. (line 626)
* source: Bash Builtins. (line 628)
* suspend: Job Control Builtins.
(line 116)
* test: Bourne Shell Builtins.
@@ -12198,12 +12208,12 @@ D.1 Index of Shell Builtin Commands
(line 393)
* true: Bourne Shell Builtins.
(line 455)
* type: Bash Builtins. (line 631)
* typeset: Bash Builtins. (line 669)
* ulimit: Bash Builtins. (line 675)
* type: Bash Builtins. (line 633)
* typeset: Bash Builtins. (line 671)
* ulimit: Bash Builtins. (line 677)
* umask: Bourne Shell Builtins.
(line 460)
* unalias: Bash Builtins. (line 781)
* unalias: Bash Builtins. (line 783)
* unset: Bourne Shell Builtins.
(line 478)
* wait: Job Control Builtins.
@@ -12581,6 +12591,8 @@ D.4 Function Index
* end-of-line (C-e): Commands For Moving. (line 9)
* exchange-point-and-mark (C-x C-x): Miscellaneous Commands.
(line 37)
* execute-named-command (M-x): Miscellaneous Commands.
(line 146)
* fetch-history (): Commands For History.
(line 103)
* forward-backward-delete-char (): Commands For Text. (line 21)
@@ -12933,84 +12945,84 @@ Node: Shell Scripts137019
Node: Shell Builtin Commands140043
Node: Bourne Shell Builtins142078
Node: Bash Builtins165467
Node: Modifying Shell Behavior198403
Node: The Set Builtin198745
Node: The Shopt Builtin209716
Node: Special Builtins225851
Node: Shell Variables226827
Node: Bourne Shell Variables227261
Node: Bash Variables229362
Node: Bash Features264427
Node: Invoking Bash265437
Node: Bash Startup Files271568
Node: Interactive Shells276696
Node: What is an Interactive Shell?277104
Node: Is this Shell Interactive?277750
Node: Interactive Shell Behavior278562
Node: Bash Conditional Expressions282188
Node: Shell Arithmetic287098
Node: Aliases290056
Node: Arrays292947
Node: The Directory Stack299578
Node: Directory Stack Builtins300359
Node: Controlling the Prompt304616
Node: The Restricted Shell307578
Node: Bash POSIX Mode310185
Node: Shell Compatibility Mode326439
Node: Job Control334684
Node: Job Control Basics335141
Node: Job Control Builtins340140
Node: Job Control Variables345932
Node: Command Line Editing347085
Node: Introduction and Notation348753
Node: Readline Interaction350373
Node: Readline Bare Essentials351561
Node: Readline Movement Commands353347
Node: Readline Killing Commands354304
Node: Readline Arguments356222
Node: Searching357263
Node: Readline Init File359446
Node: Readline Init File Syntax360704
Node: Conditional Init Constructs384726
Node: Sample Init File388919
Node: Bindable Readline Commands392040
Node: Commands For Moving393241
Node: Commands For History395289
Node: Commands For Text400280
Node: Commands For Killing404255
Node: Numeric Arguments406956
Node: Commands For Completion408092
Node: Keyboard Macros412280
Node: Miscellaneous Commands412965
Node: Readline vi Mode419000
Node: Programmable Completion419904
Node: Programmable Completion Builtins427681
Node: A Programmable Completion Example438798
Node: Using History Interactively444043
Node: Bash History Facilities444724
Node: Bash History Builtins447732
Node: History Interaction452820
Node: Event Designators456630
Node: Word Designators458165
Node: Modifiers460027
Node: Installing Bash461832
Node: Basic Installation462966
Node: Compilers and Options466685
Node: Compiling For Multiple Architectures467423
Node: Installation Names469112
Node: Specifying the System Type471218
Node: Sharing Defaults471932
Node: Operation Controls472602
Node: Optional Features473557
Node: Reporting Bugs484773
Node: Major Differences From The Bourne Shell486104
Node: GNU Free Documentation License502959
Node: Indexes528133
Node: Builtin Index528584
Node: Reserved Word Index535682
Node: Variable Index538127
Node: Function Index555258
Node: Concept Index568976
Node: Modifying Shell Behavior198516
Node: The Set Builtin198858
Node: The Shopt Builtin209829
Node: Special Builtins226021
Node: Shell Variables227010
Node: Bourne Shell Variables227444
Node: Bash Variables229545
Node: Bash Features264611
Node: Invoking Bash265621
Node: Bash Startup Files271752
Node: Interactive Shells276880
Node: What is an Interactive Shell?277288
Node: Is this Shell Interactive?277934
Node: Interactive Shell Behavior278746
Node: Bash Conditional Expressions282372
Node: Shell Arithmetic287282
Node: Aliases290240
Node: Arrays293131
Node: The Directory Stack299762
Node: Directory Stack Builtins300543
Node: Controlling the Prompt304800
Node: The Restricted Shell307762
Node: Bash POSIX Mode310369
Node: Shell Compatibility Mode326623
Node: Job Control334868
Node: Job Control Basics335325
Node: Job Control Builtins340324
Node: Job Control Variables346116
Node: Command Line Editing347269
Node: Introduction and Notation348937
Node: Readline Interaction350557
Node: Readline Bare Essentials351745
Node: Readline Movement Commands353531
Node: Readline Killing Commands354488
Node: Readline Arguments356406
Node: Searching357447
Node: Readline Init File359630
Node: Readline Init File Syntax360888
Node: Conditional Init Constructs384910
Node: Sample Init File389103
Node: Bindable Readline Commands392224
Node: Commands For Moving393425
Node: Commands For History395473
Node: Commands For Text400464
Node: Commands For Killing404439
Node: Numeric Arguments407140
Node: Commands For Completion408276
Node: Keyboard Macros412464
Node: Miscellaneous Commands413149
Node: Readline vi Mode419515
Node: Programmable Completion420419
Node: Programmable Completion Builtins428196
Node: A Programmable Completion Example439313
Node: Using History Interactively444558
Node: Bash History Facilities445239
Node: Bash History Builtins448247
Node: History Interaction453335
Node: Event Designators457145
Node: Word Designators458680
Node: Modifiers460542
Node: Installing Bash462347
Node: Basic Installation463481
Node: Compilers and Options467200
Node: Compiling For Multiple Architectures467938
Node: Installation Names469627
Node: Specifying the System Type471733
Node: Sharing Defaults472447
Node: Operation Controls473117
Node: Optional Features474072
Node: Reporting Bugs485289
Node: Major Differences From The Bourne Shell486620
Node: GNU Free Documentation License503475
Node: Indexes528649
Node: Builtin Index529100
Node: Reserved Word Index536198
Node: Variable Index538643
Node: Function Index555774
Node: Concept Index569630

End Tag Table