mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-05 01:32:28 +02:00
removed some commented-out code dependent on the compatibility level now that the version is 5.2
This commit is contained in:
+179
-176
@@ -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.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.
|
||||
@@ -26,10 +26,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
|
||||
@@ -4374,8 +4374,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
|
||||
@@ -7958,7 +7958,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'
|
||||
@@ -11818,20 +11821,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)
|
||||
@@ -11841,31 +11844,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)
|
||||
@@ -11879,15 +11882,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)
|
||||
@@ -11895,13 +11898,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)
|
||||
@@ -11923,15 +11926,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)
|
||||
@@ -11940,9 +11943,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)
|
||||
@@ -11965,19 +11968,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)
|
||||
@@ -11988,11 +11991,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: bash.info, Node: Function Index, Next: Concept Index, Prev: Variable Index, Up: Indexes
|
||||
@@ -12371,138 +12374,138 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top892
|
||||
Node: Introduction2807
|
||||
Node: What is Bash?3020
|
||||
Node: What is a shell?4131
|
||||
Node: Definitions6666
|
||||
Node: Basic Shell Features9614
|
||||
Node: Shell Syntax10830
|
||||
Node: Shell Operation11853
|
||||
Node: Quoting13143
|
||||
Node: Escape Character14444
|
||||
Node: Single Quotes14926
|
||||
Node: Double Quotes15271
|
||||
Node: ANSI-C Quoting16546
|
||||
Node: Locale Translation17853
|
||||
Node: Creating Internationalized Scripts19161
|
||||
Node: Comments23275
|
||||
Node: Shell Commands23890
|
||||
Node: Reserved Words24825
|
||||
Node: Simple Commands25578
|
||||
Node: Pipelines26229
|
||||
Node: Lists29185
|
||||
Node: Compound Commands30977
|
||||
Node: Looping Constructs31986
|
||||
Node: Conditional Constructs34478
|
||||
Node: Command Grouping48819
|
||||
Node: Coprocesses50294
|
||||
Node: GNU Parallel52954
|
||||
Node: Shell Functions53868
|
||||
Node: Shell Parameters61156
|
||||
Node: Positional Parameters65541
|
||||
Node: Special Parameters66440
|
||||
Node: Shell Expansions69651
|
||||
Node: Brace Expansion71775
|
||||
Node: Tilde Expansion74506
|
||||
Node: Shell Parameter Expansion77124
|
||||
Node: Command Substitution94987
|
||||
Node: Arithmetic Expansion96339
|
||||
Node: Process Substitution97304
|
||||
Node: Word Splitting98421
|
||||
Node: Filename Expansion100362
|
||||
Node: Pattern Matching102959
|
||||
Node: Quote Removal107564
|
||||
Node: Redirections107856
|
||||
Node: Executing Commands117513
|
||||
Node: Simple Command Expansion118180
|
||||
Node: Command Search and Execution120287
|
||||
Node: Command Execution Environment122662
|
||||
Node: Environment125694
|
||||
Node: Exit Status127354
|
||||
Node: Signals129135
|
||||
Node: Shell Scripts132581
|
||||
Node: Shell Builtin Commands135605
|
||||
Node: Bourne Shell Builtins137640
|
||||
Node: Bash Builtins159098
|
||||
Node: Modifying Shell Behavior189912
|
||||
Node: The Set Builtin190254
|
||||
Node: The Shopt Builtin200664
|
||||
Node: Special Builtins216375
|
||||
Node: Shell Variables217351
|
||||
Node: Bourne Shell Variables217785
|
||||
Node: Bash Variables219886
|
||||
Node: Bash Features252698
|
||||
Node: Invoking Bash253708
|
||||
Node: Bash Startup Files259718
|
||||
Node: Interactive Shells264818
|
||||
Node: What is an Interactive Shell?265225
|
||||
Node: Is this Shell Interactive?265871
|
||||
Node: Interactive Shell Behavior266683
|
||||
Node: Bash Conditional Expressions270193
|
||||
Node: Shell Arithmetic274832
|
||||
Node: Aliases277773
|
||||
Node: Arrays280383
|
||||
Node: The Directory Stack286389
|
||||
Node: Directory Stack Builtins287170
|
||||
Node: Controlling the Prompt291427
|
||||
Node: The Restricted Shell294389
|
||||
Node: Bash POSIX Mode296983
|
||||
Node: Shell Compatibility Mode308253
|
||||
Node: Job Control314906
|
||||
Node: Job Control Basics315363
|
||||
Node: Job Control Builtins320362
|
||||
Node: Job Control Variables325759
|
||||
Node: Command Line Editing326912
|
||||
Node: Introduction and Notation328580
|
||||
Node: Readline Interaction330200
|
||||
Node: Readline Bare Essentials331388
|
||||
Node: Readline Movement Commands333168
|
||||
Node: Readline Killing Commands334125
|
||||
Node: Readline Arguments336040
|
||||
Node: Searching337081
|
||||
Node: Readline Init File339264
|
||||
Node: Readline Init File Syntax340522
|
||||
Node: Conditional Init Constructs361799
|
||||
Node: Sample Init File365992
|
||||
Node: Bindable Readline Commands369113
|
||||
Node: Commands For Moving370314
|
||||
Node: Commands For History372362
|
||||
Node: Commands For Text377353
|
||||
Node: Commands For Killing380999
|
||||
Node: Numeric Arguments384029
|
||||
Node: Commands For Completion385165
|
||||
Node: Keyboard Macros389353
|
||||
Node: Miscellaneous Commands390037
|
||||
Node: Readline vi Mode395973
|
||||
Node: Programmable Completion396877
|
||||
Node: Programmable Completion Builtins404654
|
||||
Node: A Programmable Completion Example415346
|
||||
Node: Using History Interactively420590
|
||||
Node: Bash History Facilities421271
|
||||
Node: Bash History Builtins424273
|
||||
Node: History Interaction429278
|
||||
Node: Event Designators432895
|
||||
Node: Word Designators434246
|
||||
Node: Modifiers436003
|
||||
Node: Installing Bash437811
|
||||
Node: Basic Installation438945
|
||||
Node: Compilers and Options442664
|
||||
Node: Compiling For Multiple Architectures443402
|
||||
Node: Installation Names445092
|
||||
Node: Specifying the System Type447198
|
||||
Node: Sharing Defaults447911
|
||||
Node: Operation Controls448581
|
||||
Node: Optional Features449536
|
||||
Node: Reporting Bugs460626
|
||||
Node: Major Differences From The Bourne Shell461898
|
||||
Node: GNU Free Documentation License478745
|
||||
Node: Indexes503919
|
||||
Node: Builtin Index504370
|
||||
Node: Reserved Word Index511194
|
||||
Node: Variable Index513639
|
||||
Node: Function Index530128
|
||||
Node: Concept Index543909
|
||||
Node: Top894
|
||||
Node: Introduction2811
|
||||
Node: What is Bash?3024
|
||||
Node: What is a shell?4135
|
||||
Node: Definitions6670
|
||||
Node: Basic Shell Features9618
|
||||
Node: Shell Syntax10834
|
||||
Node: Shell Operation11857
|
||||
Node: Quoting13147
|
||||
Node: Escape Character14448
|
||||
Node: Single Quotes14930
|
||||
Node: Double Quotes15275
|
||||
Node: ANSI-C Quoting16550
|
||||
Node: Locale Translation17857
|
||||
Node: Creating Internationalized Scripts19165
|
||||
Node: Comments23279
|
||||
Node: Shell Commands23894
|
||||
Node: Reserved Words24829
|
||||
Node: Simple Commands25582
|
||||
Node: Pipelines26233
|
||||
Node: Lists29189
|
||||
Node: Compound Commands30981
|
||||
Node: Looping Constructs31990
|
||||
Node: Conditional Constructs34482
|
||||
Node: Command Grouping48823
|
||||
Node: Coprocesses50298
|
||||
Node: GNU Parallel52958
|
||||
Node: Shell Functions53872
|
||||
Node: Shell Parameters61160
|
||||
Node: Positional Parameters65545
|
||||
Node: Special Parameters66444
|
||||
Node: Shell Expansions69655
|
||||
Node: Brace Expansion71779
|
||||
Node: Tilde Expansion74510
|
||||
Node: Shell Parameter Expansion77128
|
||||
Node: Command Substitution94991
|
||||
Node: Arithmetic Expansion96343
|
||||
Node: Process Substitution97308
|
||||
Node: Word Splitting98425
|
||||
Node: Filename Expansion100366
|
||||
Node: Pattern Matching102963
|
||||
Node: Quote Removal107568
|
||||
Node: Redirections107860
|
||||
Node: Executing Commands117517
|
||||
Node: Simple Command Expansion118184
|
||||
Node: Command Search and Execution120291
|
||||
Node: Command Execution Environment122666
|
||||
Node: Environment125698
|
||||
Node: Exit Status127358
|
||||
Node: Signals129139
|
||||
Node: Shell Scripts132585
|
||||
Node: Shell Builtin Commands135609
|
||||
Node: Bourne Shell Builtins137644
|
||||
Node: Bash Builtins159102
|
||||
Node: Modifying Shell Behavior189916
|
||||
Node: The Set Builtin190258
|
||||
Node: The Shopt Builtin200685
|
||||
Node: Special Builtins216396
|
||||
Node: Shell Variables217372
|
||||
Node: Bourne Shell Variables217806
|
||||
Node: Bash Variables219907
|
||||
Node: Bash Features252719
|
||||
Node: Invoking Bash253729
|
||||
Node: Bash Startup Files259739
|
||||
Node: Interactive Shells264839
|
||||
Node: What is an Interactive Shell?265246
|
||||
Node: Is this Shell Interactive?265892
|
||||
Node: Interactive Shell Behavior266704
|
||||
Node: Bash Conditional Expressions270214
|
||||
Node: Shell Arithmetic274853
|
||||
Node: Aliases277794
|
||||
Node: Arrays280404
|
||||
Node: The Directory Stack286410
|
||||
Node: Directory Stack Builtins287191
|
||||
Node: Controlling the Prompt291448
|
||||
Node: The Restricted Shell294410
|
||||
Node: Bash POSIX Mode297004
|
||||
Node: Shell Compatibility Mode308274
|
||||
Node: Job Control314927
|
||||
Node: Job Control Basics315384
|
||||
Node: Job Control Builtins320383
|
||||
Node: Job Control Variables325780
|
||||
Node: Command Line Editing326933
|
||||
Node: Introduction and Notation328601
|
||||
Node: Readline Interaction330221
|
||||
Node: Readline Bare Essentials331409
|
||||
Node: Readline Movement Commands333189
|
||||
Node: Readline Killing Commands334146
|
||||
Node: Readline Arguments336061
|
||||
Node: Searching337102
|
||||
Node: Readline Init File339285
|
||||
Node: Readline Init File Syntax340543
|
||||
Node: Conditional Init Constructs362028
|
||||
Node: Sample Init File366221
|
||||
Node: Bindable Readline Commands369342
|
||||
Node: Commands For Moving370543
|
||||
Node: Commands For History372591
|
||||
Node: Commands For Text377582
|
||||
Node: Commands For Killing381228
|
||||
Node: Numeric Arguments384258
|
||||
Node: Commands For Completion385394
|
||||
Node: Keyboard Macros389582
|
||||
Node: Miscellaneous Commands390266
|
||||
Node: Readline vi Mode396202
|
||||
Node: Programmable Completion397106
|
||||
Node: Programmable Completion Builtins404883
|
||||
Node: A Programmable Completion Example415575
|
||||
Node: Using History Interactively420819
|
||||
Node: Bash History Facilities421500
|
||||
Node: Bash History Builtins424502
|
||||
Node: History Interaction429507
|
||||
Node: Event Designators433124
|
||||
Node: Word Designators434475
|
||||
Node: Modifiers436232
|
||||
Node: Installing Bash438040
|
||||
Node: Basic Installation439174
|
||||
Node: Compilers and Options442893
|
||||
Node: Compiling For Multiple Architectures443631
|
||||
Node: Installation Names445321
|
||||
Node: Specifying the System Type447427
|
||||
Node: Sharing Defaults448140
|
||||
Node: Operation Controls448810
|
||||
Node: Optional Features449765
|
||||
Node: Reporting Bugs460855
|
||||
Node: Major Differences From The Bourne Shell462127
|
||||
Node: GNU Free Documentation License478974
|
||||
Node: Indexes504148
|
||||
Node: Builtin Index504599
|
||||
Node: Reserved Word Index511423
|
||||
Node: Variable Index513868
|
||||
Node: Function Index530357
|
||||
Node: Concept Index544138
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user