mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-09 21:20:50 +02:00
change redisplay to handle some cases where the line consumes more than the number of physical screen lines; add regerror() error messages if regular expression compilation fails; make sure active region readline variables are displayed with bind -v; partial fix for bind -x and commands containing quoting characters
This commit is contained in:
+1537
-1533
File diff suppressed because it is too large
Load Diff
+19
-10
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet.ramey@case.edu
|
||||
.\"
|
||||
.\" Last Change: Fri Jul 7 15:07:53 EDT 2023
|
||||
.\" Last Change: Wed Jul 19 14:23:20 EDT 2023
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2023 July 7" "GNU Bash 5.3"
|
||||
.TH BASH 1 "2023 July 19" "GNU Bash 5.3"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -6116,9 +6116,13 @@ If set to \fBnone\fP, readline never rings the bell. If set to
|
||||
If set to \fBaudible\fP, readline attempts to ring the terminal's bell.
|
||||
.TP
|
||||
.B bind\-tty\-special\-chars (On)
|
||||
If set to \fBOn\fP, readline attempts to bind the control characters
|
||||
treated specially by the kernel's terminal driver to their readline
|
||||
equivalents.
|
||||
If set to \fBOn\fP (the default), readline attempts to bind the control
|
||||
characters that are
|
||||
treated specially by the kernel's terminal driver to their
|
||||
readline equivalents.
|
||||
These override the default readline bindings described here.
|
||||
Type \f(CWstty -a\fP at a bash prompt to see your current terminal settings,
|
||||
including the special control characters (usually \fBcchars\fP).
|
||||
.TP
|
||||
.B blink\-matching\-paren (Off)
|
||||
If set to \fBOn\fP, readline attempts to briefly move the cursor to an
|
||||
@@ -9954,6 +9958,10 @@ before execution resumes after the function or script.
|
||||
.PD 0
|
||||
.TP
|
||||
\fBset\fP [\fB+abefhkmnptuvxBCEHPT\fP] [\fB+o\fP \fIoption\-name\fP] [\fB\-\-\fP] [\fB\-\fP] [\fIarg\fP ...]
|
||||
.TP
|
||||
\fBset \-o\fP
|
||||
.TP
|
||||
\fBset \+o\fP
|
||||
.PD
|
||||
Without options, display the name and value of each shell variable
|
||||
in a format that can be reused as input
|
||||
@@ -10201,14 +10209,15 @@ Same as
|
||||
.PP
|
||||
If
|
||||
.B \-o
|
||||
is supplied with no \fIoption\-name\fP, the values of the current options are
|
||||
printed.
|
||||
is supplied with no \fIoption\-name\fP,
|
||||
\fBset\fP prints the current shell option settings.
|
||||
If
|
||||
.B +o
|
||||
is supplied with no \fIoption\-name\fP, a series of
|
||||
is supplied with no \fIoption\-name\fP,
|
||||
\fBset\fP prints a series of
|
||||
.B set
|
||||
commands to recreate the current option settings is displayed on
|
||||
the standard output.
|
||||
commands to recreate the current option settings
|
||||
on the standard output.
|
||||
.RE
|
||||
.TP 8
|
||||
.B \-p
|
||||
|
||||
+210
-201
@@ -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, 7 July 2023).
|
||||
Bash shell (version 5.3, 19 July 2023).
|
||||
|
||||
This is Edition 5.3, last updated 7 July 2023, of 'The GNU Bash
|
||||
This is Edition 5.3, last updated 19 July 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, 7 July 2023). The Bash home page is
|
||||
Bash shell (version 5.3, 19 July 2023). The Bash home page is
|
||||
<http://www.gnu.org/software/bash/>.
|
||||
|
||||
This is Edition 5.3, last updated 7 July 2023, of 'The GNU Bash
|
||||
This is Edition 5.3, last updated 19 July 2023, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 5.3.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -4537,6 +4537,8 @@ 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 -o
|
||||
set +o
|
||||
|
||||
If no options or arguments are supplied, 'set' displays the names
|
||||
and values of all shell variables and functions, sorted according
|
||||
@@ -4612,7 +4614,12 @@ parameters, or to display the names and values of shell variables.
|
||||
|
||||
'-o OPTION-NAME'
|
||||
|
||||
Set the option corresponding to OPTION-NAME:
|
||||
Set the option corresponding to OPTION-NAME. If '-o' is
|
||||
supplied with no OPTION-NAME, 'set' prints the current shell
|
||||
options settings. If '+o' is supplied with no OPTION-NAME,
|
||||
'set' prints a series of 'set' commands to recreate the
|
||||
current option settings on the standard output. Valid option
|
||||
names are:
|
||||
|
||||
'allexport'
|
||||
Same as '-a'.
|
||||
@@ -8338,8 +8345,11 @@ Variable Settings
|
||||
|
||||
'bind-tty-special-chars'
|
||||
If set to 'on' (the default), Readline attempts to bind the
|
||||
control characters treated specially by the kernel's terminal
|
||||
driver to their Readline equivalents.
|
||||
control characters that are treated specially by the kernel's
|
||||
terminal driver to their Readline equivalents. These override
|
||||
the default Readline bindings described here. Type 'stty -a'
|
||||
at a Bash prompt to see your current terminal settings,
|
||||
including the special control characters (usually 'cchars').
|
||||
|
||||
'blink-matching-paren'
|
||||
If set to 'on', Readline attempts to briefly move the cursor
|
||||
@@ -9219,6 +9229,13 @@ File: bash.info, Node: Commands For Text, Next: Commands For Killing, Prev: C
|
||||
past that word as well. If the insertion point is at the end of
|
||||
the line, this transposes the last two words on the line.
|
||||
|
||||
'shell-transpose-words (M-C-t)'
|
||||
Drag the word before point past the word after point, moving point
|
||||
past that word as well. If the insertion point is at the end of
|
||||
the line, this transposes the last two words on the line. Word
|
||||
boundaries are the same as 'shell-forward-word' and
|
||||
'shell-backward-word'.
|
||||
|
||||
'upcase-word (M-u)'
|
||||
Uppercase the current (or following) word. With a negative
|
||||
argument, uppercase the previous word, but do not move the cursor.
|
||||
@@ -9286,13 +9303,6 @@ File: bash.info, Node: Commands For Killing, Next: Numeric Arguments, Prev: C
|
||||
Kill the word behind point. Word boundaries are the same as
|
||||
'shell-backward-word'.
|
||||
|
||||
'shell-transpose-words (M-C-t)'
|
||||
Drag the word before point past the word after point, moving point
|
||||
past that word as well. If the insertion point is at the end of
|
||||
the line, this transposes the last two words on the line. Word
|
||||
boundaries are the same as 'shell-forward-word' and
|
||||
'shell-backward-word'.
|
||||
|
||||
'unix-word-rubout (C-w)'
|
||||
Kill the word behind point, using white space as a word boundary.
|
||||
The killed text is saved on the kill-ring.
|
||||
@@ -12247,27 +12257,27 @@ D.3 Parameter and Variable Index
|
||||
* bind-tty-special-chars: Readline Init File Syntax.
|
||||
(line 71)
|
||||
* blink-matching-paren: Readline Init File Syntax.
|
||||
(line 76)
|
||||
(line 79)
|
||||
* CDPATH: Bourne Shell Variables.
|
||||
(line 9)
|
||||
* CHILD_MAX: Bash Variables. (line 213)
|
||||
* colored-completion-prefix: Readline Init File Syntax.
|
||||
(line 81)
|
||||
(line 84)
|
||||
* colored-stats: Readline Init File Syntax.
|
||||
(line 91)
|
||||
(line 94)
|
||||
* COLUMNS: Bash Variables. (line 220)
|
||||
* comment-begin: Readline Init File Syntax.
|
||||
(line 97)
|
||||
(line 100)
|
||||
* completion-display-width: Readline Init File Syntax.
|
||||
(line 102)
|
||||
(line 105)
|
||||
* completion-ignore-case: Readline Init File Syntax.
|
||||
(line 109)
|
||||
(line 112)
|
||||
* completion-map-case: Readline Init File Syntax.
|
||||
(line 114)
|
||||
(line 117)
|
||||
* completion-prefix-display-length: Readline Init File Syntax.
|
||||
(line 120)
|
||||
(line 123)
|
||||
* completion-query-items: Readline Init File Syntax.
|
||||
(line 127)
|
||||
(line 130)
|
||||
* COMPREPLY: Bash Variables. (line 272)
|
||||
* COMP_CWORD: Bash Variables. (line 226)
|
||||
* COMP_KEY: Bash Variables. (line 255)
|
||||
@@ -12277,31 +12287,31 @@ D.3 Parameter and Variable Index
|
||||
* COMP_WORDBREAKS: Bash Variables. (line 259)
|
||||
* COMP_WORDS: Bash Variables. (line 265)
|
||||
* convert-meta: Readline Init File Syntax.
|
||||
(line 138)
|
||||
(line 141)
|
||||
* COPROC: Bash Variables. (line 278)
|
||||
* DIRSTACK: Bash Variables. (line 282)
|
||||
* disable-completion: Readline Init File Syntax.
|
||||
(line 148)
|
||||
(line 151)
|
||||
* echo-control-characters: Readline Init File Syntax.
|
||||
(line 153)
|
||||
(line 156)
|
||||
* editing-mode: Readline Init File Syntax.
|
||||
(line 158)
|
||||
(line 161)
|
||||
* EMACS: Bash Variables. (line 292)
|
||||
* emacs-mode-string: Readline Init File Syntax.
|
||||
(line 164)
|
||||
(line 167)
|
||||
* enable-active-region: Readline Init File Syntax.
|
||||
(line 174)
|
||||
(line 177)
|
||||
* enable-bracketed-paste: Readline Init File Syntax.
|
||||
(line 187)
|
||||
(line 190)
|
||||
* enable-keypad: Readline Init File Syntax.
|
||||
(line 196)
|
||||
(line 199)
|
||||
* ENV: Bash Variables. (line 297)
|
||||
* EPOCHREALTIME: Bash Variables. (line 302)
|
||||
* EPOCHSECONDS: Bash Variables. (line 310)
|
||||
* EUID: Bash Variables. (line 317)
|
||||
* EXECIGNORE: Bash Variables. (line 321)
|
||||
* expand-tilde: Readline Init File Syntax.
|
||||
(line 207)
|
||||
(line 210)
|
||||
* FCEDIT: Bash Variables. (line 334)
|
||||
* FIGNORE: Bash Variables. (line 338)
|
||||
* FUNCNAME: Bash Variables. (line 344)
|
||||
@@ -12316,15 +12326,15 @@ D.3 Parameter and Variable Index
|
||||
* HISTFILESIZE: Bash Variables. (line 446)
|
||||
* HISTIGNORE: Bash Variables. (line 457)
|
||||
* history-preserve-point: Readline Init File Syntax.
|
||||
(line 211)
|
||||
(line 214)
|
||||
* history-size: Readline Init File Syntax.
|
||||
(line 217)
|
||||
(line 220)
|
||||
* HISTSIZE: Bash Variables. (line 477)
|
||||
* HISTTIMEFORMAT: Bash Variables. (line 484)
|
||||
* HOME: Bourne Shell Variables.
|
||||
(line 13)
|
||||
* horizontal-scroll-mode: Readline Init File Syntax.
|
||||
(line 226)
|
||||
(line 229)
|
||||
* HOSTFILE: Bash Variables. (line 492)
|
||||
* HOSTNAME: Bash Variables. (line 503)
|
||||
* HOSTTYPE: Bash Variables. (line 506)
|
||||
@@ -12332,13 +12342,13 @@ D.3 Parameter and Variable Index
|
||||
(line 18)
|
||||
* IGNOREEOF: Bash Variables. (line 509)
|
||||
* input-meta: Readline Init File Syntax.
|
||||
(line 235)
|
||||
(line 238)
|
||||
* INPUTRC: Bash Variables. (line 519)
|
||||
* INSIDE_EMACS: Bash Variables. (line 523)
|
||||
* isearch-terminators: Readline Init File Syntax.
|
||||
(line 245)
|
||||
(line 248)
|
||||
* keymap: Readline Init File Syntax.
|
||||
(line 252)
|
||||
(line 255)
|
||||
* LANG: Creating Internationalized Scripts.
|
||||
(line 51)
|
||||
* LANG <1>: Bash Variables. (line 529)
|
||||
@@ -12360,15 +12370,15 @@ D.3 Parameter and Variable Index
|
||||
(line 27)
|
||||
* MAPFILE: Bash Variables. (line 584)
|
||||
* mark-modified-lines: Readline Init File Syntax.
|
||||
(line 282)
|
||||
(line 285)
|
||||
* mark-symlinked-directories: Readline Init File Syntax.
|
||||
(line 287)
|
||||
(line 290)
|
||||
* match-hidden-files: Readline Init File Syntax.
|
||||
(line 292)
|
||||
(line 295)
|
||||
* menu-complete-display-prefix: Readline Init File Syntax.
|
||||
(line 299)
|
||||
(line 302)
|
||||
* meta-flag: Readline Init File Syntax.
|
||||
(line 235)
|
||||
(line 238)
|
||||
* OLDPWD: Bash Variables. (line 588)
|
||||
* OPTARG: Bourne Shell Variables.
|
||||
(line 34)
|
||||
@@ -12377,9 +12387,9 @@ D.3 Parameter and Variable Index
|
||||
(line 38)
|
||||
* OSTYPE: Bash Variables. (line 595)
|
||||
* output-meta: Readline Init File Syntax.
|
||||
(line 304)
|
||||
(line 307)
|
||||
* page-completions: Readline Init File Syntax.
|
||||
(line 312)
|
||||
(line 315)
|
||||
* PATH: Bourne Shell Variables.
|
||||
(line 42)
|
||||
* PIPESTATUS: Bash Variables. (line 598)
|
||||
@@ -12402,21 +12412,21 @@ D.3 Parameter and Variable Index
|
||||
* READLINE_POINT: Bash Variables. (line 670)
|
||||
* REPLY: Bash Variables. (line 674)
|
||||
* revert-all-at-newline: Readline Init File Syntax.
|
||||
(line 322)
|
||||
(line 325)
|
||||
* search-ignore-case: Readline Init File Syntax.
|
||||
(line 329)
|
||||
(line 332)
|
||||
* SECONDS: Bash Variables. (line 677)
|
||||
* SHELL: Bash Variables. (line 686)
|
||||
* SHELLOPTS: Bash Variables. (line 691)
|
||||
* SHLVL: Bash Variables. (line 700)
|
||||
* show-all-if-ambiguous: Readline Init File Syntax.
|
||||
(line 334)
|
||||
(line 337)
|
||||
* show-all-if-unmodified: Readline Init File Syntax.
|
||||
(line 340)
|
||||
(line 343)
|
||||
* show-mode-in-prompt: Readline Init File Syntax.
|
||||
(line 349)
|
||||
(line 352)
|
||||
* skip-completed-text: Readline Init File Syntax.
|
||||
(line 355)
|
||||
(line 358)
|
||||
* SRANDOM: Bash Variables. (line 705)
|
||||
* TEXTDOMAIN: Creating Internationalized Scripts.
|
||||
(line 51)
|
||||
@@ -12427,11 +12437,11 @@ D.3 Parameter and Variable Index
|
||||
* TMPDIR: Bash Variables. (line 764)
|
||||
* UID: Bash Variables. (line 768)
|
||||
* vi-cmd-mode-string: Readline Init File Syntax.
|
||||
(line 368)
|
||||
(line 371)
|
||||
* vi-ins-mode-string: Readline Init File Syntax.
|
||||
(line 379)
|
||||
(line 382)
|
||||
* visible-stats: Readline Init File Syntax.
|
||||
(line 390)
|
||||
(line 393)
|
||||
|
||||
|
||||
File: bash.info, Node: Function Index, Next: Concept Index, Prev: Variable Index, Up: Indexes
|
||||
@@ -12460,7 +12470,7 @@ D.4 Function Index
|
||||
* beginning-of-line (C-a): Commands For Moving. (line 6)
|
||||
* bracketed-paste-begin (): Commands For Text. (line 33)
|
||||
* call-last-kbd-macro (C-x e): Keyboard Macros. (line 13)
|
||||
* capitalize-word (M-c): Commands For Text. (line 66)
|
||||
* capitalize-word (M-c): Commands For Text. (line 73)
|
||||
* character-search (C-]): Miscellaneous Commands.
|
||||
(line 42)
|
||||
* character-search-backward (M-C-]): Miscellaneous Commands.
|
||||
@@ -12482,24 +12492,24 @@ D.4 Function Index
|
||||
* complete-variable (M-$): Commands For Completion.
|
||||
(line 64)
|
||||
* copy-backward-word (): Commands For Killing.
|
||||
(line 69)
|
||||
(line 62)
|
||||
* copy-forward-word (): Commands For Killing.
|
||||
(line 74)
|
||||
(line 67)
|
||||
* copy-region-as-kill (): Commands For Killing.
|
||||
(line 65)
|
||||
(line 58)
|
||||
* dabbrev-expand (): Commands For Completion.
|
||||
(line 95)
|
||||
* delete-char (C-d): Commands For Text. (line 12)
|
||||
* delete-char-or-list (): Commands For Completion.
|
||||
(line 43)
|
||||
* delete-horizontal-space (): Commands For Killing.
|
||||
(line 57)
|
||||
(line 50)
|
||||
* digit-argument (M-0, M-1, ... M--): Numeric Arguments. (line 6)
|
||||
* display-shell-version (C-x C-v): Miscellaneous Commands.
|
||||
(line 116)
|
||||
* do-lowercase-version (M-A, M-B, M-X, ...): Miscellaneous Commands.
|
||||
(line 14)
|
||||
* downcase-word (M-l): Commands For Text. (line 62)
|
||||
* downcase-word (M-l): Commands For Text. (line 69)
|
||||
* dump-functions (): Miscellaneous Commands.
|
||||
(line 74)
|
||||
* dump-macros (): Miscellaneous Commands.
|
||||
@@ -12551,7 +12561,7 @@ D.4 Function Index
|
||||
* kill-line (C-k): Commands For Killing.
|
||||
(line 6)
|
||||
* kill-region (): Commands For Killing.
|
||||
(line 61)
|
||||
(line 54)
|
||||
* kill-whole-line (): Commands For Killing.
|
||||
(line 19)
|
||||
* kill-word (M-d): Commands For Killing.
|
||||
@@ -12571,7 +12581,7 @@ D.4 Function Index
|
||||
(line 39)
|
||||
* operate-and-get-next (C-o): Commands For History.
|
||||
(line 96)
|
||||
* overwrite-mode (): Commands For Text. (line 70)
|
||||
* overwrite-mode (): Commands For Text. (line 77)
|
||||
* possible-command-completions (C-x !): Commands For Completion.
|
||||
(line 86)
|
||||
* possible-completions (M-?): Commands For Completion.
|
||||
@@ -12609,8 +12619,7 @@ D.4 Function Index
|
||||
* shell-forward-word (M-C-f): Commands For Moving. (line 26)
|
||||
* shell-kill-word (M-C-d): Commands For Killing.
|
||||
(line 32)
|
||||
* shell-transpose-words (M-C-t): Commands For Killing.
|
||||
(line 41)
|
||||
* shell-transpose-words (M-C-t): Commands For Text. (line 58)
|
||||
* skip-csi-sequence (): Miscellaneous Commands.
|
||||
(line 52)
|
||||
* spell-correct-word (C-x s): Miscellaneous Commands.
|
||||
@@ -12624,20 +12633,20 @@ D.4 Function Index
|
||||
(line 23)
|
||||
* universal-argument (): Numeric Arguments. (line 10)
|
||||
* unix-filename-rubout (): Commands For Killing.
|
||||
(line 52)
|
||||
(line 45)
|
||||
* unix-line-discard (C-u): Commands For Killing.
|
||||
(line 16)
|
||||
* unix-word-rubout (C-w): Commands For Killing.
|
||||
(line 48)
|
||||
* upcase-word (M-u): Commands For Text. (line 58)
|
||||
(line 41)
|
||||
* upcase-word (M-u): Commands For Text. (line 65)
|
||||
* yank (C-y): Commands For Killing.
|
||||
(line 79)
|
||||
(line 72)
|
||||
* yank-last-arg (M-. or M-_): Commands For History.
|
||||
(line 84)
|
||||
* yank-nth-arg (M-C-y): Commands For History.
|
||||
(line 75)
|
||||
* yank-pop (M-y): Commands For Killing.
|
||||
(line 82)
|
||||
(line 75)
|
||||
|
||||
|
||||
File: bash.info, Node: Concept Index, Prev: Function Index, Up: Indexes
|
||||
@@ -12816,138 +12825,138 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top884
|
||||
Node: Introduction2791
|
||||
Node: What is Bash?3004
|
||||
Node: What is a shell?4115
|
||||
Node: Definitions6650
|
||||
Node: Basic Shell Features9598
|
||||
Node: Shell Syntax10814
|
||||
Node: Shell Operation11837
|
||||
Node: Quoting13127
|
||||
Node: Escape Character14428
|
||||
Node: Single Quotes14910
|
||||
Node: Double Quotes15255
|
||||
Node: ANSI-C Quoting16530
|
||||
Node: Locale Translation17839
|
||||
Node: Creating Internationalized Scripts19147
|
||||
Node: Comments23261
|
||||
Node: Shell Commands23876
|
||||
Node: Reserved Words24811
|
||||
Node: Simple Commands25564
|
||||
Node: Pipelines26215
|
||||
Node: Lists29198
|
||||
Node: Compound Commands30990
|
||||
Node: Looping Constructs31999
|
||||
Node: Conditional Constructs34491
|
||||
Node: Command Grouping48976
|
||||
Node: Coprocesses50451
|
||||
Node: GNU Parallel53111
|
||||
Node: Shell Functions54025
|
||||
Node: Shell Parameters61907
|
||||
Node: Positional Parameters66292
|
||||
Node: Special Parameters67191
|
||||
Node: Shell Expansions70402
|
||||
Node: Brace Expansion72487
|
||||
Node: Tilde Expansion75218
|
||||
Node: Shell Parameter Expansion77836
|
||||
Node: Command Substitution96235
|
||||
Node: Arithmetic Expansion99696
|
||||
Node: Process Substitution100661
|
||||
Node: Word Splitting101778
|
||||
Node: Filename Expansion103823
|
||||
Node: Pattern Matching106753
|
||||
Node: Quote Removal111752
|
||||
Node: Redirections112044
|
||||
Node: Executing Commands121734
|
||||
Node: Simple Command Expansion122401
|
||||
Node: Command Search and Execution124508
|
||||
Node: Command Execution Environment126892
|
||||
Node: Environment129924
|
||||
Node: Exit Status131584
|
||||
Node: Signals133365
|
||||
Node: Shell Scripts136811
|
||||
Node: Shell Builtin Commands139835
|
||||
Node: Bourne Shell Builtins141870
|
||||
Node: Bash Builtins165003
|
||||
Node: Modifying Shell Behavior196999
|
||||
Node: The Set Builtin197341
|
||||
Node: The Shopt Builtin207936
|
||||
Node: Special Builtins223940
|
||||
Node: Shell Variables224916
|
||||
Node: Bourne Shell Variables225350
|
||||
Node: Bash Variables227451
|
||||
Node: Bash Features262405
|
||||
Node: Invoking Bash263415
|
||||
Node: Bash Startup Files269425
|
||||
Node: Interactive Shells274553
|
||||
Node: What is an Interactive Shell?274961
|
||||
Node: Is this Shell Interactive?275607
|
||||
Node: Interactive Shell Behavior276419
|
||||
Node: Bash Conditional Expressions280045
|
||||
Node: Shell Arithmetic284684
|
||||
Node: Aliases287642
|
||||
Node: Arrays290533
|
||||
Node: The Directory Stack297093
|
||||
Node: Directory Stack Builtins297874
|
||||
Node: Controlling the Prompt302131
|
||||
Node: The Restricted Shell305093
|
||||
Node: Bash POSIX Mode307700
|
||||
Node: Shell Compatibility Mode323840
|
||||
Node: Job Control332081
|
||||
Node: Job Control Basics332538
|
||||
Node: Job Control Builtins337537
|
||||
Node: Job Control Variables343329
|
||||
Node: Command Line Editing344482
|
||||
Node: Introduction and Notation346150
|
||||
Node: Readline Interaction347770
|
||||
Node: Readline Bare Essentials348958
|
||||
Node: Readline Movement Commands350744
|
||||
Node: Readline Killing Commands351701
|
||||
Node: Readline Arguments353619
|
||||
Node: Searching354660
|
||||
Node: Readline Init File356843
|
||||
Node: Readline Init File Syntax358101
|
||||
Node: Conditional Init Constructs381889
|
||||
Node: Sample Init File386082
|
||||
Node: Bindable Readline Commands389203
|
||||
Node: Commands For Moving390404
|
||||
Node: Commands For History392452
|
||||
Node: Commands For Text397443
|
||||
Node: Commands For Killing401089
|
||||
Node: Numeric Arguments404119
|
||||
Node: Commands For Completion405255
|
||||
Node: Keyboard Macros409443
|
||||
Node: Miscellaneous Commands410128
|
||||
Node: Readline vi Mode416163
|
||||
Node: Programmable Completion417067
|
||||
Node: Programmable Completion Builtins424844
|
||||
Node: A Programmable Completion Example435961
|
||||
Node: Using History Interactively441206
|
||||
Node: Bash History Facilities441887
|
||||
Node: Bash History Builtins444889
|
||||
Node: History Interaction449910
|
||||
Node: Event Designators453527
|
||||
Node: Word Designators454878
|
||||
Node: Modifiers456635
|
||||
Node: Installing Bash458440
|
||||
Node: Basic Installation459574
|
||||
Node: Compilers and Options463293
|
||||
Node: Compiling For Multiple Architectures464031
|
||||
Node: Installation Names465720
|
||||
Node: Specifying the System Type467826
|
||||
Node: Sharing Defaults468540
|
||||
Node: Operation Controls469210
|
||||
Node: Optional Features470165
|
||||
Node: Reporting Bugs481381
|
||||
Node: Major Differences From The Bourne Shell482712
|
||||
Node: GNU Free Documentation License499558
|
||||
Node: Indexes524732
|
||||
Node: Builtin Index525183
|
||||
Node: Reserved Word Index532281
|
||||
Node: Variable Index534726
|
||||
Node: Function Index551857
|
||||
Node: Concept Index565638
|
||||
Node: Top886
|
||||
Node: Introduction2795
|
||||
Node: What is Bash?3008
|
||||
Node: What is a shell?4119
|
||||
Node: Definitions6654
|
||||
Node: Basic Shell Features9602
|
||||
Node: Shell Syntax10818
|
||||
Node: Shell Operation11841
|
||||
Node: Quoting13131
|
||||
Node: Escape Character14432
|
||||
Node: Single Quotes14914
|
||||
Node: Double Quotes15259
|
||||
Node: ANSI-C Quoting16534
|
||||
Node: Locale Translation17843
|
||||
Node: Creating Internationalized Scripts19151
|
||||
Node: Comments23265
|
||||
Node: Shell Commands23880
|
||||
Node: Reserved Words24815
|
||||
Node: Simple Commands25568
|
||||
Node: Pipelines26219
|
||||
Node: Lists29202
|
||||
Node: Compound Commands30994
|
||||
Node: Looping Constructs32003
|
||||
Node: Conditional Constructs34495
|
||||
Node: Command Grouping48980
|
||||
Node: Coprocesses50455
|
||||
Node: GNU Parallel53115
|
||||
Node: Shell Functions54029
|
||||
Node: Shell Parameters61911
|
||||
Node: Positional Parameters66296
|
||||
Node: Special Parameters67195
|
||||
Node: Shell Expansions70406
|
||||
Node: Brace Expansion72491
|
||||
Node: Tilde Expansion75222
|
||||
Node: Shell Parameter Expansion77840
|
||||
Node: Command Substitution96239
|
||||
Node: Arithmetic Expansion99700
|
||||
Node: Process Substitution100665
|
||||
Node: Word Splitting101782
|
||||
Node: Filename Expansion103827
|
||||
Node: Pattern Matching106757
|
||||
Node: Quote Removal111756
|
||||
Node: Redirections112048
|
||||
Node: Executing Commands121738
|
||||
Node: Simple Command Expansion122405
|
||||
Node: Command Search and Execution124512
|
||||
Node: Command Execution Environment126896
|
||||
Node: Environment129928
|
||||
Node: Exit Status131588
|
||||
Node: Signals133369
|
||||
Node: Shell Scripts136815
|
||||
Node: Shell Builtin Commands139839
|
||||
Node: Bourne Shell Builtins141874
|
||||
Node: Bash Builtins165007
|
||||
Node: Modifying Shell Behavior197003
|
||||
Node: The Set Builtin197345
|
||||
Node: The Shopt Builtin208286
|
||||
Node: Special Builtins224290
|
||||
Node: Shell Variables225266
|
||||
Node: Bourne Shell Variables225700
|
||||
Node: Bash Variables227801
|
||||
Node: Bash Features262755
|
||||
Node: Invoking Bash263765
|
||||
Node: Bash Startup Files269775
|
||||
Node: Interactive Shells274903
|
||||
Node: What is an Interactive Shell?275311
|
||||
Node: Is this Shell Interactive?275957
|
||||
Node: Interactive Shell Behavior276769
|
||||
Node: Bash Conditional Expressions280395
|
||||
Node: Shell Arithmetic285034
|
||||
Node: Aliases287992
|
||||
Node: Arrays290883
|
||||
Node: The Directory Stack297443
|
||||
Node: Directory Stack Builtins298224
|
||||
Node: Controlling the Prompt302481
|
||||
Node: The Restricted Shell305443
|
||||
Node: Bash POSIX Mode308050
|
||||
Node: Shell Compatibility Mode324190
|
||||
Node: Job Control332431
|
||||
Node: Job Control Basics332888
|
||||
Node: Job Control Builtins337887
|
||||
Node: Job Control Variables343679
|
||||
Node: Command Line Editing344832
|
||||
Node: Introduction and Notation346500
|
||||
Node: Readline Interaction348120
|
||||
Node: Readline Bare Essentials349308
|
||||
Node: Readline Movement Commands351094
|
||||
Node: Readline Killing Commands352051
|
||||
Node: Readline Arguments353969
|
||||
Node: Searching355010
|
||||
Node: Readline Init File357193
|
||||
Node: Readline Init File Syntax358451
|
||||
Node: Conditional Init Constructs382473
|
||||
Node: Sample Init File386666
|
||||
Node: Bindable Readline Commands389787
|
||||
Node: Commands For Moving390988
|
||||
Node: Commands For History393036
|
||||
Node: Commands For Text398027
|
||||
Node: Commands For Killing402002
|
||||
Node: Numeric Arguments404703
|
||||
Node: Commands For Completion405839
|
||||
Node: Keyboard Macros410027
|
||||
Node: Miscellaneous Commands410712
|
||||
Node: Readline vi Mode416747
|
||||
Node: Programmable Completion417651
|
||||
Node: Programmable Completion Builtins425428
|
||||
Node: A Programmable Completion Example436545
|
||||
Node: Using History Interactively441790
|
||||
Node: Bash History Facilities442471
|
||||
Node: Bash History Builtins445473
|
||||
Node: History Interaction450494
|
||||
Node: Event Designators454111
|
||||
Node: Word Designators455462
|
||||
Node: Modifiers457219
|
||||
Node: Installing Bash459024
|
||||
Node: Basic Installation460158
|
||||
Node: Compilers and Options463877
|
||||
Node: Compiling For Multiple Architectures464615
|
||||
Node: Installation Names466304
|
||||
Node: Specifying the System Type468410
|
||||
Node: Sharing Defaults469124
|
||||
Node: Operation Controls469794
|
||||
Node: Optional Features470749
|
||||
Node: Reporting Bugs481965
|
||||
Node: Major Differences From The Bourne Shell483296
|
||||
Node: GNU Free Documentation License500142
|
||||
Node: Indexes525316
|
||||
Node: Builtin Index525767
|
||||
Node: Reserved Word Index532865
|
||||
Node: Variable Index535310
|
||||
Node: Function Index552441
|
||||
Node: Concept Index566159
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
+210
-201
@@ -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, 7 July 2023).
|
||||
Bash shell (version 5.3, 19 July 2023).
|
||||
|
||||
This is Edition 5.3, last updated 7 July 2023, of 'The GNU Bash
|
||||
This is Edition 5.3, last updated 19 July 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, 7 July 2023). The Bash home page is
|
||||
Bash shell (version 5.3, 19 July 2023). The Bash home page is
|
||||
<http://www.gnu.org/software/bash/>.
|
||||
|
||||
This is Edition 5.3, last updated 7 July 2023, of 'The GNU Bash
|
||||
This is Edition 5.3, last updated 19 July 2023, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 5.3.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -4538,6 +4538,8 @@ 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 -o
|
||||
set +o
|
||||
|
||||
If no options or arguments are supplied, 'set' displays the names
|
||||
and values of all shell variables and functions, sorted according
|
||||
@@ -4613,7 +4615,12 @@ parameters, or to display the names and values of shell variables.
|
||||
|
||||
'-o OPTION-NAME'
|
||||
|
||||
Set the option corresponding to OPTION-NAME:
|
||||
Set the option corresponding to OPTION-NAME. If '-o' is
|
||||
supplied with no OPTION-NAME, 'set' prints the current shell
|
||||
options settings. If '+o' is supplied with no OPTION-NAME,
|
||||
'set' prints a series of 'set' commands to recreate the
|
||||
current option settings on the standard output. Valid option
|
||||
names are:
|
||||
|
||||
'allexport'
|
||||
Same as '-a'.
|
||||
@@ -8339,8 +8346,11 @@ Variable Settings
|
||||
|
||||
'bind-tty-special-chars'
|
||||
If set to 'on' (the default), Readline attempts to bind the
|
||||
control characters treated specially by the kernel's terminal
|
||||
driver to their Readline equivalents.
|
||||
control characters that are treated specially by the kernel's
|
||||
terminal driver to their Readline equivalents. These override
|
||||
the default Readline bindings described here. Type 'stty -a'
|
||||
at a Bash prompt to see your current terminal settings,
|
||||
including the special control characters (usually 'cchars').
|
||||
|
||||
'blink-matching-paren'
|
||||
If set to 'on', Readline attempts to briefly move the cursor
|
||||
@@ -9220,6 +9230,13 @@ File: bashref.info, Node: Commands For Text, Next: Commands For Killing, Prev
|
||||
past that word as well. If the insertion point is at the end of
|
||||
the line, this transposes the last two words on the line.
|
||||
|
||||
'shell-transpose-words (M-C-t)'
|
||||
Drag the word before point past the word after point, moving point
|
||||
past that word as well. If the insertion point is at the end of
|
||||
the line, this transposes the last two words on the line. Word
|
||||
boundaries are the same as 'shell-forward-word' and
|
||||
'shell-backward-word'.
|
||||
|
||||
'upcase-word (M-u)'
|
||||
Uppercase the current (or following) word. With a negative
|
||||
argument, uppercase the previous word, but do not move the cursor.
|
||||
@@ -9287,13 +9304,6 @@ File: bashref.info, Node: Commands For Killing, Next: Numeric Arguments, Prev
|
||||
Kill the word behind point. Word boundaries are the same as
|
||||
'shell-backward-word'.
|
||||
|
||||
'shell-transpose-words (M-C-t)'
|
||||
Drag the word before point past the word after point, moving point
|
||||
past that word as well. If the insertion point is at the end of
|
||||
the line, this transposes the last two words on the line. Word
|
||||
boundaries are the same as 'shell-forward-word' and
|
||||
'shell-backward-word'.
|
||||
|
||||
'unix-word-rubout (C-w)'
|
||||
Kill the word behind point, using white space as a word boundary.
|
||||
The killed text is saved on the kill-ring.
|
||||
@@ -12248,27 +12258,27 @@ D.3 Parameter and Variable Index
|
||||
* bind-tty-special-chars: Readline Init File Syntax.
|
||||
(line 71)
|
||||
* blink-matching-paren: Readline Init File Syntax.
|
||||
(line 76)
|
||||
(line 79)
|
||||
* CDPATH: Bourne Shell Variables.
|
||||
(line 9)
|
||||
* CHILD_MAX: Bash Variables. (line 213)
|
||||
* colored-completion-prefix: Readline Init File Syntax.
|
||||
(line 81)
|
||||
(line 84)
|
||||
* colored-stats: Readline Init File Syntax.
|
||||
(line 91)
|
||||
(line 94)
|
||||
* COLUMNS: Bash Variables. (line 220)
|
||||
* comment-begin: Readline Init File Syntax.
|
||||
(line 97)
|
||||
(line 100)
|
||||
* completion-display-width: Readline Init File Syntax.
|
||||
(line 102)
|
||||
(line 105)
|
||||
* completion-ignore-case: Readline Init File Syntax.
|
||||
(line 109)
|
||||
(line 112)
|
||||
* completion-map-case: Readline Init File Syntax.
|
||||
(line 114)
|
||||
(line 117)
|
||||
* completion-prefix-display-length: Readline Init File Syntax.
|
||||
(line 120)
|
||||
(line 123)
|
||||
* completion-query-items: Readline Init File Syntax.
|
||||
(line 127)
|
||||
(line 130)
|
||||
* COMPREPLY: Bash Variables. (line 272)
|
||||
* COMP_CWORD: Bash Variables. (line 226)
|
||||
* COMP_KEY: Bash Variables. (line 255)
|
||||
@@ -12278,31 +12288,31 @@ D.3 Parameter and Variable Index
|
||||
* COMP_WORDBREAKS: Bash Variables. (line 259)
|
||||
* COMP_WORDS: Bash Variables. (line 265)
|
||||
* convert-meta: Readline Init File Syntax.
|
||||
(line 138)
|
||||
(line 141)
|
||||
* COPROC: Bash Variables. (line 278)
|
||||
* DIRSTACK: Bash Variables. (line 282)
|
||||
* disable-completion: Readline Init File Syntax.
|
||||
(line 148)
|
||||
(line 151)
|
||||
* echo-control-characters: Readline Init File Syntax.
|
||||
(line 153)
|
||||
(line 156)
|
||||
* editing-mode: Readline Init File Syntax.
|
||||
(line 158)
|
||||
(line 161)
|
||||
* EMACS: Bash Variables. (line 292)
|
||||
* emacs-mode-string: Readline Init File Syntax.
|
||||
(line 164)
|
||||
(line 167)
|
||||
* enable-active-region: Readline Init File Syntax.
|
||||
(line 174)
|
||||
(line 177)
|
||||
* enable-bracketed-paste: Readline Init File Syntax.
|
||||
(line 187)
|
||||
(line 190)
|
||||
* enable-keypad: Readline Init File Syntax.
|
||||
(line 196)
|
||||
(line 199)
|
||||
* ENV: Bash Variables. (line 297)
|
||||
* EPOCHREALTIME: Bash Variables. (line 302)
|
||||
* EPOCHSECONDS: Bash Variables. (line 310)
|
||||
* EUID: Bash Variables. (line 317)
|
||||
* EXECIGNORE: Bash Variables. (line 321)
|
||||
* expand-tilde: Readline Init File Syntax.
|
||||
(line 207)
|
||||
(line 210)
|
||||
* FCEDIT: Bash Variables. (line 334)
|
||||
* FIGNORE: Bash Variables. (line 338)
|
||||
* FUNCNAME: Bash Variables. (line 344)
|
||||
@@ -12317,15 +12327,15 @@ D.3 Parameter and Variable Index
|
||||
* HISTFILESIZE: Bash Variables. (line 446)
|
||||
* HISTIGNORE: Bash Variables. (line 457)
|
||||
* history-preserve-point: Readline Init File Syntax.
|
||||
(line 211)
|
||||
(line 214)
|
||||
* history-size: Readline Init File Syntax.
|
||||
(line 217)
|
||||
(line 220)
|
||||
* HISTSIZE: Bash Variables. (line 477)
|
||||
* HISTTIMEFORMAT: Bash Variables. (line 484)
|
||||
* HOME: Bourne Shell Variables.
|
||||
(line 13)
|
||||
* horizontal-scroll-mode: Readline Init File Syntax.
|
||||
(line 226)
|
||||
(line 229)
|
||||
* HOSTFILE: Bash Variables. (line 492)
|
||||
* HOSTNAME: Bash Variables. (line 503)
|
||||
* HOSTTYPE: Bash Variables. (line 506)
|
||||
@@ -12333,13 +12343,13 @@ D.3 Parameter and Variable Index
|
||||
(line 18)
|
||||
* IGNOREEOF: Bash Variables. (line 509)
|
||||
* input-meta: Readline Init File Syntax.
|
||||
(line 235)
|
||||
(line 238)
|
||||
* INPUTRC: Bash Variables. (line 519)
|
||||
* INSIDE_EMACS: Bash Variables. (line 523)
|
||||
* isearch-terminators: Readline Init File Syntax.
|
||||
(line 245)
|
||||
(line 248)
|
||||
* keymap: Readline Init File Syntax.
|
||||
(line 252)
|
||||
(line 255)
|
||||
* LANG: Creating Internationalized Scripts.
|
||||
(line 51)
|
||||
* LANG <1>: Bash Variables. (line 529)
|
||||
@@ -12361,15 +12371,15 @@ D.3 Parameter and Variable Index
|
||||
(line 27)
|
||||
* MAPFILE: Bash Variables. (line 584)
|
||||
* mark-modified-lines: Readline Init File Syntax.
|
||||
(line 282)
|
||||
(line 285)
|
||||
* mark-symlinked-directories: Readline Init File Syntax.
|
||||
(line 287)
|
||||
(line 290)
|
||||
* match-hidden-files: Readline Init File Syntax.
|
||||
(line 292)
|
||||
(line 295)
|
||||
* menu-complete-display-prefix: Readline Init File Syntax.
|
||||
(line 299)
|
||||
(line 302)
|
||||
* meta-flag: Readline Init File Syntax.
|
||||
(line 235)
|
||||
(line 238)
|
||||
* OLDPWD: Bash Variables. (line 588)
|
||||
* OPTARG: Bourne Shell Variables.
|
||||
(line 34)
|
||||
@@ -12378,9 +12388,9 @@ D.3 Parameter and Variable Index
|
||||
(line 38)
|
||||
* OSTYPE: Bash Variables. (line 595)
|
||||
* output-meta: Readline Init File Syntax.
|
||||
(line 304)
|
||||
(line 307)
|
||||
* page-completions: Readline Init File Syntax.
|
||||
(line 312)
|
||||
(line 315)
|
||||
* PATH: Bourne Shell Variables.
|
||||
(line 42)
|
||||
* PIPESTATUS: Bash Variables. (line 598)
|
||||
@@ -12403,21 +12413,21 @@ D.3 Parameter and Variable Index
|
||||
* READLINE_POINT: Bash Variables. (line 670)
|
||||
* REPLY: Bash Variables. (line 674)
|
||||
* revert-all-at-newline: Readline Init File Syntax.
|
||||
(line 322)
|
||||
(line 325)
|
||||
* search-ignore-case: Readline Init File Syntax.
|
||||
(line 329)
|
||||
(line 332)
|
||||
* SECONDS: Bash Variables. (line 677)
|
||||
* SHELL: Bash Variables. (line 686)
|
||||
* SHELLOPTS: Bash Variables. (line 691)
|
||||
* SHLVL: Bash Variables. (line 700)
|
||||
* show-all-if-ambiguous: Readline Init File Syntax.
|
||||
(line 334)
|
||||
(line 337)
|
||||
* show-all-if-unmodified: Readline Init File Syntax.
|
||||
(line 340)
|
||||
(line 343)
|
||||
* show-mode-in-prompt: Readline Init File Syntax.
|
||||
(line 349)
|
||||
(line 352)
|
||||
* skip-completed-text: Readline Init File Syntax.
|
||||
(line 355)
|
||||
(line 358)
|
||||
* SRANDOM: Bash Variables. (line 705)
|
||||
* TEXTDOMAIN: Creating Internationalized Scripts.
|
||||
(line 51)
|
||||
@@ -12428,11 +12438,11 @@ D.3 Parameter and Variable Index
|
||||
* TMPDIR: Bash Variables. (line 764)
|
||||
* UID: Bash Variables. (line 768)
|
||||
* vi-cmd-mode-string: Readline Init File Syntax.
|
||||
(line 368)
|
||||
(line 371)
|
||||
* vi-ins-mode-string: Readline Init File Syntax.
|
||||
(line 379)
|
||||
(line 382)
|
||||
* visible-stats: Readline Init File Syntax.
|
||||
(line 390)
|
||||
(line 393)
|
||||
|
||||
|
||||
File: bashref.info, Node: Function Index, Next: Concept Index, Prev: Variable Index, Up: Indexes
|
||||
@@ -12461,7 +12471,7 @@ D.4 Function Index
|
||||
* beginning-of-line (C-a): Commands For Moving. (line 6)
|
||||
* bracketed-paste-begin (): Commands For Text. (line 33)
|
||||
* call-last-kbd-macro (C-x e): Keyboard Macros. (line 13)
|
||||
* capitalize-word (M-c): Commands For Text. (line 66)
|
||||
* capitalize-word (M-c): Commands For Text. (line 73)
|
||||
* character-search (C-]): Miscellaneous Commands.
|
||||
(line 42)
|
||||
* character-search-backward (M-C-]): Miscellaneous Commands.
|
||||
@@ -12483,24 +12493,24 @@ D.4 Function Index
|
||||
* complete-variable (M-$): Commands For Completion.
|
||||
(line 64)
|
||||
* copy-backward-word (): Commands For Killing.
|
||||
(line 69)
|
||||
(line 62)
|
||||
* copy-forward-word (): Commands For Killing.
|
||||
(line 74)
|
||||
(line 67)
|
||||
* copy-region-as-kill (): Commands For Killing.
|
||||
(line 65)
|
||||
(line 58)
|
||||
* dabbrev-expand (): Commands For Completion.
|
||||
(line 95)
|
||||
* delete-char (C-d): Commands For Text. (line 12)
|
||||
* delete-char-or-list (): Commands For Completion.
|
||||
(line 43)
|
||||
* delete-horizontal-space (): Commands For Killing.
|
||||
(line 57)
|
||||
(line 50)
|
||||
* digit-argument (M-0, M-1, ... M--): Numeric Arguments. (line 6)
|
||||
* display-shell-version (C-x C-v): Miscellaneous Commands.
|
||||
(line 116)
|
||||
* do-lowercase-version (M-A, M-B, M-X, ...): Miscellaneous Commands.
|
||||
(line 14)
|
||||
* downcase-word (M-l): Commands For Text. (line 62)
|
||||
* downcase-word (M-l): Commands For Text. (line 69)
|
||||
* dump-functions (): Miscellaneous Commands.
|
||||
(line 74)
|
||||
* dump-macros (): Miscellaneous Commands.
|
||||
@@ -12552,7 +12562,7 @@ D.4 Function Index
|
||||
* kill-line (C-k): Commands For Killing.
|
||||
(line 6)
|
||||
* kill-region (): Commands For Killing.
|
||||
(line 61)
|
||||
(line 54)
|
||||
* kill-whole-line (): Commands For Killing.
|
||||
(line 19)
|
||||
* kill-word (M-d): Commands For Killing.
|
||||
@@ -12572,7 +12582,7 @@ D.4 Function Index
|
||||
(line 39)
|
||||
* operate-and-get-next (C-o): Commands For History.
|
||||
(line 96)
|
||||
* overwrite-mode (): Commands For Text. (line 70)
|
||||
* overwrite-mode (): Commands For Text. (line 77)
|
||||
* possible-command-completions (C-x !): Commands For Completion.
|
||||
(line 86)
|
||||
* possible-completions (M-?): Commands For Completion.
|
||||
@@ -12610,8 +12620,7 @@ D.4 Function Index
|
||||
* shell-forward-word (M-C-f): Commands For Moving. (line 26)
|
||||
* shell-kill-word (M-C-d): Commands For Killing.
|
||||
(line 32)
|
||||
* shell-transpose-words (M-C-t): Commands For Killing.
|
||||
(line 41)
|
||||
* shell-transpose-words (M-C-t): Commands For Text. (line 58)
|
||||
* skip-csi-sequence (): Miscellaneous Commands.
|
||||
(line 52)
|
||||
* spell-correct-word (C-x s): Miscellaneous Commands.
|
||||
@@ -12625,20 +12634,20 @@ D.4 Function Index
|
||||
(line 23)
|
||||
* universal-argument (): Numeric Arguments. (line 10)
|
||||
* unix-filename-rubout (): Commands For Killing.
|
||||
(line 52)
|
||||
(line 45)
|
||||
* unix-line-discard (C-u): Commands For Killing.
|
||||
(line 16)
|
||||
* unix-word-rubout (C-w): Commands For Killing.
|
||||
(line 48)
|
||||
* upcase-word (M-u): Commands For Text. (line 58)
|
||||
(line 41)
|
||||
* upcase-word (M-u): Commands For Text. (line 65)
|
||||
* yank (C-y): Commands For Killing.
|
||||
(line 79)
|
||||
(line 72)
|
||||
* yank-last-arg (M-. or M-_): Commands For History.
|
||||
(line 84)
|
||||
* yank-nth-arg (M-C-y): Commands For History.
|
||||
(line 75)
|
||||
* yank-pop (M-y): Commands For Killing.
|
||||
(line 82)
|
||||
(line 75)
|
||||
|
||||
|
||||
File: bashref.info, Node: Concept Index, Prev: Function Index, Up: Indexes
|
||||
@@ -12817,138 +12826,138 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top887
|
||||
Node: Introduction2797
|
||||
Node: What is Bash?3013
|
||||
Node: What is a shell?4127
|
||||
Node: Definitions6665
|
||||
Node: Basic Shell Features9616
|
||||
Node: Shell Syntax10835
|
||||
Node: Shell Operation11861
|
||||
Node: Quoting13154
|
||||
Node: Escape Character14458
|
||||
Node: Single Quotes14943
|
||||
Node: Double Quotes15291
|
||||
Node: ANSI-C Quoting16569
|
||||
Node: Locale Translation17881
|
||||
Node: Creating Internationalized Scripts19192
|
||||
Node: Comments23309
|
||||
Node: Shell Commands23927
|
||||
Node: Reserved Words24865
|
||||
Node: Simple Commands25621
|
||||
Node: Pipelines26275
|
||||
Node: Lists29261
|
||||
Node: Compound Commands31056
|
||||
Node: Looping Constructs32068
|
||||
Node: Conditional Constructs34563
|
||||
Node: Command Grouping49051
|
||||
Node: Coprocesses50529
|
||||
Node: GNU Parallel53192
|
||||
Node: Shell Functions54109
|
||||
Node: Shell Parameters61994
|
||||
Node: Positional Parameters66382
|
||||
Node: Special Parameters67284
|
||||
Node: Shell Expansions70498
|
||||
Node: Brace Expansion72586
|
||||
Node: Tilde Expansion75320
|
||||
Node: Shell Parameter Expansion77941
|
||||
Node: Command Substitution96343
|
||||
Node: Arithmetic Expansion99807
|
||||
Node: Process Substitution100775
|
||||
Node: Word Splitting101895
|
||||
Node: Filename Expansion103943
|
||||
Node: Pattern Matching106876
|
||||
Node: Quote Removal111878
|
||||
Node: Redirections112173
|
||||
Node: Executing Commands121866
|
||||
Node: Simple Command Expansion122536
|
||||
Node: Command Search and Execution124646
|
||||
Node: Command Execution Environment127033
|
||||
Node: Environment130068
|
||||
Node: Exit Status131731
|
||||
Node: Signals133515
|
||||
Node: Shell Scripts136964
|
||||
Node: Shell Builtin Commands139991
|
||||
Node: Bourne Shell Builtins142029
|
||||
Node: Bash Builtins165165
|
||||
Node: Modifying Shell Behavior197164
|
||||
Node: The Set Builtin197509
|
||||
Node: The Shopt Builtin208107
|
||||
Node: Special Builtins224114
|
||||
Node: Shell Variables225093
|
||||
Node: Bourne Shell Variables225530
|
||||
Node: Bash Variables227634
|
||||
Node: Bash Features262591
|
||||
Node: Invoking Bash263604
|
||||
Node: Bash Startup Files269617
|
||||
Node: Interactive Shells274748
|
||||
Node: What is an Interactive Shell?275159
|
||||
Node: Is this Shell Interactive?275808
|
||||
Node: Interactive Shell Behavior276623
|
||||
Node: Bash Conditional Expressions280252
|
||||
Node: Shell Arithmetic284894
|
||||
Node: Aliases287855
|
||||
Node: Arrays290749
|
||||
Node: The Directory Stack297312
|
||||
Node: Directory Stack Builtins298096
|
||||
Node: Controlling the Prompt302356
|
||||
Node: The Restricted Shell305321
|
||||
Node: Bash POSIX Mode307931
|
||||
Node: Shell Compatibility Mode324074
|
||||
Node: Job Control332318
|
||||
Node: Job Control Basics332778
|
||||
Node: Job Control Builtins337780
|
||||
Node: Job Control Variables343575
|
||||
Node: Command Line Editing344731
|
||||
Node: Introduction and Notation346402
|
||||
Node: Readline Interaction348025
|
||||
Node: Readline Bare Essentials349216
|
||||
Node: Readline Movement Commands351005
|
||||
Node: Readline Killing Commands351965
|
||||
Node: Readline Arguments353886
|
||||
Node: Searching354930
|
||||
Node: Readline Init File357116
|
||||
Node: Readline Init File Syntax358377
|
||||
Node: Conditional Init Constructs382168
|
||||
Node: Sample Init File386364
|
||||
Node: Bindable Readline Commands389488
|
||||
Node: Commands For Moving390692
|
||||
Node: Commands For History392743
|
||||
Node: Commands For Text397737
|
||||
Node: Commands For Killing401386
|
||||
Node: Numeric Arguments404419
|
||||
Node: Commands For Completion405558
|
||||
Node: Keyboard Macros409749
|
||||
Node: Miscellaneous Commands410437
|
||||
Node: Readline vi Mode416475
|
||||
Node: Programmable Completion417382
|
||||
Node: Programmable Completion Builtins425162
|
||||
Node: A Programmable Completion Example436282
|
||||
Node: Using History Interactively441530
|
||||
Node: Bash History Facilities442214
|
||||
Node: Bash History Builtins445219
|
||||
Node: History Interaction450243
|
||||
Node: Event Designators453863
|
||||
Node: Word Designators455217
|
||||
Node: Modifiers456977
|
||||
Node: Installing Bash458785
|
||||
Node: Basic Installation459922
|
||||
Node: Compilers and Options463644
|
||||
Node: Compiling For Multiple Architectures464385
|
||||
Node: Installation Names466077
|
||||
Node: Specifying the System Type468186
|
||||
Node: Sharing Defaults468903
|
||||
Node: Operation Controls469576
|
||||
Node: Optional Features470534
|
||||
Node: Reporting Bugs481753
|
||||
Node: Major Differences From The Bourne Shell483087
|
||||
Node: GNU Free Documentation License499936
|
||||
Node: Indexes525113
|
||||
Node: Builtin Index525567
|
||||
Node: Reserved Word Index532668
|
||||
Node: Variable Index535116
|
||||
Node: Function Index552250
|
||||
Node: Concept Index566034
|
||||
Node: Top889
|
||||
Node: Introduction2801
|
||||
Node: What is Bash?3017
|
||||
Node: What is a shell?4131
|
||||
Node: Definitions6669
|
||||
Node: Basic Shell Features9620
|
||||
Node: Shell Syntax10839
|
||||
Node: Shell Operation11865
|
||||
Node: Quoting13158
|
||||
Node: Escape Character14462
|
||||
Node: Single Quotes14947
|
||||
Node: Double Quotes15295
|
||||
Node: ANSI-C Quoting16573
|
||||
Node: Locale Translation17885
|
||||
Node: Creating Internationalized Scripts19196
|
||||
Node: Comments23313
|
||||
Node: Shell Commands23931
|
||||
Node: Reserved Words24869
|
||||
Node: Simple Commands25625
|
||||
Node: Pipelines26279
|
||||
Node: Lists29265
|
||||
Node: Compound Commands31060
|
||||
Node: Looping Constructs32072
|
||||
Node: Conditional Constructs34567
|
||||
Node: Command Grouping49055
|
||||
Node: Coprocesses50533
|
||||
Node: GNU Parallel53196
|
||||
Node: Shell Functions54113
|
||||
Node: Shell Parameters61998
|
||||
Node: Positional Parameters66386
|
||||
Node: Special Parameters67288
|
||||
Node: Shell Expansions70502
|
||||
Node: Brace Expansion72590
|
||||
Node: Tilde Expansion75324
|
||||
Node: Shell Parameter Expansion77945
|
||||
Node: Command Substitution96347
|
||||
Node: Arithmetic Expansion99811
|
||||
Node: Process Substitution100779
|
||||
Node: Word Splitting101899
|
||||
Node: Filename Expansion103947
|
||||
Node: Pattern Matching106880
|
||||
Node: Quote Removal111882
|
||||
Node: Redirections112177
|
||||
Node: Executing Commands121870
|
||||
Node: Simple Command Expansion122540
|
||||
Node: Command Search and Execution124650
|
||||
Node: Command Execution Environment127037
|
||||
Node: Environment130072
|
||||
Node: Exit Status131735
|
||||
Node: Signals133519
|
||||
Node: Shell Scripts136968
|
||||
Node: Shell Builtin Commands139995
|
||||
Node: Bourne Shell Builtins142033
|
||||
Node: Bash Builtins165169
|
||||
Node: Modifying Shell Behavior197168
|
||||
Node: The Set Builtin197513
|
||||
Node: The Shopt Builtin208457
|
||||
Node: Special Builtins224464
|
||||
Node: Shell Variables225443
|
||||
Node: Bourne Shell Variables225880
|
||||
Node: Bash Variables227984
|
||||
Node: Bash Features262941
|
||||
Node: Invoking Bash263954
|
||||
Node: Bash Startup Files269967
|
||||
Node: Interactive Shells275098
|
||||
Node: What is an Interactive Shell?275509
|
||||
Node: Is this Shell Interactive?276158
|
||||
Node: Interactive Shell Behavior276973
|
||||
Node: Bash Conditional Expressions280602
|
||||
Node: Shell Arithmetic285244
|
||||
Node: Aliases288205
|
||||
Node: Arrays291099
|
||||
Node: The Directory Stack297662
|
||||
Node: Directory Stack Builtins298446
|
||||
Node: Controlling the Prompt302706
|
||||
Node: The Restricted Shell305671
|
||||
Node: Bash POSIX Mode308281
|
||||
Node: Shell Compatibility Mode324424
|
||||
Node: Job Control332668
|
||||
Node: Job Control Basics333128
|
||||
Node: Job Control Builtins338130
|
||||
Node: Job Control Variables343925
|
||||
Node: Command Line Editing345081
|
||||
Node: Introduction and Notation346752
|
||||
Node: Readline Interaction348375
|
||||
Node: Readline Bare Essentials349566
|
||||
Node: Readline Movement Commands351355
|
||||
Node: Readline Killing Commands352315
|
||||
Node: Readline Arguments354236
|
||||
Node: Searching355280
|
||||
Node: Readline Init File357466
|
||||
Node: Readline Init File Syntax358727
|
||||
Node: Conditional Init Constructs382752
|
||||
Node: Sample Init File386948
|
||||
Node: Bindable Readline Commands390072
|
||||
Node: Commands For Moving391276
|
||||
Node: Commands For History393327
|
||||
Node: Commands For Text398321
|
||||
Node: Commands For Killing402299
|
||||
Node: Numeric Arguments405003
|
||||
Node: Commands For Completion406142
|
||||
Node: Keyboard Macros410333
|
||||
Node: Miscellaneous Commands411021
|
||||
Node: Readline vi Mode417059
|
||||
Node: Programmable Completion417966
|
||||
Node: Programmable Completion Builtins425746
|
||||
Node: A Programmable Completion Example436866
|
||||
Node: Using History Interactively442114
|
||||
Node: Bash History Facilities442798
|
||||
Node: Bash History Builtins445803
|
||||
Node: History Interaction450827
|
||||
Node: Event Designators454447
|
||||
Node: Word Designators455801
|
||||
Node: Modifiers457561
|
||||
Node: Installing Bash459369
|
||||
Node: Basic Installation460506
|
||||
Node: Compilers and Options464228
|
||||
Node: Compiling For Multiple Architectures464969
|
||||
Node: Installation Names466661
|
||||
Node: Specifying the System Type468770
|
||||
Node: Sharing Defaults469487
|
||||
Node: Operation Controls470160
|
||||
Node: Optional Features471118
|
||||
Node: Reporting Bugs482337
|
||||
Node: Major Differences From The Bourne Shell483671
|
||||
Node: GNU Free Documentation License500520
|
||||
Node: Indexes525697
|
||||
Node: Builtin Index526151
|
||||
Node: Reserved Word Index533252
|
||||
Node: Variable Index535700
|
||||
Node: Function Index552834
|
||||
Node: Concept Index566555
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
+11
-1
@@ -5376,6 +5376,8 @@ parameters, or to display the names and values of shell variables.
|
||||
@example
|
||||
set [-abefhkmnptuvxBCEHPT] [-o @var{option-name}] [--] [-] [@var{argument} @dots{}]
|
||||
set [+abefhkmnptuvxBCEHPT] [+o @var{option-name}] [--] [-] [@var{argument} @dots{}]
|
||||
set -o
|
||||
set +o
|
||||
@end example
|
||||
|
||||
If no options or arguments are supplied, @code{set} displays the names
|
||||
@@ -5456,7 +5458,15 @@ This option is ignored by interactive shells.
|
||||
|
||||
@item -o @var{option-name}
|
||||
|
||||
Set the option corresponding to @var{option-name}:
|
||||
Set the option corresponding to @var{option-name}.
|
||||
If @option{-o} is supplied with no @var{option-name},
|
||||
@code{set} prints the current shell options settings.
|
||||
If @option{+o} is supplied with no @var{option-name},
|
||||
@code{set} prints a series of
|
||||
@code{set}
|
||||
commands to recreate the current option settings
|
||||
on the standard output.
|
||||
Valid option names are:
|
||||
|
||||
@table @code
|
||||
@item allexport
|
||||
|
||||
+10
-7
@@ -1155,7 +1155,8 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
|
||||
sseett [--aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [--oo _o_p_t_i_o_n_-_n_a_m_e] [----] [--] [_a_r_g ...]
|
||||
sseett [++aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [++oo _o_p_t_i_o_n_-_n_a_m_e] [----] [--] [_a_r_g ...]
|
||||
Without options, display the name and value of each shell vari-
|
||||
sseett --oo
|
||||
sseett ++oo Without options, display the name and value of each shell vari-
|
||||
able in a format that can be reused as input for setting or re-
|
||||
setting the currently-set variables. Read-only variables cannot
|
||||
be reset. In _p_o_s_i_x _m_o_d_e, only shell variables are listed. The
|
||||
@@ -1270,10 +1271,10 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
This also affects the editing interface used for
|
||||
rreeaadd --ee.
|
||||
xxttrraaccee Same as --xx.
|
||||
If --oo is supplied with no _o_p_t_i_o_n_-_n_a_m_e, the values of the
|
||||
current options are printed. If ++oo is supplied with no
|
||||
_o_p_t_i_o_n_-_n_a_m_e, a series of sseett commands to recreate the
|
||||
current option settings is displayed on the standard
|
||||
If --oo is supplied with no _o_p_t_i_o_n_-_n_a_m_e, sseett prints the
|
||||
current shell option settings. If ++oo is supplied with
|
||||
no _o_p_t_i_o_n_-_n_a_m_e, sseett prints a series of sseett commands to
|
||||
recreate the current option settings on the standard
|
||||
output.
|
||||
--pp Turn on _p_r_i_v_i_l_e_g_e_d mode. In this mode, the $$EENNVV and
|
||||
$$BBAASSHH__EENNVV files are not processed, shell functions are
|
||||
@@ -1779,8 +1780,10 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
The expression is parsed and evaluated according to
|
||||
precedence using the rules listed above.
|
||||
|
||||
When used with tteesstt or [[, the << and >> operators sort lexico-
|
||||
graphically using ASCII ordering.
|
||||
If the shell is not in _p_o_s_i_x _m_o_d_e, when used with tteesstt or [[, the
|
||||
<< and >> operators sort lexicographically using ASCII ordering.
|
||||
When the shell is in _p_o_s_i_x _m_o_d_e, these operators sort using the
|
||||
current locale.
|
||||
|
||||
ttiimmeess Print the accumulated user and system times for the shell and
|
||||
for processes run from the shell. The return status is 0.
|
||||
|
||||
+2
-2
@@ -2,10 +2,10 @@
|
||||
Copyright (C) 1988-2023 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Fri Jul 7 15:07:53 EDT 2023
|
||||
@set LASTCHANGE Wed Jul 19 14:23:20 EDT 2023
|
||||
|
||||
@set EDITION 5.3
|
||||
@set VERSION 5.3
|
||||
|
||||
@set UPDATED 7 July 2023
|
||||
@set UPDATED 19 July 2023
|
||||
@set UPDATED-MONTH July 2023
|
||||
|
||||
Reference in New Issue
Block a user