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
+25
View File
@@ -2477,3 +2477,28 @@ lib/readline/colors.c
lib/readline/doc/{readline.3,rluser.texi},doc/bash.1
- readline-colored-completion-prefix: document new custom suffix for
readline's colored-completion-prefix color
11/16
-----
doc/{bash.1,bashref.texi},builtins/set.def
- set: modify usage synopsis slightly, based on
https://bugzilla.redhat.com/show_bug.cgi?id=2022324
builtins/set.def
- unset_builtin: add shell compatibility level check <= bash-5.1 to
force `unset a[@]' to unset array variable `a', like in previous
versions, instead of unsetting associative array element `@' or
removing all elements of an indexed array without unsetting the
variable itself
builtins/common.c
- set_expand_once: now a no-op if the shell compatibility level is
<= bash-5.1, preserving the previous versions' behavior for [[ -v
(dependent on assoc_expand_once instead of forcing it)
subst.c
- parameter_brace_expand_rhs: make sure that the final value assigned
is always returned from ${a:=b}, even when `a' has a variable
attribute that modifies the value on assignment. Reported back on
1/20/2021 by oguzismailuysal@gmail.com; bash-5.2 tag removed
-2
View File
@@ -1088,9 +1088,7 @@ set_expand_once (nval, uwp)
int oa;
oa = assoc_expand_once;
#if 0 /* TAG:bash-5.2 */
if (shell_compatibility_level > 51)
#endif
{
if (uwp)
unwind_protect_int (assoc_expand_once);
+2 -3
View File
@@ -52,7 +52,7 @@ $PRODUCES set.c
$BUILTIN set
$FUNCTION set_builtin
$SHORT_DOC set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
$SHORT_DOC set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
Set or unset values of shell options and positional parameters.
Change the value of shell attributes and positional parameters, or
@@ -957,10 +957,9 @@ unset_builtin (list)
#if defined (ARRAY_VARS)
if (var && unset_array)
{
#if 0 /* TAG:bash-5.2 */
if (shell_compatibility_level <= 51)
vflags |= VA_ALLOWALL;
#endif
/* Let unbind_array_element decide what to do with non-array vars */
tem = unbind_array_element (var, t, vflags); /* XXX new third arg */
if (tem == -2 && array_p (var) == 0 && assoc_p (var) == 0)
+2 -1
View File
@@ -111,7 +111,8 @@ int
wait_builtin (list)
WORD_LIST *list;
{
int status, code, opt, nflag, wflags;
int status, code, opt, nflag;
volatile int wflags;
char *vname;
SHELL_VAR *pidvar;
struct procstat pstat;
+1484 -1481
View File
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -5,12 +5,12 @@
.\" Case Western Reserve University
.\" chet.ramey@case.edu
.\"
.\" Last Change: Mon Nov 15 17:08:12 EST 2021
.\" Last Change: Tue Nov 16 09:55:55 EST 2021
.\"
.\" bash_builtins, strip all but Built-Ins section
.if \n(zZ=1 .ig zZ
.if \n(zY=1 .ig zY
.TH BASH 1 "2021 November 15" "GNU Bash 5.1"
.TH BASH 1 "2021 November 16" "GNU Bash 5.1"
.\"
.\" There's some problem with having a `@'
.\" in a tagged paragraph with the BSD man macros.
@@ -9657,12 +9657,12 @@ function and not during execution of a script by \fB.\fP\^ or \fBsource\fP.
Any command associated with the \fBRETURN\fP trap is executed
before execution resumes after the function or script.
.TP
\fBset\fP [\fB\-\-abefhkmnptuvxBCEHPT\fP] [\fB\-o\fP \fIoption\-name\fP] [\fIarg\fP ...]
\fBset\fP [\fB\-abefhkmnptuvxBCEHPT\fP] [\fB\-o\fP \fIoption\-name\fP] [\fB\-\-\fP] [\fB\-\fP] [\fIarg\fP ...]
.PD 0
.TP
\fBset\fP [\fB+abefhkmnptuvxBCEHPT\fP] [\fB+o\fP \fIoption\-name\fP] [\fIarg\fP ...]
\fBset\fP [\fB+abefhkmnptuvxBCEHPT\fP] [\fB+o\fP \fIoption\-name\fP] [\fB\-\-\fP] [\fB\-\fP] [\fIarg\fP ...]
.PD
Without options, the name and value of each shell variable are displayed
Without options, display the name and value of each shell variable
in a format that can be reused as input
for setting or resetting the currently-set variables.
Read-only variables cannot be reset.
+9 -6
View File
@@ -3,7 +3,7 @@
</HEAD>
<BODY><TABLE WIDTH=100%>
<TR>
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2021 October 25<TH ALIGN=RIGHT width=33%>BASH(1)
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2021 November 16<TH ALIGN=RIGHT width=33%>BASH(1)
</TR>
</TABLE>
<BR><A HREF="#index">Index</A>
@@ -7532,6 +7532,9 @@ If set to <B>On</B>, 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 <B>LS_COLORS</B>
environment variable.
If there is a color definition in <B>$LS_COLORS</B> for the custom suffix
&quot;readline-colored-completion-prefix&quot;, readline uses this color for
the common prefix instead of its default.
<DT><B>colored-stats (Off)</B>
<DD>
@@ -12133,11 +12136,11 @@ is used outside a
function and not during execution of a script by <B>.</B> or <B>source</B>.
Any command associated with the <B>RETURN</B> trap is executed
before execution resumes after the function or script.
<DT><B>set</B> [<B>--abefhkmnptuvxBCEHPT</B>] [<B>-o</B> <I>option-name</I>] [<I>arg</I> ...]<DD>
<DT><B>set</B> [<B>-abefhkmnptuvxBCEHPT</B>] [<B>-o</B> <I>option-name</I>] [<B>--</B>] [<B>-</B>] [<I>arg</I> ...]<DD>
<DT><B>set</B> [<B>+abefhkmnptuvxBCEHPT</B>] [<B>+o</B> <I>option-name</I>] [<I>arg</I> ...]<DD>
<DT><B>set</B> [<B>+abefhkmnptuvxBCEHPT</B>] [<B>+o</B> <I>option-name</I>] [<B>--</B>] [<B>-</B>] [<I>arg</I> ...]<DD>
Without options, the name and value of each shell variable are displayed
Without options, display the name and value of each shell variable
in a format that can be reused as input
for setting or resetting the currently-set variables.
Read-only variables cannot be reset.
@@ -14560,7 +14563,7 @@ There may be only one active coprocess at a time.
<HR>
<TABLE WIDTH=100%>
<TR>
<TH ALIGN=LEFT width=33%>GNU Bash 5.1<TH ALIGN=CENTER width=33%>2021 October 25<TH ALIGN=RIGHT width=33%>BASH(1)
<TH ALIGN=LEFT width=33%>GNU Bash 5.1<TH ALIGN=CENTER width=33%>2021 November 16<TH ALIGN=RIGHT width=33%>BASH(1)
</TR>
</TABLE>
<HR>
@@ -14667,6 +14670,6 @@ There may be only one active coprocess at a time.
</DL>
<HR>
This document was created by man2html from bash.1.<BR>
Time: 08 November 2021 11:14:12 EST
Time: 16 November 2021 10:03:07 EST
</BODY>
</HTML>
+179 -176
View File
@@ -1,9 +1,9 @@
This is bash.info, produced by makeinfo version 6.8 from bashref.texi.
This text is a brief description of the features that are present in the
Bash shell (version 5.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
BIN
View File
Binary file not shown.
+2958 -2927
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+9 -6
View File
@@ -4,9 +4,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- This text is a brief description of the features that are present in
the Bash shell (version 5.1, 25 October 2021).
the Bash shell (version 5.1, 16 November 2021).
This is Edition 5.1, last updated 25 October 2021,
This is Edition 5.1, last updated 16 November 2021,
of The GNU Bash Reference Manual,
for Bash, Version 5.1.
@@ -77,10 +77,10 @@ Next: <a href="#Introduction" accesskey="n" rel="next">Introduction</a>, Previou
<span id="Bash-Features-1"></span><h1 class="top">Bash Features</h1>
<p>This text is a brief description of the features that are present in
the Bash shell (version 5.1, 25 October 2021).
the Bash shell (version 5.1, 16 November 2021).
The Bash home page is <a href="http://www.gnu.org/software/bash/">http://www.gnu.org/software/bash/</a>.
</p>
<p>This is Edition 5.1, last updated 25 October 2021,
<p>This is Edition 5.1, last updated 16 November 2021,
of <cite>The GNU Bash Reference Manual</cite>,
for <code>Bash</code>, Version 5.1.
</p>
@@ -5788,8 +5788,8 @@ parameters, or to display the names and values of shell variables.
<dl compact="compact">
<dt id='index-set'><span><code>set</code><a href='#index-set' class='copiable-anchor'> &para;</a></span></dt>
<dd><div class="example">
<pre class="example">set [--abefhkmnptuvxBCEHPT] [-o <var>option-name</var>] [<var>argument</var> &hellip;]
set [+abefhkmnptuvxBCEHPT] [+o <var>option-name</var>] [<var>argument</var> &hellip;]
<pre class="example">set [-abefhkmnptuvxBCEHPT] [-o <var>option-name</var>] [--] [-] [<var>argument</var> &hellip;]
set [+abefhkmnptuvxBCEHPT] [+o <var>option-name</var>] [--] [-] [<var>argument</var> &hellip;]
</pre></div>
<p>If no options or arguments are supplied, <code>set</code> displays the names
@@ -10263,6 +10263,9 @@ is &lsquo;<samp>off</samp>&rsquo;.
common prefix of the set of possible completions using a different color.
The color definitions are taken from the value of the <code>LS_COLORS</code>
environment variable.
If there is a color definition in <code>LS_COLORS</code> for the custom suffix
&lsquo;<samp>readline-colored-completion-prefix</samp>&rsquo;, Readline uses this color for
the common prefix instead of its default.
The default is &lsquo;<samp>off</samp>&rsquo;.
</p>
</dd>
+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
+37 -12
View File
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/MacPorts 2021.58693_0) (preloaded format=pdftex 2021.10.21) 8 NOV 2021 11:17
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021/MacPorts 2021.58693_0) (preloaded format=pdftex 2021.10.21) 16 NOV 2021 10:03
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
@@ -222,17 +222,42 @@ Overfull \hbox (5.95723pt too wide) in paragraph at lines 724--725
\openout5 = `bashref.bt'.
[47] [48] [49] [50] [51]
[52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65] [66]
[67] [68] [69] [70] [71] [72] [73] [74] [75] Chapter 5 [76] [77] [78] [79]
[80] [81] [82] [83] [84] [85] [86] [87] [88] Chapter 6 [89] [90] [91] [92]
[93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106]
[107] [108] [109] Chapter 7 [110] [111] [112] [113]
[52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65]
Overfull \hbox (38.26585pt too wide) in paragraph at lines 5174--5174
[]@texttt set [-abefhkmnptuvxBCEHPT] [-o @textttsl option-name@texttt ] [--] [
-] [@textttsl ar-gu-ment []@texttt ][]
@hbox(7.60416+2.43333)x433.62
.@glue(@leftskip) 86.72375
.@hbox(0.0+0.0)x0.0
.@texttt s
.@texttt e
.@texttt t
.etc.
Overfull \hbox (38.26585pt too wide) in paragraph at lines 5175--5175
[]@texttt set [+abefhkmnptuvxBCEHPT] [+o @textttsl option-name@texttt ] [--] [
-] [@textttsl ar-gu-ment []@texttt ][]
@hbox(7.60416+2.43333)x433.62
.@glue(@leftskip) 86.72375
.@hbox(0.0+0.0)x0.0
.@texttt s
.@texttt e
.@texttt t
.etc.
[66] [67] [68] [69] [70] [71] [72] [73] [74] [75] Chapter 5 [76] [77] [78]
[79] [80] [81] [82] [83] [84] [85] [86] [87] [88] Chapter 6 [89] [90] [91]
[92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105]
[106] [107] [108] [109] Chapter 7 [110] [111] [112] [113]
texinfo.tex: doing @include of rluser.texi
(/Users/chet/src/bash/src/lib/readline/doc/rluser.texi Chapter 8 [114] [115]
[116] [117] [118] [119] [120] [121] [122] [123] [124]
Underfull \hbox (badness 7540) in paragraph at lines 828--834
Underfull \hbox (badness 7540) in paragraph at lines 831--837
[]@textrm In the ex-am-ple above, @textttsl C-u[] @textrm is bound to the func
-tion
@@ -245,7 +270,7 @@ Underfull \hbox (badness 7540) in paragraph at lines 828--834
.etc.
Underfull \hbox (badness 10000) in paragraph at lines 828--834
Underfull \hbox (badness 10000) in paragraph at lines 831--837
@texttt universal-argument[]@textrm , @textttsl M-DEL[] @textrm is bound to th
e func-tion
@@ -258,7 +283,7 @@ e func-tion
.etc.
[125] [126] [127] [128]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 1062--1062
Overfull \hbox (26.43913pt too wide) in paragraph at lines 1065--1065
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i
gnored[]
@@ -276,7 +301,7 @@ gnored[]
[131] [132] [133] [134] [135] [136] [137] [138] [139] [140]
[141] [142] [143]
Overfull \hbox (15.27109pt too wide) in paragraph at lines 2087--2087
Overfull \hbox (15.27109pt too wide) in paragraph at lines 2090--2090
[]@texttt complete [-abcdefgjksuv] [-o @textttsl comp-option@texttt ] [-DEI] [
-A @textttsl ac-tion@texttt ] [-
@@ -328,7 +353,7 @@ Appendix D [178] [179] [180] [181] [182] [183] [184] [185] [186] [187] )
Here is how much of TeX's memory you used:
4091 strings out of 497086
46914 string characters out of 6206519
141405 words of memory out of 5000000
140407 words of memory out of 5000000
4867 multiletter control sequences out of 15000+600000
34315 words of font info for 116 fonts, out of 8000000 for 9000
51 hyphenation exceptions out of 8191
@@ -350,7 +375,7 @@ mti10.pfb></opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmtt10
</opt/local/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmtt9.pfb></opt/
local/share/texmf-texlive/fonts/type1/public/cm-super/sfrm1095.pfb></opt/local/
share/texmf-texlive/fonts/type1/public/cm-super/sfrm1440.pfb>
Output written on bashref.pdf (193 pages, 787765 bytes).
Output written on bashref.pdf (193 pages, 787947 bytes).
PDF statistics:
2733 PDF objects out of 2984 (max. 8388607)
2494 compressed objects within 25 object streams
BIN
View File
Binary file not shown.
+148 -144
View File
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 2021.1 Copyright 2021 Radical Eye Software
%%Title: bashref.dvi
%%CreationDate: Mon Nov 8 16:14:08 2021
%%CreationDate: Tue Nov 16 15:03:04 2021
%%Pages: 193
%%PageOrder: Ascend
%%BoundingBox: 0 0 612 792
@@ -12,7 +12,7 @@
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -D 600 -t letter -o bashref.ps bashref.dvi
%DVIPSParameters: dpi=600
%DVIPSSource: TeX output 2021.11.08:1114
%DVIPSSource: TeX output 2021.11.16:1003
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
@@ -7614,22 +7614,22 @@ ifelse
TeXDict begin 1 0 bop 150 1318 a Fv(Bash)64 b(Reference)j(Man)-5
b(ual)p 150 1385 3600 34 v 2361 1481 a Fu(Reference)31
b(Do)s(cumen)m(tation)i(for)d(Bash)2428 1589 y(Edition)h(5.1,)g(for)f
Ft(Bash)g Fu(V)-8 b(ersion)31 b(5.1.)3217 1697 y(Octob)s(er)f(2021)150
4927 y Fs(Chet)45 b(Ramey)-11 b(,)46 b(Case)g(W)-11 b(estern)46
b(Reserv)l(e)g(Univ)l(ersit)l(y)150 5068 y(Brian)f(F)-11
b(o)l(x,)45 b(F)-11 b(ree)45 b(Soft)l(w)l(are)h(F)-11
Ft(Bash)g Fu(V)-8 b(ersion)31 b(5.1.)3139 1697 y(No)m(v)m(em)m(b)s(er)g
(2021)150 4927 y Fs(Chet)45 b(Ramey)-11 b(,)46 b(Case)g(W)-11
b(estern)46 b(Reserv)l(e)g(Univ)l(ersit)l(y)150 5068
y(Brian)f(F)-11 b(o)l(x,)45 b(F)-11 b(ree)45 b(Soft)l(w)l(are)h(F)-11
b(oundation)p 150 5141 3600 17 v eop end
%%Page: 2 2
TeXDict begin 2 1 bop 150 4279 a Fu(This)35 b(text)h(is)g(a)g(brief)f
(description)h(of)f(the)h(features)g(that)g(are)g(presen)m(t)g(in)f
(the)h(Bash)f(shell)h(\(v)m(ersion)150 4389 y(5.1,)c(25)f(Octob)s(er)f
(2021\).)150 4523 y(This)35 b(is)g(Edition)h(5.1,)i(last)f(up)s(dated)d
(25)i(Octob)s(er)g(2021,)j(of)c Fr(The)h(GNU)g(Bash)f(Reference)i(Man)m
(ual)p Fu(,)150 4633 y(for)30 b Ft(Bash)p Fu(,)g(V)-8
b(ersion)31 b(5.1.)150 4767 y(Cop)m(yrigh)m(t)602 4764
y(c)577 4767 y Fq(\015)f Fu(1988{2021)35 b(F)-8 b(ree)31
b(Soft)m(w)m(are)h(F)-8 b(oundation,)31 b(Inc.)390 4902
y(P)m(ermission)21 b(is)f(gran)m(ted)h(to)g(cop)m(y)-8
(the)h(Bash)f(shell)h(\(v)m(ersion)150 4389 y(5.1,)c(16)f(No)m(v)m(em)m
(b)s(er)g(2021\).)150 4523 y(This)e(is)i(Edition)f(5.1,)h(last)g(up)s
(dated)e(16)i(No)m(v)m(em)m(b)s(er)h(2021,)g(of)e Fr(The)g(GNU)h(Bash)f
(Reference)h(Man)m(ual)p Fu(,)150 4633 y(for)f Ft(Bash)p
Fu(,)g(V)-8 b(ersion)31 b(5.1.)150 4767 y(Cop)m(yrigh)m(t)602
4764 y(c)577 4767 y Fq(\015)f Fu(1988{2021)35 b(F)-8
b(ree)31 b(Soft)m(w)m(are)h(F)-8 b(oundation,)31 b(Inc.)390
4902 y(P)m(ermission)21 b(is)f(gran)m(ted)h(to)g(cop)m(y)-8
b(,)24 b(distribute)c(and/or)h(mo)s(dify)e(this)i(do)s(cumen)m(t)f
(under)f(the)390 5011 y(terms)25 b(of)h(the)f(GNU)h(F)-8
b(ree)27 b(Do)s(cumen)m(tation)g(License,)g(V)-8 b(ersion)26
@@ -13019,10 +13019,10 @@ b Ft(set)35 b Fu(allo)m(ws)j(y)m(ou)e(to)h(c)m(hange)150
777 y(the)c(v)-5 b(alues)34 b(of)f(shell)g(options)h(and)e(set)i(the)f
(p)s(ositional)h(parameters,)h(or)e(to)h(displa)m(y)f(the)g(names)h
(and)150 886 y(v)-5 b(alues)31 b(of)f(shell)h(v)-5 b(ariables.)150
1041 y Ft(set)870 1172 y(set)47 b([--abefhkmnptuvxBCEHPT])41
b([-o)47 b Fj(option-name)p Ft(])e([)p Fj(argument)g
1041 y Ft(set)870 1172 y(set)47 b([-abefhkmnptuvxBCEHPT])42
b([-o)47 b Fj(option-name)p Ft(])d([--])j([-])g([)p Fj(argument)e
Ft(...)o(])870 1282 y(set)i([+abefhkmnptuvxBCEHPT])42
b([+o)47 b Fj(option-name)p Ft(])d([)p Fj(argument)h
b([+o)47 b Fj(option-name)p Ft(])d([--])j([-])g([)p Fj(argument)e
Ft(...)o(])630 1414 y Fu(If)22 b(no)h(options)g(or)g(argumen)m(ts)g
(are)g(supplied,)g Ft(set)f Fu(displa)m(ys)g(the)h(names)g(and)f(v)-5
b(alues)23 b(of)g(all)630 1523 y(shell)j(v)-5 b(ariables)27
@@ -16895,197 +16895,201 @@ eop end
%%Page: 119 125
TeXDict begin 119 124 bop 150 -116 a Fu(Chapter)30 b(8:)41
b(Command)29 b(Line)i(Editing)2062 b(119)870 299 y Ft(set)47
b Fj(variable)e(value)630 436 y Fu(Here,)29 b(for)e(example,)h(is)g(ho)
b Fj(variable)e(value)630 439 y Fu(Here,)29 b(for)e(example,)h(is)g(ho)
m(w)f(to)h(c)m(hange)g(from)f(the)g(default)h(Emacs-lik)m(e)h(k)m(ey)f
(binding)e(to)630 545 y(use)k Ft(vi)g Fu(line)h(editing)g(commands:)870
682 y Ft(set)47 b(editing-mode)d(vi)630 819 y Fu(V)-8
(binding)e(to)630 548 y(use)k Ft(vi)g Fu(line)h(editing)g(commands:)870
689 y Ft(set)47 b(editing-mode)d(vi)630 829 y Fu(V)-8
b(ariable)36 b(names)f(and)g(v)-5 b(alues,)36 b(where)f(appropriate,)h
(are)g(recognized)g(without)f(regard)630 929 y(to)c(case.)42
(are)g(recognized)g(without)f(regard)630 938 y(to)c(case.)42
b(Unrecognized)31 b(v)-5 b(ariable)31 b(names)g(are)f(ignored.)630
1066 y(Bo)s(olean)c(v)-5 b(ariables)26 b(\(those)g(that)g(can)f(b)s(e)f
1078 y(Bo)s(olean)c(v)-5 b(ariables)26 b(\(those)g(that)g(can)f(b)s(e)f
(set)i(to)g(on)f(or)g(o\013)7 b(\))25 b(are)h(set)f(to)h(on)f(if)g(the)
g(v)-5 b(alue)26 b(is)630 1176 y(n)m(ull)e(or)g(empt)m(y)-8
g(v)-5 b(alue)26 b(is)630 1188 y(n)m(ull)e(or)g(empt)m(y)-8
b(,)27 b Fr(on)d Fu(\(case-insensitiv)m(e\),)29 b(or)24
b(1.)39 b(An)m(y)25 b(other)f(v)-5 b(alue)25 b(results)f(in)g(the)g(v)
-5 b(ariable)630 1285 y(b)s(eing)30 b(set)h(to)g(o\013.)630
1422 y(The)37 b Ft(bind)30 b(-V)37 b Fu(command)g(lists)i(the)f(curren)
-5 b(ariable)630 1297 y(b)s(eing)30 b(set)h(to)g(o\013.)630
1437 y(The)37 b Ft(bind)30 b(-V)37 b Fu(command)g(lists)i(the)f(curren)
m(t)f(Readline)i(v)-5 b(ariable)38 b(names)g(and)f(v)-5
b(alues.)630 1532 y(See)31 b(Section)g(4.2)g([Bash)g(Builtins],)g(page)
g(54.)630 1669 y(A)f(great)i(deal)f(of)g(run-time)f(b)s(eha)m(vior)g
b(alues.)630 1547 y(See)31 b(Section)g(4.2)g([Bash)g(Builtins],)g(page)
g(54.)630 1687 y(A)f(great)i(deal)f(of)g(run-time)f(b)s(eha)m(vior)g
(is)g(c)m(hangeable)j(with)d(the)g(follo)m(wing)i(v)-5
b(ariables.)630 1833 y Ft(bell-style)1110 1943 y Fu(Con)m(trols)44
b(ariables.)630 1857 y Ft(bell-style)1110 1967 y Fu(Con)m(trols)44
b(what)g(happ)s(ens)e(when)h(Readline)i(w)m(an)m(ts)f(to)h(ring)e(the)h
(termi-)1110 2052 y(nal)37 b(b)s(ell.)61 b(If)37 b(set)h(to)g(`)p
(termi-)1110 2077 y(nal)37 b(b)s(ell.)61 b(If)37 b(set)h(to)g(`)p
Ft(none)p Fu(',)g(Readline)g(nev)m(er)g(rings)e(the)i(b)s(ell.)61
b(If)36 b(set)i(to)1110 2162 y(`)p Ft(visible)p Fu(',)32
b(If)36 b(set)i(to)1110 2186 y(`)p Ft(visible)p Fu(',)32
b(Readline)i(uses)f(a)g(visible)g(b)s(ell)g(if)g(one)g(is)g(a)m(v)-5
b(ailable.)51 b(If)33 b(set)g(to)1110 2271 y(`)p Ft(audible)p
b(ailable.)51 b(If)33 b(set)g(to)1110 2296 y(`)p Ft(audible)p
Fu(')j(\(the)i(default\),)i(Readline)e(attempts)g(to)h(ring)e(the)g
(terminal's)1110 2381 y(b)s(ell.)630 2545 y Ft(bind-tty-special-chars)
1110 2655 y Fu(If)e(set)g(to)h(`)p Ft(on)p Fu(')f(\(the)g(default\),)i
(terminal's)1110 2405 y(b)s(ell.)630 2576 y Ft(bind-tty-special-chars)
1110 2685 y Fu(If)e(set)g(to)h(`)p Ft(on)p Fu(')f(\(the)g(default\),)i
(Readline)f(attempts)g(to)g(bind)d(the)i(con)m(trol)1110
2765 y(c)m(haracters)30 b(treated)g(sp)s(ecially)g(b)m(y)f(the)g(k)m
(ernel's)h(terminal)f(driv)m(er)g(to)h(their)1110 2874
y(Readline)h(equiv)-5 b(alen)m(ts.)630 3039 y Ft(blink-matching-paren)
1110 3148 y Fu(If)36 b(set)g(to)h(`)p Ft(on)p Fu(',)h(Readline)f
2795 y(c)m(haracters)30 b(treated)g(sp)s(ecially)g(b)m(y)f(the)g(k)m
(ernel's)h(terminal)f(driv)m(er)g(to)h(their)1110 2905
y(Readline)h(equiv)-5 b(alen)m(ts.)630 3075 y Ft(blink-matching-paren)
1110 3185 y Fu(If)36 b(set)g(to)h(`)p Ft(on)p Fu(',)h(Readline)f
(attempts)g(to)g(brie\015y)e(mo)m(v)m(e)j(the)f(cursor)e(to)i(an)1110
3258 y(op)s(ening)k(paren)m(thesis)h(when)f(a)h(closing)h(paren)m
(thesis)e(is)h(inserted.)74 b(The)1110 3367 y(default)31
b(is)f(`)p Ft(off)p Fu('.)630 3532 y Ft(colored-completion-prefi)o(x)
1110 3641 y Fu(If)f(set)h(to)g(`)p Ft(on)p Fu(',)g(when)e(listing)i
3294 y(op)s(ening)k(paren)m(thesis)h(when)f(a)h(closing)h(paren)m
(thesis)e(is)h(inserted.)74 b(The)1110 3404 y(default)31
b(is)f(`)p Ft(off)p Fu('.)630 3574 y Ft(colored-completion-prefi)o(x)
1110 3684 y Fu(If)f(set)h(to)g(`)p Ft(on)p Fu(',)g(when)e(listing)i
(completions,)h(Readline)f(displa)m(ys)g(the)f(com-)1110
3751 y(mon)c(pre\014x)f(of)i(the)f(set)h(of)g(p)s(ossible)f
3794 y(mon)c(pre\014x)f(of)i(the)f(set)h(of)g(p)s(ossible)f
(completions)h(using)f(a)h(di\013eren)m(t)g(color.)1110
3861 y(The)39 b(color)i(de\014nitions)f(are)g(tak)m(en)h(from)f(the)g
(v)-5 b(alue)40 b(of)g(the)g Ft(LS_COLORS)1110 3970 y
Fu(en)m(vironmen)m(t)31 b(v)-5 b(ariable.)41 b(The)30
b(default)h(is)f(`)p Ft(off)p Fu('.)630 4134 y Ft(colored-stats)1110
4244 y Fu(If)c(set)h(to)g(`)p Ft(on)p Fu(',)h(Readline)f(displa)m(ys)g
(p)s(ossible)f(completions)h(using)f(di\013eren)m(t)1110
4354 y(colors)40 b(to)g(indicate)g(their)f(\014le)h(t)m(yp)s(e.)67
3903 y(The)f(color)h(de\014nitions)f(are)h(tak)m(en)g(from)f(the)g(v)-5
b(alue)26 b(of)g(the)f Ft(LS_COLORS)e Fu(en-)1110 4013
y(vironmen)m(t)34 b(v)-5 b(ariable.)50 b(If)33 b(there)h(is)g(a)f
(color)i(de\014nition)e(in)g Ft(LS_COLORS)e Fu(for)1110
4122 y(the)22 b(custom)g(su\016x)f(`)p Ft(readline-colored-complet)o
(ion)o(-pre)o(fix)p Fu(',)c(Read-)1110 4232 y(line)24
b(uses)e(this)i(color)g(for)f(the)h(common)f(pre\014x)f(instead)i(of)f
(its)h(default.)38 b(The)1110 4341 y(default)31 b(is)f(`)p
Ft(off)p Fu('.)630 4512 y Ft(colored-stats)1110 4622
y Fu(If)c(set)h(to)g(`)p Ft(on)p Fu(',)h(Readline)f(displa)m(ys)g(p)s
(ossible)f(completions)h(using)f(di\013eren)m(t)1110
4731 y(colors)40 b(to)g(indicate)g(their)f(\014le)h(t)m(yp)s(e.)67
b(The)38 b(color)j(de\014nitions)d(are)i(tak)m(en)1110
4463 y(from)24 b(the)h(v)-5 b(alue)25 b(of)g(the)g Ft(LS_COLORS)d
4841 y(from)24 b(the)h(v)-5 b(alue)25 b(of)g(the)g Ft(LS_COLORS)d
Fu(en)m(vironmen)m(t)j(v)-5 b(ariable.)40 b(The)24 b(default)1110
4573 y(is)30 b(`)p Ft(off)p Fu('.)630 4737 y Ft(comment-begin)1110
4847 y Fu(The)62 b(string)g(to)h(insert)f(at)h(the)g(b)s(eginning)e(of)
h(the)h(line)f(when)g(the)1110 4956 y Ft(insert-comment)26
4950 y(is)30 b(`)p Ft(off)p Fu('.)630 5121 y Ft(comment-begin)1110
5230 y Fu(The)62 b(string)g(to)h(insert)f(at)h(the)g(b)s(eginning)e(of)
h(the)h(line)f(when)g(the)1110 5340 y Ft(insert-comment)26
b Fu(command)31 b(is)f(executed.)42 b(The)30 b(default)g(v)-5
b(alue)31 b(is)f Ft("#")p Fu(.)630 5121 y Ft(completion-display-width)
1110 5230 y Fu(The)41 b(n)m(um)m(b)s(er)f(of)i(screen)g(columns)f(used)
g(to)h(displa)m(y)g(p)s(ossible)f(matc)m(hes)1110 5340
y(when)28 b(p)s(erforming)g(completion.)41 b(The)29 b(v)-5
b(alue)29 b(is)g(ignored)g(if)g(it)h(is)f(less)g(than)p
eop end
b(alue)31 b(is)f Ft("#")p Fu(.)p eop end
%%Page: 120 126
TeXDict begin 120 125 bop 150 -116 a Fu(Chapter)30 b(8:)41
b(Command)29 b(Line)i(Editing)2062 b(120)1110 299 y(0)27
b(or)f(greater)h(than)f(the)g(terminal)h(screen)f(width.)39
b(Command)29 b(Line)i(Editing)2062 b(120)630 299 y Ft
(completion-display-width)1110 408 y Fu(The)41 b(n)m(um)m(b)s(er)f(of)i
(screen)g(columns)f(used)g(to)h(displa)m(y)g(p)s(ossible)f(matc)m(hes)
1110 518 y(when)28 b(p)s(erforming)g(completion.)41 b(The)29
b(v)-5 b(alue)29 b(is)g(ignored)g(if)g(it)h(is)f(less)g(than)1110
628 y(0)e(or)f(greater)h(than)f(the)g(terminal)h(screen)f(width.)39
b(A)26 b(v)-5 b(alue)27 b(of)f(0)h(will)f(cause)1110
408 y(matc)m(hes)32 b(to)f(b)s(e)e(displa)m(y)m(ed)i(one)g(p)s(er)e
737 y(matc)m(hes)32 b(to)f(b)s(e)e(displa)m(y)m(ed)i(one)g(p)s(er)e
(line.)41 b(The)30 b(default)h(v)-5 b(alue)31 b(is)f(-1.)630
573 y Ft(completion-ignore-case)1110 682 y Fu(If)d(set)h(to)g(`)p
888 y Ft(completion-ignore-case)1110 998 y Fu(If)d(set)h(to)g(`)p
Ft(on)p Fu(',)g(Readline)g(p)s(erforms)e(\014lename)h(matc)m(hing)i
(and)e(completion)1110 792 y(in)j(a)h(case-insensitiv)m(e)i(fashion.)40
b(The)30 b(default)h(v)-5 b(alue)30 b(is)h(`)p Ft(off)p
Fu('.)630 956 y Ft(completion-map-case)1110 1066 y Fu(If)22
(and)e(completion)1110 1107 y(in)j(a)h(case-insensitiv)m(e)i(fashion.)
40 b(The)30 b(default)h(v)-5 b(alue)30 b(is)h(`)p Ft(off)p
Fu('.)630 1258 y Ft(completion-map-case)1110 1367 y Fu(If)22
b(set)g(to)h(`)p Ft(on)p Fu(',)h(and)e Fr(completion-ignore-case)31
b Fu(is)22 b(enabled,)i(Readline)f(treats)1110 1176 y(h)m(yphens)29
b Fu(is)22 b(enabled,)i(Readline)f(treats)1110 1477 y(h)m(yphens)29
b(\(`)p Ft(-)p Fu('\))j(and)e(underscores)g(\(`)p Ft(_)p
Fu('\))i(as)f(equiv)-5 b(alen)m(t)32 b(when)e(p)s(erforming)1110
1285 y(case-insensitiv)m(e)47 b(\014lename)e(matc)m(hing)g(and)f
(completion.)85 b(The)44 b(default)1110 1395 y(v)-5 b(alue)31
b(is)f(`)p Ft(off)p Fu('.)630 1559 y Ft(completion-prefix-displa)o
(y-le)o(ngth)1110 1669 y Fu(The)h(length)g(in)g(c)m(haracters)i(of)f
1587 y(case-insensitiv)m(e)47 b(\014lename)e(matc)m(hing)g(and)f
(completion.)85 b(The)44 b(default)1110 1696 y(v)-5 b(alue)31
b(is)f(`)p Ft(off)p Fu('.)630 1847 y Ft(completion-prefix-displa)o
(y-le)o(ngth)1110 1956 y Fu(The)h(length)g(in)g(c)m(haracters)i(of)f
(the)f(common)h(pre\014x)e(of)h(a)h(list)g(of)f(p)s(ossible)1110
1778 y(completions)g(that)f(is)g(displa)m(y)m(ed)g(without)g(mo)s
(di\014cation.)41 b(When)29 b(set)h(to)h(a)1110 1888
2066 y(completions)g(that)f(is)g(displa)m(y)m(ed)g(without)g(mo)s
(di\014cation.)41 b(When)29 b(set)h(to)h(a)1110 2176
y(v)-5 b(alue)26 b(greater)h(than)e(zero,)j(common)e(pre\014xes)e
(longer)j(than)e(this)g(v)-5 b(alue)27 b(are)1110 1998
(longer)j(than)e(this)g(v)-5 b(alue)27 b(are)1110 2285
y(replaced)k(with)f(an)g(ellipsis)h(when)e(displa)m(ying)i(p)s(ossible)
f(completions.)630 2162 y Ft(completion-query-items)1110
2271 y Fu(The)c(n)m(um)m(b)s(er)f(of)h(p)s(ossible)g(completions)h
(that)g(determines)f(when)f(the)i(user)1110 2381 y(is)43
f(completions.)630 2436 y Ft(completion-query-items)1110
2545 y Fu(The)c(n)m(um)m(b)s(er)f(of)h(p)s(ossible)g(completions)h
(that)g(determines)f(when)f(the)i(user)1110 2655 y(is)43
b(ask)m(ed)g(whether)f(the)g(list)h(of)g(p)s(ossibilities)g(should)f(b)
s(e)g(displa)m(y)m(ed.)77 b(If)1110 2491 y(the)29 b(n)m(um)m(b)s(er)f
s(e)g(displa)m(y)m(ed.)77 b(If)1110 2765 y(the)29 b(n)m(um)m(b)s(er)f
(of)h(p)s(ossible)g(completions)h(is)f(greater)h(than)f(or)g(equal)g
(to)h(this)1110 2600 y(v)-5 b(alue,)45 b(Readline)e(will)f(ask)g
(to)h(this)1110 2874 y(v)-5 b(alue,)45 b(Readline)e(will)f(ask)g
(whether)f(or)h(not)g(the)g(user)f(wishes)g(to)i(view)1110
2710 y(them;)33 b(otherwise,)f(they)g(are)g(simply)g(listed.)45
2984 y(them;)33 b(otherwise,)f(they)g(are)g(simply)g(listed.)45
b(This)31 b(v)-5 b(ariable)33 b(m)m(ust)e(b)s(e)g(set)1110
2819 y(to)43 b(an)e(in)m(teger)j(v)-5 b(alue)42 b(greater)h(than)f(or)g
3093 y(to)43 b(an)e(in)m(teger)j(v)-5 b(alue)42 b(greater)h(than)f(or)g
(equal)g(to)h(zero.)76 b(A)42 b(zero)g(v)-5 b(alue)1110
2929 y(means)40 b(Readline)h(should)f(nev)m(er)g(ask;)46
3203 y(means)40 b(Readline)h(should)f(nev)m(er)g(ask;)46
b(negativ)m(e)d(v)-5 b(alues)41 b(are)f(treated)i(as)1110
3039 y(zero.)g(The)29 b(default)i(limit)g(is)g Ft(100)p
Fu(.)630 3203 y Ft(convert-meta)1110 3313 y Fu(If)22
3313 y(zero.)g(The)29 b(default)i(limit)g(is)g Ft(100)p
Fu(.)630 3463 y Ft(convert-meta)1110 3573 y Fu(If)22
b(set)g(to)h(`)p Ft(on)p Fu(',)h(Readline)f(will)f(con)m(v)m(ert)i(c)m
(haracters)f(with)f(the)g(eigh)m(th)h(bit)f(set)1110
3422 y(to)33 b(an)e Fm(asci)r(i)h Fu(k)m(ey)h(sequence)f(b)m(y)g
3682 y(to)33 b(an)e Fm(asci)r(i)h Fu(k)m(ey)h(sequence)f(b)m(y)g
(stripping)f(the)h(eigh)m(th)h(bit)f(and)f(pre\014xing)1110
3532 y(an)24 b Ft(ESC)g Fu(c)m(haracter,)j(con)m(v)m(erting)f(them)f
(to)g(a)g(meta-pre\014xed)f(k)m(ey)h(sequence.)1110 3641
3792 y(an)24 b Ft(ESC)g Fu(c)m(haracter,)j(con)m(v)m(erting)f(them)f
(to)g(a)g(meta-pre\014xed)f(k)m(ey)h(sequence.)1110 3902
y(The)i(default)h(v)-5 b(alue)28 b(is)f(`)p Ft(on)p Fu(',)i(but)d(will)
i(b)s(e)f(set)h(to)g(`)p Ft(off)p Fu(')g(if)f(the)h(lo)s(cale)h(is)f
(one)1110 3751 y(that)j(con)m(tains)h(eigh)m(t-bit)g(c)m(haracters.)630
3915 y Ft(disable-completion)1110 4025 y Fu(If)k(set)h(to)h(`)p
(one)1110 4011 y(that)j(con)m(tains)h(eigh)m(t-bit)g(c)m(haracters.)630
4162 y Ft(disable-completion)1110 4271 y Fu(If)k(set)h(to)h(`)p
Ft(On)p Fu(',)g(Readline)f(will)g(inhibit)f(w)m(ord)h(completion.)60
b(Completion)1110 4134 y(c)m(haracters)28 b(will)e(b)s(e)f(inserted)h
b(Completion)1110 4381 y(c)m(haracters)28 b(will)e(b)s(e)f(inserted)h
(in)m(to)h(the)g(line)f(as)g(if)g(they)h(had)e(b)s(een)g(mapp)s(ed)1110
4244 y(to)31 b Ft(self-insert)p Fu(.)38 b(The)30 b(default)g(is)h(`)p
Ft(off)p Fu('.)630 4408 y Ft(echo-control-characters)1110
4518 y Fu(When)f(set)h(to)g(`)p Ft(on)p Fu(',)f(on)g(op)s(erating)h
(systems)f(that)h(indicate)g(they)g(supp)s(ort)1110 4628
4491 y(to)31 b Ft(self-insert)p Fu(.)38 b(The)30 b(default)g(is)h(`)p
Ft(off)p Fu('.)630 4641 y Ft(echo-control-characters)1110
4751 y Fu(When)f(set)h(to)g(`)p Ft(on)p Fu(',)f(on)g(op)s(erating)h
(systems)f(that)h(indicate)g(they)g(supp)s(ort)1110 4861
y(it,)i(readline)e(ec)m(ho)s(es)i(a)f(c)m(haracter)h(corresp)s(onding)d
(to)j(a)f(signal)g(generated)1110 4737 y(from)e(the)g(k)m(eyb)s(oard.)
41 b(The)30 b(default)g(is)h(`)p Ft(on)p Fu('.)630 4902
y Ft(editing-mode)1110 5011 y Fu(The)d Ft(editing-mode)e
(to)j(a)f(signal)g(generated)1110 4970 y(from)e(the)g(k)m(eyb)s(oard.)
41 b(The)30 b(default)g(is)h(`)p Ft(on)p Fu('.)630 5121
y Ft(editing-mode)1110 5230 y Fu(The)d Ft(editing-mode)e
Fu(v)-5 b(ariable)29 b(con)m(trols)h(whic)m(h)e(default)h(set)h(of)e(k)
m(ey)i(bind-)1110 5121 y(ings)25 b(is)g(used.)38 b(By)26
b(default,)g(Readline)g(starts)f(up)f(in)h(Emacs)g(editing)h(mo)s(de,)
1110 5230 y(where)j(the)g(k)m(eystrok)m(es)i(are)e(most)h(similar)f(to)
h(Emacs.)40 b(This)29 b(v)-5 b(ariable)30 b(can)1110
5340 y(b)s(e)g(set)h(to)g(either)g(`)p Ft(emacs)p Fu(')e(or)h(`)p
Ft(vi)p Fu('.)p eop end
m(ey)i(bind-)1110 5340 y(ings)25 b(is)g(used.)38 b(By)26
b(default,)g(Readline)g(starts)f(up)f(in)h(Emacs)g(editing)h(mo)s(de,)p
eop end
%%Page: 121 127
TeXDict begin 121 126 bop 150 -116 a Fu(Chapter)30 b(8:)41
b(Command)29 b(Line)i(Editing)2062 b(121)630 299 y Ft
(emacs-mode-string)1110 408 y Fu(If)33 b(the)h Fr(sho)m(w-mo)s
b(Command)29 b(Line)i(Editing)2062 b(121)1110 299 y(where)29
b(the)g(k)m(eystrok)m(es)i(are)e(most)h(similar)f(to)h(Emacs.)40
b(This)29 b(v)-5 b(ariable)30 b(can)1110 408 y(b)s(e)g(set)h(to)g
(either)g(`)p Ft(emacs)p Fu(')e(or)h(`)p Ft(vi)p Fu('.)630
565 y Ft(emacs-mode-string)1110 675 y Fu(If)j(the)h Fr(sho)m(w-mo)s
(de-in-prompt)h Fu(v)-5 b(ariable)35 b(is)e(enabled,)i(this)f(string)f
(is)h(dis-)1110 518 y(pla)m(y)m(ed)24 b(immediately)g(b)s(efore)f(the)g
(is)h(dis-)1110 784 y(pla)m(y)m(ed)24 b(immediately)g(b)s(efore)f(the)g
(last)h(line)f(of)h(the)f(primary)f(prompt)g(when)1110
628 y(emacs)g(editing)h(mo)s(de)e(is)h(activ)m(e.)40
894 y(emacs)g(editing)h(mo)s(de)e(is)h(activ)m(e.)40
b(The)21 b(v)-5 b(alue)22 b(is)g(expanded)f(lik)m(e)h(a)h(k)m(ey)f
(bind-)1110 737 y(ing,)27 b(so)f(the)f(standard)g(set)h(of)f(meta-)i
(bind-)1110 1003 y(ing,)27 b(so)f(the)f(standard)g(set)h(of)f(meta-)i
(and)e(con)m(trol)i(pre\014xes)d(and)h(bac)m(kslash)1110
847 y(escap)s(e)f(sequences)h(is)e(a)m(v)-5 b(ailable.)41
1113 y(escap)s(e)f(sequences)h(is)e(a)m(v)-5 b(ailable.)41
b(Use)25 b(the)f(`)p Ft(\\1)p Fu(')f(and)h(`)p Ft(\\2)p
Fu(')g(escap)s(es)g(to)g(b)s(egin)1110 956 y(and)37 b(end)g(sequences)h
(of)f(non-prin)m(ting)h(c)m(haracters,)j(whic)m(h)c(can)h(b)s(e)f(used)
1110 1066 y(to)h(em)m(b)s(ed)f(a)g(terminal)h(con)m(trol)h(sequence)f
(in)m(to)g(the)f(mo)s(de)g(string.)61 b(The)1110 1176
y(default)31 b(is)f(`)p Ft(@)p Fu('.)630 1377 y Ft
(enable-active-region)1110 1486 y Fu(The)46 b Fr(p)s(oin)m(t)j
Fu(is)e(the)g(curren)m(t)f(cursor)g(p)s(osition,)52 b(and)46
b Fr(mark)52 b Fu(refers)46 b(to)i(a)1110 1596 y(sa)m(v)m(ed)37
b(cursor)f(p)s(osition)g(\(see)i(Section)f(8.4.1)h([Commands)d(F)-8
b(or)37 b(Mo)m(ving],)1110 1705 y(page)d(131\).)50 b(The)33
b(text)h(b)s(et)m(w)m(een)f(the)g(p)s(oin)m(t)g(and)g(mark)g(is)g
(referred)f(to)i(as)1110 1815 y(the)23 b Fr(region)p
Fu(')g(escap)s(es)g(to)g(b)s(egin)1110 1223 y(and)37
b(end)g(sequences)h(of)f(non-prin)m(ting)h(c)m(haracters,)j(whic)m(h)c
(can)h(b)s(e)f(used)1110 1332 y(to)h(em)m(b)s(ed)f(a)g(terminal)h(con)m
(trol)h(sequence)f(in)m(to)g(the)f(mo)s(de)g(string.)61
b(The)1110 1442 y(default)31 b(is)f(`)p Ft(@)p Fu('.)630
1598 y Ft(enable-active-region)1110 1708 y Fu(The)46
b Fr(p)s(oin)m(t)j Fu(is)e(the)g(curren)m(t)f(cursor)g(p)s(osition,)52
b(and)46 b Fr(mark)52 b Fu(refers)46 b(to)i(a)1110 1817
y(sa)m(v)m(ed)37 b(cursor)f(p)s(osition)g(\(see)i(Section)f(8.4.1)h
([Commands)d(F)-8 b(or)37 b(Mo)m(ving],)1110 1927 y(page)d(131\).)50
b(The)33 b(text)h(b)s(et)m(w)m(een)f(the)g(p)s(oin)m(t)g(and)g(mark)g
(is)g(referred)f(to)i(as)1110 2037 y(the)23 b Fr(region)p
Fu(.)39 b(When)23 b(this)g(v)-5 b(ariable)24 b(is)f(set)h(to)g(`)p
Ft(On)p Fu(',)h(Readline)f(allo)m(ws)g(certain)1110 1924
Ft(On)p Fu(',)h(Readline)f(allo)m(ws)g(certain)1110 2146
y(commands)37 b(to)h(designate)h(the)e(region)h(as)g
Fr(activ)m(e)p Fu(.)64 b(When)37 b(the)h(region)g(is)1110
2034 y(activ)m(e,)g(Readline)d(highligh)m(ts)g(the)g(text)g(in)f(the)h
(region)g(using)f(the)g(termi-)1110 2144 y(nal's)c(standout)h(mo)s(de.)
2256 y(activ)m(e,)g(Readline)d(highligh)m(ts)g(the)g(text)g(in)f(the)h
(region)g(using)f(the)g(termi-)1110 2365 y(nal's)c(standout)h(mo)s(de.)
40 b(The)29 b(activ)m(e)k(region)e(sho)m(ws)f(the)g(text)h(inserted)f
(b)m(y)1110 2253 y(brac)m(k)m(eted-paste)37 b(and)d(an)m(y)i(matc)m
(b)m(y)1110 2475 y(brac)m(k)m(eted-paste)37 b(and)d(an)m(y)i(matc)m
(hing)f(text)h(found)e(b)m(y)g(incremen)m(tal)j(and)1110
2363 y(non-incremen)m(tal)31 b(history)g(searc)m(hes.)41
b(The)30 b(default)h(is)f(`)p Ft(On)p Fu('.)630 2564
y Ft(enable-bracketed-paste)1110 2673 y Fu(When)24 b(set)h(to)h(`)p
2585 y(non-incremen)m(tal)31 b(history)g(searc)m(hes.)41
b(The)30 b(default)h(is)f(`)p Ft(On)p Fu('.)630 2741
y Ft(enable-bracketed-paste)1110 2851 y Fu(When)24 b(set)h(to)h(`)p
Ft(On)p Fu(',)g(Readline)f(will)g(con\014gure)f(the)h(terminal)g(in)f
(a)h(w)m(a)m(y)g(that)1110 2783 y(will)k(enable)f(it)h(to)g(insert)g
(a)h(w)m(a)m(y)g(that)1110 2960 y(will)k(enable)f(it)h(to)g(insert)g
(eac)m(h)g(paste)g(in)m(to)g(the)g(editing)g(bu\013er)e(as)i(a)f
(single)1110 2892 y(string)33 b(of)f(c)m(haracters,)j(instead)e(of)g
(single)1110 3070 y(string)33 b(of)f(c)m(haracters,)j(instead)e(of)g
(treating)h(eac)m(h)g(c)m(haracter)g(as)f(if)f(it)i(had)1110
3002 y(b)s(een)e(read)i(from)e(the)i(k)m(eyb)s(oard.)49
3180 y(b)s(een)e(read)i(from)e(the)i(k)m(eyb)s(oard.)49
b(This)32 b(can)h(prev)m(en)m(t)h(pasted)f(c)m(haracters)1110
3112 y(from)d(b)s(eing)g(in)m(terpreted)h(as)f(editing)h(commands.)41
b(The)29 b(default)i(is)f(`)p Ft(On)p Fu('.)630 3313
y Ft(enable-keypad)1110 3422 y Fu(When)23 b(set)h(to)g(`)p
3289 y(from)d(b)s(eing)g(in)m(terpreted)h(as)f(editing)h(commands.)41
b(The)29 b(default)i(is)f(`)p Ft(On)p Fu('.)630 3446
y Ft(enable-keypad)1110 3555 y Fu(When)23 b(set)h(to)g(`)p
Ft(on)p Fu(',)h(Readline)f(will)g(try)f(to)h(enable)g(the)f
(application)i(k)m(eypad)1110 3532 y(when)h(it)h(is)f(called.)41
(application)i(k)m(eypad)1110 3665 y(when)h(it)h(is)f(called.)41
b(Some)27 b(systems)f(need)h(this)f(to)h(enable)g(the)g(arro)m(w)g(k)m
(eys.)1110 3641 y(The)j(default)g(is)h(`)p Ft(off)p Fu('.)630
3842 y Ft(enable-meta-key)1110 3952 y Fu(When)40 b(set)g(to)g(`)p
(eys.)1110 3774 y(The)j(default)g(is)h(`)p Ft(off)p Fu('.)630
3931 y Ft(enable-meta-key)1110 4041 y Fu(When)40 b(set)g(to)g(`)p
Ft(on)p Fu(',)j(Readline)d(will)g(try)g(to)g(enable)g(an)m(y)g(meta)h
(mo)s(di\014er)1110 4061 y(k)m(ey)i(the)e(terminal)i(claims)f(to)h
(mo)s(di\014er)1110 4150 y(k)m(ey)i(the)e(terminal)i(claims)f(to)h
(supp)s(ort)d(when)h(it)h(is)g(called.)76 b(On)41 b(man)m(y)1110
4171 y(terminals,)c(the)e(meta)h(k)m(ey)g(is)f(used)g(to)h(send)e(eigh)
m(t-bit)j(c)m(haracters.)56 b(The)1110 4281 y(default)31
b(is)f(`)p Ft(on)p Fu('.)630 4482 y Ft(expand-tilde)1110
4591 y Fu(If)d(set)h(to)h(`)p Ft(on)p Fu(',)f(tilde)g(expansion)g(is)f
(p)s(erformed)f(when)h(Readline)h(attempts)1110 4701
4260 y(terminals,)c(the)e(meta)h(k)m(ey)g(is)f(used)g(to)h(send)e(eigh)
m(t-bit)j(c)m(haracters.)56 b(The)1110 4369 y(default)31
b(is)f(`)p Ft(on)p Fu('.)630 4526 y Ft(expand-tilde)1110
4635 y Fu(If)d(set)h(to)h(`)p Ft(on)p Fu(',)f(tilde)g(expansion)g(is)f
(p)s(erformed)f(when)h(Readline)h(attempts)1110 4745
y(w)m(ord)i(completion.)42 b(The)30 b(default)g(is)h(`)p
Ft(off)p Fu('.)630 4902 y Ft(history-preserve-point)1110
5011 y Fu(If)41 b(set)h(to)h(`)p Ft(on)p Fu(',)i(the)c(history)h(co)s
@@ -21496,7 +21500,7 @@ b Fc(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)
g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g
(:)h(:)27 b Fb(81)2025 4569 y Fe(completion-display-width)9
b Fc(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g
(:)h(:)f(:)g(:)24 b Fb(119)2025 4658 y Fe(completion-ignore-case)14
(:)h(:)f(:)g(:)24 b Fb(120)2025 4658 y Fe(completion-ignore-case)14
b Fc(:)k(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g
(:)g(:)g(:)h(:)f(:)29 b Fb(120)2025 4747 y Fe(completion-map-case)d
Fc(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g
+6 -4
View File
@@ -5171,8 +5171,8 @@ parameters, or to display the names and values of shell variables.
@item set
@btindex set
@example
set [--abefhkmnptuvxBCEHPT] [-o @var{option-name}] [@var{argument} @dots{}]
set [+abefhkmnptuvxBCEHPT] [+o @var{option-name}] [@var{argument} @dots{}]
set [-abefhkmnptuvxBCEHPT] [-o @var{option-name}] [--] [-] [@var{argument} @dots{}]
set [+abefhkmnptuvxBCEHPT] [+o @var{option-name}] [--] [-] [@var{argument} @dots{}]
@end example
If no options or arguments are supplied, @code{set} displays the names
@@ -7221,9 +7221,11 @@ A failed @code{exec} will not cause the shell to exit
Parser syntax errors will not cause the shell to exit.
@item
Simple spelling correction for directory arguments to the @code{cd}
builtin is enabled by default (see the description of the @code{cdspell}
If the @code{cdspell} shell option is enabled, the shell will attempt
simple spelling correction for directory arguments to the @code{cd}
builtin (see the description of the @code{cdspell}
option to the @code{shopt} builtin in @ref{The Shopt Builtin}).
The @code{cdspell} option is only effective in interactive shells.
@item
The shell will check the value of the @env{TMOUT} variable and exit
+1 -1
View File
@@ -134,7 +134,7 @@
\entry{colored-completion-prefix}{119}{\code {colored-completion-prefix}}
\entry{colored-stats}{119}{\code {colored-stats}}
\entry{comment-begin}{119}{\code {comment-begin}}
\entry{completion-display-width}{119}{\code {completion-display-width}}
\entry{completion-display-width}{120}{\code {completion-display-width}}
\entry{completion-ignore-case}{120}{\code {completion-ignore-case}}
\entry{completion-map-case}{120}{\code {completion-map-case}}
\entry{completion-prefix-display-length}{120}{\code {completion-prefix-display-length}}
+1 -1
View File
@@ -65,7 +65,7 @@
\entry{\code {COMP_TYPE}}{81}
\entry{\code {COMP_WORDBREAKS}}{81}
\entry{\code {COMP_WORDS}}{81}
\entry{\code {completion-display-width}}{119}
\entry{\code {completion-display-width}}{120}
\entry{\code {completion-ignore-case}}{120}
\entry{\code {completion-map-case}}{120}
\entry{\code {completion-prefix-display-length}}{120}
+12 -12
View File
@@ -1127,18 +1127,18 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
associated with the RREETTUURRNN trap is executed before execution re-
sumes after the function or script.
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, the name and value of each shell variable are
displayed in a format that can be reused as input for setting or
resetting the currently-set variables. Read-only variables can-
not be reset. In _p_o_s_i_x _m_o_d_e, only shell variables are listed.
The output is sorted according to the current locale. When op-
tions are specified, they set or unset shell attributes. Any
arguments remaining after option processing are treated as val-
ues for the positional parameters and are assigned, in order, to
$$11, $$22, ...... $$_n. Options, if specified, have the following
meanings:
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-
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
output is sorted according to the current locale. When options
are specified, they set or unset shell attributes. Any argu-
ments remaining after option processing are treated as values
for the positional parameters and are assigned, in order, to $$11,
$$22, ...... $$_n. Options, if specified, have the following mean-
ings:
--aa Each variable or function that is created or modified is
given the export attribute and marked for export to the
environment of subsequent commands.
+24 -23
View File
@@ -1,6 +1,6 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.22.4
%%CreationDate: Mon Nov 8 11:14:02 2021
%%CreationDate: Tue Nov 16 10:02:54 2021
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
@@ -2057,28 +2057,29 @@ F1(sour)2.881 E(ce)-.18 E F0 5.381(.A)C .681 -.15(ny c)-5.381 H(om-).15
E .75(mand associated with the)144 292.8 R F1(RETURN)3.249 E F0 .749
(trap is e)3.249 F -.15(xe)-.15 G .749(cuted before e).15 F -.15(xe)-.15
G .749(cution resumes after the function).15 F(or script.)144 304.8 Q F1
(set)108 321.6 Q F0([)2.5 E F1(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C
F1<ad6f>-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E
F0(...])2.5 E F1(set)108 333.6 Q F0([)2.5 E F1(+abefhkmnptuvxBCEHPT)A F0
2.5(][)C F1(+o)-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E
(g)-.37 E F0(...])2.5 E -.4(Wi)144 345.6 S .835
(thout options, the name and v).4 F .835(alue of each shell v)-.25 F
.836(ariable are displayed in a format that can be)-.25 F .784
(reused as input for setting or resetting the currently-set v)144 357.6
R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .783
(riables cannot be).25 F 2.946(reset. In)144 369.6 R F2 .447(posix mode)
2.946 F F0 2.947(,o)C .447(nly shell v)-2.947 F .447
(ariables are listed.)-.25 F .447
(The output is sorted according to the current)5.447 F 3.531
(locale. When)144 381.6 R 1.031(options are speci\214ed, the)3.531 F
3.531(ys)-.15 G 1.031(et or unset shell attrib)-3.531 F 3.53(utes. An)
-.2 F 3.53(ya)-.15 G -.18(rg)-3.53 G 1.03(uments remaining).18 F .584
(after option processing are treated as v)144 393.6 R .585
(alues for the positional parameters and are assigned, in or)-.25 F(-)
-.2 E(der)144 405.6 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5
E F0(,)A F1 2.5(... $)2.5 F F2(n)A F0 5(.O)C(ptions, if speci\214ed, ha)
-5 E .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad61>144
417.6 Q F0 1.378(Each v)184 417.6 R 1.377
(set)108 321.6 Q F0([)2.5 E F1(\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1
<ad6f>-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F1<adad>-2.5 E F0 2.5
(][)C F1<ad>-2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E F1
(set)108 333.6 Q F0([)2.5 E F1(+abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1(+o)
-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F1<adad>-2.5 E F0 2.5(][)C F1
<ad>-2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.4(Wi)144
345.6 S .573(thout options, display the name and v).4 F .573
(alue of each shell v)-.25 F .574
(ariable in a format that can be reused)-.25 F .113
(as input for setting or resetting the currently-set v)144 357.6 R 2.613
(ariables. Read-only)-.25 F -.25(va)2.613 G .113
(riables cannot be reset.).25 F(In)5.112 E F2 1.032(posix mode)144 369.6
R F0 3.532(,o)C 1.032(nly shell v)-3.532 F 1.032(ariables are listed.)
-.25 F 1.032(The output is sorted according to the current locale.)6.032
F .581(When options are speci\214ed, the)144 381.6 R 3.081(ys)-.15 G
.581(et or unset shell attrib)-3.081 F 3.081(utes. An)-.2 F 3.08(ya)-.15
G -.18(rg)-3.08 G .58(uments remaining after op-).18 F .16
(tion processing are treated as v)144 393.6 R .161
(alues for the positional parameters and are assigned, in order)-.25 F
2.661(,t)-.4 G(o)-2.661 E F1($1)2.661 E F0(,)A F1($2)144 405.6 Q F0(,)A
F1 2.5(... $)2.5 F F2(n)A F0 5(.O)C(ptions, if speci\214ed, ha)-5 E .3
-.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad61>144 417.6 Q
F0 1.378(Each v)184 417.6 R 1.377
(ariable or function that is created or modi\214ed is gi)-.25 F -.15(ve)
-.25 G 3.877(nt).15 G 1.377(he e)-3.877 F 1.377(xport attrib)-.15 F
1.377(ute and)-.2 F(mark)184 429.6 Q(ed for e)-.1 E(xport to the en)-.15
+1 -1
View File
@@ -1,6 +1,6 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.22.4
%%CreationDate: Mon Nov 8 11:14:02 2021
%%CreationDate: Tue Nov 16 10:02:54 2021
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%DocumentSuppliedResources: procset grops 1.22 4
+3 -3
View File
@@ -2,10 +2,10 @@
Copyright (C) 1988-2021 Free Software Foundation, Inc.
@end ignore
@set LASTCHANGE Mon Oct 25 11:21:24 EDT 2021
@set LASTCHANGE Sat Nov 20 12:41:30 EST 2021
@set EDITION 5.1
@set VERSION 5.1
@set UPDATED 25 October 2021
@set UPDATED-MONTH October 2021
@set UPDATED 20 November 2021
@set UPDATED-MONTH November 2021
+1 -9
View File
@@ -3922,18 +3922,10 @@ execute_cond_node (cond)
arg1 = nullstr;
if (echo_command_at_execute)
xtrace_print_cond_term (cond->type, invert, cond->op, arg1, (char *)NULL);
#if 0 /* TAG:bash-5.2 */
if (varop && shell_compatibility_level > 51) /* -v */
#else
if (varop)
#endif
oa = set_expand_once (0, 0);
oa = set_expand_once (0, 0); /* no-op for compatibility levels <= 51 */
result = unary_test (cond->op->word, arg1, varflag) ? EXECUTION_SUCCESS : EXECUTION_FAILURE;
#if 0
if (varop && shell_compatibility_level > 51) /* -v */
#else
if (varop)
#endif
assoc_expand_once = oa;
if (arg1 != nullstr)
free (arg1);
-6
View File
@@ -7396,14 +7396,12 @@ parameter_brace_expand_rhs (name, value, op, quoted, pflags, qdollaratp, hasdoll
if (vname != name)
free (vname);
#if 0 /* TAG:bash-5.2 oguzismailuysal@gmail.com 01/20/2021 */
/* "In all cases, the final value of parameter shall be substituted." */
if (shell_compatibility_level > 51)
{
FREE (t1);
t1 = value_cell (v);
}
#endif
/* From Posix group discussion Feb-March 2010. Issue 7 0000221 */
@@ -7417,10 +7415,6 @@ parameter_brace_expand_rhs (name, value, op, quoted, pflags, qdollaratp, hasdoll
if (w->word && w->word[0] && QUOTED_NULL (w->word) == 0)
w->flags &= ~W_SAWQUOTEDNULL;
#if 1 /* TAG:bash-5.2 */
free (t1);
#endif
/* If we convert a null string into a quoted null, make sure the caller
knows it. */
if ((quoted & (Q_DOUBLE_QUOTES|Q_HERE_DOCUMENT)) && QUOTED_NULL (w->word))
+1 -1
View File
@@ -70,7 +70,7 @@ source: usage: source filename [arguments]
./errors.tests: line 202: .: -i: invalid option
.: usage: . filename [arguments]
./errors.tests: line 205: set: -q: invalid option
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
./errors.tests: line 208: enable: sh: not a shell builtin
./errors.tests: line 208: enable: bash: not a shell builtin
./errors.tests: line 211: shopt: cannot set and unset shell options simultaneously
+1 -1
View File
@@ -13,7 +13,7 @@
./rsh.tests: line 37: /tmp/restricted: restricted: cannot redirect output
./rsh.tests: line 42: command: -p: restricted
./rsh.tests: line 44: set: +r: invalid option
set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
./rsh.tests: line 45: set: restricted: invalid option name
./rsh.tests: line 47: exec: restricted
./rsh.tests: after exec