removed some commented-out code dependent on the compatibility level now that the version is 5.2

This commit is contained in:
Chet Ramey
2021-11-22 10:11:06 -05:00
parent e59452c752
commit 25e43d2c0a
27 changed files with 5088 additions and 5001 deletions
+179 -176
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.1, 25 October 2021).
Bash shell (version 5.1, 16 November 2021).
This is Edition 5.1, last updated 25 October 2021, of 'The GNU Bash
This is Edition 5.1, last updated 16 November 2021, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.1.
Copyright (C) 1988-2021 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, 25 October 2021). The Bash home page is
Bash shell (version 5.1, 16 November 2021). The Bash home page is
<http://www.gnu.org/software/bash/>.
This is Edition 5.1, last updated 25 October 2021, of 'The GNU Bash
This is Edition 5.1, last updated 16 November 2021, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.1.
Bash contains features that appear in other popular shells, and some
@@ -4375,8 +4375,8 @@ allows you to change the values of shell options and set the positional
parameters, or to display the names and values of shell variables.
'set'
set [--abefhkmnptuvxBCEHPT] [-o OPTION-NAME] [ARGUMENT ...]
set [+abefhkmnptuvxBCEHPT] [+o OPTION-NAME] [ARGUMENT ...]
set [-abefhkmnptuvxBCEHPT] [-o OPTION-NAME] [--] [-] [ARGUMENT ...]
set [+abefhkmnptuvxBCEHPT] [+o OPTION-NAME] [--] [-] [ARGUMENT ...]
If no options or arguments are supplied, 'set' displays the names
and values of all shell variables and functions, sorted according
@@ -7959,7 +7959,10 @@ Variable Settings
If set to 'on', when listing completions, Readline displays
the common prefix of the set of possible completions using a
different color. The color definitions are taken from the
value of the 'LS_COLORS' environment variable. The default is
value of the 'LS_COLORS' environment variable. If there is a
color definition in 'LS_COLORS' for the custom suffix
'readline-colored-completion-prefix', Readline uses this color
for the common prefix instead of its default. The default is
'off'.
'colored-stats'
@@ -11819,20 +11822,20 @@ D.3 Parameter and Variable Index
* colored-completion-prefix: Readline Init File Syntax.
(line 55)
* colored-stats: Readline Init File Syntax.
(line 62)
(line 65)
* COLUMNS: Bash Variables. (line 202)
* comment-begin: Readline Init File Syntax.
(line 68)
(line 71)
* completion-display-width: Readline Init File Syntax.
(line 73)
(line 76)
* completion-ignore-case: Readline Init File Syntax.
(line 80)
(line 83)
* completion-map-case: Readline Init File Syntax.
(line 85)
(line 88)
* completion-prefix-display-length: Readline Init File Syntax.
(line 91)
(line 94)
* completion-query-items: Readline Init File Syntax.
(line 98)
(line 101)
* COMPREPLY: Bash Variables. (line 254)
* COMP_CWORD: Bash Variables. (line 208)
* COMP_KEY: Bash Variables. (line 237)
@@ -11842,31 +11845,31 @@ D.3 Parameter and Variable Index
* COMP_WORDBREAKS: Bash Variables. (line 241)
* COMP_WORDS: Bash Variables. (line 247)
* convert-meta: Readline Init File Syntax.
(line 109)
(line 112)
* COPROC: Bash Variables. (line 260)
* DIRSTACK: Bash Variables. (line 264)
* disable-completion: Readline Init File Syntax.
(line 117)
(line 120)
* echo-control-characters: Readline Init File Syntax.
(line 122)
(line 125)
* editing-mode: Readline Init File Syntax.
(line 127)
(line 130)
* EMACS: Bash Variables. (line 274)
* emacs-mode-string: Readline Init File Syntax.
(line 133)
(line 136)
* enable-active-region: Readline Init File Syntax.
(line 143)
(line 146)
* enable-bracketed-paste: Readline Init File Syntax.
(line 155)
(line 158)
* enable-keypad: Readline Init File Syntax.
(line 163)
(line 166)
* ENV: Bash Variables. (line 279)
* EPOCHREALTIME: Bash Variables. (line 284)
* EPOCHSECONDS: Bash Variables. (line 292)
* EUID: Bash Variables. (line 299)
* EXECIGNORE: Bash Variables. (line 303)
* expand-tilde: Readline Init File Syntax.
(line 174)
(line 177)
* FCEDIT: Bash Variables. (line 316)
* FIGNORE: Bash Variables. (line 320)
* FUNCNAME: Bash Variables. (line 326)
@@ -11880,15 +11883,15 @@ D.3 Parameter and Variable Index
* HISTFILESIZE: Bash Variables. (line 402)
* HISTIGNORE: Bash Variables. (line 413)
* history-preserve-point: Readline Init File Syntax.
(line 178)
(line 181)
* history-size: Readline Init File Syntax.
(line 184)
(line 187)
* HISTSIZE: Bash Variables. (line 433)
* HISTTIMEFORMAT: Bash Variables. (line 440)
* HOME: Bourne Shell Variables.
(line 13)
* horizontal-scroll-mode: Readline Init File Syntax.
(line 193)
(line 196)
* HOSTFILE: Bash Variables. (line 448)
* HOSTNAME: Bash Variables. (line 459)
* HOSTTYPE: Bash Variables. (line 462)
@@ -11896,13 +11899,13 @@ D.3 Parameter and Variable Index
(line 18)
* IGNOREEOF: Bash Variables. (line 465)
* input-meta: Readline Init File Syntax.
(line 202)
(line 205)
* INPUTRC: Bash Variables. (line 475)
* INSIDE_EMACS: Bash Variables. (line 479)
* isearch-terminators: Readline Init File Syntax.
(line 210)
(line 213)
* keymap: Readline Init File Syntax.
(line 217)
(line 220)
* LANG: Creating Internationalized Scripts.
(line 51)
* LANG <1>: Bash Variables. (line 485)
@@ -11924,15 +11927,15 @@ D.3 Parameter and Variable Index
(line 27)
* MAPFILE: Bash Variables. (line 540)
* mark-modified-lines: Readline Init File Syntax.
(line 247)
(line 250)
* mark-symlinked-directories: Readline Init File Syntax.
(line 252)
(line 255)
* match-hidden-files: Readline Init File Syntax.
(line 257)
(line 260)
* menu-complete-display-prefix: Readline Init File Syntax.
(line 264)
(line 267)
* meta-flag: Readline Init File Syntax.
(line 202)
(line 205)
* OLDPWD: Bash Variables. (line 544)
* OPTARG: Bourne Shell Variables.
(line 34)
@@ -11941,9 +11944,9 @@ D.3 Parameter and Variable Index
(line 38)
* OSTYPE: Bash Variables. (line 551)
* output-meta: Readline Init File Syntax.
(line 269)
(line 272)
* page-completions: Readline Init File Syntax.
(line 275)
(line 278)
* PATH: Bourne Shell Variables.
(line 42)
* PIPESTATUS: Bash Variables. (line 554)
@@ -11966,19 +11969,19 @@ D.3 Parameter and Variable Index
* READLINE_POINT: Bash Variables. (line 626)
* REPLY: Bash Variables. (line 630)
* revert-all-at-newline: Readline Init File Syntax.
(line 285)
(line 288)
* SECONDS: Bash Variables. (line 633)
* SHELL: Bash Variables. (line 642)
* SHELLOPTS: Bash Variables. (line 647)
* SHLVL: Bash Variables. (line 656)
* show-all-if-ambiguous: Readline Init File Syntax.
(line 291)
(line 294)
* show-all-if-unmodified: Readline Init File Syntax.
(line 297)
(line 300)
* show-mode-in-prompt: Readline Init File Syntax.
(line 306)
(line 309)
* skip-completed-text: Readline Init File Syntax.
(line 312)
(line 315)
* SRANDOM: Bash Variables. (line 661)
* TEXTDOMAIN: Creating Internationalized Scripts.
(line 51)
@@ -11989,11 +11992,11 @@ D.3 Parameter and Variable Index
* TMPDIR: Bash Variables. (line 720)
* UID: Bash Variables. (line 724)
* vi-cmd-mode-string: Readline Init File Syntax.
(line 325)
(line 328)
* vi-ins-mode-string: Readline Init File Syntax.
(line 336)
(line 339)
* visible-stats: Readline Init File Syntax.
(line 347)
(line 350)

File: bashref.info, Node: Function Index, Next: Concept Index, Prev: Variable Index, Up: Indexes
@@ -12372,138 +12375,138 @@ D.5 Concept Index

Tag Table:
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 Character14474
Node: Single Quotes14959
Node: Double Quotes15307
Node: ANSI-C Quoting16585
Node: Locale Translation17895
Node: Creating Internationalized Scripts19206
Node: Comments23323
Node: Shell Commands23941
Node: Reserved Words24879
Node: Simple Commands25635
Node: Pipelines26289
Node: Lists29248
Node: Compound Commands31043
Node: Looping Constructs32055
Node: Conditional Constructs34550
Node: Command Grouping48894
Node: Coprocesses50372
Node: GNU Parallel53035
Node: Shell Functions53952
Node: Shell Parameters61243
Node: Positional Parameters65631
Node: Special Parameters66533
Node: Shell Expansions69747
Node: Brace Expansion71874
Node: Tilde Expansion74608
Node: Shell Parameter Expansion77229
Node: Command Substitution95095
Node: Arithmetic Expansion96450
Node: Process Substitution97418
Node: Word Splitting98538
Node: Filename Expansion100482
Node: Pattern Matching103082
Node: Quote Removal107690
Node: Redirections107985
Node: Executing Commands117645
Node: Simple Command Expansion118315
Node: Command Search and Execution120425
Node: Command Execution Environment122803
Node: Environment125838
Node: Exit Status127501
Node: Signals129285
Node: Shell Scripts132734
Node: Shell Builtin Commands135761
Node: Bourne Shell Builtins137799
Node: Bash Builtins159260
Node: Modifying Shell Behavior190077
Node: The Set Builtin190422
Node: The Shopt Builtin200835
Node: Special Builtins216549
Node: Shell Variables217528
Node: Bourne Shell Variables217965
Node: Bash Variables220069
Node: Bash Features252884
Node: Invoking Bash253897
Node: Bash Startup Files259910
Node: Interactive Shells265013
Node: What is an Interactive Shell?265423
Node: Is this Shell Interactive?266072
Node: Interactive Shell Behavior266887
Node: Bash Conditional Expressions270400
Node: Shell Arithmetic275042
Node: Aliases277986
Node: Arrays280599
Node: The Directory Stack286608
Node: Directory Stack Builtins287392
Node: Controlling the Prompt291652
Node: The Restricted Shell294617
Node: Bash POSIX Mode297214
Node: Shell Compatibility Mode308487
Node: Job Control315143
Node: Job Control Basics315603
Node: Job Control Builtins320605
Node: Job Control Variables326005
Node: Command Line Editing327161
Node: Introduction and Notation328832
Node: Readline Interaction330455
Node: Readline Bare Essentials331646
Node: Readline Movement Commands333429
Node: Readline Killing Commands334389
Node: Readline Arguments336307
Node: Searching337351
Node: Readline Init File339537
Node: Readline Init File Syntax340798
Node: Conditional Init Constructs362078
Node: Sample Init File366274
Node: Bindable Readline Commands369398
Node: Commands For Moving370602
Node: Commands For History372653
Node: Commands For Text377647
Node: Commands For Killing381296
Node: Numeric Arguments384329
Node: Commands For Completion385468
Node: Keyboard Macros389659
Node: Miscellaneous Commands390346
Node: Readline vi Mode396285
Node: Programmable Completion397192
Node: Programmable Completion Builtins404972
Node: A Programmable Completion Example415667
Node: Using History Interactively420914
Node: Bash History Facilities421598
Node: Bash History Builtins424603
Node: History Interaction429611
Node: Event Designators433231
Node: Word Designators434585
Node: Modifiers436345
Node: Installing Bash438156
Node: Basic Installation439293
Node: Compilers and Options443015
Node: Compiling For Multiple Architectures443756
Node: Installation Names445449
Node: Specifying the System Type447558
Node: Sharing Defaults448274
Node: Operation Controls448947
Node: Optional Features449905
Node: Reporting Bugs460998
Node: Major Differences From The Bourne Shell462273
Node: GNU Free Documentation License479123
Node: Indexes504300
Node: Builtin Index504754
Node: Reserved Word Index511581
Node: Variable Index514029
Node: Function Index530521
Node: Concept Index544305
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 Character14478
Node: Single Quotes14963
Node: Double Quotes15311
Node: ANSI-C Quoting16589
Node: Locale Translation17899
Node: Creating Internationalized Scripts19210
Node: Comments23327
Node: Shell Commands23945
Node: Reserved Words24883
Node: Simple Commands25639
Node: Pipelines26293
Node: Lists29252
Node: Compound Commands31047
Node: Looping Constructs32059
Node: Conditional Constructs34554
Node: Command Grouping48898
Node: Coprocesses50376
Node: GNU Parallel53039
Node: Shell Functions53956
Node: Shell Parameters61247
Node: Positional Parameters65635
Node: Special Parameters66537
Node: Shell Expansions69751
Node: Brace Expansion71878
Node: Tilde Expansion74612
Node: Shell Parameter Expansion77233
Node: Command Substitution95099
Node: Arithmetic Expansion96454
Node: Process Substitution97422
Node: Word Splitting98542
Node: Filename Expansion100486
Node: Pattern Matching103086
Node: Quote Removal107694
Node: Redirections107989
Node: Executing Commands117649
Node: Simple Command Expansion118319
Node: Command Search and Execution120429
Node: Command Execution Environment122807
Node: Environment125842
Node: Exit Status127505
Node: Signals129289
Node: Shell Scripts132738
Node: Shell Builtin Commands135765
Node: Bourne Shell Builtins137803
Node: Bash Builtins159264
Node: Modifying Shell Behavior190081
Node: The Set Builtin190426
Node: The Shopt Builtin200856
Node: Special Builtins216570
Node: Shell Variables217549
Node: Bourne Shell Variables217986
Node: Bash Variables220090
Node: Bash Features252905
Node: Invoking Bash253918
Node: Bash Startup Files259931
Node: Interactive Shells265034
Node: What is an Interactive Shell?265444
Node: Is this Shell Interactive?266093
Node: Interactive Shell Behavior266908
Node: Bash Conditional Expressions270421
Node: Shell Arithmetic275063
Node: Aliases278007
Node: Arrays280620
Node: The Directory Stack286629
Node: Directory Stack Builtins287413
Node: Controlling the Prompt291673
Node: The Restricted Shell294638
Node: Bash POSIX Mode297235
Node: Shell Compatibility Mode308508
Node: Job Control315164
Node: Job Control Basics315624
Node: Job Control Builtins320626
Node: Job Control Variables326026
Node: Command Line Editing327182
Node: Introduction and Notation328853
Node: Readline Interaction330476
Node: Readline Bare Essentials331667
Node: Readline Movement Commands333450
Node: Readline Killing Commands334410
Node: Readline Arguments336328
Node: Searching337372
Node: Readline Init File339558
Node: Readline Init File Syntax340819
Node: Conditional Init Constructs362307
Node: Sample Init File366503
Node: Bindable Readline Commands369627
Node: Commands For Moving370831
Node: Commands For History372882
Node: Commands For Text377876
Node: Commands For Killing381525
Node: Numeric Arguments384558
Node: Commands For Completion385697
Node: Keyboard Macros389888
Node: Miscellaneous Commands390575
Node: Readline vi Mode396514
Node: Programmable Completion397421
Node: Programmable Completion Builtins405201
Node: A Programmable Completion Example415896
Node: Using History Interactively421143
Node: Bash History Facilities421827
Node: Bash History Builtins424832
Node: History Interaction429840
Node: Event Designators433460
Node: Word Designators434814
Node: Modifiers436574
Node: Installing Bash438385
Node: Basic Installation439522
Node: Compilers and Options443244
Node: Compiling For Multiple Architectures443985
Node: Installation Names445678
Node: Specifying the System Type447787
Node: Sharing Defaults448503
Node: Operation Controls449176
Node: Optional Features450134
Node: Reporting Bugs461227
Node: Major Differences From The Bourne Shell462502
Node: GNU Free Documentation License479352
Node: Indexes504529
Node: Builtin Index504983
Node: Reserved Word Index511810
Node: Variable Index514258
Node: Function Index530750
Node: Concept Index544534

End Tag Table