commit bash-20190424 snapshot

This commit is contained in:
Chet Ramey
2019-04-25 09:03:48 -04:00
parent fc60fcf1b5
commit 9128f93291
35 changed files with 2083 additions and 1885 deletions
+48
View File
@@ -5795,3 +5795,51 @@ doc/bash.1,lib/readline/doc/rluser.texi
- make it clear that the `bind' builtin can be used to set readline
keybindings and variables. Suggestion from Dan Jacobson
<jidanni@jidanni.org>
4/22
----
lib/glob/glob.h
- GX_SYMLINK: new internal flag denoting we are processing a symlink to
a directory. If GX_GLOBSTAR is active, we should not `descend' into
that directory
lib/glob/glob.c
- glob_filename: if the directory portion of the pattern is `**'
(all_starstar), we have globbed all of the directories corresponding
to that pattern, and we encounter a name that is a symlink to a
directory, don't descend into it: if the filename portion is null,
return that name only; if the filename portion is non-null, skip over
it because we will pick it up when we process the `real' directory.
This is a better fix for the issue originally reported by
Murukesh Mohanan <murukesh.mohanan@gmail.com> back in 4/2018 and
addresses the issue raised by Eli Schwartz <eschwartz@archlinux.org>
- glob_dir_to_array: slight optimization: if array[i] is the empty
string, don't bother to strcpy it or check the result for a directory
for GX_MARKDIRS support
4/23
----
bashline.c
- test_for_canon_directory: test a pathname for a directory, but
expand and canonicalize it first using bash_filename_stat_hook()
before calling stat(2)
- bash_progcomp_ignore_filenames: strip non-directories out of a match
list, but use the function above that canonicalizes the pathname to
expand the name before testing
- bash_directory_completion_matches: use bash_progcomp_ignore_filenames
to strip out non-directories so we get consistent results between
programmable completion and tab completion. Fixes bug reported by
Ville Skytt盲 <ville.skytta@iki.fi>
builtins/read.def
- read_builtin: allow read -e and read -u N to be used together, by
calling fdopen(fd) if fd != 0. Save and restore rl_instream. Fixes
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927768
4/24
----
lib/readline/input.c
- rl_getc: if readline catches SIGTSTP, the calling application must
not have had it ignored. Run the signal handler and set the signal
hook in case the application wants to handle it. Report from
Robert Elz <kre@bmunnari.oz.au>
+1
View File
@@ -1104,6 +1104,7 @@ tests/globstar.tests f
tests/globstar.right f
tests/globstar1.sub f
tests/globstar2.sub f
tests/globstar3.sub f
tests/heredoc.tests f
tests/heredoc.right f
tests/heredoc1.sub f
+26 -1
View File
@@ -108,6 +108,7 @@ static int operate_and_get_next __P((int, int));
static int bash_ignore_filenames __P((char **));
static int bash_ignore_everything __P((char **));
static int bash_progcomp_ignore_filenames __P((char **));
#if defined (BANG_HISTORY)
static char *history_expand_line_internal __P((char *));
@@ -169,6 +170,7 @@ static char **hostnames_matching __P((char *));
static void _ignore_completion_names __P((char **, sh_ignore_func_t *));
static int name_is_acceptable __P((const char *));
static int test_for_directory __P((const char *));
static int test_for_canon_directory __P((const char *));
static int return_zero __P((const char *));
static char *bash_dequote_filename __P((char *, int));
@@ -2973,6 +2975,21 @@ test_for_directory (name)
return (r);
}
static int
test_for_canon_directory (name)
const char *name;
{
char *fn;
int r;
fn = (*name == '~') ? bash_tilde_expand (name, 0) : savestring (name);
bash_filename_stat_hook (&fn);
r = file_isdir (fn);
free (fn);
return (r);
}
/* Remove files from NAMES, leaving directories. */
static int
bash_ignore_filenames (names)
@@ -2982,6 +2999,14 @@ bash_ignore_filenames (names)
return 0;
}
static int
bash_progcomp_ignore_filenames (names)
char **names;
{
_ignore_completion_names (names, test_for_canon_directory);
return 0;
}
static int
return_zero (name)
const char *name;
@@ -4437,7 +4462,7 @@ bash_directory_completion_matches (text)
/* We don't bother recomputing the lcd of the matches, because it will just
get thrown away by the programmable completion code and recomputed
later. */
(void)bash_ignore_filenames (m1);
(void)bash_progcomp_ignore_filenames (m1);
return m1;
}
+20 -1
View File
@@ -1,7 +1,7 @@
This file is read.def, from which is created read.c.
It implements the builtin "read" in Bash.
Copyright (C) 1987-2017 Free Software Foundation, Inc.
Copyright (C) 1987-2019 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -198,6 +198,7 @@ read_builtin (list)
#if defined (READLINE)
char *rlbuf, *itext;
int rlind;
FILE *save_instream;
#endif
USE_VAR(size);
@@ -527,6 +528,19 @@ read_builtin (list)
initialize_terminating_signals ();
}
#if defined (READLINE)
save_instream = 0;
if (edit && fd != 0)
{
if (bash_readline_initialized == 0)
initialize_readline ();
unwind_protect_var (rl_instream);
save_instream = rl_instream;
rl_instream = fdopen (fd, "r");
}
#endif
/* This *must* be the top unwind-protect on the stack, so the manipulation
of the unwind-protect stack after the realloc() works right. */
add_unwind_protect (xfree, input_string);
@@ -759,6 +773,11 @@ add_char:
if (unbuffered_read == 0)
zsyncfd (fd);
#if defined (READLINE)
if (save_instream)
rl_instream = save_instream; /* can't portably free it */
#endif
discard_unwind_frame ("read_builtin");
retval = eof ? EXECUTION_FAILURE : EXECUTION_SUCCESS;
+14 -11
View File
@@ -2908,8 +2908,8 @@ JJOOBB CCOONNTTRROOLL
When the shell is waiting for a job or process using the wwaaiitt builtin,
and job control is enabled, wwaaiitt will return when the job changes
state. The --ff option will force wwaaiitt to wait until the job or process
terminates before returning.
state. The --ff option causes wwaaiitt to wait until the job or process ter-
minates before returning.
PPRROOMMPPTTIINNGG
When executing interactively, bbaasshh displays the primary prompt PPSS11 when
@@ -2967,7 +2967,9 @@ PPRROOMMPPTTIINNGG
is decoded, it is expanded via parameter expansion, command substitu-
tion, arithmetic expansion, and quote removal, subject to the value of
the pprroommppttvvaarrss shell option (see the description of the sshhoopptt command
under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below).
under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). This can have unwanted side
effects if escaped portions of the string appear within command substi-
tution or contain characters special to word expansion.
RREEAADDLLIINNEE
This is the library that handles reading input when using an interac-
@@ -3103,6 +3105,7 @@ RREEAADDLLIINNEE
form
sseett _v_a_r_i_a_b_l_e_-_n_a_m_e _v_a_l_u_e
or using the bbiinndd builtin command (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below).
Except where noted, readline variables can take the values OOnn or OOffff
(without regard to case). Unrecognized variable names are ignored.
@@ -6032,13 +6035,13 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS
a job spec is given, all processes in that job's pipeline are
waited for. If _i_d is not given, all currently active child pro-
cesses are waited for, and the return status is zero. If the --nn
option is supplied, wwaaiitt waits for any job to terminate and
returns its exit status. If the --ff option is supplied, and job
control is enabled, wwaaiitt forces _i_d to terminate before returning
its status, instead of returning when it changes status. If _i_d
specifies a non-existent process or job, the return status is
127. Otherwise, the return status is the exit status of the
last process or job waited for.
option is supplied, wwaaiitt waits for a single job to terminate and
returns its exit status. Supplying the --ff option, when job con-
trol is enabled, forces wwaaiitt to wait for _i_d to terminate before
returning its status, instead of returning when it changes sta-
tus. If _i_d specifies a non-existent process or job, the return
status is 127. Otherwise, the return status is the exit status
of the last process or job waited for.
RREESSTTRRIICCTTEEDD SSHHEELLLL
If bbaasshh is started with the name rrbbaasshh, or the --rr option is supplied at
@@ -6170,4 +6173,4 @@ BBUUGGSS
GNU Bash 5.0 2019 February 26 BASH(1)
GNU Bash 5.0 2019 April 20 BASH(1)
+17 -9
View File
@@ -3,7 +3,7 @@
</HEAD>
<BODY><TABLE WIDTH=100%>
<TR>
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2019 February 26<TH ALIGN=RIGHT width=33%>BASH(1)
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2019 April 20<TH ALIGN=RIGHT width=33%>BASH(1)
</TR>
</TABLE>
<BR><A HREF="#index">Index</A>
@@ -6654,7 +6654,7 @@ jobs are terminated.
When the shell is waiting for a job or process using the <B>wait</B>
builtin, and job control is enabled, <B>wait</B> will return when the
job changes state. The <B>-f</B> option will force <B>wait</B> to wait
job changes state. The <B>-f</B> option causes <B>wait</B> to wait
until the job or process terminates before returning.
<A NAME="lbCE">&nbsp;</A>
<H3>PROMPTING</H3>
@@ -6852,6 +6852,9 @@ command under
</FONT>
below).
This can have unwanted side effects if escaped portions of the string
appear within command substitution or contain characters special to
word expansion.
<A NAME="lbCF">&nbsp;</A>
<H3>READLINE</H3>
@@ -7236,6 +7239,11 @@ file with a statement of the form
<B>set</B> <I>variable-name</I> <I>value</I>
</DL>
or using the <B>bind</B> builtin command (see
<FONT SIZE=-1><B>SHELL BUILTIN COMMANDS</B>
</FONT>
below).
<P>
Except where noted, readline variables can take the values
@@ -13636,11 +13644,11 @@ in that job's pipeline are waited for. If
is not given, all currently active child processes
are waited for, and the return status is zero.
If the <B>-n</B> option is supplied, <B>wait</B> waits for any job to
terminate and returns its exit status.
If the <B>-f</B> option is supplied, and job control is enabled,
<B>wait</B> forces <I>id</I> to terminate before returning its status,
instead of returning when it changes status.
If the <B>-n</B> option is supplied, <B>wait</B> waits for a single job
to terminate and returns its exit status.
Supplying the <B>-f</B> option, when job control is enabled,
forces <B>wait</B> to wait for <I>id</I> to terminate before returning
its status, instead of returning when it changes status.
If
<I>id</I>
@@ -13935,7 +13943,7 @@ There may be only one active coprocess at a time.
<HR>
<TABLE WIDTH=100%>
<TR>
<TH ALIGN=LEFT width=33%>GNU Bash 5.0<TH ALIGN=CENTER width=33%>2019 February 26<TH ALIGN=RIGHT width=33%>BASH(1)
<TH ALIGN=LEFT width=33%>GNU Bash 5.0<TH ALIGN=CENTER width=33%>2019 April 20<TH ALIGN=RIGHT width=33%>BASH(1)
</TR>
</TABLE>
<HR>
@@ -14041,6 +14049,6 @@ There may be only one active coprocess at a time.
</DL>
<HR>
This document was created by man2html from bash.1.<BR>
Time: 26 February 2019 09:57:16 EST
Time: 22 April 2019 09:26:51 EDT
</BODY>
</HTML>
+148 -144
View File
@@ -2,9 +2,9 @@ This is bash.info, produced by makeinfo version 6.5 from
bashref.texi.
This text is a brief description of the features that are present in the
Bash shell (version 5.0, 26 February 2019).
Bash shell (version 5.0, 20 April 2019).
This is Edition 5.0, last updated 26 February 2019, of 'The GNU Bash
This is Edition 5.0, last updated 20 April 2019, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.0.
Copyright (C) 1988-2018 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.0, 26 February 2019). The Bash home page is
Bash shell (version 5.0, 20 April 2019). The Bash home page is
<http://www.gnu.org/software/bash/>.
This is Edition 5.0, last updated 26 February 2019, of 'The GNU Bash
This is Edition 5.0, last updated 20 April 2019, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.0.
Bash contains features that appear in other popular shells, and some
@@ -6514,7 +6514,9 @@ of commands executed during the current shell session.
After the string is decoded, it is expanded via parameter expansion,
command substitution, arithmetic expansion, and quote removal, subject
to the value of the 'promptvars' shell option (*note The Shopt
Builtin::).
Builtin::). This can have unwanted side effects if escaped portions of
the string appear within command substitution or contain characters
special to word expansion.

File: bash.info, Node: The Restricted Shell, Next: Bash POSIX Mode, Prev: Controlling the Prompt, Up: Bash Features
@@ -6912,8 +6914,8 @@ another warning, and any stopped jobs are terminated.
When the shell is waiting for a job or process using the 'wait'
builtin, and job control is enabled, 'wait' will return when the job
changes state. The '-f' option will force 'wait' to wait until the job
or process terminates before returning.
changes state. The '-f' option causes 'wait' to wait until the job or
process terminates before returning.

File: bash.info, Node: Job Control Builtins, Next: Job Control Variables, Prev: Job Control Basics, Up: Job Control
@@ -6998,10 +7000,10 @@ File: bash.info, Node: Job Control Builtins, Next: Job Control Variables, Pre
last command waited for. If a job spec is given, all processes in
the job are waited for. If no arguments are given, all currently
active child processes are waited for, and the return status is
zero. If the '-n' option is supplied, 'wait' waits for any job to
terminate and returns its exit status. If the '-f' option is
supplied, and job control is enabled, 'wait' forces each PID or
JOBSPEC to terminate before returning its status, intead of
zero. If the '-n' option is supplied, 'wait' waits for a single
job to terminate and returns its exit status. Supplying the '-f'
option, when job control is enabled, forces 'wait' to wait for each
PID or JOBSPEC to terminate before returning its status, intead of
returning when it changes status. If neither JOBSPEC nor PID
specifies an active child process of the shell, the return status
is 127.
@@ -7343,7 +7345,9 @@ putting commands in an "inputrc" file, conventionally in his home
directory. The name of this file is taken from the value of the shell
variable 'INPUTRC'. If that variable is unset, the default is
'~/.inputrc'. If that file does not exist or cannot be read, the
ultimate default is '/etc/inputrc'.
ultimate default is '/etc/inputrc'. The 'bind' builtin command can also
be used to set Readline keybindings and variables. *Note Bash
Builtins::.
When a program which uses the Readline library starts up, the init
file is read, and the key bindings are set.
@@ -9140,8 +9144,8 @@ directory name, in case we want to append to it. The '-o bashdefault'
option brings in the rest of the "Bash default" completions - possible
completion that Bash adds to the default Readline set. These include
things like command name completion, variable completion for words
beginning with '{', completions containing pathname expansion patterns
(*note Filename Expansion::), and so on.
beginning with '$' or '${', completions containing pathname expansion
patterns (*note Filename Expansion::), and so on.
Once installed using 'complete', '_comp_cd' will be called every time
we attempt word completion for a 'cd' command.
@@ -9150,7 +9154,7 @@ we attempt word completion for a 'cd' command.
of the common GNU, Unix, and Linux commands - are available as part of
the bash_completion project. This is installed by default on many
GNU/Linux distributions. Originally written by Ian Macdonald, the
project now lives at <http://bash-completion.alioth.debian.org/>. There
project now lives at <https://github.com/scop/bash-completion/>. There
are ports for other systems such as Solaris and Mac OS X.
An older version of the bash_completion package is distributed with
@@ -11684,134 +11688,134 @@ D.5 Concept Index

Tag Table:
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 Character14474
Node: Single Quotes14959
Node: Double Quotes15307
Node: ANSI-C Quoting16585
Node: Locale Translation17844
Node: Comments18740
Node: Shell Commands19358
Node: Simple Commands20230
Node: Pipelines20861
Node: Lists23793
Node: Compound Commands25584
Node: Looping Constructs26596
Node: Conditional Constructs29091
Node: Command Grouping40259
Node: Coprocesses41738
Node: GNU Parallel43641
Node: Shell Functions47699
Node: Shell Parameters54782
Node: Positional Parameters59195
Node: Special Parameters60095
Node: Shell Expansions63849
Node: Brace Expansion65972
Node: Tilde Expansion68695
Node: Shell Parameter Expansion71312
Node: Command Substitution85745
Node: Arithmetic Expansion87100
Node: Process Substitution88032
Node: Word Splitting89152
Node: Filename Expansion91096
Node: Pattern Matching93626
Node: Quote Removal97612
Node: Redirections97907
Node: Executing Commands107465
Node: Simple Command Expansion108135
Node: Command Search and Execution110065
Node: Command Execution Environment112441
Node: Environment115425
Node: Exit Status117084
Node: Signals118754
Node: Shell Scripts120721
Node: Shell Builtin Commands123236
Node: Bourne Shell Builtins125274
Node: Bash Builtins146024
Node: Modifying Shell Behavior174949
Node: The Set Builtin175294
Node: The Shopt Builtin185707
Node: Special Builtins203377
Node: Shell Variables204356
Node: Bourne Shell Variables204793
Node: Bash Variables206897
Node: Bash Features237357
Node: Invoking Bash238256
Node: Bash Startup Files244269
Node: Interactive Shells249372
Node: What is an Interactive Shell?249782
Node: Is this Shell Interactive?250431
Node: Interactive Shell Behavior251246
Node: Bash Conditional Expressions254733
Node: Shell Arithmetic259310
Node: Aliases262127
Node: Arrays264747
Node: The Directory Stack270112
Node: Directory Stack Builtins270896
Node: Controlling the Prompt273864
Node: The Restricted Shell276630
Node: Bash POSIX Mode278455
Node: Job Control289388
Node: Job Control Basics289848
Node: Job Control Builtins294816
Node: Job Control Variables299543
Node: Command Line Editing300699
Node: Introduction and Notation302370
Node: Readline Interaction303993
Node: Readline Bare Essentials305184
Node: Readline Movement Commands306967
Node: Readline Killing Commands307927
Node: Readline Arguments309845
Node: Searching310889
Node: Readline Init File313075
Node: Readline Init File Syntax314222
Node: Conditional Init Constructs334661
Node: Sample Init File338857
Node: Bindable Readline Commands341974
Node: Commands For Moving343178
Node: Commands For History345027
Node: Commands For Text349322
Node: Commands For Killing352710
Node: Numeric Arguments355191
Node: Commands For Completion356330
Node: Keyboard Macros360521
Node: Miscellaneous Commands361208
Node: Readline vi Mode367161
Node: Programmable Completion368068
Node: Programmable Completion Builtins375848
Node: A Programmable Completion Example386543
Node: Using History Interactively391783
Node: Bash History Facilities392467
Node: Bash History Builtins395472
Node: History Interaction400003
Node: Event Designators403623
Node: Word Designators404842
Node: Modifiers406479
Node: Installing Bash407881
Node: Basic Installation409018
Node: Compilers and Options412276
Node: Compiling For Multiple Architectures413017
Node: Installation Names414710
Node: Specifying the System Type415528
Node: Sharing Defaults416244
Node: Operation Controls416917
Node: Optional Features417875
Node: Reporting Bugs428393
Node: Major Differences From The Bourne Shell429587
Node: GNU Free Documentation License446439
Node: Indexes471616
Node: Builtin Index472070
Node: Reserved Word Index478897
Node: Variable Index481345
Node: Function Index497096
Node: Concept Index510399
Node: Top891
Node: Introduction2805
Node: What is Bash?3021
Node: What is a shell?4135
Node: Definitions6673
Node: Basic Shell Features9624
Node: Shell Syntax10843
Node: Shell Operation11869
Node: Quoting13162
Node: Escape Character14462
Node: Single Quotes14947
Node: Double Quotes15295
Node: ANSI-C Quoting16573
Node: Locale Translation17832
Node: Comments18728
Node: Shell Commands19346
Node: Simple Commands20218
Node: Pipelines20849
Node: Lists23781
Node: Compound Commands25572
Node: Looping Constructs26584
Node: Conditional Constructs29079
Node: Command Grouping40247
Node: Coprocesses41726
Node: GNU Parallel43629
Node: Shell Functions47687
Node: Shell Parameters54770
Node: Positional Parameters59183
Node: Special Parameters60083
Node: Shell Expansions63837
Node: Brace Expansion65960
Node: Tilde Expansion68683
Node: Shell Parameter Expansion71300
Node: Command Substitution85733
Node: Arithmetic Expansion87088
Node: Process Substitution88020
Node: Word Splitting89140
Node: Filename Expansion91084
Node: Pattern Matching93614
Node: Quote Removal97600
Node: Redirections97895
Node: Executing Commands107453
Node: Simple Command Expansion108123
Node: Command Search and Execution110053
Node: Command Execution Environment112429
Node: Environment115413
Node: Exit Status117072
Node: Signals118742
Node: Shell Scripts120709
Node: Shell Builtin Commands123224
Node: Bourne Shell Builtins125262
Node: Bash Builtins146012
Node: Modifying Shell Behavior174937
Node: The Set Builtin175282
Node: The Shopt Builtin185695
Node: Special Builtins203365
Node: Shell Variables204344
Node: Bourne Shell Variables204781
Node: Bash Variables206885
Node: Bash Features237345
Node: Invoking Bash238244
Node: Bash Startup Files244257
Node: Interactive Shells249360
Node: What is an Interactive Shell?249770
Node: Is this Shell Interactive?250419
Node: Interactive Shell Behavior251234
Node: Bash Conditional Expressions254721
Node: Shell Arithmetic259298
Node: Aliases262115
Node: Arrays264735
Node: The Directory Stack270100
Node: Directory Stack Builtins270884
Node: Controlling the Prompt273852
Node: The Restricted Shell276773
Node: Bash POSIX Mode278598
Node: Job Control289531
Node: Job Control Basics289991
Node: Job Control Builtins294955
Node: Job Control Variables299695
Node: Command Line Editing300851
Node: Introduction and Notation302522
Node: Readline Interaction304145
Node: Readline Bare Essentials305336
Node: Readline Movement Commands307119
Node: Readline Killing Commands308079
Node: Readline Arguments309997
Node: Searching311041
Node: Readline Init File313227
Node: Readline Init File Syntax314486
Node: Conditional Init Constructs334925
Node: Sample Init File339121
Node: Bindable Readline Commands342238
Node: Commands For Moving343442
Node: Commands For History345291
Node: Commands For Text349586
Node: Commands For Killing352974
Node: Numeric Arguments355455
Node: Commands For Completion356594
Node: Keyboard Macros360785
Node: Miscellaneous Commands361472
Node: Readline vi Mode367425
Node: Programmable Completion368332
Node: Programmable Completion Builtins376112
Node: A Programmable Completion Example386807
Node: Using History Interactively392054
Node: Bash History Facilities392738
Node: Bash History Builtins395743
Node: History Interaction400274
Node: Event Designators403894
Node: Word Designators405113
Node: Modifiers406750
Node: Installing Bash408152
Node: Basic Installation409289
Node: Compilers and Options412547
Node: Compiling For Multiple Architectures413288
Node: Installation Names414981
Node: Specifying the System Type415799
Node: Sharing Defaults416515
Node: Operation Controls417188
Node: Optional Features418146
Node: Reporting Bugs428664
Node: Major Differences From The Bourne Shell429858
Node: GNU Free Documentation License446710
Node: Indexes471887
Node: Builtin Index472341
Node: Reserved Word Index479168
Node: Variable Index481616
Node: Function Index497367
Node: Concept Index510670

End Tag Table
BIN
View File
Binary file not shown.
+148 -146
View File
@@ -1,6 +1,6 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.22.3
%%CreationDate: Tue Feb 26 09:57:03 2019
%%CreationDate: Mon Apr 22 09:26:38 2019
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
@@ -340,7 +340,7 @@ F .475(xtended deb)-.15 F(ug-)-.2 E
(~/.bashr)3.598 E(c)-.37 E F0 1.598(if the)4.408 F(shell is interacti)
144 710.4 Q .3 -.15(ve \()-.25 H(see).15 E F4(INV)2.5 E(OCA)-.405 E
(TION)-.855 E F0(belo)2.25 E(w\).)-.25 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(1)193.45 E 0 Cg EP
(2019 April 20)146.785 E(1)200.945 E 0 Cg EP
%%Page: 2 2
%%BeginPageSetup
BP
@@ -462,8 +462,8 @@ F2(~/.bashr)108 691.2 Q(c)-.37 E F0 2.535(,i)C 2.535(ft)-2.535 G .035
Q F1(bash)5.306 E F0 2.806(is started non-interacti)5.306 F -.15(ve)-.25
G(ly).15 E 5.306(,t)-.65 G 5.306(or)-5.306 G 2.806
(un a shell script, for e)-5.306 F 2.805(xample, it looks for the v)-.15
F(ariable)-.25 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(2)
193.45 E 0 Cg EP
F(ariable)-.25 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(2)200.945
E 0 Cg EP
%%Page: 3 3
%%BeginPageSetup
BP
@@ -598,8 +598,7 @@ F .389(wed by)-.25 F F2(blank)2.889 E F0 .389(-separated w)B .389
-.15(xe)-.15 G(cuted,).15 E(and is passed as ar)108 722.4 Q
(gument zero.)-.18 E(The remaining w)5 E(ords are passed as ar)-.1 E
(guments to the in)-.18 E -.2(vo)-.4 G -.1(ke).2 G 2.5(dc).1 G(ommand.)
-2.5 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(3)193.45 E 0 Cg
EP
-2.5 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(3)200.945 E 0 Cg EP
%%Page: 4 4
%%BeginPageSetup
BP
@@ -717,8 +716,8 @@ or more pipelines separated by the)108 597.6 R F2(&&)3.437 E F0(and)
(returns a non-zero e)2.935 F .435(xit status.)-.15 F .434
(The return status of AND)5.434 F(and OR lists is the e)108 705.6 Q
(xit status of the last command e)-.15 E -.15(xe)-.15 G
(cuted in the list.).15 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29
E(4)193.45 E 0 Cg EP
(cuted in the list.).15 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E
(4)200.945 E 0 Cg EP
%%Page: 5 5
%%BeginPageSetup
BP
@@ -847,8 +846,8 @@ F0 .597(with inde)2.847 F 3.097(x0i)-.15 G(s)-3.097 E .049
2.5 E F0 .523(Returns the v)180 685.2 R .522(alue of)-.25 F F2 -.2(ex)
3.022 G(pr).2 E(ession)-.37 E F0 5.522(.T)C .522(his may be used to o)
-5.522 F -.15(ve)-.15 G .522(rride the normal precedence of).15 F
(operators.)180 697.2 Q(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E
(5)193.45 E 0 Cg EP
(operators.)180 697.2 Q(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(5)
200.945 E 0 Cg EP
%%Page: 6 6
%%BeginPageSetup
BP
@@ -997,7 +996,7 @@ F2(list)2.507 E F0 .007(associated with the ne)2.507 F .007
(cuted, if present.).15 F .103(The e)5.103 F .103(xit status is the e)
-.15 F .104(xit sta-)-.15 F(tus of the last command e)144 700.8 Q -.15
(xe)-.15 G(cuted, or zero if no condition tested true.).15 E
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(6)193.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(6)200.945 E 0 Cg EP
%%Page: 7 7
%%BeginPageSetup
BP
@@ -1132,7 +1131,7 @@ F .952(ord be)-.1 F .952(ginning with)-.15 F F1(#)3.452 E F0 .952
(omments. The)-3.836 F F1(interacti)3.836 E -.1(ve)-.1 G(_comments).1 E
F0 1.337(option is on by def)3.837 F 1.337(ault in)-.1 F(interacti)108
710.4 Q .3 -.15(ve s)-.25 H(hells.).15 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(7)193.45 E 0 Cg EP
(2019 April 20)146.785 E(7)200.945 E 0 Cg EP
%%Page: 8 8
%%BeginPageSetup
BP
@@ -1237,7 +1236,7 @@ ngle-quoted, as if the dollar sign had not been present.)-.15 E 2.64(Ad)
108 720 S .14(ouble-quoted string preceded by a dollar sign \()-2.64 F
F4($)A F0(")A F2(string)A F0 .14
("\) will cause the string to be translated according)B(GNU Bash 5.0)72
768 Q(2019 February 26)139.29 E(8)193.45 E 0 Cg EP
768 Q(2019 April 20)146.785 E(8)200.945 E 0 Cg EP
%%Page: 9 9
%%BeginPageSetup
BP
@@ -1388,8 +1387,8 @@ F0 5.144(.I)C 2.644(ft)-5.144 G .144(he control v)-2.644 F .143
(ke).2 G .445(d, and may be reassigned using).1 F(the)108 722.4 Q F1
(set)3.334 E F0 -.2(bu)3.334 G .834(iltin command.).2 F .833(Positional\
parameters may not be assigned to with assignment statements.)5.834 F
(The)5.833 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(9)193.45 E
0 Cg EP
(The)5.833 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(9)200.945 E 0
Cg EP
%%Page: 10 10
%%BeginPageSetup
BP
@@ -1522,7 +1521,7 @@ F F1 -.27(BA)3.049 G(SHPID).27 E F0(ha)144 727.2 Q .3 -.15(ve n)-.2 H
2.5(oe).15 G -.25(ff)-2.5 G 2.5(ect. If).25 F F2 -.3(BA)2.5 G(SHPID).3 E
F0(is unset, it loses its special properties, e)2.5 E -.15(ve)-.25 G 2.5
(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.)
-2.5 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(10)188.45 E 0 Cg
-2.5 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(10)195.945 E 0 Cg
EP
%%Page: 11 11
%%BeginPageSetup
@@ -1641,7 +1640,7 @@ shell function)-.25 F .78(names in the)144 708 R F2(FUNCN)3.28 E(AME)
F0(is)3.281 E(de\214ned in the \214le)144 720 Q F1(${B)2.5 E
(ASH_SOURCE[)-.3 E F4($i)A F1(]})A F0(and called from)2.5 E F1(${B)2.5 E
(ASH_SOURCE[)-.3 E F4($i+1)A F1(]})A F0(.)A(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(11)188.45 E 0 Cg EP
(2019 April 20)146.785 E(11)195.945 E 0 Cg EP
%%Page: 12 12
%%BeginPageSetup
BP
@@ -1757,8 +1756,8 @@ F0 -.2(bu)2.746 G .246(iltins must be used to add and remo).2 F .546
F(ariable)-.25 E .351(will not change the current directory)144 726 R
5.35(.I)-.65 G(f)-5.35 E F3(DIRST)2.85 E -.495(AC)-.81 G(K).495 E F0 .35
(is unset, it loses its special properties, e)2.6 F -.15(ve)-.25 G 2.85
(ni).15 G(f)-2.85 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(12)
188.45 E 0 Cg EP
(ni).15 G(f)-2.85 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(12)
195.945 E 0 Cg EP
%%Page: 13 13
%%BeginPageSetup
BP
@@ -1863,7 +1862,7 @@ F1(getopts)4.127 E F0 -.2(bu)4.127 G 1.626(iltin command \(see).2 F F3
1.652(gument to be processed by the)-.18 F F1(getopts)4.152 E F0 -.2(bu)
4.152 G 1.652(iltin command \(see).2 F F3(SHELL)4.152 E -.09(BU)144 726
S(IL).09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E(GNU Bash 5.0)
72 768 Q(2019 February 26)139.29 E(13)188.45 E 0 Cg EP
72 768 Q(2019 April 20)146.785 E(13)195.945 E 0 Cg EP
%%Page: 14 14
%%BeginPageSetup
BP
@@ -1982,7 +1981,7 @@ R .48(ger corresponding to a v)-.15 F .481(alid \214le descriptor)-.25 F
F(-)-.2 E 3.114(ated when)144 729.6 R F4 3.114(set -x)5.614 F F0 3.114
(is enabled to that \214le descriptor)5.614 F 8.114(.T)-.55 G 3.114
(he \214le descriptor is closed when)-8.114 F(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(14)188.45 E 0 Cg EP
(2019 April 20)146.785 E(14)195.945 E 0 Cg EP
%%Page: 15 15
%%BeginPageSetup
BP
@@ -2101,7 +2100,7 @@ G .558(alue of)-3.308 F F5(ignor)3.068 E(edups)-.37 E F0 .558
(he history list, subject to the v)-2.941 F .441(alue of)-.25 F F1
(HISTIGNORE)144 720 Q F4(.)A F0 1.981(The second and subsequent lines o\
f a multi-line compound command are not)6.481 F(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(15)188.45 E 0 Cg EP
(2019 April 20)146.785 E(15)195.945 E 0 Cg EP
%%Page: 16 16
%%BeginPageSetup
BP
@@ -2220,8 +2219,8 @@ E F3(INSIDE_EMA)108 684 Q(CS)-.55 E F0 .887(If this v)144 696 R .887
-.4 F F3(bash)3.386 E F0 .886(assumes that it is running)3.386 F
(inside an Emacs shell b)144 708 Q(uf)-.2 E
(fer and may disable line editing, depending on the v)-.25 E(alue of)
-.25 E F3(TERM)2.5 E F0(.)A(GNU Bash 5.0)72 768 Q(2019 February 26)
139.29 E(16)188.45 E 0 Cg EP
-.25 E F3(TERM)2.5 E F0(.)A(GNU Bash 5.0)72 768 Q(2019 April 20)146.785
E(16)195.945 E 0 Cg EP
%%Page: 17 17
%%BeginPageSetup
BP
@@ -2328,7 +2327,7 @@ E F0 .471(starts, the shell enters)2.971 F/F5 10/Times-Italic@0 SF .472
(nents to retain when e)144 720 R .923(xpanding the)-.15 F F1(\\w)3.423
E F0(and)3.423 E F1(\\W)3.423 E F0 .923(prompt string escapes \(see)
3.423 F F2(PR)3.423 E(OMPTING)-.27 E F0(belo)3.173 E(w\).)-.25 E
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(17)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(17)195.945 E 0 Cg EP
%%Page: 18 18
%%BeginPageSetup
BP
@@ -2448,7 +2447,7 @@ E F0(belo)3.084 E 3.334(w\). If)-.25 F .834(set to an)3.334 F 3.334(yo)
(must be a pre\214x of a stopped job')144 728.4 R 2.816(sn)-.55 G .316
(ame; this pro)-2.816 F .316(vides functionality analogous to the)-.15 F
F1(%)2.816 E F3(string)A F0(job)2.816 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(18)188.45 E 0 Cg EP
(2019 April 20)146.785 E(18)195.945 E 0 Cg EP
%%Page: 19 19
%%BeginPageSetup
BP
@@ -2595,7 +2594,7 @@ R 5.295(.I)-.65 G 2.795(ft)-5.295 G(he)-2.795 E F3(subscript)3.135 E F0
108 715.2 R 2.5(yr)-.15 G(eference to a v)-2.5 E(ariable using a v)-.25
E(alid subscript is le)-.25 E -.05(ga)-.15 G(l, and).05 E F1(bash)2.5 E
F0(will create an array if necessary)2.5 E(.)-.65 E(GNU Bash 5.0)72 768
Q(2019 February 26)139.29 E(19)188.45 E 0 Cg EP
Q(2019 April 20)146.785 E(19)195.945 E 0 Cg EP
%%Page: 20 20
%%BeginPageSetup
BP
@@ -2741,7 +2740,7 @@ F2(y)3.564 E F0 3.564(,i)C(nclusi)-3.564 E -.15(ve)-.25 G 3.564(,u).15 G
(It is strictly te)6.209 F(xtual.)-.15 E F1(Bash)6.209 E F0 1.209
(does not apply an)3.709 F 3.709(ys)-.15 G 1.208
(yntactic interpretation to the)-3.709 F(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(20)188.45 E 0 Cg EP
(2019 April 20)146.785 E(20)195.945 E 0 Cg EP
%%Page: 21 21
%%BeginPageSetup
BP
@@ -2866,7 +2865,7 @@ F2(par)4.954 E(ameter)-.15 E F0 1.204(is a positional)4.434 F .264
5.177 E(ameter)-.15 E F0 2.676(is a shell parameter as described abo)
5.177 F -.15(ve)-.15 G F1 -.74(PA)144 729.6 S(RAMETERS).74 E F0 2.5(\)o)
C 2.5(ra)-2.5 G 2.5(na)-2.5 G(rray reference \()-2.5 E F1(Arrays)A F0
(\).)A(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(21)188.45 E 0 Cg
(\).)A(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(21)195.945 E 0 Cg
EP
%%Page: 22 22
%%BeginPageSetup
@@ -2999,7 +2998,7 @@ R 5.639(.I)-.55 G 3.139(ti)-5.639 G 3.139(sa)-3.139 G 3.139(ne)-3.139 G
(luates to a).25 F(number less than zero.)144 686.4 Q(Substring e)144
710.4 Q(xpansion applied to an associati)-.15 E .3 -.15(ve a)-.25 H
(rray produces unde\214ned results.).15 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(22)188.45 E 0 Cg EP
(2019 April 20)146.785 E(22)195.945 E 0 Cg EP
%%Page: 23 23
%%BeginPageSetup
BP
@@ -3143,7 +3142,7 @@ F2(nocasematch)144 712.8 Q F0 .492
144 724.8 R(If)5.884 E F1(par)4.634 E(ameter)-.15 E F0(is)4.114 E F2(@)
3.384 E F0(or)3.383 E F2(*)3.383 E F0 3.383(,t)C .883
(he substitution operation is applied to each positional)-3.383 F
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(23)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(23)195.945 E 0 Cg EP
%%Page: 24 24
%%BeginPageSetup
BP
@@ -3257,7 +3256,7 @@ sub-)-5.314 F 3.887(stitution. When)108 717.6 R 1.387(using the $\()
(orm, all characters between the parentheses mak)-3.887 F 3.886(eu)-.1 G
3.886(pt)-3.886 G 1.386(he com-)-3.886 F
(mand; none are treated specially)108 729.6 Q(.)-.65 E(GNU Bash 5.0)72
768 Q(2019 February 26)139.29 E(24)188.45 E 0 Cg EP
768 Q(2019 April 20)146.785 E(24)195.945 E 0 Cg EP
%%Page: 25 25
%%BeginPageSetup
BP
@@ -3391,8 +3390,8 @@ F3 -.09(Pa)3.062 G(tter).09 E 2.812(nM)-.135 G(atching)-2.812 E F0(belo)
(nocaseglob)3.88 E F0(is)3.88 E .104
(enabled, the match is performed without re)108 729.6 R -.05(ga)-.15 G
.104(rd to the case of alphabetic characters.).05 F .103
(When a pattern is used)5.103 F(GNU Bash 5.0)72 768 Q(2019 February 26)
139.29 E(25)188.45 E 0 Cg EP
(When a pattern is used)5.103 F(GNU Bash 5.0)72 768 Q(2019 April 20)
146.785 E(25)195.945 E 0 Cg EP
%%Page: 26 26
%%BeginPageSetup
BP
@@ -3529,7 +3528,7 @@ E F4(symbol)A F1(.])A F0(matches the collating symbol)2.5 E F4(symbol)
(is a list of one or more patterns separated by a)2.755 F F1(|)2.755 E
F0(.)A(Composite patterns may be formed using one or more of the follo)
108 718.8 Q(wing sub-patterns:)-.25 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(26)188.45 E 0 Cg EP
(2019 April 20)146.785 E(26)195.945 E 0 Cg EP
%%Page: 27 27
%%BeginPageSetup
BP
@@ -3628,8 +3627,8 @@ F -.15(ve)-.25 G .599(ral \214lenames specially when the).15 F 3.099(ya)
(vior described belo)-.2 E -.65(w.)-.25 G F1(/de)144 686.4 Q(v/fd/)-.15
E F2(fd)A F0(If)180 698.4 Q F2(fd)2.5 E F0(is a v)2.5 E(alid inte)-.25 E
(ger)-.15 E 2.5<2c8c>-.4 G(le descriptor)-2.5 E F2(fd)2.5 E F0
(is duplicated.)2.5 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E
(27)188.45 E 0 Cg EP
(is duplicated.)2.5 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(27)
195.945 E 0 Cg EP
%%Page: 28 28
%%BeginPageSetup
BP
@@ -3719,7 +3718,7 @@ E F1(>&)A F0(1)A .115(When using the second form,)108 710.4 R F2(wor)
.114(oes, other redirection operators)-2.614 F(apply \(see)108 722.4 Q
F1(Duplicating File Descriptors)2.5 E F0(belo)2.5 E
(w\) for compatibility reasons.)-.25 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(28)188.45 E 0 Cg EP
(2019 April 20)146.785 E(28)195.945 E 0 Cg EP
%%Page: 29 29
%%BeginPageSetup
BP
@@ -3811,7 +3810,7 @@ F0 2.754<2c8c>C .254(le descriptor)-2.754 F F2(n)3.114 E F0 .254
3.466 E F0 3.466(,t)C .965
(he standard output and standard error are redirected as described)
-3.466 F(pre)108 691.2 Q(viously)-.25 E(.)-.65 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(29)188.45 E 0 Cg EP
(2019 April 20)146.785 E(29)195.945 E 0 Cg EP
%%Page: 30 30
%%BeginPageSetup
BP
@@ -3933,8 +3932,8 @@ F .64(function is e)108 708 R -.15(xe)-.15 G .64(cuted, the ar).15 F
-.18 F -.15(xe)-.15 G(cution.).15 E 1.658(The special parameter)108 720
R F1(#)4.158 E F0 1.659(is updated to re\215ect the change.)4.158 F
1.659(Special parameter)6.659 F F1(0)4.159 E F0 1.659(is unchanged.)
4.159 F 1.659(The \214rst)6.659 F(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(30)188.45 E 0 Cg EP
4.159 F 1.659(The \214rst)6.659 F(GNU Bash 5.0)72 768 Q(2019 April 20)
146.785 E(30)195.945 E 0 Cg EP
%%Page: 31 31
%%BeginPageSetup
BP
@@ -4075,7 +4074,7 @@ G(r\215o).15 E 2.357 -.65(w, t)-.25 H 1.057(hough di).65 F 1.057
(ve)-.25 G .439(ls of equal-precedence operators.).15 F .439(The le)
5.439 F -.15(ve)-.25 G .439(ls are listed in order).15 F
(of decreasing precedence.)108 708 Q(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(31)188.45 E 0 Cg EP
(2019 April 20)146.785 E(31)195.945 E 0 Cg EP
%%Page: 32 32
%%BeginPageSetup
BP
@@ -4175,7 +4174,7 @@ F1(\214le)3.652 E F0(ar)108 672 Q .426
(Unless otherwise speci\214ed, primaries that operate on \214les follo)
108 712.8 R 3.221(ws)-.25 G .722(ymbolic links and operate on the tar)
-3.221 F(get)-.18 E(of the link, rather than the link itself.)108 724.8
Q(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(32)188.45 E 0 Cg EP
Q(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(32)195.945 E 0 Cg EP
%%Page: 33 33
%%BeginPageSetup
BP
@@ -4267,7 +4266,7 @@ E F0(is set \(has been assigned a v)2.68 E(alue\).)-.25 E F1<ad52>108
(ue if the strings are not equal.).35 E F2(string1)108 686.4 Q F1(<)2.5
E F2(string2)2.5 E F0 -.35(Tr)144 698.4 S(ue if).35 E F2(string1)2.5 E
F0(sorts before)2.5 E F2(string2)2.5 E F0(le)2.5 E(xicographically)-.15
E(.)-.65 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(33)188.45 E 0
E(.)-.65 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(33)195.945 E 0
Cg EP
%%Page: 34 34
%%BeginPageSetup
@@ -4389,8 +4388,8 @@ ful, or if the command name contains one or more slashes, the shell e)
-.15(xe)-.15 G 1.809(cution f).15 F 1.809
(ails because the \214le is not in e)-.1 F -.15(xe)-.15 G 1.809
(cutable format, and the \214le is not a directory).15 F 4.309(,i)-.65 G
4.309(ti)-4.309 G(s)-4.309 E(GNU Bash 5.0)72 768 Q(2019 February 26)
139.29 E(34)188.45 E 0 Cg EP
4.309(ti)-4.309 G(s)-4.309 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785
E(34)195.945 E 0 Cg EP
%%Page: 35 35
%%BeginPageSetup
BP
@@ -4495,7 +4494,7 @@ F2<ad65>3.877 E F0 1.377(option from the parent)3.877 F 2.5(shell. When)
(.O)C .197(therwise, the in)-5.197 F -.2(vo)-.4 G -.1(ke).2 G 2.697(dc)
.1 G .198(ommand inherits the \214le descriptors of the calling shell)
-2.697 F(as modi\214ed by redirections.)108 717.6 Q(GNU Bash 5.0)72 768
Q(2019 February 26)139.29 E(35)188.45 E 0 Cg EP
Q(2019 April 20)146.785 E(35)195.945 E 0 Cg EP
%%Page: 36 36
%%BeginPageSetup
BP
@@ -4631,8 +4630,8 @@ particular job, it should be remo).15 F -.15(ve)-.15 G 3.429(df).15 G
(shell option has been set with)2.666 F F3(shopt)2.666 E F0(,)A F3(bash)
2.666 E F0 .166(sends a)2.666 F F4(SIGHUP)2.666 E F0 .166
(to all jobs when an interacti)2.416 F -.15(ve)-.25 G(login shell e)108
727.2 Q(xits.)-.15 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(36)
188.45 E 0 Cg EP
727.2 Q(xits.)-.15 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(36)
195.945 E 0 Cg EP
%%Page: 37 37
%%BeginPageSetup
BP
@@ -4774,7 +4773,7 @@ F3(curr)2.518 E .018(ent job)-.37 F F0 2.518(,w).23 G .018(hich is)
(reports such changes immediately)2.648 F 5.148(.A)-.65 G .448 -.15
(ny t)-5.148 H .148(rap on).15 F F4(SIGCHLD)2.648 E F0 .148(is e)2.398 F
-.15(xe)-.15 G(-).15 E(cuted for each child that e)108 715.2 Q(xits.)
-.15 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(37)188.45 E 0 Cg
-.15 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(37)195.945 E 0 Cg
EP
%%Page: 38 38
%%BeginPageSetup
@@ -4799,9 +4798,9 @@ E F0 .033(is made while jobs are stopped \(or)2.533 F 2.532(,i)-.4 G
(When the shell is w)108 148.8 R .645
(aiting for a job or process using the)-.1 F F1(wait)3.144 E F0 -.2(bu)
3.144 G .644(iltin, and job control is enabled,).2 F F1(wait)3.144 E F0
(will)3.144 E .428(return when the job changes state. The)108 160.8 R F1
<ad66>2.928 E F0 .428(option will force)2.928 F F1(wait)2.928 E F0 .428
(to w)2.928 F .428(ait until the job or process terminates)-.1 F
(will)3.144 E 1.146(return when the job changes state. The)108 160.8 R
F1<ad66>3.646 E F0 1.146(option causes)3.646 F F1(wait)3.646 E F0 1.146
(to w)3.646 F 1.146(ait until the job or process terminates)-.1 F
(before returning.)108 172.8 Q/F2 10.95/Times-Bold@0 SF(PR)72 189.6 Q
(OMPTING)-.329 E F0 .645(When e)108 201.6 R -.15(xe)-.15 G .645
(cuting interacti).15 F -.15(ve)-.25 G(ly).15 E(,)-.65 E F1(bash)3.145 E
@@ -4875,10 +4874,14 @@ tory \214le \(see)108 650.4 R F3(HIST)4.084 E(OR)-.162 E(Y)-.315 E F0
.351(tion, arithmetic e)108 686.4 R .352(xpansion, and quote remo)-.15 F
-.25(va)-.15 G .352(l, subject to the v).25 F .352(alue of the)-.25 F F1
(pr)2.852 E(omptv)-.18 E(ars)-.1 E F0 .352(shell option \(see the)2.852
F(description of the)108 698.4 Q F1(shopt)2.5 E F0(command under)2.5 E
F3(SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)
-.25 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(38)188.45 E 0 Cg
EP
F .472(description of the)108 698.4 R F1(shopt)2.972 E F0 .471
(command under)2.971 F F3 .471(SHELL B)2.971 F(UIL)-.09 E .471
(TIN COMMANDS)-.828 F F0(belo)2.721 E 2.971(w\). This)-.25 F .471
(can ha)2.971 F .771 -.15(ve u)-.2 H(nw).15 E(anted)-.1 E .322(side ef)
108 710.4 R .322(fects if escaped portions of the string appear within \
command substitution or contain characters spe-)-.25 F(cial to w)108
722.4 Q(ord e)-.1 E(xpansion.)-.15 E(GNU Bash 5.0)72 768 Q
(2019 April 20)146.785 E(38)195.945 E 0 Cg EP
%%Page: 39 39
%%BeginPageSetup
BP
@@ -5002,8 +5005,8 @@ F2 -.1(ke)2.661 G(yname).1 E F0(:)A F4(function\255name).833 E F0(or)
(pelled out in Eng-).15 F 2.5(lish. F)108 676.8 R(or e)-.15 E(xample:)
-.15 E(Control-u: uni)144 700.8 Q -.15(ve)-.25 G(rsal\255ar).15 E
(gument)-.18 E(Meta-Rubout: backw)144 712.8 Q(ard-kill-w)-.1 E(ord)-.1 E
(Control-o: "> output")144 724.8 Q(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(39)188.45 E 0 Cg EP
(Control-o: "> output")144 724.8 Q(GNU Bash 5.0)72 768 Q(2019 April 20)
146.785 E(39)195.945 E 0 Cg EP
%%Page: 40 40
%%BeginPageSetup
BP
@@ -5078,27 +5081,29 @@ R .043(ariables that can be used to further customize its beha)-.25 F
(vior)-.2 E 5.043(.A)-.55 G -.25(va)-2.5 G .043
(riable may be set in the).25 F F1(inpu-)2.554 E(tr)108 585.6 Q(c)-.37 E
F0(\214le with a statement of the form)2.81 E F2(set)144 602.4 Q F1
(variable\255name value)2.5 E F0 .79(Except where noted, readline v)108
619.2 R .79(ariables can tak)-.25 F 3.29(et)-.1 G .79(he v)-3.29 F
(alues)-.25 E F2(On)3.29 E F0(or)3.29 E F2(Off)3.29 E F0 .79
(\(without re)3.29 F -.05(ga)-.15 G .79(rd to case\).).05 F(Unrecog-)
5.79 E .448(nized v)108 631.2 R .448(ariable names are ignored.)-.25 F
.448(When a v)5.448 F .448(ariable v)-.25 F .448
(alue is read, empty or null v)-.25 F .449(alues, "on" \(case-insensi-)
-.25 F(ti)108 643.2 Q -.15(ve)-.25 G .468(\), and "1" are equi).15 F
-.25(va)-.25 G .468(lent to).25 F F2(On)2.968 E F0 5.468(.A)C .468
(ll other v)-5.468 F .468(alues are equi)-.25 F -.25(va)-.25 G .468
(lent to).25 F F2(Off)2.968 E F0 5.468(.T)C .467(he v)-5.468 F .467
(ariables and their def)-.25 F(ault)-.1 E -.25(va)108 655.2 S(lues are:)
.25 E F2(bell\255style \(audible\))108 672 Q F0 .01
(Controls what happens when readline w)144 684 R .011
(variable\255name value)2.5 E F0(or using the)108 614.4 Q F2(bind)2.5 E
F0 -.2(bu)2.5 G(iltin command \(see).2 E F4(SHELL B)2.5 E(UIL)-.09 E
(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E .79
(Except where noted, readline v)108 631.2 R .79(ariables can tak)-.25 F
3.29(et)-.1 G .79(he v)-3.29 F(alues)-.25 E F2(On)3.29 E F0(or)3.29 E F2
(Off)3.29 E F0 .79(\(without re)3.29 F -.05(ga)-.15 G .79(rd to case\).)
.05 F(Unrecog-)5.79 E .448(nized v)108 643.2 R .448
(ariable names are ignored.)-.25 F .448(When a v)5.448 F .448(ariable v)
-.25 F .448(alue is read, empty or null v)-.25 F .449
(alues, "on" \(case-insensi-)-.25 F(ti)108 655.2 Q -.15(ve)-.25 G .468
(\), and "1" are equi).15 F -.25(va)-.25 G .468(lent to).25 F F2(On)
2.968 E F0 5.468(.A)C .468(ll other v)-5.468 F .468(alues are equi)-.25
F -.25(va)-.25 G .468(lent to).25 F F2(Off)2.968 E F0 5.468(.T)C .467
(he v)-5.468 F .467(ariables and their def)-.25 F(ault)-.1 E -.25(va)108
667.2 S(lues are:).25 E F2(bell\255style \(audible\))108 684 Q F0 .01
(Controls what happens when readline w)144 696 R .011
(ants to ring the terminal bell.)-.1 F .011(If set to)5.011 F F2(none)
2.511 E F0 2.511(,r)C .011(eadline ne)-2.511 F -.15(ve)-.25 G(r).15 E
.94(rings the bell.)144 696 R .94(If set to)5.94 F F2(visible)3.44 E F0
.94(rings the bell.)144 708 R .94(If set to)5.94 F F2(visible)3.44 E F0
3.44(,r)C .94(eadline uses a visible bell if one is a)-3.44 F -.25(va)
-.2 G 3.44(ilable. If).25 F .94(set to)3.44 F F2(audible)3.44 E F0(,)A
(readline attempts to ring the terminal')144 708 Q 2.5(sb)-.55 G(ell.)
-2.5 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(40)188.45 E 0 Cg
(readline attempts to ring the terminal')144 720 Q 2.5(sb)-.55 G(ell.)
-2.5 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(40)195.945 E 0 Cg
EP
%%Page: 41 41
%%BeginPageSetup
@@ -5204,7 +5209,7 @@ R -.15(ve)-.25 G 5.622(.T).15 G .622(he v)-5.622 F .621(alue is e)-.25 F
(ailable. Use)-.05 F .298(the \\1 and \\2 escapes to be)2.798 F .298
(gin and end sequences of non-printing characters, which)-.15 F
(can be used to embed a terminal control sequence into the mode string.)
144 720 Q(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(41)188.45 E 0
144 720 Q(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(41)195.945 E 0
Cg EP
%%Page: 42 42
%%BeginPageSetup
@@ -5315,8 +5320,8 @@ E F2 -.37(re)2.551 G(adline).37 E F0 .051(will w)2.551 F .051
.15 E F1(mark\255modi\214ed\255lines \(Off\))108 684 Q F0(If set to)144
696 Q F1(On)2.5 E F0 2.5(,h)C(istory lines that ha)-2.5 E .3 -.15(ve b)
-.2 H(een modi\214ed are displayed with a preceding asterisk \().15 E F1
(*)A F0(\).)A(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(42)188.45
E 0 Cg EP
(*)A F0(\).)A(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(42)195.945 E
0 Cg EP
%%Page: 43 43
%%BeginPageSetup
BP
@@ -5421,7 +5426,7 @@ F .186(last line of the primary prompt when vi editing mode is acti)144
-.2 G 2.814(ilable. Use).25 F .314(the \\1 and \\2 escapes to be)2.814 F
.315(gin and end sequences of non-print-)-.15 F(ing characters, which c\
an be used to embed a terminal control sequence into the mode string.)
144 708 Q(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(43)188.45 E 0
144 708 Q(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(43)195.945 E 0
Cg EP
%%Page: 44 44
%%BeginPageSetup
@@ -5522,7 +5527,7 @@ Q F0 .357(This directi)144 684 R .657 -.15(ve t)-.25 H(ak).15 E .357
144 696 R(or e)-.15 E(xample, the follo)-.15 E(wing directi)-.25 E .3
-.15(ve w)-.25 H(ould read).05 E F2(/etc/inputr)2.5 E(c)-.37 E F0(:)A F1
($include)144 720 Q F2(/etc/inputr)5.833 E(c)-.37 E F0(GNU Bash 5.0)72
768 Q(2019 February 26)139.29 E(44)188.45 E 0 Cg EP
768 Q(2019 April 20)146.785 E(44)195.945 E 0 Cg EP
%%Page: 45 45
%%BeginPageSetup
BP
@@ -5626,7 +5631,7 @@ idth.)-.05 E F1(next\255scr)108 700.8 Q(een\255line)-.18 E F0 .637
144 724.8 R .309 -.15(ve t)-.2 H .009(he desired ef).15 F .009
(fect if the current Readline line does not tak)-.25 F 2.509(eu)-.1 G
2.509(pm)-2.509 G .008(ore than one ph)-2.509 F(ysical)-.05 E
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(45)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(45)195.945 E 0 Cg EP
%%Page: 46 46
%%BeginPageSetup
BP
@@ -5712,7 +5717,7 @@ F .622(ord on the pre)-.1 F .622(vious line\))-.25 F .795(at point.)144
(is computed, the ar)2.781 F .281(gument is e)-.18 F .281
(xtracted as if the "!)-.15 F F3(n)A F0(")A(history e)144 700.8 Q
(xpansion had been speci\214ed.)-.15 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(46)188.45 E 0 Cg EP
(2019 April 20)146.785 E(46)195.945 E 0 Cg EP
%%Page: 47 47
%%BeginPageSetup
BP
@@ -5812,7 +5817,7 @@ G .779(nsert characters lik)-3.279 F(e)-.1 E F1(C\255q)3.279 E F0 3.279
(Insert a tab character)144 676.8 Q(.)-.55 E F1
(self\255insert \(a, b, A, 1, !, ...\))108 688.8 Q F0
(Insert the character typed.)144 700.8 Q(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(47)188.45 E 0 Cg EP
(2019 April 20)146.785 E(47)195.945 E 0 Cg EP
%%Page: 48 48
%%BeginPageSetup
BP
@@ -5906,8 +5911,8 @@ F 5.364(.T)-.65 G .364(he killed te)-5.364 F .364(xt is sa)-.15 F -.15
-2.5 E F1(delete\255horizontal\255space \(M\255\\\))108 676.8 Q F0
(Delete all spaces and tabs around point.)144 688.8 Q F1(kill\255r)108
700.8 Q(egion)-.18 E F0(Kill the te)144 712.8 Q(xt in the current re)
-.15 E(gion.)-.15 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(48)
188.45 E 0 Cg EP
-.15 E(gion.)-.15 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(48)
195.945 E 0 Cg EP
%%Page: 49 49
%%BeginPageSetup
BP
@@ -6009,7 +6014,7 @@ F1(delete\255char\255or\255list)108 633.6 Q F0 .234
-.15 E F1(possible\255\214lename\255completions \(C\255x /\))108 705.6 Q
F0(List the possible completions of the te)144 717.6 Q
(xt before point, treating it as a \214lename.)-.15 E(GNU Bash 5.0)72
768 Q(2019 February 26)139.29 E(49)188.45 E 0 Cg EP
768 Q(2019 April 20)146.785 E(49)195.945 E 0 Cg EP
%%Page: 50 50
%%BeginPageSetup
BP
@@ -6099,7 +6104,7 @@ SF(ESC)5 E F1(f)2.25 E F0(is equi)2.5 E -.25(va)-.25 G(lent to).25 E F1
F 3.595(ee)-.1 G -.15(xe)-3.745 G 1.095(cuting the).15 F F1(undo)3.595 E
F0 1.095(command enough times to)3.595 F
(return the line to its initial state.)144 729.6 Q(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(50)188.45 E 0 Cg EP
(2019 April 20)146.785 E(50)195.945 E 0 Cg EP
%%Page: 51 51
%%BeginPageSetup
BP
@@ -6207,7 +6212,7 @@ F2(compspec)108 724.8 Q F0 3.828(\)h)C 1.329
(as been de\214ned using the)-3.828 F F1(complete)3.829 E F0 -.2(bu)
3.829 G 1.329(iltin \(see).2 F/F3 9/Times-Bold@0 SF 1.329(SHELL B)3.829
F(UIL)-.09 E 1.329(TIN COMMANDS)-.828 F F0(belo)3.579 E 1.329(w\), the)
-.25 F(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(51)188.45 E 0 Cg
-.25 F(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(51)195.945 E 0 Cg
EP
%%Page: 52 52
%%BeginPageSetup
@@ -6351,7 +6356,7 @@ ode as the list of possible completions.)108 684 Q .247(If the pre)108
(If the)108 729.6 R F1 2.029(\255o plusdirs)4.529 F F0 2.029(option w)
4.529 F 2.029(as supplied to)-.1 F F1(complete)4.529 E F0 2.03
(when the compspec w)4.529 F 2.03(as de\214ned, directory name)-.1 F
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(52)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(52)195.945 E 0 Cg EP
%%Page: 53 53
%%BeginPageSetup
BP
@@ -6483,8 +6488,8 @@ F0 3.257(lines. If)3.007 F F5(HISTFILESIZE)3.257 E F0 .757
(iltin may be used to display or modify the history list and).2 F 1.604
(manipulate the history \214le.)108 722.4 R 1.604
(When using command-line editing, search commands are a)6.604 F -.25(va)
-.2 G 1.603(ilable in each).25 F(GNU Bash 5.0)72 768 Q(2019 February 26)
139.29 E(53)188.45 E 0 Cg EP
-.2 G 1.603(ilable in each).25 F(GNU Bash 5.0)72 768 Q(2019 April 20)
146.785 E(53)195.945 E 0 Cg EP
%%Page: 54 54
%%BeginPageSetup
BP
@@ -6615,7 +6620,7 @@ Q F0 1.608(Start a history substitution, e)144 655.2 R 1.608
(This is a synon)5 E(ym for `!\2551'.)-.15 E F2(!)108 715.2 Q F4(string)
A F0 .865(Refer to the most recent command preceding the current positi\
on in the history list starting with)144 715.2 R F4(string)144 727.2 Q
F0(.).22 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(54)188.45 E 0
F0(.).22 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(54)195.945 E 0
Cg EP
%%Page: 55 55
%%BeginPageSetup
@@ -6736,8 +6741,8 @@ F1(let)2.961 E F0 2.961(,a)C(nd)-2.961 E F1(shift)2.961 E F0 -.2(bu)
(guments be)-.18 F .261(ginning with)-.15 F F1<ad>2.761 E F0 .261
(without requiring)2.761 F F1<adad>2.761 E F0 5.261(.O)C .261(ther b)
-5.261 F .26(uiltins that accept ar)-.2 F .26(guments b)-.18 F .26
(ut are not)-.2 F(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(55)
188.45 E 0 Cg EP
(ut are not)-.2 F(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(55)
195.945 E 0 Cg EP
%%Page: 56 56
%%BeginPageSetup
BP
@@ -6872,7 +6877,7 @@ Q F0(List current)180 685.2 Q F1 -.18(re)2.5 G(adline).18 E F0
G 1.155(equences bound to macros and the strings the)-3.655 F 3.655(yo)
-.15 G 1.155(utput in such a)-3.655 F -.1(wa)180 709.2 S 2.5(yt).1 G
(hat the)-2.5 E 2.5(yc)-.15 G(an be re-read.)-2.5 E(GNU Bash 5.0)72 768
Q(2019 February 26)139.29 E(56)188.45 E 0 Cg EP
Q(2019 April 20)146.785 E(56)195.945 E 0 Cg EP
%%Page: 57 57
%%BeginPageSetup
BP
@@ -7005,7 +7010,7 @@ F0 .468(will return an unsuccessful status.)2.968 F .467(On systems)
144 720 R .71(gument of)-.18 F F1<ad>3.21 E F0 .71(is con)3.21 F -.15
(ve)-.4 G .71(rted to).15 F F3($OLDPWD)3.21 E F0 .71
(before the directory change is attempted.)2.96 F .71(If a non-)5.71 F
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(57)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(57)195.945 E 0 Cg EP
%%Page: 58 58
%%BeginPageSetup
BP
@@ -7132,7 +7137,7 @@ F3(comp-option)2.5 E F0(The)184 686.4 Q F3(comp-option)2.791 E F0 .291
.15 F 2.791(sb)-.55 G(eha)-2.791 E .291(vior be)-.2 F .291
(yond the simple)-.15 F(generation of completions.)184 698.4 Q F3
(comp-option)5 E F0(may be one of:)2.5 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(58)188.45 E 0 Cg EP
(2019 April 20)146.785 E(58)195.945 E 0 Cg EP
%%Page: 59 59
%%BeginPageSetup
BP
@@ -7203,7 +7208,7 @@ E F0(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1
(Names of stopped jobs, if job control is acti)224 696 Q -.15(ve)-.25 G
(.).15 E F1(user)184 708 Q F0(User names.)224 708 Q
(May also be speci\214ed as)5 E F1<ad75>2.5 E F0(.)A(GNU Bash 5.0)72 768
Q(2019 February 26)139.29 E(59)188.45 E 0 Cg EP
Q(2019 April 20)146.785 E(59)195.945 E 0 Cg EP
%%Page: 60 60
%%BeginPageSetup
BP
@@ -7317,7 +7322,7 @@ F1(while)4.254 E F0(,)A F1(until)4.254 E F0 4.254(,o)C(r)-4.254 E F1
(ve)-.25 G(l').15 E 3.013('l)-.74 G .513(oop\) is resumed.)-3.013 F .514
(The return v)5.514 F .514(alue is 0 unless)-.25 F F2(n)3.014 E F0(is)
3.014 E(not greater than or equal to 1.)144 698.4 Q(GNU Bash 5.0)72 768
Q(2019 February 26)139.29 E(60)188.45 E 0 Cg EP
Q(2019 April 20)146.785 E(60)195.945 E 0 Cg EP
%%Page: 61 61
%%BeginPageSetup
BP
@@ -7457,8 +7462,8 @@ F 2.003(The current directory is)7.003 F(al)144 693.6 Q -.1(wa)-.1 G
F1<ad6c>144 717.6 Q F0 .881
(Produces a listing using full pathnames; the def)180 717.6 R .882
(ault listing format uses a tilde to denote)-.1 F(the home directory)180
729.6 Q(.)-.65 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(61)
188.45 E 0 Cg EP
729.6 Q(.)-.65 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(61)
195.945 E 0 Cg EP
%%Page: 62 62
%%BeginPageSetup
BP
@@ -7573,8 +7578,8 @@ F2(\214lename)4.024 E F0 4.024(,o).18 G 4.024(ns)-4.024 G 1.524
F .398(guments, the)-.18 F .098(list consists of all enabled shell b)144
727.2 R 2.598(uiltins. If)-.2 F F1<ad6e>2.598 E F0 .098
(is supplied, only disabled b)2.598 F .099(uiltins are printed.)-.2 F
(If)5.099 E F1<ad61>2.599 E F0(GNU Bash 5.0)72 768 Q(2019 February 26)
139.29 E(62)188.45 E 0 Cg EP
(If)5.099 E F1<ad61>2.599 E F0(GNU Bash 5.0)72 768 Q(2019 April 20)
146.785 E(62)195.945 E 0 Cg EP
%%Page: 63 63
%%BeginPageSetup
BP
@@ -7714,8 +7719,8 @@ R .142(alue is 0 unless an in)-.25 F -.25(va)-.4 G .142
E F2(last)2.732 E F0 .455(specify history lines out of range.)144 720 R
.454(If the)5.454 F F1<ad65>2.954 E F0 .454
(option is supplied, the return v)2.954 F .454(alue is the v)-.25 F .454
(alue of the)-.25 F(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(63)
188.45 E 0 Cg EP
(alue of the)-.25 F(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(63)
195.945 E 0 Cg EP
%%Page: 64 64
%%BeginPageSetup
BP
@@ -7839,8 +7844,7 @@ F1(name)3.203 E F0(ar)3.203 E(guments)-.18 E .795(are supplied with)144
(is supplied, information about remembered commands is printed.)2.821 F
.322(The return status is true)5.322 F(unless a)144 710.4 Q F1(name)2.86
E F0(is not found or an in)2.68 E -.25(va)-.4 G(lid option is supplied.)
.25 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(64)188.45 E 0 Cg
EP
.25 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(64)195.945 E 0 Cg EP
%%Page: 65 65
%%BeginPageSetup
BP
@@ -7952,7 +7956,7 @@ E F0(... ])2.5 E(The \214rst form lists the acti)144 703.2 Q .3 -.15
(ve j)-.25 H 2.5(obs. The).15 F(options ha)2.5 E .3 -.15(ve t)-.2 H
(he follo).15 E(wing meanings:)-.25 E F1<ad6c>144 715.2 Q F0
(List process IDs in addition to the normal information.)180 715.2 Q
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(65)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(65)195.945 E 0 Cg EP
%%Page: 66 66
%%BeginPageSetup
BP
@@ -8092,8 +8096,8 @@ F0 .274(is e)2.774 F -.25(va)-.25 G .274
(ut before the array element is)-.2 F(assigned.)144 710.4 Q
(If not supplied with an e)144 727.2 Q(xplicit origin,)-.15 E F1
(map\214le)2.5 E F0(will clear)2.5 E F2(arr)2.5 E(ay)-.15 E F0
(before assigning to it.)2.5 E(GNU Bash 5.0)72 768 Q(2019 February 26)
139.29 E(66)188.45 E 0 Cg EP
(before assigning to it.)2.5 E(GNU Bash 5.0)72 768 Q(2019 April 20)
146.785 E(66)195.945 E 0 Cg EP
%%Page: 67 67
%%BeginPageSetup
BP
@@ -8209,7 +8213,7 @@ when rotating or adding directories to the)180 688.8 R
3.767 E F0 1.268(th directory \(counting from the left of the list sho)B
1.268(wn by)-.25 F F1(dirs)180 724.8 Q F0 2.5(,s)C
(tarting with zero\) is at the top.)-2.5 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(67)188.45 E 0 Cg EP
(2019 April 20)146.785 E(67)195.945 E 0 Cg EP
%%Page: 68 68
%%BeginPageSetup
BP
@@ -8336,8 +8340,8 @@ E F0(Display)180 662.4 Q F2(pr)3.66 E(ompt)-.45 E F0 1.161
(he backslash is considered to be part of)-5.543 F .492(the line.)180
698.4 R .492(In particular)5.492 F 2.992(,ab)-.4 G(ackslash-ne)-2.992 E
.493(wline pair may not then be used as a line continua-)-.25 F(tion.)
180 710.4 Q(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(68)188.45 E
0 Cg EP
180 710.4 Q(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(68)195.945 E 0
Cg EP
%%Page: 69 69
%%BeginPageSetup
BP
@@ -8482,7 +8486,7 @@ F0 .088(\), a)B F2(list)2.588 E F0 2.588(,o)C(r)-2.588 E(a)184 727.2 Q
F2 1.521(compound command)4.021 F F0(\(see)4.021 E F3 1.521
(SHELL GRAMMAR)4.021 F F0(abo)3.771 E -.15(ve)-.15 G 1.521(\), e).15 F
1.521(xits with a non-zero status.)-.15 F(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(69)188.45 E 0 Cg EP
(2019 April 20)146.785 E(69)195.945 E 0 Cg EP
%%Page: 70 70
%%BeginPageSetup
BP
@@ -8577,8 +8581,8 @@ H(nder).15 E F2(HIST)3.087 E(OR)-.162 E(Y)-.315 E/F4 9/Times-Roman@0 SF
.15 E F1 -.1(ke)184 666 S(yw).1 E(ord)-.1 E F0(Same as)224 678 Q F1
<ad6b>2.5 E F0(.)A F1(monitor)184 690 Q F0(Same as)224 690 Q F1<ad6d>2.5
E F0(.)A F1(noclob)184 702 Q(ber)-.1 E F0(Same as)224 714 Q F1<ad43>2.5
E F0(.)A(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(70)188.45 E 0
Cg EP
E F0(.)A(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(70)195.945 E 0 Cg
EP
%%Page: 71 71
%%BeginPageSetup
BP
@@ -8687,7 +8691,7 @@ F .531(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 678 Q -.15
E(ault,)-.1 E F1(bash)2.686 E F0(follo)2.686 E .186
(ws the logical chain of directories when performing com-)-.25 F
(mands which change the current directory)184 726 Q(.)-.65 E
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(71)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(71)195.945 E 0 Cg EP
%%Page: 72 72
%%BeginPageSetup
BP
@@ -8808,8 +8812,7 @@ F1(cdable_v)144 646.8 Q(ars)-.1 E F0 .156(If set, an ar)184 658.8 R .156
(orrection is found, the corrected \214lename is printed, and)-3.27 F
(the command proceeds.)184 718.8 Q
(This option is only used by interacti)5 E .3 -.15(ve s)-.25 H(hells.)
.15 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(72)188.45 E 0 Cg
EP
.15 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(72)195.945 E 0 Cg EP
%%Page: 73 73
%%BeginPageSetup
BP
@@ -8916,8 +8919,8 @@ F 1.057(xit\), and does not reset the loop state when a shell)-.15 F
-2.942 F .442(ASH_ARGV and B)-.35 F .441(ASH_ARGC before)-.35 F(the)184
696 Q 2.5(ya)-.15 G(re used, re)-2.5 E -.05(ga)-.15 G
(rdless of whether or not e).05 E(xtended deb)-.15 E
(ugging mode is enabled.)-.2 E(GNU Bash 5.0)72 768 Q(2019 February 26)
139.29 E(73)188.45 E 0 Cg EP
(ugging mode is enabled.)-.2 E(GNU Bash 5.0)72 768 Q(2019 April 20)
146.785 E(73)195.945 E 0 Cg EP
%%Page: 74 74
%%BeginPageSetup
BP
@@ -9032,8 +9035,8 @@ E F0(")A F4(string)A F0 4.973("q)C 2.473(uoting is performed within)
(Matching)184 720 Q F0(abo)2.965 E -.15(ve)-.15 G 3.215(\)b).15 G(eha)
-3.215 E 1.015 -.15(ve a)-.2 H 3.214(si).15 G 3.214(fi)-3.214 G 3.214
(nt)-3.214 G .714(he traditional C locale when performing comparisons.)
-3.214 F(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(74)188.45 E 0
Cg EP
-3.214 F(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(74)195.945 E 0 Cg
EP
%%Page: 75 75
%%BeginPageSetup
BP
@@ -9128,7 +9131,7 @@ Q F0 .325(If set, and)184 684 R F1 -.18(re)2.825 G(adline).18 E F0 .325
(will not attempt to search the)2.824 F F2 -.666(PA)2.824 G(TH)-.189 E
F0 .324(for possible)2.574 F
(completions when completion is attempted on an empty line.)184 696 Q
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(75)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(75)195.945 E 0 Cg EP
%%Page: 76 76
%%BeginPageSetup
BP
@@ -9226,7 +9229,7 @@ E F0 5.26(.T)C .26(his may be used to o)-5.26 F -.15(ve)-.15 G .26
(ex)144 699.6 S(pr1).2 E F0<ad>2.5 E F1(a)A F3 -.2(ex)2.5 G(pr2).2 E F0
-.35(Tr)180 711.6 S(ue if both).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(and)2.5
E F3 -.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E(GNU Bash 5.0)72 768 Q
(2019 February 26)139.29 E(76)188.45 E 0 Cg EP
(2019 April 20)146.785 E(76)195.945 E 0 Cg EP
%%Page: 77 77
%%BeginPageSetup
BP
@@ -9349,7 +9352,7 @@ urns a non\255zero e)144 710.4 R .185(xit status, subject to)-.15 F
1.921(the follo)144 722.4 R 1.92(wing conditions.)-.25 F(The)6.92 E F3
(ERR)4.42 E F0 1.92(trap is not e)4.17 F -.15(xe)-.15 G 1.92
(cuted if the f).15 F 1.92(ailed command is part of the)-.1 F
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(77)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(77)195.945 E 0 Cg EP
%%Page: 78 78
%%BeginPageSetup
BP
@@ -9476,7 +9479,7 @@ Q F1<ad73>144 651.6 Q F0(The maximum stack size)180 651.6 Q F1<ad74>144
(The maximum amount of virtual memory a)180 687.6 R -.25(va)-.2 G .47
(ilable to the shell and, on some systems, to).25 F(its children)180
699.6 Q F1<ad78>144 711.6 Q F0(The maximum number of \214le locks)180
711.6 Q(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(78)188.45 E 0 Cg
711.6 Q(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(78)195.945 E 0 Cg
EP
%%Page: 79 79
%%BeginPageSetup
@@ -9573,19 +9576,18 @@ tion status.).8 F(Each)5.659 E F2(id)3.169 E F0 .658(may be a process)
.521(n, all currently acti).15 F .821 -.15(ve c)-.25 H .521
(hild processes are w).15 F .521(aited for)-.1 F 3.021(,a)-.4 G .521
(nd the return status is zero.)-3.021 F(If)5.521 E(the)144 504 Q F1
<ad6e>3.056 E F0 .556(option is supplied,)3.056 F F1(wait)3.057 E F0 -.1
(wa)3.057 G .557(its for an).1 F 3.057(yj)-.15 G .557
(ob to terminate and returns its e)-3.057 F .557(xit status.)-.15 F .557
(If the)5.557 F F1<ad66>3.057 E F0 .587
(option is supplied, and job control is enabled,)144 516 R F1(wait)3.086
E F0(forces)3.086 E F2(id)3.086 E F0 .586
(to terminate before returning its sta-)3.086 F .755
(tus, instead of returning when it changes status.)144 528 R(If)5.756 E
F2(id)3.266 E F0 .756(speci\214es a non-e)4.026 F .756
(xistent process or job, the)-.15 F .365(return status is 127.)144 540 R
.365(Otherwise, the return status is the e)5.365 F .365
(xit status of the last process or job w)-.15 F(aited)-.1 E(for)144 552
Q(.)-.55 E/F5 10.95/Times-Bold@0 SF(RESTRICTED SHELL)72 568.8 Q F0(If)
<ad6e>2.947 E F0 .447(option is supplied,)2.947 F F1(wait)2.948 E F0 -.1
(wa)2.948 G .448(its for a single job to terminate and returns its e).1
F .448(xit status.)-.15 F(Sup-)5.448 E 1.024(plying the)144 516 R F1
<ad66>3.524 E F0 1.024(option, when job control is enabled, forces)3.524
F F1(wait)3.523 E F0 1.023(to w)3.523 F 1.023(ait for)-.1 F F2(id)3.523
E F0 1.023(to terminate before)3.523 F 1.835
(returning its status, instead of returning when it changes status.)144
528 R(If)6.835 E F2(id)4.345 E F0 1.835(speci\214es a non-e)5.105 F
(xistent)-.15 E 1.023(process or job, the return status is 127.)144 540
R 1.023(Otherwise, the return status is the e)6.023 F 1.022
(xit status of the last)-.15 F(process or job w)144 552 Q(aited for)-.1
E(.)-.55 E/F5 10.95/Times-Bold@0 SF(RESTRICTED SHELL)72 568.8 Q F0(If)
108 580.8 Q F1(bash)4.396 E F0 1.896(is started with the name)4.396 F F1
(rbash)4.397 E F0 4.397(,o)C 4.397(rt)-4.397 G(he)-4.397 E F1<ad72>4.397
E F0 1.897(option is supplied at in)4.397 F -.2(vo)-.4 G 1.897
@@ -9607,8 +9609,8 @@ F4(,)A F3 -.666(PA)2.25 G(TH)-.189 E F4(,)A F3(ENV)2.25 E F4(,)A F0(or)
(gument to the)-.18 F F1<ad70>2.95 E F0 .45(option to the)2.95 F F1
(hash)2.95 E F0 -.2(bu)2.95 G .45(iltin com-).2 F(mand)144 700.8 Q<83>
108 717.6 Q(importing function de\214nitions from the shell en)144 717.6
Q(vironment at startup)-.4 E(GNU Bash 5.0)72 768 Q(2019 February 26)
139.29 E(79)188.45 E 0 Cg EP
Q(vironment at startup)-.4 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785
E(79)195.945 E 0 Cg EP
%%Page: 80 80
%%BeginPageSetup
BP
@@ -9683,7 +9685,7 @@ E F0(.)A .41(Once you ha)108 655.2 R .71 -.15(ve d)-.2 H .41
(be mailed to)108 679.2 Q F4 -.2(bu)2.5 G(g-bash@gnu.or).2 E(g)-.37 E F0
(or posted to the Usenet ne)2.5 E(wsgroup)-.25 E F2(gnu.bash.b)2.5 E(ug)
-.2 E F0(.)A(ALL b)108 696 Q(ug reports should include:)-.2 E
(GNU Bash 5.0)72 768 Q(2019 February 26)139.29 E(80)188.45 E 0 Cg EP
(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E(80)195.945 E 0 Cg EP
%%Page: 81 81
%%BeginPageSetup
BP
@@ -9718,8 +9720,8 @@ ommands between parentheses to force it into a)-.25 F
(subshell, which may be stopped as a unit.)108 309.6 Q(Array v)108 326.4
Q(ariables may not \(yet\) be e)-.25 E(xported.)-.15 E
(There may be only one acti)108 343.2 Q .3 -.15(ve c)-.25 H
(oprocess at a time.).15 E(GNU Bash 5.0)72 768 Q(2019 February 26)139.29
E(81)188.45 E 0 Cg EP
(oprocess at a time.).15 E(GNU Bash 5.0)72 768 Q(2019 April 20)146.785 E
(81)195.945 E 0 Cg EP
%%Trailer
end
%%EOF
+39 -39
View File
@@ -267,82 +267,82 @@
@xrdef{Conditional Init Constructs-pg}{118}
@xrdef{Sample Init File-title}{Sample Init File}
@xrdef{Sample Init File-snt}{Section@tie 8.3.3}
@xrdef{Sample Init File-pg}{119}
@xrdef{Sample Init File-pg}{120}
@xrdef{Bindable Readline Commands-title}{Bindable Readline Commands}
@xrdef{Bindable Readline Commands-snt}{Section@tie 8.4}
@xrdef{Commands For Moving-title}{Commands For Moving}
@xrdef{Commands For Moving-snt}{Section@tie 8.4.1}
@xrdef{Bindable Readline Commands-pg}{122}
@xrdef{Commands For Moving-pg}{122}
@xrdef{Bindable Readline Commands-pg}{123}
@xrdef{Commands For Moving-pg}{123}
@xrdef{Commands For History-title}{Commands For Manipulating The History}
@xrdef{Commands For History-snt}{Section@tie 8.4.2}
@xrdef{Commands For History-pg}{123}
@xrdef{Commands For History-pg}{124}
@xrdef{Commands For Text-title}{Commands For Changing Text}
@xrdef{Commands For Text-snt}{Section@tie 8.4.3}
@xrdef{Commands For Text-pg}{124}
@xrdef{Commands For Text-pg}{125}
@xrdef{Commands For Killing-title}{Killing And Yanking}
@xrdef{Commands For Killing-snt}{Section@tie 8.4.4}
@xrdef{Commands For Killing-pg}{126}
@xrdef{Commands For Killing-pg}{127}
@xrdef{Numeric Arguments-title}{Specifying Numeric Arguments}
@xrdef{Numeric Arguments-snt}{Section@tie 8.4.5}
@xrdef{Commands For Completion-title}{Letting Readline Type For You}
@xrdef{Commands For Completion-snt}{Section@tie 8.4.6}
@xrdef{Numeric Arguments-pg}{127}
@xrdef{Commands For Completion-pg}{127}
@xrdef{Numeric Arguments-pg}{128}
@xrdef{Commands For Completion-pg}{128}
@xrdef{Keyboard Macros-title}{Keyboard Macros}
@xrdef{Keyboard Macros-snt}{Section@tie 8.4.7}
@xrdef{Miscellaneous Commands-title}{Some Miscellaneous Commands}
@xrdef{Miscellaneous Commands-snt}{Section@tie 8.4.8}
@xrdef{Keyboard Macros-pg}{129}
@xrdef{Miscellaneous Commands-pg}{129}
@xrdef{Keyboard Macros-pg}{130}
@xrdef{Miscellaneous Commands-pg}{130}
@xrdef{Readline vi Mode-title}{Readline vi Mode}
@xrdef{Readline vi Mode-snt}{Section@tie 8.5}
@xrdef{Readline vi Mode-pg}{131}
@xrdef{Readline vi Mode-pg}{132}
@xrdef{Programmable Completion-title}{Programmable Completion}
@xrdef{Programmable Completion-snt}{Section@tie 8.6}
@xrdef{Programmable Completion-pg}{132}
@xrdef{Programmable Completion-pg}{133}
@xrdef{Programmable Completion Builtins-title}{Programmable Completion Builtins}
@xrdef{Programmable Completion Builtins-snt}{Section@tie 8.7}
@xrdef{Programmable Completion Builtins-pg}{134}
@xrdef{Programmable Completion Builtins-pg}{135}
@xrdef{A Programmable Completion Example-title}{A Programmable Completion Example}
@xrdef{A Programmable Completion Example-snt}{Section@tie 8.8}
@xrdef{A Programmable Completion Example-pg}{138}
@xrdef{A Programmable Completion Example-pg}{139}
@xrdef{Using History Interactively-title}{Using History Interactively}
@xrdef{Using History Interactively-snt}{Chapter@tie 9}
@xrdef{Bash History Facilities-title}{Bash History Facilities}
@xrdef{Bash History Facilities-snt}{Section@tie 9.1}
@xrdef{Bash History Builtins-title}{Bash History Builtins}
@xrdef{Bash History Builtins-snt}{Section@tie 9.2}
@xrdef{Using History Interactively-pg}{141}
@xrdef{Bash History Facilities-pg}{141}
@xrdef{Bash History Builtins-pg}{141}
@xrdef{Using History Interactively-pg}{142}
@xrdef{Bash History Facilities-pg}{142}
@xrdef{Bash History Builtins-pg}{142}
@xrdef{History Interaction-title}{History Expansion}
@xrdef{History Interaction-snt}{Section@tie 9.3}
@xrdef{History Interaction-pg}{143}
@xrdef{History Interaction-pg}{144}
@xrdef{Event Designators-title}{Event Designators}
@xrdef{Event Designators-snt}{Section@tie 9.3.1}
@xrdef{Word Designators-title}{Word Designators}
@xrdef{Word Designators-snt}{Section@tie 9.3.2}
@xrdef{Event Designators-pg}{144}
@xrdef{Word Designators-pg}{144}
@xrdef{Event Designators-pg}{145}
@xrdef{Word Designators-pg}{145}
@xrdef{Modifiers-title}{Modifiers}
@xrdef{Modifiers-snt}{Section@tie 9.3.3}
@xrdef{Modifiers-pg}{145}
@xrdef{Modifiers-pg}{146}
@xrdef{Installing Bash-title}{Installing Bash}
@xrdef{Installing Bash-snt}{Chapter@tie 10}
@xrdef{Basic Installation-title}{Basic Installation}
@xrdef{Basic Installation-snt}{Section@tie 10.1}
@xrdef{Installing Bash-pg}{147}
@xrdef{Basic Installation-pg}{147}
@xrdef{Installing Bash-pg}{148}
@xrdef{Basic Installation-pg}{148}
@xrdef{Compilers and Options-title}{Compilers and Options}
@xrdef{Compilers and Options-snt}{Section@tie 10.2}
@xrdef{Compiling For Multiple Architectures-title}{Compiling For Multiple Architectures}
@xrdef{Compiling For Multiple Architectures-snt}{Section@tie 10.3}
@xrdef{Installation Names-title}{Installation Names}
@xrdef{Installation Names-snt}{Section@tie 10.4}
@xrdef{Compilers and Options-pg}{148}
@xrdef{Compiling For Multiple Architectures-pg}{148}
@xrdef{Installation Names-pg}{148}
@xrdef{Compilers and Options-pg}{149}
@xrdef{Compiling For Multiple Architectures-pg}{149}
@xrdef{Installation Names-pg}{149}
@xrdef{Specifying the System Type-title}{Specifying the System Type}
@xrdef{Specifying the System Type-snt}{Section@tie 10.5}
@xrdef{Sharing Defaults-title}{Sharing Defaults}
@@ -351,34 +351,34 @@
@xrdef{Operation Controls-snt}{Section@tie 10.7}
@xrdef{Optional Features-title}{Optional Features}
@xrdef{Optional Features-snt}{Section@tie 10.8}
@xrdef{Specifying the System Type-pg}{149}
@xrdef{Sharing Defaults-pg}{149}
@xrdef{Operation Controls-pg}{149}
@xrdef{Optional Features-pg}{150}
@xrdef{Specifying the System Type-pg}{150}
@xrdef{Sharing Defaults-pg}{150}
@xrdef{Operation Controls-pg}{150}
@xrdef{Optional Features-pg}{151}
@xrdef{Reporting Bugs-title}{Reporting Bugs}
@xrdef{Reporting Bugs-snt}{Appendix@tie @char65{}}
@xrdef{Reporting Bugs-pg}{155}
@xrdef{Reporting Bugs-pg}{156}
@xrdef{Major Differences From The Bourne Shell-title}{Major Differences From The Bourne Shell}
@xrdef{Major Differences From The Bourne Shell-snt}{Appendix@tie @char66{}}
@xrdef{Major Differences From The Bourne Shell-pg}{156}
@xrdef{Major Differences From The Bourne Shell-pg}{157}
@xrdef{GNU Free Documentation License-title}{GNU Free Documentation License}
@xrdef{GNU Free Documentation License-snt}{Appendix@tie @char67{}}
@xrdef{GNU Free Documentation License-pg}{162}
@xrdef{GNU Free Documentation License-pg}{163}
@xrdef{Indexes-title}{Indexes}
@xrdef{Indexes-snt}{Appendix@tie @char68{}}
@xrdef{Builtin Index-title}{Index of Shell Builtin Commands}
@xrdef{Builtin Index-snt}{Section@tie @char68.1}
@xrdef{Indexes-pg}{170}
@xrdef{Builtin Index-pg}{170}
@xrdef{Indexes-pg}{171}
@xrdef{Builtin Index-pg}{171}
@xrdef{Reserved Word Index-title}{Index of Shell Reserved Words}
@xrdef{Reserved Word Index-snt}{Section@tie @char68.2}
@xrdef{Variable Index-title}{Parameter and Variable Index}
@xrdef{Variable Index-snt}{Section@tie @char68.3}
@xrdef{Reserved Word Index-pg}{171}
@xrdef{Variable Index-pg}{172}
@xrdef{Reserved Word Index-pg}{172}
@xrdef{Variable Index-pg}{173}
@xrdef{Function Index-title}{Function Index}
@xrdef{Function Index-snt}{Section@tie @char68.4}
@xrdef{Function Index-pg}{174}
@xrdef{Function Index-pg}{175}
@xrdef{Concept Index-title}{Concept Index}
@xrdef{Concept Index-snt}{Section@tie @char68.5}
@xrdef{Concept Index-pg}{176}
@xrdef{Concept Index-pg}{177}
+5 -5
View File
@@ -52,8 +52,8 @@
\entry{wait}{105}{\code {wait}}
\entry{disown}{105}{\code {disown}}
\entry{suspend}{106}{\code {suspend}}
\entry{compgen}{134}{\code {compgen}}
\entry{complete}{134}{\code {complete}}
\entry{compopt}{137}{\code {compopt}}
\entry{fc}{142}{\code {fc}}
\entry{history}{142}{\code {history}}
\entry{compgen}{135}{\code {compgen}}
\entry{complete}{135}{\code {complete}}
\entry{compopt}{138}{\code {compopt}}
\entry{fc}{143}{\code {fc}}
\entry{history}{143}{\code {history}}
+5 -5
View File
@@ -15,9 +15,9 @@
\entry {\code {caller}}{52}
\entry {\code {cd}}{44}
\entry {\code {command}}{52}
\entry {\code {compgen}}{134}
\entry {\code {complete}}{134}
\entry {\code {compopt}}{137}
\entry {\code {compgen}}{135}
\entry {\code {complete}}{135}
\entry {\code {compopt}}{138}
\entry {\code {continue}}{44}
\initial {D}
\entry {\code {declare}}{52}
@@ -31,14 +31,14 @@
\entry {\code {exit}}{45}
\entry {\code {export}}{45}
\initial {F}
\entry {\code {fc}}{142}
\entry {\code {fc}}{143}
\entry {\code {fg}}{104}
\initial {G}
\entry {\code {getopts}}{45}
\initial {H}
\entry {\code {hash}}{46}
\entry {\code {help}}{55}
\entry {\code {history}}{142}
\entry {\code {history}}{143}
\initial {J}
\entry {\code {jobs}}{104}
\initial {K}
+13 -13
View File
@@ -103,16 +103,16 @@
\entry{kill ring}{109}{kill ring}
\entry{initialization file, readline}{110}{initialization file, readline}
\entry{variables, readline}{111}{variables, readline}
\entry{programmable completion}{132}{programmable completion}
\entry{completion builtins}{134}{completion builtins}
\entry{History, how to use}{140}{History, how to use}
\entry{command history}{141}{command history}
\entry{history list}{141}{history list}
\entry{history builtins}{141}{history builtins}
\entry{history expansion}{143}{history expansion}
\entry{event designators}{144}{event designators}
\entry{history events}{144}{history events}
\entry{installation}{147}{installation}
\entry{configuration}{147}{configuration}
\entry{Bash installation}{147}{Bash installation}
\entry{Bash configuration}{147}{Bash configuration}
\entry{programmable completion}{133}{programmable completion}
\entry{completion builtins}{135}{completion builtins}
\entry{History, how to use}{141}{History, how to use}
\entry{command history}{142}{command history}
\entry{history list}{142}{history list}
\entry{history builtins}{142}{history builtins}
\entry{history expansion}{144}{history expansion}
\entry{event designators}{145}{event designators}
\entry{history events}{145}{history events}
\entry{installation}{148}{installation}
\entry{configuration}{148}{configuration}
\entry{Bash installation}{148}{Bash installation}
\entry{Bash configuration}{148}{Bash configuration}
+13 -13
View File
@@ -6,8 +6,8 @@
\entry {arrays}{94}
\initial {B}
\entry {background}{103}
\entry {Bash configuration}{147}
\entry {Bash installation}{147}
\entry {Bash configuration}{148}
\entry {Bash installation}{148}
\entry {Bourne shell}{5}
\entry {brace expansion}{23}
\entry {builtin}{3}
@@ -15,7 +15,7 @@
\entry {command editing}{108}
\entry {command execution}{39}
\entry {command expansion}{38}
\entry {command history}{141}
\entry {command history}{142}
\entry {command search}{39}
\entry {command substitution}{31}
\entry {command timing}{8}
@@ -28,8 +28,8 @@
\entry {commands, shell}{8}
\entry {commands, simple}{8}
\entry {comments, shell}{7}
\entry {completion builtins}{134}
\entry {configuration}{147}
\entry {completion builtins}{135}
\entry {configuration}{148}
\entry {control operator}{3}
\entry {coprocess}{15}
\initial {D}
@@ -38,7 +38,7 @@
\entry {editing command lines}{108}
\entry {environment}{40}
\entry {evaluation, arithmetic}{92}
\entry {event designators}{144}
\entry {event designators}{145}
\entry {execution environment}{39}
\entry {exit status}{3, 41}
\entry {expansion}{22}
@@ -57,15 +57,15 @@
\entry {foreground}{103}
\entry {functions, shell}{17}
\initial {H}
\entry {history builtins}{141}
\entry {history events}{144}
\entry {history expansion}{143}
\entry {history list}{141}
\entry {History, how to use}{140}
\entry {history builtins}{142}
\entry {history events}{145}
\entry {history expansion}{144}
\entry {history list}{142}
\entry {History, how to use}{141}
\initial {I}
\entry {identifier}{3}
\entry {initialization file, readline}{110}
\entry {installation}{147}
\entry {installation}{148}
\entry {interaction, readline}{107}
\entry {interactive shell}{87, 88}
\entry {internationalization}{7}
@@ -100,7 +100,7 @@
\entry {process group}{3}
\entry {process group ID}{3}
\entry {process substitution}{31}
\entry {programmable completion}{132}
\entry {programmable completion}{133}
\entry {prompting}{97}
\initial {Q}
\entry {quoting}{6}
BIN
View File
Binary file not shown.
+110 -110
View File
@@ -1,110 +1,110 @@
\entry{beginning-of-line (C-a)}{122}{\code {beginning-of-line (C-a)}}
\entry{end-of-line (C-e)}{122}{\code {end-of-line (C-e)}}
\entry{forward-char (C-f)}{122}{\code {forward-char (C-f)}}
\entry{backward-char (C-b)}{122}{\code {backward-char (C-b)}}
\entry{forward-word (M-f)}{122}{\code {forward-word (M-f)}}
\entry{backward-word (M-b)}{122}{\code {backward-word (M-b)}}
\entry{shell-forward-word ()}{122}{\code {shell-forward-word ()}}
\entry{shell-backward-word ()}{122}{\code {shell-backward-word ()}}
\entry{previous-screen-line ()}{122}{\code {previous-screen-line ()}}
\entry{next-screen-line ()}{123}{\code {next-screen-line ()}}
\entry{clear-screen (C-l)}{123}{\code {clear-screen (C-l)}}
\entry{redraw-current-line ()}{123}{\code {redraw-current-line ()}}
\entry{accept-line (Newline or Return)}{123}{\code {accept-line (Newline or Return)}}
\entry{previous-history (C-p)}{123}{\code {previous-history (C-p)}}
\entry{next-history (C-n)}{123}{\code {next-history (C-n)}}
\entry{beginning-of-history (M-<)}{123}{\code {beginning-of-history (M-<)}}
\entry{end-of-history (M->)}{123}{\code {end-of-history (M->)}}
\entry{reverse-search-history (C-r)}{123}{\code {reverse-search-history (C-r)}}
\entry{forward-search-history (C-s)}{123}{\code {forward-search-history (C-s)}}
\entry{non-incremental-reverse-search-history (M-p)}{123}{\code {non-incremental-reverse-search-history (M-p)}}
\entry{non-incremental-forward-search-history (M-n)}{123}{\code {non-incremental-forward-search-history (M-n)}}
\entry{history-search-forward ()}{123}{\code {history-search-forward ()}}
\entry{history-search-backward ()}{124}{\code {history-search-backward ()}}
\entry{history-substring-search-forward ()}{124}{\code {history-substring-search-forward ()}}
\entry{history-substring-search-backward ()}{124}{\code {history-substring-search-backward ()}}
\entry{yank-nth-arg (M-C-y)}{124}{\code {yank-nth-arg (M-C-y)}}
\entry{yank-last-arg (M-. or M-_)}{124}{\code {yank-last-arg (M-. or M-_)}}
\entry{end-of-file (usually C-d)}{124}{\code {\i {end-of-file} (usually C-d)}}
\entry{delete-char (C-d)}{124}{\code {delete-char (C-d)}}
\entry{backward-delete-char (Rubout)}{125}{\code {backward-delete-char (Rubout)}}
\entry{forward-backward-delete-char ()}{125}{\code {forward-backward-delete-char ()}}
\entry{quoted-insert (C-q or C-v)}{125}{\code {quoted-insert (C-q or C-v)}}
\entry{self-insert (a, b, A, 1, !, ...{})}{125}{\code {self-insert (a, b, A, 1, !, \dots {})}}
\entry{bracketed-paste-begin ()}{125}{\code {bracketed-paste-begin ()}}
\entry{transpose-chars (C-t)}{125}{\code {transpose-chars (C-t)}}
\entry{transpose-words (M-t)}{125}{\code {transpose-words (M-t)}}
\entry{upcase-word (M-u)}{125}{\code {upcase-word (M-u)}}
\entry{downcase-word (M-l)}{125}{\code {downcase-word (M-l)}}
\entry{capitalize-word (M-c)}{125}{\code {capitalize-word (M-c)}}
\entry{overwrite-mode ()}{125}{\code {overwrite-mode ()}}
\entry{kill-line (C-k)}{126}{\code {kill-line (C-k)}}
\entry{backward-kill-line (C-x Rubout)}{126}{\code {backward-kill-line (C-x Rubout)}}
\entry{unix-line-discard (C-u)}{126}{\code {unix-line-discard (C-u)}}
\entry{kill-whole-line ()}{126}{\code {kill-whole-line ()}}
\entry{kill-word (M-d)}{126}{\code {kill-word (M-d)}}
\entry{backward-kill-word (M-DEL)}{126}{\code {backward-kill-word (M-\key {DEL})}}
\entry{shell-kill-word ()}{126}{\code {shell-kill-word ()}}
\entry{shell-backward-kill-word ()}{126}{\code {shell-backward-kill-word ()}}
\entry{unix-word-rubout (C-w)}{126}{\code {unix-word-rubout (C-w)}}
\entry{unix-filename-rubout ()}{126}{\code {unix-filename-rubout ()}}
\entry{delete-horizontal-space ()}{126}{\code {delete-horizontal-space ()}}
\entry{kill-region ()}{126}{\code {kill-region ()}}
\entry{copy-region-as-kill ()}{126}{\code {copy-region-as-kill ()}}
\entry{copy-backward-word ()}{126}{\code {copy-backward-word ()}}
\entry{copy-forward-word ()}{127}{\code {copy-forward-word ()}}
\entry{yank (C-y)}{127}{\code {yank (C-y)}}
\entry{yank-pop (M-y)}{127}{\code {yank-pop (M-y)}}
\entry{digit-argument (M-0, M-1, ...{} M--)}{127}{\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}
\entry{universal-argument ()}{127}{\code {universal-argument ()}}
\entry{complete (TAB)}{127}{\code {complete (\key {TAB})}}
\entry{possible-completions (M-?)}{127}{\code {possible-completions (M-?)}}
\entry{insert-completions (M-*)}{127}{\code {insert-completions (M-*)}}
\entry{menu-complete ()}{127}{\code {menu-complete ()}}
\entry{menu-complete-backward ()}{128}{\code {menu-complete-backward ()}}
\entry{delete-char-or-list ()}{128}{\code {delete-char-or-list ()}}
\entry{complete-filename (M-/)}{128}{\code {complete-filename (M-/)}}
\entry{possible-filename-completions (C-x /)}{128}{\code {possible-filename-completions (C-x /)}}
\entry{complete-username (M-~)}{128}{\code {complete-username (M-~)}}
\entry{possible-username-completions (C-x ~)}{128}{\code {possible-username-completions (C-x ~)}}
\entry{complete-variable (M-$)}{128}{\code {complete-variable (M-$)}}
\entry{possible-variable-completions (C-x $)}{128}{\code {possible-variable-completions (C-x $)}}
\entry{complete-hostname (M-@)}{128}{\code {complete-hostname (M-@)}}
\entry{possible-hostname-completions (C-x @)}{128}{\code {possible-hostname-completions (C-x @)}}
\entry{complete-command (M-!)}{128}{\code {complete-command (M-!)}}
\entry{possible-command-completions (C-x !)}{128}{\code {possible-command-completions (C-x !)}}
\entry{dynamic-complete-history (M-TAB)}{128}{\code {dynamic-complete-history (M-\key {TAB})}}
\entry{dabbrev-expand ()}{129}{\code {dabbrev-expand ()}}
\entry{complete-into-braces (M-{\indexlbrace })}{129}{\code {complete-into-braces (M-{\tt \char 123})}}
\entry{start-kbd-macro (C-x ()}{129}{\code {start-kbd-macro (C-x ()}}
\entry{end-kbd-macro (C-x ))}{129}{\code {end-kbd-macro (C-x ))}}
\entry{call-last-kbd-macro (C-x e)}{129}{\code {call-last-kbd-macro (C-x e)}}
\entry{print-last-kbd-macro ()}{129}{\code {print-last-kbd-macro ()}}
\entry{re-read-init-file (C-x C-r)}{129}{\code {re-read-init-file (C-x C-r)}}
\entry{abort (C-g)}{129}{\code {abort (C-g)}}
\entry{do-lowercase-version (M-A, M-B, M-x, ...{})}{129}{\code {do-lowercase-version (M-A, M-B, M-\var {x}, \dots {})}}
\entry{prefix-meta (ESC)}{129}{\code {prefix-meta (\key {ESC})}}
\entry{undo (C-_ or C-x C-u)}{129}{\code {undo (C-_ or C-x C-u)}}
\entry{revert-line (M-r)}{129}{\code {revert-line (M-r)}}
\entry{tilde-expand (M-&)}{129}{\code {tilde-expand (M-&)}}
\entry{set-mark (C-@)}{130}{\code {set-mark (C-@)}}
\entry{exchange-point-and-mark (C-x C-x)}{130}{\code {exchange-point-and-mark (C-x C-x)}}
\entry{character-search (C-])}{130}{\code {character-search (C-])}}
\entry{character-search-backward (M-C-])}{130}{\code {character-search-backward (M-C-])}}
\entry{skip-csi-sequence ()}{130}{\code {skip-csi-sequence ()}}
\entry{insert-comment (M-#)}{130}{\code {insert-comment (M-#)}}
\entry{dump-functions ()}{130}{\code {dump-functions ()}}
\entry{dump-variables ()}{130}{\code {dump-variables ()}}
\entry{dump-macros ()}{130}{\code {dump-macros ()}}
\entry{glob-complete-word (M-g)}{131}{\code {glob-complete-word (M-g)}}
\entry{glob-expand-word (C-x *)}{131}{\code {glob-expand-word (C-x *)}}
\entry{glob-list-expansions (C-x g)}{131}{\code {glob-list-expansions (C-x g)}}
\entry{display-shell-version (C-x C-v)}{131}{\code {display-shell-version (C-x C-v)}}
\entry{shell-expand-line (M-C-e)}{131}{\code {shell-expand-line (M-C-e)}}
\entry{history-expand-line (M-^)}{131}{\code {history-expand-line (M-^)}}
\entry{magic-space ()}{131}{\code {magic-space ()}}
\entry{alias-expand-line ()}{131}{\code {alias-expand-line ()}}
\entry{history-and-alias-expand-line ()}{131}{\code {history-and-alias-expand-line ()}}
\entry{insert-last-argument (M-. or M-_)}{131}{\code {insert-last-argument (M-. or M-_)}}
\entry{operate-and-get-next (C-o)}{131}{\code {operate-and-get-next (C-o)}}
\entry{edit-and-execute-command (C-x C-e)}{131}{\code {edit-and-execute-command (C-x C-e)}}
\entry{beginning-of-line (C-a)}{123}{\code {beginning-of-line (C-a)}}
\entry{end-of-line (C-e)}{123}{\code {end-of-line (C-e)}}
\entry{forward-char (C-f)}{123}{\code {forward-char (C-f)}}
\entry{backward-char (C-b)}{123}{\code {backward-char (C-b)}}
\entry{forward-word (M-f)}{123}{\code {forward-word (M-f)}}
\entry{backward-word (M-b)}{123}{\code {backward-word (M-b)}}
\entry{shell-forward-word ()}{123}{\code {shell-forward-word ()}}
\entry{shell-backward-word ()}{123}{\code {shell-backward-word ()}}
\entry{previous-screen-line ()}{123}{\code {previous-screen-line ()}}
\entry{next-screen-line ()}{124}{\code {next-screen-line ()}}
\entry{clear-screen (C-l)}{124}{\code {clear-screen (C-l)}}
\entry{redraw-current-line ()}{124}{\code {redraw-current-line ()}}
\entry{accept-line (Newline or Return)}{124}{\code {accept-line (Newline or Return)}}
\entry{previous-history (C-p)}{124}{\code {previous-history (C-p)}}
\entry{next-history (C-n)}{124}{\code {next-history (C-n)}}
\entry{beginning-of-history (M-<)}{124}{\code {beginning-of-history (M-<)}}
\entry{end-of-history (M->)}{124}{\code {end-of-history (M->)}}
\entry{reverse-search-history (C-r)}{124}{\code {reverse-search-history (C-r)}}
\entry{forward-search-history (C-s)}{124}{\code {forward-search-history (C-s)}}
\entry{non-incremental-reverse-search-history (M-p)}{124}{\code {non-incremental-reverse-search-history (M-p)}}
\entry{non-incremental-forward-search-history (M-n)}{124}{\code {non-incremental-forward-search-history (M-n)}}
\entry{history-search-forward ()}{124}{\code {history-search-forward ()}}
\entry{history-search-backward ()}{125}{\code {history-search-backward ()}}
\entry{history-substring-search-forward ()}{125}{\code {history-substring-search-forward ()}}
\entry{history-substring-search-backward ()}{125}{\code {history-substring-search-backward ()}}
\entry{yank-nth-arg (M-C-y)}{125}{\code {yank-nth-arg (M-C-y)}}
\entry{yank-last-arg (M-. or M-_)}{125}{\code {yank-last-arg (M-. or M-_)}}
\entry{end-of-file (usually C-d)}{125}{\code {\i {end-of-file} (usually C-d)}}
\entry{delete-char (C-d)}{125}{\code {delete-char (C-d)}}
\entry{backward-delete-char (Rubout)}{126}{\code {backward-delete-char (Rubout)}}
\entry{forward-backward-delete-char ()}{126}{\code {forward-backward-delete-char ()}}
\entry{quoted-insert (C-q or C-v)}{126}{\code {quoted-insert (C-q or C-v)}}
\entry{self-insert (a, b, A, 1, !, ...{})}{126}{\code {self-insert (a, b, A, 1, !, \dots {})}}
\entry{bracketed-paste-begin ()}{126}{\code {bracketed-paste-begin ()}}
\entry{transpose-chars (C-t)}{126}{\code {transpose-chars (C-t)}}
\entry{transpose-words (M-t)}{126}{\code {transpose-words (M-t)}}
\entry{upcase-word (M-u)}{126}{\code {upcase-word (M-u)}}
\entry{downcase-word (M-l)}{126}{\code {downcase-word (M-l)}}
\entry{capitalize-word (M-c)}{126}{\code {capitalize-word (M-c)}}
\entry{overwrite-mode ()}{126}{\code {overwrite-mode ()}}
\entry{kill-line (C-k)}{127}{\code {kill-line (C-k)}}
\entry{backward-kill-line (C-x Rubout)}{127}{\code {backward-kill-line (C-x Rubout)}}
\entry{unix-line-discard (C-u)}{127}{\code {unix-line-discard (C-u)}}
\entry{kill-whole-line ()}{127}{\code {kill-whole-line ()}}
\entry{kill-word (M-d)}{127}{\code {kill-word (M-d)}}
\entry{backward-kill-word (M-DEL)}{127}{\code {backward-kill-word (M-\key {DEL})}}
\entry{shell-kill-word ()}{127}{\code {shell-kill-word ()}}
\entry{shell-backward-kill-word ()}{127}{\code {shell-backward-kill-word ()}}
\entry{unix-word-rubout (C-w)}{127}{\code {unix-word-rubout (C-w)}}
\entry{unix-filename-rubout ()}{127}{\code {unix-filename-rubout ()}}
\entry{delete-horizontal-space ()}{127}{\code {delete-horizontal-space ()}}
\entry{kill-region ()}{127}{\code {kill-region ()}}
\entry{copy-region-as-kill ()}{127}{\code {copy-region-as-kill ()}}
\entry{copy-backward-word ()}{127}{\code {copy-backward-word ()}}
\entry{copy-forward-word ()}{128}{\code {copy-forward-word ()}}
\entry{yank (C-y)}{128}{\code {yank (C-y)}}
\entry{yank-pop (M-y)}{128}{\code {yank-pop (M-y)}}
\entry{digit-argument (M-0, M-1, ...{} M--)}{128}{\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}
\entry{universal-argument ()}{128}{\code {universal-argument ()}}
\entry{complete (TAB)}{128}{\code {complete (\key {TAB})}}
\entry{possible-completions (M-?)}{128}{\code {possible-completions (M-?)}}
\entry{insert-completions (M-*)}{128}{\code {insert-completions (M-*)}}
\entry{menu-complete ()}{128}{\code {menu-complete ()}}
\entry{menu-complete-backward ()}{129}{\code {menu-complete-backward ()}}
\entry{delete-char-or-list ()}{129}{\code {delete-char-or-list ()}}
\entry{complete-filename (M-/)}{129}{\code {complete-filename (M-/)}}
\entry{possible-filename-completions (C-x /)}{129}{\code {possible-filename-completions (C-x /)}}
\entry{complete-username (M-~)}{129}{\code {complete-username (M-~)}}
\entry{possible-username-completions (C-x ~)}{129}{\code {possible-username-completions (C-x ~)}}
\entry{complete-variable (M-$)}{129}{\code {complete-variable (M-$)}}
\entry{possible-variable-completions (C-x $)}{129}{\code {possible-variable-completions (C-x $)}}
\entry{complete-hostname (M-@)}{129}{\code {complete-hostname (M-@)}}
\entry{possible-hostname-completions (C-x @)}{129}{\code {possible-hostname-completions (C-x @)}}
\entry{complete-command (M-!)}{129}{\code {complete-command (M-!)}}
\entry{possible-command-completions (C-x !)}{129}{\code {possible-command-completions (C-x !)}}
\entry{dynamic-complete-history (M-TAB)}{129}{\code {dynamic-complete-history (M-\key {TAB})}}
\entry{dabbrev-expand ()}{130}{\code {dabbrev-expand ()}}
\entry{complete-into-braces (M-{\indexlbrace })}{130}{\code {complete-into-braces (M-{\tt \char 123})}}
\entry{start-kbd-macro (C-x ()}{130}{\code {start-kbd-macro (C-x ()}}
\entry{end-kbd-macro (C-x ))}{130}{\code {end-kbd-macro (C-x ))}}
\entry{call-last-kbd-macro (C-x e)}{130}{\code {call-last-kbd-macro (C-x e)}}
\entry{print-last-kbd-macro ()}{130}{\code {print-last-kbd-macro ()}}
\entry{re-read-init-file (C-x C-r)}{130}{\code {re-read-init-file (C-x C-r)}}
\entry{abort (C-g)}{130}{\code {abort (C-g)}}
\entry{do-lowercase-version (M-A, M-B, M-x, ...{})}{130}{\code {do-lowercase-version (M-A, M-B, M-\var {x}, \dots {})}}
\entry{prefix-meta (ESC)}{130}{\code {prefix-meta (\key {ESC})}}
\entry{undo (C-_ or C-x C-u)}{130}{\code {undo (C-_ or C-x C-u)}}
\entry{revert-line (M-r)}{130}{\code {revert-line (M-r)}}
\entry{tilde-expand (M-&)}{130}{\code {tilde-expand (M-&)}}
\entry{set-mark (C-@)}{131}{\code {set-mark (C-@)}}
\entry{exchange-point-and-mark (C-x C-x)}{131}{\code {exchange-point-and-mark (C-x C-x)}}
\entry{character-search (C-])}{131}{\code {character-search (C-])}}
\entry{character-search-backward (M-C-])}{131}{\code {character-search-backward (M-C-])}}
\entry{skip-csi-sequence ()}{131}{\code {skip-csi-sequence ()}}
\entry{insert-comment (M-#)}{131}{\code {insert-comment (M-#)}}
\entry{dump-functions ()}{131}{\code {dump-functions ()}}
\entry{dump-variables ()}{131}{\code {dump-variables ()}}
\entry{dump-macros ()}{131}{\code {dump-macros ()}}
\entry{glob-complete-word (M-g)}{132}{\code {glob-complete-word (M-g)}}
\entry{glob-expand-word (C-x *)}{132}{\code {glob-expand-word (C-x *)}}
\entry{glob-list-expansions (C-x g)}{132}{\code {glob-list-expansions (C-x g)}}
\entry{display-shell-version (C-x C-v)}{132}{\code {display-shell-version (C-x C-v)}}
\entry{shell-expand-line (M-C-e)}{132}{\code {shell-expand-line (M-C-e)}}
\entry{history-expand-line (M-^)}{132}{\code {history-expand-line (M-^)}}
\entry{magic-space ()}{132}{\code {magic-space ()}}
\entry{alias-expand-line ()}{132}{\code {alias-expand-line ()}}
\entry{history-and-alias-expand-line ()}{132}{\code {history-and-alias-expand-line ()}}
\entry{insert-last-argument (M-. or M-_)}{132}{\code {insert-last-argument (M-. or M-_)}}
\entry{operate-and-get-next (C-o)}{132}{\code {operate-and-get-next (C-o)}}
\entry{edit-and-execute-command (C-x C-e)}{132}{\code {edit-and-execute-command (C-x C-e)}}
+110 -110
View File
@@ -1,130 +1,130 @@
\initial {A}
\entry {\code {abort (C-g)}}{129}
\entry {\code {accept-line (Newline or Return)}}{123}
\entry {\code {alias-expand-line ()}}{131}
\entry {\code {abort (C-g)}}{130}
\entry {\code {accept-line (Newline or Return)}}{124}
\entry {\code {alias-expand-line ()}}{132}
\initial {B}
\entry {\code {backward-char (C-b)}}{122}
\entry {\code {backward-delete-char (Rubout)}}{125}
\entry {\code {backward-kill-line (C-x Rubout)}}{126}
\entry {\code {backward-kill-word (M-\key {DEL})}}{126}
\entry {\code {backward-word (M-b)}}{122}
\entry {\code {beginning-of-history (M-<)}}{123}
\entry {\code {beginning-of-line (C-a)}}{122}
\entry {\code {bracketed-paste-begin ()}}{125}
\entry {\code {backward-char (C-b)}}{123}
\entry {\code {backward-delete-char (Rubout)}}{126}
\entry {\code {backward-kill-line (C-x Rubout)}}{127}
\entry {\code {backward-kill-word (M-\key {DEL})}}{127}
\entry {\code {backward-word (M-b)}}{123}
\entry {\code {beginning-of-history (M-<)}}{124}
\entry {\code {beginning-of-line (C-a)}}{123}
\entry {\code {bracketed-paste-begin ()}}{126}
\initial {C}
\entry {\code {call-last-kbd-macro (C-x e)}}{129}
\entry {\code {capitalize-word (M-c)}}{125}
\entry {\code {character-search (C-])}}{130}
\entry {\code {character-search-backward (M-C-])}}{130}
\entry {\code {clear-screen (C-l)}}{123}
\entry {\code {complete (\key {TAB})}}{127}
\entry {\code {complete-command (M-!)}}{128}
\entry {\code {complete-filename (M-/)}}{128}
\entry {\code {complete-hostname (M-@)}}{128}
\entry {\code {complete-into-braces (M-{\tt \char 123})}}{129}
\entry {\code {complete-username (M-~)}}{128}
\entry {\code {complete-variable (M-$)}}{128}
\entry {\code {copy-backward-word ()}}{126}
\entry {\code {copy-forward-word ()}}{127}
\entry {\code {copy-region-as-kill ()}}{126}
\entry {\code {call-last-kbd-macro (C-x e)}}{130}
\entry {\code {capitalize-word (M-c)}}{126}
\entry {\code {character-search (C-])}}{131}
\entry {\code {character-search-backward (M-C-])}}{131}
\entry {\code {clear-screen (C-l)}}{124}
\entry {\code {complete (\key {TAB})}}{128}
\entry {\code {complete-command (M-!)}}{129}
\entry {\code {complete-filename (M-/)}}{129}
\entry {\code {complete-hostname (M-@)}}{129}
\entry {\code {complete-into-braces (M-{\tt \char 123})}}{130}
\entry {\code {complete-username (M-~)}}{129}
\entry {\code {complete-variable (M-$)}}{129}
\entry {\code {copy-backward-word ()}}{127}
\entry {\code {copy-forward-word ()}}{128}
\entry {\code {copy-region-as-kill ()}}{127}
\initial {D}
\entry {\code {dabbrev-expand ()}}{129}
\entry {\code {delete-char (C-d)}}{124}
\entry {\code {delete-char-or-list ()}}{128}
\entry {\code {delete-horizontal-space ()}}{126}
\entry {\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}{127}
\entry {\code {display-shell-version (C-x C-v)}}{131}
\entry {\code {do-lowercase-version (M-A, M-B, M-\var {x}, \dots {})}}{129}
\entry {\code {downcase-word (M-l)}}{125}
\entry {\code {dump-functions ()}}{130}
\entry {\code {dump-macros ()}}{130}
\entry {\code {dump-variables ()}}{130}
\entry {\code {dynamic-complete-history (M-\key {TAB})}}{128}
\entry {\code {dabbrev-expand ()}}{130}
\entry {\code {delete-char (C-d)}}{125}
\entry {\code {delete-char-or-list ()}}{129}
\entry {\code {delete-horizontal-space ()}}{127}
\entry {\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}{128}
\entry {\code {display-shell-version (C-x C-v)}}{132}
\entry {\code {do-lowercase-version (M-A, M-B, M-\var {x}, \dots {})}}{130}
\entry {\code {downcase-word (M-l)}}{126}
\entry {\code {dump-functions ()}}{131}
\entry {\code {dump-macros ()}}{131}
\entry {\code {dump-variables ()}}{131}
\entry {\code {dynamic-complete-history (M-\key {TAB})}}{129}
\initial {E}
\entry {\code {edit-and-execute-command (C-x C-e)}}{131}
\entry {\code {end-kbd-macro (C-x ))}}{129}
\entry {\code {\i {end-of-file} (usually C-d)}}{124}
\entry {\code {end-of-history (M->)}}{123}
\entry {\code {end-of-line (C-e)}}{122}
\entry {\code {exchange-point-and-mark (C-x C-x)}}{130}
\entry {\code {edit-and-execute-command (C-x C-e)}}{132}
\entry {\code {end-kbd-macro (C-x ))}}{130}
\entry {\code {\i {end-of-file} (usually C-d)}}{125}
\entry {\code {end-of-history (M->)}}{124}
\entry {\code {end-of-line (C-e)}}{123}
\entry {\code {exchange-point-and-mark (C-x C-x)}}{131}
\initial {F}
\entry {\code {forward-backward-delete-char ()}}{125}
\entry {\code {forward-char (C-f)}}{122}
\entry {\code {forward-search-history (C-s)}}{123}
\entry {\code {forward-word (M-f)}}{122}
\entry {\code {forward-backward-delete-char ()}}{126}
\entry {\code {forward-char (C-f)}}{123}
\entry {\code {forward-search-history (C-s)}}{124}
\entry {\code {forward-word (M-f)}}{123}
\initial {G}
\entry {\code {glob-complete-word (M-g)}}{131}
\entry {\code {glob-expand-word (C-x *)}}{131}
\entry {\code {glob-list-expansions (C-x g)}}{131}
\entry {\code {glob-complete-word (M-g)}}{132}
\entry {\code {glob-expand-word (C-x *)}}{132}
\entry {\code {glob-list-expansions (C-x g)}}{132}
\initial {H}
\entry {\code {history-and-alias-expand-line ()}}{131}
\entry {\code {history-expand-line (M-^)}}{131}
\entry {\code {history-search-backward ()}}{124}
\entry {\code {history-search-forward ()}}{123}
\entry {\code {history-substring-search-backward ()}}{124}
\entry {\code {history-substring-search-forward ()}}{124}
\entry {\code {history-and-alias-expand-line ()}}{132}
\entry {\code {history-expand-line (M-^)}}{132}
\entry {\code {history-search-backward ()}}{125}
\entry {\code {history-search-forward ()}}{124}
\entry {\code {history-substring-search-backward ()}}{125}
\entry {\code {history-substring-search-forward ()}}{125}
\initial {I}
\entry {\code {insert-comment (M-#)}}{130}
\entry {\code {insert-completions (M-*)}}{127}
\entry {\code {insert-last-argument (M-. or M-_)}}{131}
\entry {\code {insert-comment (M-#)}}{131}
\entry {\code {insert-completions (M-*)}}{128}
\entry {\code {insert-last-argument (M-. or M-_)}}{132}
\initial {K}
\entry {\code {kill-line (C-k)}}{126}
\entry {\code {kill-region ()}}{126}
\entry {\code {kill-whole-line ()}}{126}
\entry {\code {kill-word (M-d)}}{126}
\entry {\code {kill-line (C-k)}}{127}
\entry {\code {kill-region ()}}{127}
\entry {\code {kill-whole-line ()}}{127}
\entry {\code {kill-word (M-d)}}{127}
\initial {M}
\entry {\code {magic-space ()}}{131}
\entry {\code {menu-complete ()}}{127}
\entry {\code {menu-complete-backward ()}}{128}
\entry {\code {magic-space ()}}{132}
\entry {\code {menu-complete ()}}{128}
\entry {\code {menu-complete-backward ()}}{129}
\initial {N}
\entry {\code {next-history (C-n)}}{123}
\entry {\code {next-screen-line ()}}{123}
\entry {\code {non-incremental-forward-search-history (M-n)}}{123}
\entry {\code {non-incremental-reverse-search-history (M-p)}}{123}
\entry {\code {next-history (C-n)}}{124}
\entry {\code {next-screen-line ()}}{124}
\entry {\code {non-incremental-forward-search-history (M-n)}}{124}
\entry {\code {non-incremental-reverse-search-history (M-p)}}{124}
\initial {O}
\entry {\code {operate-and-get-next (C-o)}}{131}
\entry {\code {overwrite-mode ()}}{125}
\entry {\code {operate-and-get-next (C-o)}}{132}
\entry {\code {overwrite-mode ()}}{126}
\initial {P}
\entry {\code {possible-command-completions (C-x !)}}{128}
\entry {\code {possible-completions (M-?)}}{127}
\entry {\code {possible-filename-completions (C-x /)}}{128}
\entry {\code {possible-hostname-completions (C-x @)}}{128}
\entry {\code {possible-username-completions (C-x ~)}}{128}
\entry {\code {possible-variable-completions (C-x $)}}{128}
\entry {\code {prefix-meta (\key {ESC})}}{129}
\entry {\code {previous-history (C-p)}}{123}
\entry {\code {previous-screen-line ()}}{122}
\entry {\code {print-last-kbd-macro ()}}{129}
\entry {\code {possible-command-completions (C-x !)}}{129}
\entry {\code {possible-completions (M-?)}}{128}
\entry {\code {possible-filename-completions (C-x /)}}{129}
\entry {\code {possible-hostname-completions (C-x @)}}{129}
\entry {\code {possible-username-completions (C-x ~)}}{129}
\entry {\code {possible-variable-completions (C-x $)}}{129}
\entry {\code {prefix-meta (\key {ESC})}}{130}
\entry {\code {previous-history (C-p)}}{124}
\entry {\code {previous-screen-line ()}}{123}
\entry {\code {print-last-kbd-macro ()}}{130}
\initial {Q}
\entry {\code {quoted-insert (C-q or C-v)}}{125}
\entry {\code {quoted-insert (C-q or C-v)}}{126}
\initial {R}
\entry {\code {re-read-init-file (C-x C-r)}}{129}
\entry {\code {redraw-current-line ()}}{123}
\entry {\code {reverse-search-history (C-r)}}{123}
\entry {\code {revert-line (M-r)}}{129}
\entry {\code {re-read-init-file (C-x C-r)}}{130}
\entry {\code {redraw-current-line ()}}{124}
\entry {\code {reverse-search-history (C-r)}}{124}
\entry {\code {revert-line (M-r)}}{130}
\initial {S}
\entry {\code {self-insert (a, b, A, 1, !, \dots {})}}{125}
\entry {\code {set-mark (C-@)}}{130}
\entry {\code {shell-backward-kill-word ()}}{126}
\entry {\code {shell-backward-word ()}}{122}
\entry {\code {shell-expand-line (M-C-e)}}{131}
\entry {\code {shell-forward-word ()}}{122}
\entry {\code {shell-kill-word ()}}{126}
\entry {\code {skip-csi-sequence ()}}{130}
\entry {\code {start-kbd-macro (C-x ()}}{129}
\entry {\code {self-insert (a, b, A, 1, !, \dots {})}}{126}
\entry {\code {set-mark (C-@)}}{131}
\entry {\code {shell-backward-kill-word ()}}{127}
\entry {\code {shell-backward-word ()}}{123}
\entry {\code {shell-expand-line (M-C-e)}}{132}
\entry {\code {shell-forward-word ()}}{123}
\entry {\code {shell-kill-word ()}}{127}
\entry {\code {skip-csi-sequence ()}}{131}
\entry {\code {start-kbd-macro (C-x ()}}{130}
\initial {T}
\entry {\code {tilde-expand (M-&)}}{129}
\entry {\code {transpose-chars (C-t)}}{125}
\entry {\code {transpose-words (M-t)}}{125}
\entry {\code {tilde-expand (M-&)}}{130}
\entry {\code {transpose-chars (C-t)}}{126}
\entry {\code {transpose-words (M-t)}}{126}
\initial {U}
\entry {\code {undo (C-_ or C-x C-u)}}{129}
\entry {\code {universal-argument ()}}{127}
\entry {\code {unix-filename-rubout ()}}{126}
\entry {\code {unix-line-discard (C-u)}}{126}
\entry {\code {unix-word-rubout (C-w)}}{126}
\entry {\code {upcase-word (M-u)}}{125}
\entry {\code {undo (C-_ or C-x C-u)}}{130}
\entry {\code {universal-argument ()}}{128}
\entry {\code {unix-filename-rubout ()}}{127}
\entry {\code {unix-line-discard (C-u)}}{127}
\entry {\code {unix-word-rubout (C-w)}}{127}
\entry {\code {upcase-word (M-u)}}{126}
\initial {Y}
\entry {\code {yank (C-y)}}{127}
\entry {\code {yank-last-arg (M-. or M-_)}}{124}
\entry {\code {yank-nth-arg (M-C-y)}}{124}
\entry {\code {yank-pop (M-y)}}{127}
\entry {\code {yank (C-y)}}{128}
\entry {\code {yank-last-arg (M-. or M-_)}}{125}
\entry {\code {yank-nth-arg (M-C-y)}}{125}
\entry {\code {yank-pop (M-y)}}{128}
+19 -12
View File
@@ -1,9 +1,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This text is a brief description of the features that are present in
the Bash shell (version 5.0, 26 February 2019).
the Bash shell (version 5.0, 20 April 2019).
This is Edition 5.0, last updated 26 February 2019,
This is Edition 5.0, last updated 20 April 2019,
of The GNU Bash Reference Manual,
for Bash, Version 5.0.
@@ -284,10 +284,10 @@ Next: <a href="#Introduction" accesskey="n" rel="next">Introduction</a>, Previou
<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.0, 26 February 2019).
the Bash shell (version 5.0, 20 April 2019).
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.0, last updated 26 February 2019,
<p>This is Edition 5.0, last updated 20 April 2019,
of <cite>The GNU Bash Reference Manual</cite>,
for <code>Bash</code>, Version 5.0.
</p>
@@ -8913,6 +8913,9 @@ shell session.
parameter expansion, command substitution, arithmetic
expansion, and quote removal, subject to the value of the
<code>promptvars</code> shell option (see <a href="#The-Shopt-Builtin">The Shopt Builtin</a>).
This can have unwanted side effects if escaped portions of the string
appear within command substitution or contain characters special to
word expansion.
</p>
<hr>
<a name="The-Restricted-Shell"></a>
@@ -9359,7 +9362,7 @@ Bash does not print another warning, and any stopped jobs are terminated.
</p>
<p>When the shell is waiting for a job or process using the <code>wait</code>
builtin, and job control is enabled, <code>wait</code> will return when the
job changes state. The <samp>-f</samp> option will force <code>wait</code> to wait
job changes state. The <samp>-f</samp> option causes <code>wait</code> to wait
until the job or process terminates before returning.
</p>
<hr>
@@ -9481,11 +9484,12 @@ last command waited for.
If a job spec is given, all processes in the job are waited for.
If no arguments are given, all currently active child processes are
waited for, and the return status is zero.
If the <samp>-n</samp> option is supplied, <code>wait</code> waits for any job to
terminate and returns its exit status.
If the <samp>-f</samp> option is supplied, and job control is enabled,
<code>wait</code> forces each <var>pid</var> or <var>jobspec</var> to terminate before
returning its status, intead of returning when it changes status.
If the <samp>-n</samp> option is supplied, <code>wait</code> waits for a single job
to terminate and returns its exit status.
Supplying the <samp>-f</samp> option, when job control is enabled,
forces <code>wait</code> to wait for each <var>pid</var> or <var>jobspec</var> to
terminate before returning its status, intead of returning when it changes
status.
If neither <var>jobspec</var> nor <var>pid</var> specifies an active child process
of the shell, the return status is 127.
</p>
@@ -9946,6 +9950,9 @@ file is taken from the value of the shell variable <code>INPUTRC</code>. If
that variable is unset, the default is <samp>~/.inputrc</samp>. If that
file does not exist or cannot be read, the ultimate default is
<samp>/etc/inputrc</samp>.
The <code>bind</code><!-- /@w --> builtin command can also be used to set Readline
keybindings and variables.
See <a href="#Bash-Builtins">Bash Builtins</a>.
</p>
<p>When a program which uses the Readline library starts up, the
init file is read, and the key bindings are set.
@@ -12453,7 +12460,7 @@ character to the directory name, in case we want to append to it.
The <samp>-o bashdefault</samp> option brings in the rest of the &quot;Bash default&quot;
completions &ndash; possible completion that Bash adds to the default Readline
set. These include things like command name completion, variable completion
for words beginning with &lsquo;<samp>{</samp>&rsquo;, completions containing pathname
for words beginning with &lsquo;<samp>$</samp>&rsquo; or &lsquo;<samp>${</samp>&rsquo;, completions containing pathname
expansion patterns (see <a href="#Filename-Expansion">Filename Expansion</a>), and so on.
</p>
<p>Once installed using <code>complete</code>, <code>_comp_cd</code> will be called every
@@ -12463,7 +12470,7 @@ time we attempt word completion for a <code>cd</code> command.
the common GNU, Unix, and Linux commands &ndash; are available as part of the
bash_completion project. This is installed by default on many GNU/Linux
distributions. Originally written by Ian Macdonald, the project now lives
at <a href="http://bash-completion.alioth.debian.org/">http://bash-completion.alioth.debian.org/</a>. There are ports for
at <a href="https://github.com/scop/bash-completion/">https://github.com/scop/bash-completion/</a>. There are ports for
other systems such as Solaris and Mac OS X.
</p>
<p>An older version of the bash_completion package is distributed with bash
+148 -144
View File
@@ -2,9 +2,9 @@ This is bashref.info, produced by makeinfo version 6.5 from
bashref.texi.
This text is a brief description of the features that are present in the
Bash shell (version 5.0, 26 February 2019).
Bash shell (version 5.0, 20 April 2019).
This is Edition 5.0, last updated 26 February 2019, of 'The GNU Bash
This is Edition 5.0, last updated 20 April 2019, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.0.
Copyright (C) 1988-2018 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.0, 26 February 2019). The Bash home page is
Bash shell (version 5.0, 20 April 2019). The Bash home page is
<http://www.gnu.org/software/bash/>.
This is Edition 5.0, last updated 26 February 2019, of 'The GNU Bash
This is Edition 5.0, last updated 20 April 2019, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.0.
Bash contains features that appear in other popular shells, and some
@@ -6514,7 +6514,9 @@ of commands executed during the current shell session.
After the string is decoded, it is expanded via parameter expansion,
command substitution, arithmetic expansion, and quote removal, subject
to the value of the 'promptvars' shell option (*note The Shopt
Builtin::).
Builtin::). This can have unwanted side effects if escaped portions of
the string appear within command substitution or contain characters
special to word expansion.

File: bashref.info, Node: The Restricted Shell, Next: Bash POSIX Mode, Prev: Controlling the Prompt, Up: Bash Features
@@ -6912,8 +6914,8 @@ another warning, and any stopped jobs are terminated.
When the shell is waiting for a job or process using the 'wait'
builtin, and job control is enabled, 'wait' will return when the job
changes state. The '-f' option will force 'wait' to wait until the job
or process terminates before returning.
changes state. The '-f' option causes 'wait' to wait until the job or
process terminates before returning.

File: bashref.info, Node: Job Control Builtins, Next: Job Control Variables, Prev: Job Control Basics, Up: Job Control
@@ -6998,10 +7000,10 @@ File: bashref.info, Node: Job Control Builtins, Next: Job Control Variables,
last command waited for. If a job spec is given, all processes in
the job are waited for. If no arguments are given, all currently
active child processes are waited for, and the return status is
zero. If the '-n' option is supplied, 'wait' waits for any job to
terminate and returns its exit status. If the '-f' option is
supplied, and job control is enabled, 'wait' forces each PID or
JOBSPEC to terminate before returning its status, intead of
zero. If the '-n' option is supplied, 'wait' waits for a single
job to terminate and returns its exit status. Supplying the '-f'
option, when job control is enabled, forces 'wait' to wait for each
PID or JOBSPEC to terminate before returning its status, intead of
returning when it changes status. If neither JOBSPEC nor PID
specifies an active child process of the shell, the return status
is 127.
@@ -7343,7 +7345,9 @@ putting commands in an "inputrc" file, conventionally in his home
directory. The name of this file is taken from the value of the shell
variable 'INPUTRC'. If that variable is unset, the default is
'~/.inputrc'. If that file does not exist or cannot be read, the
ultimate default is '/etc/inputrc'.
ultimate default is '/etc/inputrc'. The 'bind' builtin command can also
be used to set Readline keybindings and variables. *Note Bash
Builtins::.
When a program which uses the Readline library starts up, the init
file is read, and the key bindings are set.
@@ -9140,8 +9144,8 @@ directory name, in case we want to append to it. The '-o bashdefault'
option brings in the rest of the "Bash default" completions - possible
completion that Bash adds to the default Readline set. These include
things like command name completion, variable completion for words
beginning with '{', completions containing pathname expansion patterns
(*note Filename Expansion::), and so on.
beginning with '$' or '${', completions containing pathname expansion
patterns (*note Filename Expansion::), and so on.
Once installed using 'complete', '_comp_cd' will be called every time
we attempt word completion for a 'cd' command.
@@ -9150,7 +9154,7 @@ we attempt word completion for a 'cd' command.
of the common GNU, Unix, and Linux commands - are available as part of
the bash_completion project. This is installed by default on many
GNU/Linux distributions. Originally written by Ian Macdonald, the
project now lives at <http://bash-completion.alioth.debian.org/>. There
project now lives at <https://github.com/scop/bash-completion/>. There
are ports for other systems such as Solaris and Mac OS X.
An older version of the bash_completion package is distributed with
@@ -11684,134 +11688,134 @@ D.5 Concept Index

Tag Table:
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 Character14474
Node: Single Quotes14959
Node: Double Quotes15307
Node: ANSI-C Quoting16585
Node: Locale Translation17844
Node: Comments18740
Node: Shell Commands19358
Node: Simple Commands20230
Node: Pipelines20861
Node: Lists23793
Node: Compound Commands25584
Node: Looping Constructs26596
Node: Conditional Constructs29091
Node: Command Grouping40259
Node: Coprocesses41738
Node: GNU Parallel43641
Node: Shell Functions47699
Node: Shell Parameters54782
Node: Positional Parameters59195
Node: Special Parameters60095
Node: Shell Expansions63849
Node: Brace Expansion65972
Node: Tilde Expansion68695
Node: Shell Parameter Expansion71312
Node: Command Substitution85745
Node: Arithmetic Expansion87100
Node: Process Substitution88032
Node: Word Splitting89152
Node: Filename Expansion91096
Node: Pattern Matching93626
Node: Quote Removal97612
Node: Redirections97907
Node: Executing Commands107465
Node: Simple Command Expansion108135
Node: Command Search and Execution110065
Node: Command Execution Environment112441
Node: Environment115425
Node: Exit Status117084
Node: Signals118754
Node: Shell Scripts120721
Node: Shell Builtin Commands123236
Node: Bourne Shell Builtins125274
Node: Bash Builtins146024
Node: Modifying Shell Behavior174949
Node: The Set Builtin175294
Node: The Shopt Builtin185707
Node: Special Builtins203377
Node: Shell Variables204356
Node: Bourne Shell Variables204793
Node: Bash Variables206897
Node: Bash Features237357
Node: Invoking Bash238256
Node: Bash Startup Files244269
Node: Interactive Shells249372
Node: What is an Interactive Shell?249782
Node: Is this Shell Interactive?250431
Node: Interactive Shell Behavior251246
Node: Bash Conditional Expressions254733
Node: Shell Arithmetic259310
Node: Aliases262127
Node: Arrays264747
Node: The Directory Stack270112
Node: Directory Stack Builtins270896
Node: Controlling the Prompt273864
Node: The Restricted Shell276630
Node: Bash POSIX Mode278455
Node: Job Control289388
Node: Job Control Basics289848
Node: Job Control Builtins294816
Node: Job Control Variables299543
Node: Command Line Editing300699
Node: Introduction and Notation302370
Node: Readline Interaction303993
Node: Readline Bare Essentials305184
Node: Readline Movement Commands306967
Node: Readline Killing Commands307927
Node: Readline Arguments309845
Node: Searching310889
Node: Readline Init File313075
Node: Readline Init File Syntax314222
Node: Conditional Init Constructs334661
Node: Sample Init File338857
Node: Bindable Readline Commands341974
Node: Commands For Moving343178
Node: Commands For History345027
Node: Commands For Text349322
Node: Commands For Killing352710
Node: Numeric Arguments355191
Node: Commands For Completion356330
Node: Keyboard Macros360521
Node: Miscellaneous Commands361208
Node: Readline vi Mode367161
Node: Programmable Completion368068
Node: Programmable Completion Builtins375848
Node: A Programmable Completion Example386543
Node: Using History Interactively391783
Node: Bash History Facilities392467
Node: Bash History Builtins395472
Node: History Interaction400003
Node: Event Designators403623
Node: Word Designators404842
Node: Modifiers406479
Node: Installing Bash407881
Node: Basic Installation409018
Node: Compilers and Options412276
Node: Compiling For Multiple Architectures413017
Node: Installation Names414710
Node: Specifying the System Type415528
Node: Sharing Defaults416244
Node: Operation Controls416917
Node: Optional Features417875
Node: Reporting Bugs428393
Node: Major Differences From The Bourne Shell429587
Node: GNU Free Documentation License446439
Node: Indexes471616
Node: Builtin Index472070
Node: Reserved Word Index478897
Node: Variable Index481345
Node: Function Index497096
Node: Concept Index510399
Node: Top891
Node: Introduction2805
Node: What is Bash?3021
Node: What is a shell?4135
Node: Definitions6673
Node: Basic Shell Features9624
Node: Shell Syntax10843
Node: Shell Operation11869
Node: Quoting13162
Node: Escape Character14462
Node: Single Quotes14947
Node: Double Quotes15295
Node: ANSI-C Quoting16573
Node: Locale Translation17832
Node: Comments18728
Node: Shell Commands19346
Node: Simple Commands20218
Node: Pipelines20849
Node: Lists23781
Node: Compound Commands25572
Node: Looping Constructs26584
Node: Conditional Constructs29079
Node: Command Grouping40247
Node: Coprocesses41726
Node: GNU Parallel43629
Node: Shell Functions47687
Node: Shell Parameters54770
Node: Positional Parameters59183
Node: Special Parameters60083
Node: Shell Expansions63837
Node: Brace Expansion65960
Node: Tilde Expansion68683
Node: Shell Parameter Expansion71300
Node: Command Substitution85733
Node: Arithmetic Expansion87088
Node: Process Substitution88020
Node: Word Splitting89140
Node: Filename Expansion91084
Node: Pattern Matching93614
Node: Quote Removal97600
Node: Redirections97895
Node: Executing Commands107453
Node: Simple Command Expansion108123
Node: Command Search and Execution110053
Node: Command Execution Environment112429
Node: Environment115413
Node: Exit Status117072
Node: Signals118742
Node: Shell Scripts120709
Node: Shell Builtin Commands123224
Node: Bourne Shell Builtins125262
Node: Bash Builtins146012
Node: Modifying Shell Behavior174937
Node: The Set Builtin175282
Node: The Shopt Builtin185695
Node: Special Builtins203365
Node: Shell Variables204344
Node: Bourne Shell Variables204781
Node: Bash Variables206885
Node: Bash Features237345
Node: Invoking Bash238244
Node: Bash Startup Files244257
Node: Interactive Shells249360
Node: What is an Interactive Shell?249770
Node: Is this Shell Interactive?250419
Node: Interactive Shell Behavior251234
Node: Bash Conditional Expressions254721
Node: Shell Arithmetic259298
Node: Aliases262115
Node: Arrays264735
Node: The Directory Stack270100
Node: Directory Stack Builtins270884
Node: Controlling the Prompt273852
Node: The Restricted Shell276773
Node: Bash POSIX Mode278598
Node: Job Control289531
Node: Job Control Basics289991
Node: Job Control Builtins294955
Node: Job Control Variables299695
Node: Command Line Editing300851
Node: Introduction and Notation302522
Node: Readline Interaction304145
Node: Readline Bare Essentials305336
Node: Readline Movement Commands307119
Node: Readline Killing Commands308079
Node: Readline Arguments309997
Node: Searching311041
Node: Readline Init File313227
Node: Readline Init File Syntax314486
Node: Conditional Init Constructs334925
Node: Sample Init File339121
Node: Bindable Readline Commands342238
Node: Commands For Moving343442
Node: Commands For History345291
Node: Commands For Text349586
Node: Commands For Killing352974
Node: Numeric Arguments355455
Node: Commands For Completion356594
Node: Keyboard Macros360785
Node: Miscellaneous Commands361472
Node: Readline vi Mode367425
Node: Programmable Completion368332
Node: Programmable Completion Builtins376112
Node: A Programmable Completion Example386807
Node: Using History Interactively392054
Node: Bash History Facilities392738
Node: Bash History Builtins395743
Node: History Interaction400274
Node: Event Designators403894
Node: Word Designators405113
Node: Modifiers406750
Node: Installing Bash408152
Node: Basic Installation409289
Node: Compilers and Options412547
Node: Compiling For Multiple Architectures413288
Node: Installation Names414981
Node: Specifying the System Type415799
Node: Sharing Defaults416515
Node: Operation Controls417188
Node: Optional Features418146
Node: Reporting Bugs428664
Node: Major Differences From The Bourne Shell429858
Node: GNU Free Documentation License446710
Node: Indexes471887
Node: Builtin Index472341
Node: Reserved Word Index479168
Node: Variable Index481616
Node: Function Index497367
Node: Concept Index510670

End Tag Table
+24 -24
View File
@@ -1,4 +1,4 @@
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded format=pdfetex 2019.1.16) 26 FEB 2019 09:57
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/MacPorts 2018.47642_7) (preloaded format=pdfetex 2019.1.16) 22 APR 2019 09:26
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
@@ -202,7 +202,7 @@ texinfo.tex: doing @include of rluser.texi
(/usr/homes/chet/src/bash/src/lib/readline/doc/rluser.texi Chapter 8 [106]
[107] [108] [109] [110] [111] [112] [113] [114] [115] [116]
Underfull \hbox (badness 7540) in paragraph at lines 807--813
Underfull \hbox (badness 7540) in paragraph at lines 812--818
[]@textrm In the ex-am-ple above, @textttsl C-u[] @textrm is bound to the func
-tion
@@ -215,7 +215,7 @@ Underfull \hbox (badness 7540) in paragraph at lines 807--813
.etc.
Underfull \hbox (badness 10000) in paragraph at lines 807--813
Underfull \hbox (badness 10000) in paragraph at lines 812--818
@texttt universal-argument[]@textrm , @textttsl M-DEL[] @textrm is bound to th
e func-tion
@@ -227,8 +227,8 @@ e func-tion
.@texttt v
.etc.
[117] [118] [119]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 1041--1041
[117] [118] [119] [120]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 1046--1046
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i
gnored[]
@@ -240,13 +240,13 @@ gnored[]
.@texttt t
.etc.
[120] [121]
[121] [122]
@fnindfile=@write6
\openout6 = `bashref.fn'.
[122] [123] [124] [125] [126] [127] [128] [129] [130] [131]
[132] [133]
Overfull \hbox (15.27109pt too wide) in paragraph at lines 2029--2029
[123] [124] [125] [126] [127] [128] [129] [130] [131] [132]
[133] [134]
Overfull \hbox (15.27109pt too wide) in paragraph at lines 2034--2034
[]@texttt complete [-abcdefgjksuv] [-o @textttsl comp-option@texttt ] [-DEI] [
-A @textttsl ac-tion@texttt ] [-
@@ -258,23 +258,23 @@ Overfull \hbox (15.27109pt too wide) in paragraph at lines 2029--2029
.@texttt m
.etc.
[134] [135] [136] [137] [138] [139])
[135] [136] [137] [138] [139] [140])
texinfo.tex: doing @include of hsuser.texi
(/usr/homes/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9 [140]
[141] [142] [143] [144] [145]) Chapter 10 [146] [147] [148] [149] [150]
[151] [152] [153] Appendix A [154] Appendix B [155] [156] [157] [158] [159]
[160] Appendix C [161]
(/usr/homes/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9 [141]
[142] [143] [144] [145] [146]) Chapter 10 [147] [148] [149] [150] [151]
[152] [153] [154] Appendix A [155] Appendix B [156] [157] [158] [159] [160]
[161] Appendix C [162]
texinfo.tex: doing @include of fdl.texi
(/usr/homes/chet/src/bash/src/doc/fdl.texi [162]
[163] [164] [165] [166] [167] [168]) Appendix D [169] [170] [171] [172]
[173] [174] [175] [176] [177] [178] )
(/usr/homes/chet/src/bash/src/doc/fdl.texi [163]
[164] [165] [166] [167] [168] [169]) Appendix D [170] [171] [172] [173]
[174] [175] [176] [177] [178] [179] )
Here is how much of TeX's memory you used:
4065 strings out of 497100
47108 string characters out of 6206794
136573 words of memory out of 5000000
4066 strings out of 497100
47111 string characters out of 6206794
136567 words of memory out of 5000000
4846 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
@@ -296,10 +296,10 @@ e/fonts/type1/public/amsfonts/cm/cmtt12.pfb></opt/local/share/texmf-texlive/fon
ts/type1/public/amsfonts/cm/cmtt9.pfb></opt/local/share/texmf-texlive/fonts/typ
e1/public/cm-super/sfrm1095.pfb></opt/local/share/texmf-texlive/fonts/type1/pub
lic/cm-super/sfrm1440.pfb>
Output written on bashref.pdf (184 pages, 752696 bytes).
Output written on bashref.pdf (185 pages, 753415 bytes).
PDF statistics:
2623 PDF objects out of 2984 (max. 8388607)
2394 compressed objects within 24 object streams
310 named destinations out of 1000 (max. 500000)
2628 PDF objects out of 2984 (max. 8388607)
2398 compressed objects within 24 object streams
311 named destinations out of 1000 (max. 500000)
1125 words of extra memory for PDF output out of 10000 (max. 10000000)
BIN
View File
Binary file not shown.
+1021 -1010
View File
File diff suppressed because it is too large Load Diff
+40 -40
View File
@@ -97,43 +97,43 @@
@numsecentry{Readline Init File}{8.3}{Readline Init File}{110}
@numsubsecentry{Readline Init File Syntax}{8.3.1}{Readline Init File Syntax}{110}
@numsubsecentry{Conditional Init Constructs}{8.3.2}{Conditional Init Constructs}{118}
@numsubsecentry{Sample Init File}{8.3.3}{Sample Init File}{119}
@numsecentry{Bindable Readline Commands}{8.4}{Bindable Readline Commands}{122}
@numsubsecentry{Commands For Moving}{8.4.1}{Commands For Moving}{122}
@numsubsecentry{Commands For Manipulating The History}{8.4.2}{Commands For History}{123}
@numsubsecentry{Commands For Changing Text}{8.4.3}{Commands For Text}{124}
@numsubsecentry{Killing And Yanking}{8.4.4}{Commands For Killing}{126}
@numsubsecentry{Specifying Numeric Arguments}{8.4.5}{Numeric Arguments}{127}
@numsubsecentry{Letting Readline Type For You}{8.4.6}{Commands For Completion}{127}
@numsubsecentry{Keyboard Macros}{8.4.7}{Keyboard Macros}{129}
@numsubsecentry{Some Miscellaneous Commands}{8.4.8}{Miscellaneous Commands}{129}
@numsecentry{Readline vi Mode}{8.5}{Readline vi Mode}{131}
@numsecentry{Programmable Completion}{8.6}{Programmable Completion}{132}
@numsecentry{Programmable Completion Builtins}{8.7}{Programmable Completion Builtins}{134}
@numsecentry{A Programmable Completion Example}{8.8}{A Programmable Completion Example}{138}
@numchapentry{Using History Interactively}{9}{Using History Interactively}{141}
@numsecentry{Bash History Facilities}{9.1}{Bash History Facilities}{141}
@numsecentry{Bash History Builtins}{9.2}{Bash History Builtins}{141}
@numsecentry{History Expansion}{9.3}{History Interaction}{143}
@numsubsecentry{Event Designators}{9.3.1}{Event Designators}{144}
@numsubsecentry{Word Designators}{9.3.2}{Word Designators}{144}
@numsubsecentry{Modifiers}{9.3.3}{Modifiers}{145}
@numchapentry{Installing Bash}{10}{Installing Bash}{147}
@numsecentry{Basic Installation}{10.1}{Basic Installation}{147}
@numsecentry{Compilers and Options}{10.2}{Compilers and Options}{148}
@numsecentry{Compiling For Multiple Architectures}{10.3}{Compiling For Multiple Architectures}{148}
@numsecentry{Installation Names}{10.4}{Installation Names}{148}
@numsecentry{Specifying the System Type}{10.5}{Specifying the System Type}{149}
@numsecentry{Sharing Defaults}{10.6}{Sharing Defaults}{149}
@numsecentry{Operation Controls}{10.7}{Operation Controls}{149}
@numsecentry{Optional Features}{10.8}{Optional Features}{150}
@appentry{Reporting Bugs}{A}{Reporting Bugs}{155}
@appentry{Major Differences From The Bourne Shell}{B}{Major Differences From The Bourne Shell}{156}
@appsecentry{Implementation Differences From The SVR4.2 Shell}{B.1}{}{160}
@appentry{GNU Free Documentation License}{C}{GNU Free Documentation License}{162}
@appentry{Indexes}{D}{Indexes}{170}
@appsecentry{Index of Shell Builtin Commands}{D.1}{Builtin Index}{170}
@appsecentry{Index of Shell Reserved Words}{D.2}{Reserved Word Index}{171}
@appsecentry{Parameter and Variable Index}{D.3}{Variable Index}{172}
@appsecentry{Function Index}{D.4}{Function Index}{174}
@appsecentry{Concept Index}{D.5}{Concept Index}{176}
@numsubsecentry{Sample Init File}{8.3.3}{Sample Init File}{120}
@numsecentry{Bindable Readline Commands}{8.4}{Bindable Readline Commands}{123}
@numsubsecentry{Commands For Moving}{8.4.1}{Commands For Moving}{123}
@numsubsecentry{Commands For Manipulating The History}{8.4.2}{Commands For History}{124}
@numsubsecentry{Commands For Changing Text}{8.4.3}{Commands For Text}{125}
@numsubsecentry{Killing And Yanking}{8.4.4}{Commands For Killing}{127}
@numsubsecentry{Specifying Numeric Arguments}{8.4.5}{Numeric Arguments}{128}
@numsubsecentry{Letting Readline Type For You}{8.4.6}{Commands For Completion}{128}
@numsubsecentry{Keyboard Macros}{8.4.7}{Keyboard Macros}{130}
@numsubsecentry{Some Miscellaneous Commands}{8.4.8}{Miscellaneous Commands}{130}
@numsecentry{Readline vi Mode}{8.5}{Readline vi Mode}{132}
@numsecentry{Programmable Completion}{8.6}{Programmable Completion}{133}
@numsecentry{Programmable Completion Builtins}{8.7}{Programmable Completion Builtins}{135}
@numsecentry{A Programmable Completion Example}{8.8}{A Programmable Completion Example}{139}
@numchapentry{Using History Interactively}{9}{Using History Interactively}{142}
@numsecentry{Bash History Facilities}{9.1}{Bash History Facilities}{142}
@numsecentry{Bash History Builtins}{9.2}{Bash History Builtins}{142}
@numsecentry{History Expansion}{9.3}{History Interaction}{144}
@numsubsecentry{Event Designators}{9.3.1}{Event Designators}{145}
@numsubsecentry{Word Designators}{9.3.2}{Word Designators}{145}
@numsubsecentry{Modifiers}{9.3.3}{Modifiers}{146}
@numchapentry{Installing Bash}{10}{Installing Bash}{148}
@numsecentry{Basic Installation}{10.1}{Basic Installation}{148}
@numsecentry{Compilers and Options}{10.2}{Compilers and Options}{149}
@numsecentry{Compiling For Multiple Architectures}{10.3}{Compiling For Multiple Architectures}{149}
@numsecentry{Installation Names}{10.4}{Installation Names}{149}
@numsecentry{Specifying the System Type}{10.5}{Specifying the System Type}{150}
@numsecentry{Sharing Defaults}{10.6}{Sharing Defaults}{150}
@numsecentry{Operation Controls}{10.7}{Operation Controls}{150}
@numsecentry{Optional Features}{10.8}{Optional Features}{151}
@appentry{Reporting Bugs}{A}{Reporting Bugs}{156}
@appentry{Major Differences From The Bourne Shell}{B}{Major Differences From The Bourne Shell}{157}
@appsecentry{Implementation Differences From The SVR4.2 Shell}{B.1}{}{161}
@appentry{GNU Free Documentation License}{C}{GNU Free Documentation License}{163}
@appentry{Indexes}{D}{Indexes}{171}
@appsecentry{Index of Shell Builtin Commands}{D.1}{Builtin Index}{171}
@appsecentry{Index of Shell Reserved Words}{D.2}{Reserved Word Index}{172}
@appsecentry{Parameter and Variable Index}{D.3}{Variable Index}{173}
@appsecentry{Function Index}{D.4}{Function Index}{175}
@appsecentry{Concept Index}{D.5}{Concept Index}{177}
+3 -3
View File
@@ -139,7 +139,7 @@
\entry{disable-completion}{112}{\code {disable-completion}}
\entry{echo-control-characters}{112}{\code {echo-control-characters}}
\entry{editing-mode}{112}{\code {editing-mode}}
\entry{emacs-mode-string}{112}{\code {emacs-mode-string}}
\entry{emacs-mode-string}{113}{\code {emacs-mode-string}}
\entry{enable-bracketed-paste}{113}{\code {enable-bracketed-paste}}
\entry{enable-keypad}{113}{\code {enable-keypad}}
\entry{expand-tilde}{113}{\code {expand-tilde}}
@@ -151,7 +151,7 @@
\entry{isearch-terminators}{114}{\code {isearch-terminators}}
\entry{keymap}{114}{\code {keymap}}
\entry{mark-modified-lines}{114}{\code {mark-modified-lines}}
\entry{mark-symlinked-directories}{114}{\code {mark-symlinked-directories}}
\entry{mark-symlinked-directories}{115}{\code {mark-symlinked-directories}}
\entry{match-hidden-files}{115}{\code {match-hidden-files}}
\entry{menu-complete-display-prefix}{115}{\code {menu-complete-display-prefix}}
\entry{output-meta}{115}{\code {output-meta}}
@@ -159,7 +159,7 @@
\entry{revert-all-at-newline}{115}{\code {revert-all-at-newline}}
\entry{show-all-if-ambiguous}{115}{\code {show-all-if-ambiguous}}
\entry{show-all-if-unmodified}{115}{\code {show-all-if-unmodified}}
\entry{show-mode-in-prompt}{115}{\code {show-mode-in-prompt}}
\entry{show-mode-in-prompt}{116}{\code {show-mode-in-prompt}}
\entry{skip-completed-text}{116}{\code {skip-completed-text}}
\entry{vi-cmd-mode-string}{116}{\code {vi-cmd-mode-string}}
\entry{vi-ins-mode-string}{116}{\code {vi-ins-mode-string}}
+3 -3
View File
@@ -79,7 +79,7 @@
\initial {E}
\entry {\code {echo-control-characters}}{112}
\entry {\code {editing-mode}}{112}
\entry {\code {emacs-mode-string}}{112}
\entry {\code {emacs-mode-string}}{113}
\entry {\code {EMACS}}{78}
\entry {\code {enable-bracketed-paste}}{113}
\entry {\code {enable-keypad}}{113}
@@ -139,7 +139,7 @@
\entry {\code {MAILPATH}}{73}
\entry {\code {MAPFILE}}{82}
\entry {\code {mark-modified-lines}}{114}
\entry {\code {mark-symlinked-directories}}{114}
\entry {\code {mark-symlinked-directories}}{115}
\entry {\code {match-hidden-files}}{115}
\entry {\code {menu-complete-display-prefix}}{115}
\entry {\code {meta-flag}}{114}
@@ -177,7 +177,7 @@
\entry {\code {SHLVL}}{83}
\entry {\code {show-all-if-ambiguous}}{115}
\entry {\code {show-all-if-unmodified}}{115}
\entry {\code {show-mode-in-prompt}}{115}
\entry {\code {show-mode-in-prompt}}{116}
\entry {\code {skip-completed-text}}{116}
\initial {T}
\entry {\code {TEXTDOMAIN}}{7}
+7 -7
View File
@@ -1836,13 +1836,13 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
a job spec is given, all processes in that job's pipeline are
waited for. If _i_d is not given, all currently active child pro-
cesses are waited for, and the return status is zero. If the --nn
option is supplied, wwaaiitt waits for any job to terminate and
returns its exit status. If the --ff option is supplied, and job
control is enabled, wwaaiitt forces _i_d to terminate before returning
its status, instead of returning when it changes status. If _i_d
specifies a non-existent process or job, the return status is
127. Otherwise, the return status is the exit status of the
last process or job waited for.
option is supplied, wwaaiitt waits for a single job to terminate and
returns its exit status. Supplying the --ff option, when job con-
trol is enabled, forces wwaaiitt to wait for _i_d to terminate before
returning its status, instead of returning when it changes sta-
tus. If _i_d specifies a non-existent process or job, the return
status is 127. Otherwise, the return status is the exit status
of the last process or job waited for.
SSEEEE AALLSSOO
bash(1), sh(1)
+13 -14
View File
@@ -1,6 +1,6 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.22.3
%%CreationDate: Tue Feb 26 09:57:04 2019
%%CreationDate: Mon Apr 22 09:26:38 2019
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
@@ -3108,19 +3108,18 @@ tion status.).8 F(Each)5.659 E F2(id)3.169 E F0 .659(may be a process)
.521(n, all currently acti).15 F .821 -.15(ve c)-.25 H .521
(hild processes are w).15 F .521(aited for)-.1 F 3.021(,a)-.4 G .521
(nd the return status is zero.)-3.021 F(If)5.522 E(the)144 660 Q F1
<ad6e>3.057 E F0 .557(option is supplied,)3.057 F F1(wait)3.057 E F0 -.1
(wa)3.057 G .557(its for an).1 F 3.057(yj)-.15 G .557
(ob to terminate and returns its e)-3.057 F .557(xit status.)-.15 F .556
(If the)5.556 F F1<ad66>3.056 E F0 .586
(option is supplied, and job control is enabled,)144 672 R F1(wait)3.086
E F0(forces)3.086 E F2(id)3.086 E F0 .587
(to terminate before returning its sta-)3.086 F .756
(tus, instead of returning when it changes status.)144 684 R(If)5.756 E
F2(id)3.266 E F0 .755(speci\214es a non-e)4.026 F .755
(xistent process or job, the)-.15 F .365(return status is 127.)144 696 R
.365(Otherwise, the return status is the e)5.365 F .365
(xit status of the last process or job w)-.15 F(aited)-.1 E(for)144 708
Q(.)-.55 E(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(24)198.725 E 0 Cg
<ad6e>2.948 E F0 .448(option is supplied,)2.948 F F1(wait)2.948 E F0 -.1
(wa)2.948 G .448(its for a single job to terminate and returns its e).1
F .447(xit status.)-.15 F(Sup-)5.447 E 1.023(plying the)144 672 R F1
<ad66>3.523 E F0 1.023(option, when job control is enabled, forces)3.523
F F1(wait)3.524 E F0 1.024(to w)3.524 F 1.024(ait for)-.1 F F2(id)3.524
E F0 1.024(to terminate before)3.524 F 1.835
(returning its status, instead of returning when it changes status.)144
684 R(If)6.835 E F2(id)4.345 E F0 1.835(speci\214es a non-e)5.105 F
(xistent)-.15 E 1.022(process or job, the return status is 127.)144 696
R 1.023(Otherwise, the return status is the e)6.023 F 1.023
(xit status of the last)-.15 F(process or job w)144 708 Q(aited for)-.1
E(.)-.55 E(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(24)198.725 E 0 Cg
EP
%%Page: 25 25
%%BeginPageSetup
+1 -1
View File
@@ -1,6 +1,6 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.22.3
%%CreationDate: Tue Feb 26 09:57:04 2019
%%CreationDate: Mon Apr 22 09:26:39 2019
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%DocumentSuppliedResources: procset grops 1.22 3
+53 -18
View File
@@ -823,16 +823,6 @@ glob_vector (pat, dir, flags)
}
}
#if 0
/* When FLAGS includes GX_ALLDIRS, we want to skip a symlink
to a directory, since we will pick the directory up later. */
if (isdir == -2 && glob_testdir (subdir, 0) == 0)
{
free (subdir);
continue;
}
#endif
/* XXX - should we even add this if it's not a directory? */
nextlink = (struct globval *) malloc (sizeof (struct globval));
if (firstmalloc == 0)
@@ -1042,17 +1032,22 @@ glob_dir_to_array (dir, array, flags)
strcpy (result[i], dir);
if (add_slash)
result[i][l] = '/';
strcpy (result[i] + l + add_slash, array[i]);
if (flags & GX_MARKDIRS)
if (array[i][0])
{
if ((stat (result[i], &sb) == 0) && S_ISDIR (sb.st_mode))
strcpy (result[i] + l + add_slash, array[i]);
if (flags & GX_MARKDIRS)
{
size_t rlen;
rlen = strlen (result[i]);
result[i][rlen] = '/';
result[i][rlen+1] = '\0';
if ((stat (result[i], &sb) == 0) && S_ISDIR (sb.st_mode))
{
size_t rlen;
rlen = strlen (result[i]);
result[i][rlen] = '/';
result[i][rlen+1] = '\0';
}
}
}
else
result[i][l+add_slash] = '\0';
}
result[i] = NULL;
@@ -1246,6 +1241,7 @@ glob_filename (pathname, flags)
files ending in `h' with a `/' appended. */
dname = directories[i];
dflags = flags & ~(GX_MARKDIRS|GX_ALLDIRS|GX_ADDCURDIR);
/* last_starstar? */
if ((flags & GX_GLOBSTAR) && filename[0] == '*' && filename[1] == '*' && filename[2] == '\0')
dflags |= GX_ALLDIRS|GX_ADDCURDIR;
if (dname[0] == '\0' && filename[0])
@@ -1253,7 +1249,44 @@ glob_filename (pathname, flags)
dflags |= GX_NULLDIR;
dname = "."; /* treat null directory name and non-null filename as current directory */
}
temp_results = glob_vector (filename, dname, dflags);
/* Special handling for symlinks to directories with globstar on */
if (all_starstar && (dflags & GX_NULLDIR) == 0)
{
int dlen;
/* If we have a directory name that is not null (GX_NULLDIR above)
and is a symlink to a directory, we return the symlink if
we're not `descending' into it (filename[0] == 0) and return
glob_error_return (which causes the code below to skip the
name) otherwise. I should fold this into a test that does both
checks instead of calling stat twice. */
if (glob_testdir (dname, flags|GX_ALLDIRS) == -2 && glob_testdir (dname, 0) == 0)
{
if (filename[0] != 0)
temp_results = (char **)&glob_error_return; /* skip */
else
{
/* Construct array to pass to glob_dir_to_array */
temp_results = (char **)malloc (2 * sizeof (char *));
if (temp_results == NULL)
goto memory_error;
temp_results[0] = (char *)malloc (1);
if (temp_results[0] == 0)
{
free (temp_results);
goto memory_error;
}
**temp_results = '\0';
temp_results[1] = NULL;
dflags |= GX_SYMLINK; /* mostly for debugging */
}
}
else
temp_results = glob_vector (filename, dname, dflags);
}
else
temp_results = glob_vector (filename, dname, dflags);
/* Handle error cases. */
if (temp_results == NULL)
@@ -1301,6 +1334,8 @@ glob_filename (pathname, flags)
else
array = temp_results;
}
else if (dflags & GX_SYMLINK)
array = glob_dir_to_array (directories[i], temp_results, flags);
else
array = glob_dir_to_array (directories[i], temp_results, flags);
l = 0;
+1
View File
@@ -31,6 +31,7 @@
#define GX_ADDCURDIR 0x200 /* internal -- add passed directory name */
#define GX_GLOBSTAR 0x400 /* turn on special handling of ** */
#define GX_RECURSE 0x800 /* internal -- glob_filename called recursively */
#define GX_SYMLINK 0x1000 /* internal -- symlink to a directory */
extern int glob_pattern_p __P((const char *));
extern char **glob_vector __P((char *, char *, int));
+4
View File
@@ -596,6 +596,10 @@ handle_error:
else if (_rl_caught_signal == SIGINT)
#endif
RL_CHECK_SIGNALS ();
#if defined (SIGTSTP)
else if (_rl_caught_signal == SIGTSTP)
RL_CHECK_SIGNALS ();
#endif
/* non-keyboard-generated signals of interest */
#if defined (SIGWINCH)
else if (_rl_caught_signal == SIGWINCH)
+1 -2
View File
@@ -25,7 +25,6 @@
regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh
looks for to find the patch level (for the sccs version string). */
#define PATCHLEVEL 3
#define PATCHLEVEL 7
#endif /* _PATCHLEVEL_H_ */
+3
View File
@@ -582,3 +582,6 @@ bar/foo/e bar/foo/f foo/a foo/b
<b/b/a/a>
<b/b/a/b>
<b/b/b/a>
a a/aa a/ab b b/bb b/bc c
a/ b/ c/
a/ab b b/bb
+1
View File
@@ -40,3 +40,4 @@ rm -rf $GDIR
${THIS_SH} ./globstar1.sub
${THIS_SH} ./globstar2.sub
${THIS_SH} ./globstar3.sub
+24
View File
@@ -0,0 +1,24 @@
olddir=$PWD
: ${TMPDIR:=/var/tmp}
SCRATCH=${TMPDIR}/scratch-$$
rm -rf $SCRATCH
mkdir $SCRATCH || exit 1
cd $SCRATCH
mkdir a b
touch a/aa a/ab
touch b/bb b/bc
ln -s a c
shopt -s globstar
echo **
echo **/
echo **/*b
cd "$olddir"
rm -rf $SCRATCH