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
@@ -2,9 +2,9 @@ This is bashref.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.
@@ -27,10 +27,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
@@ -4090,8 +4090,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.
@@ -5166,8 +5168,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
@@ -5247,8 +5250,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: bashref.info, Node: Shell Variables, Next: Bash Features, Prev: Shell Builtin Commands, Up: Top
@@ -5699,7 +5702,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.
@@ -9679,6 +9682,13 @@ File: bashref.info, Node: Miscellaneous Commands, Prev: Keyboard Macros, Up:
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: bashref.info, Node: Readline vi Mode, Next: Programmable Completion, Prev: Bindable Readline Commands, Up: Command Line Editing
@@ -11120,7 +11130,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
@@ -12160,26 +12170,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.
@@ -12188,7 +12198,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.
@@ -12199,12 +12209,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.
@@ -12582,6 +12592,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)
@@ -12934,84 +12946,84 @@ Node: Shell Scripts137172
Node: Shell Builtin Commands140199
Node: Bourne Shell Builtins142237
Node: Bash Builtins165629
Node: Modifying Shell Behavior198568
Node: The Set Builtin198913
Node: The Shopt Builtin209887
Node: Special Builtins226025
Node: Shell Variables227004
Node: Bourne Shell Variables227441
Node: Bash Variables229545
Node: Bash Features264613
Node: Invoking Bash265626
Node: Bash Startup Files271760
Node: Interactive Shells276891
Node: What is an Interactive Shell?277302
Node: Is this Shell Interactive?277951
Node: Interactive Shell Behavior278766
Node: Bash Conditional Expressions282395
Node: Shell Arithmetic287308
Node: Aliases290269
Node: Arrays293163
Node: The Directory Stack299797
Node: Directory Stack Builtins300581
Node: Controlling the Prompt304841
Node: The Restricted Shell307806
Node: Bash POSIX Mode310416
Node: Shell Compatibility Mode326673
Node: Job Control334921
Node: Job Control Basics335381
Node: Job Control Builtins340383
Node: Job Control Variables346178
Node: Command Line Editing347334
Node: Introduction and Notation349005
Node: Readline Interaction350628
Node: Readline Bare Essentials351819
Node: Readline Movement Commands353608
Node: Readline Killing Commands354568
Node: Readline Arguments356489
Node: Searching357533
Node: Readline Init File359719
Node: Readline Init File Syntax360980
Node: Conditional Init Constructs385005
Node: Sample Init File389201
Node: Bindable Readline Commands392325
Node: Commands For Moving393529
Node: Commands For History395580
Node: Commands For Text400574
Node: Commands For Killing404552
Node: Numeric Arguments407256
Node: Commands For Completion408395
Node: Keyboard Macros412586
Node: Miscellaneous Commands413274
Node: Readline vi Mode419312
Node: Programmable Completion420219
Node: Programmable Completion Builtins427999
Node: A Programmable Completion Example439119
Node: Using History Interactively444367
Node: Bash History Facilities445051
Node: Bash History Builtins448062
Node: History Interaction453153
Node: Event Designators456966
Node: Word Designators458504
Node: Modifiers460369
Node: Installing Bash462177
Node: Basic Installation463314
Node: Compilers and Options467036
Node: Compiling For Multiple Architectures467777
Node: Installation Names469469
Node: Specifying the System Type471578
Node: Sharing Defaults472295
Node: Operation Controls472968
Node: Optional Features473926
Node: Reporting Bugs485145
Node: Major Differences From The Bourne Shell486479
Node: GNU Free Documentation License503337
Node: Indexes528514
Node: Builtin Index528968
Node: Reserved Word Index536069
Node: Variable Index538517
Node: Function Index555651
Node: Concept Index569372
Node: Modifying Shell Behavior198681
Node: The Set Builtin199026
Node: The Shopt Builtin210000
Node: Special Builtins226195
Node: Shell Variables227187
Node: Bourne Shell Variables227624
Node: Bash Variables229728
Node: Bash Features264797
Node: Invoking Bash265810
Node: Bash Startup Files271944
Node: Interactive Shells277075
Node: What is an Interactive Shell?277486
Node: Is this Shell Interactive?278135
Node: Interactive Shell Behavior278950
Node: Bash Conditional Expressions282579
Node: Shell Arithmetic287492
Node: Aliases290453
Node: Arrays293347
Node: The Directory Stack299981
Node: Directory Stack Builtins300765
Node: Controlling the Prompt305025
Node: The Restricted Shell307990
Node: Bash POSIX Mode310600
Node: Shell Compatibility Mode326857
Node: Job Control335105
Node: Job Control Basics335565
Node: Job Control Builtins340567
Node: Job Control Variables346362
Node: Command Line Editing347518
Node: Introduction and Notation349189
Node: Readline Interaction350812
Node: Readline Bare Essentials352003
Node: Readline Movement Commands353792
Node: Readline Killing Commands354752
Node: Readline Arguments356673
Node: Searching357717
Node: Readline Init File359903
Node: Readline Init File Syntax361164
Node: Conditional Init Constructs385189
Node: Sample Init File389385
Node: Bindable Readline Commands392509
Node: Commands For Moving393713
Node: Commands For History395764
Node: Commands For Text400758
Node: Commands For Killing404736
Node: Numeric Arguments407440
Node: Commands For Completion408579
Node: Keyboard Macros412770
Node: Miscellaneous Commands413458
Node: Readline vi Mode419827
Node: Programmable Completion420734
Node: Programmable Completion Builtins428514
Node: A Programmable Completion Example439634
Node: Using History Interactively444882
Node: Bash History Facilities445566
Node: Bash History Builtins448577
Node: History Interaction453668
Node: Event Designators457481
Node: Word Designators459019
Node: Modifiers460884
Node: Installing Bash462692
Node: Basic Installation463829
Node: Compilers and Options467551
Node: Compiling For Multiple Architectures468292
Node: Installation Names469984
Node: Specifying the System Type472093
Node: Sharing Defaults472810
Node: Operation Controls473483
Node: Optional Features474441
Node: Reporting Bugs485661
Node: Major Differences From The Bourne Shell486995
Node: GNU Free Documentation License503853
Node: Indexes529030
Node: Builtin Index529484
Node: Reserved Word Index536585
Node: Variable Index539033
Node: Function Index556167
Node: Concept Index570026

End Tag Table