mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-27 23:53:18 +02:00
commit bash-20111229 snapshot
This commit is contained in:
@@ -12971,3 +12971,45 @@ builtins/bind.def
|
||||
|
||||
doc/{bash.1,bashref.texi}
|
||||
- document new `bind -X' option
|
||||
|
||||
12/24
|
||||
-----
|
||||
|
||||
doc/{bash.1,bashref.texi}
|
||||
- add a couple of sentences to the description of the case modification
|
||||
operators making it clearer that each character of parameter is
|
||||
tested against the pattern, and that the pattern should only attempt
|
||||
to match a single character. Suggested by Bill Gradwohl
|
||||
<bill@ycc.com>
|
||||
|
||||
12/28
|
||||
-----
|
||||
shell.c
|
||||
- init_noninteractive: instead of calling set_job_control(0) to
|
||||
unconditionally turn off job control, turn on job control if
|
||||
forced_interactive or jobs_m_flag is set
|
||||
- shell_initialize: call initialize_job_control with jobs_m_flag as
|
||||
argument so `bash -m script' enables job control while running the
|
||||
script
|
||||
|
||||
jobs.c
|
||||
- initialize_job_control: if the `force' argument is non-zero, turn on
|
||||
job control even if the shell is not currently interactive
|
||||
(interactive == 0)
|
||||
|
||||
12/29
|
||||
-----
|
||||
|
||||
flags.h
|
||||
- new extern declaration for jobs_m_flag
|
||||
|
||||
builtins/{cd,set}.def,doc/{bash.1,bashref.texi}
|
||||
- added text clarifying the descriptions of cd -L and -P, suggested by
|
||||
Padraig Brady <p@draigbrady.com>
|
||||
- slight change to the description of `set -P' about resolving symbolic
|
||||
links
|
||||
|
||||
lib/readline/doc/rluser.texi
|
||||
- Added an example to the programmable completion section: _comp_cd,
|
||||
a completion function for cd, with additional verbiage. Text
|
||||
includes a reference to the bash_completion project
|
||||
|
||||
@@ -602,6 +602,7 @@ examples/obashdb/README f
|
||||
examples/obashdb/bashdb f
|
||||
examples/obashdb/bashdb.el f
|
||||
examples/complete/bash_completion f
|
||||
examples/complete/cdfunc f
|
||||
examples/complete/complete-examples f
|
||||
examples/complete/complete.ianmac f
|
||||
examples/complete/complete2.ianmac f
|
||||
|
||||
+6
-2
@@ -87,13 +87,17 @@ the word is assumed to be a variable name. If that variable has a value,
|
||||
its value is used for DIR.
|
||||
|
||||
Options:
|
||||
-L force symbolic links to be followed
|
||||
-L force symbolic links to be followed: resolve symbolic links in
|
||||
DIR after processing instances of `..'
|
||||
-P use the physical directory structure without following symbolic
|
||||
links
|
||||
links: resolve symbolic links in DIR before processing instances
|
||||
of `..'
|
||||
-e if the -P option is supplied, and the current working directory
|
||||
cannot be determined successfully, exit with a non-zero status
|
||||
|
||||
The default is to follow symbolic links, as if `-L' were specified.
|
||||
`..' is processed by removing the immediately previous pathname component
|
||||
back to a slash or the beginning of DIR.
|
||||
|
||||
Exit Status:
|
||||
Returns 0 if the directory is changed, and if $PWD is set successfully when
|
||||
|
||||
+1
-1
@@ -135,7 +135,7 @@ Options:
|
||||
-H Enable ! style history substitution. This flag is on
|
||||
by default when the shell is interactive.
|
||||
#endif /* BANG_HISTORY */
|
||||
-P If set, do not follow symbolic links when executing commands
|
||||
-P If set, do not resolve symbolic links when executing commands
|
||||
such as cd which change the current directory.
|
||||
-T If set, the DEBUG trap is inherited by shell functions.
|
||||
-- Assign any remaining arguments to the positional parameters.
|
||||
|
||||
Binary file not shown.
+1365
-1325
File diff suppressed because it is too large
Load Diff
+19
-7
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.cwru.edu
|
||||
.\"
|
||||
.\" Last Change: Wed Dec 21 20:32:29 EST 2011
|
||||
.\" Last Change: Sat Dec 24 15:51:37 EST 2011
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2011 December 21" "GNU Bash 4.2"
|
||||
.TH BASH 1 "2011 December 24" "GNU Bash 4.2"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -2950,6 +2950,9 @@ ${\fIparameter\fP\fB,,\fP\fIpattern\fP}
|
||||
This expansion modifies the case of alphabetic characters in \fIparameter\fP.
|
||||
The \fIpattern\fP is expanded to produce a pattern just as in
|
||||
pathname expansion.
|
||||
Each character in the expanded value of \fIparameter\fP is tested against
|
||||
\fIpattern\fP, and, if it matches the pattern, its case is converted.
|
||||
The pattern should not attempt to match more than one character.
|
||||
The \fB^\fP operator converts lowercase letters matching \fIpattern\fP
|
||||
to uppercase; the \fB,\fP operator converts matching uppercase letters
|
||||
to lowercase.
|
||||
@@ -6866,7 +6869,11 @@ The variable
|
||||
.SM
|
||||
.B CDPATH
|
||||
defines the search path for the directory containing
|
||||
.IR dir .
|
||||
.IR dir :
|
||||
each directory name in
|
||||
.SM
|
||||
.B CDPATH
|
||||
is searched for \fIdir\fP.
|
||||
Alternative directory names in
|
||||
.SM
|
||||
.B CDPATH
|
||||
@@ -6881,14 +6888,19 @@ then
|
||||
.B CDPATH
|
||||
is not used. The
|
||||
.B \-P
|
||||
option says to use the physical directory structure instead of
|
||||
following symbolic links (see also the
|
||||
option causes \fBcd\fP to use the physical directory structure
|
||||
by resolving symbolic links while traversing \fIdir\fP and
|
||||
before processing instances of \fI..\fP in \fIdir\fP (see also the
|
||||
.B \-P
|
||||
option to the
|
||||
.B set
|
||||
builtin command); the
|
||||
.B \-L
|
||||
option forces symbolic links to be followed.
|
||||
option forces symbolic links to be followed by resolving the link
|
||||
after processing instances of \fI..\fP in \fIdir\fP.
|
||||
If \fI..\fP appears in \fIdir\fP, it is processed by removing the
|
||||
immediately previous pathname component from \fIdir\fP, back to a slash
|
||||
or the beginning of \fIdir\fP.
|
||||
If the
|
||||
.B \-e
|
||||
option is supplied with
|
||||
@@ -8851,7 +8863,7 @@ style history substitution. This option is on by
|
||||
default when the shell is interactive.
|
||||
.TP 8
|
||||
.B \-P
|
||||
If set, the shell does not follow symbolic links when executing
|
||||
If set, the shell does not resolve symbolic links when executing
|
||||
commands such as
|
||||
.B cd
|
||||
that change the current working directory. It uses the
|
||||
|
||||
+83
-32
@@ -3,7 +3,7 @@
|
||||
</HEAD>
|
||||
<BODY><TABLE WIDTH=100%>
|
||||
<TR>
|
||||
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2011 September 25<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2011 December 24<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
</TR>
|
||||
</TABLE>
|
||||
<BR><A HREF="#index">Index</A>
|
||||
@@ -37,7 +37,7 @@ bash - GNU Bourne-Again SHell
|
||||
<B>bash</B>
|
||||
|
||||
[options]
|
||||
[file]
|
||||
[command_string | file]
|
||||
<A NAME="lbAD"> </A>
|
||||
<H3>COPYRIGHT</H3>
|
||||
|
||||
@@ -76,17 +76,17 @@ interprets the following options when it is invoked:
|
||||
|
||||
|
||||
<DL COMPACT>
|
||||
<DT><B>-c</B><I> string</I>
|
||||
<DT><B>-c</B>
|
||||
|
||||
<DD>
|
||||
If the
|
||||
<B>-c</B>
|
||||
|
||||
option is present, then commands are read from
|
||||
<I>string</I>.
|
||||
option is present, then commands are read from the first non-option argument
|
||||
<I>command_string</I>.
|
||||
|
||||
If there are arguments after the
|
||||
<I>string</I>,
|
||||
<I>command_string</I>,
|
||||
|
||||
they are assigned to the positional parameters, starting with
|
||||
<B>$0</B>.
|
||||
@@ -955,6 +955,10 @@ is enabled, the match is performed without regard to the case
|
||||
of alphabetic characters.
|
||||
Any part of the pattern may be quoted to force the quoted portion
|
||||
to be matched as a string.
|
||||
Bracket expressions in regular expressions must be treated carefully,
|
||||
since normal quoting characters lose their meanings between brackets.
|
||||
If the pattern is stored in a shell variable, quoting the variable
|
||||
expansion forces the entire pattern to be matched as a string.
|
||||
Substrings matched by parenthesized subexpressions within the regular
|
||||
expression are saved in the array variable
|
||||
<FONT SIZE=-1><B>BASH_REMATCH</B>.
|
||||
@@ -2417,6 +2421,7 @@ upon receipt of a
|
||||
An array variable from which <B>bash</B> reads the possible completions
|
||||
generated by a shell function invoked by the programmable completion
|
||||
facility (see <B>Programmable Completion</B> below).
|
||||
Each array element contains one possible completion.
|
||||
<DT><B>EMACS</B>
|
||||
|
||||
<DD>
|
||||
@@ -2530,10 +2535,14 @@ command history is not saved when an interactive shell exits.
|
||||
<DD>
|
||||
The maximum number of lines contained in the history file. When this
|
||||
variable is assigned a value, the history file is truncated, if
|
||||
necessary, by removing the oldest entries,
|
||||
to contain no more than that number of lines. The default
|
||||
value is 500. The history file is also truncated to this size after
|
||||
necessary,
|
||||
to contain no more than that number of lines by removing the oldest entries.
|
||||
The history file is also truncated to this size after
|
||||
writing it when an interactive shell exits.
|
||||
If the value is 0, the history file is truncated to zero size.
|
||||
Non-numeric values and numeric values less than zero inhibit truncation.
|
||||
The shell sets the default value to the value of <B>HISTSIZE</B>
|
||||
after reading any startup files.
|
||||
<DT><B>HISTIGNORE</B>
|
||||
|
||||
<DD>
|
||||
@@ -2561,7 +2570,11 @@ The number of commands to remember in the command history (see
|
||||
<FONT SIZE=-1><B>HISTORY</B>
|
||||
|
||||
</FONT>
|
||||
below). The default value is 500.
|
||||
below).
|
||||
If the value is 0, commands are not saved in the history list.
|
||||
Numeric values less than zero result in every command being saved
|
||||
on the history list (there is no limit).
|
||||
The shell sets the default value to 500 after reading any startup files.
|
||||
<DT><B>HISTTIMEFORMAT</B>
|
||||
|
||||
<DD>
|
||||
@@ -3720,6 +3733,9 @@ array in turn, and the expansion is the resultant list.
|
||||
This expansion modifies the case of alphabetic characters in <I>parameter</I>.
|
||||
The <I>pattern</I> is expanded to produce a pattern just as in
|
||||
pathname expansion.
|
||||
Each character in the expanded value of <I>parameter</I> is tested against
|
||||
<I>pattern</I>, and, if it matches the pattern, its case is converted.
|
||||
The pattern should not attempt to match more than one character.
|
||||
The <B>^</B> operator converts lowercase letters matching <I>pattern</I>
|
||||
to uppercase; the <B>,</B> operator converts matching uppercase letters
|
||||
to lowercase.
|
||||
@@ -7613,6 +7629,10 @@ and store the definition.
|
||||
<DD>
|
||||
Re-execute the last keyboard macro defined, by making the characters
|
||||
in the macro appear as if typed at the keyboard.
|
||||
<B>print-last-kbd-macro ()</B>
|
||||
|
||||
Print the last keyboard macro defined in a format suitable for the
|
||||
<I>inputrc</I> file.
|
||||
|
||||
</DL>
|
||||
<A NAME="lbCU"> </A>
|
||||
@@ -7879,10 +7899,12 @@ and
|
||||
|
||||
</FONT>
|
||||
variables are also set.
|
||||
When the function or command is invoked, the first argument is the
|
||||
name of the command whose arguments are being completed, the
|
||||
second argument is the word being completed, and the third argument
|
||||
is the word preceding the word being completed on the current command line.
|
||||
When the function or command is invoked,
|
||||
the first argument (<B>$1</B>) is the name of the command whose arguments are
|
||||
being completed,
|
||||
the second argument (<B>$2</B>) is the word being completed,
|
||||
and the third argument (<B>$3</B>) is the word preceding the word being
|
||||
completed on the current command line.
|
||||
No filtering of the generated completions against the word being completed
|
||||
is performed; the function or command has complete freedom in generating
|
||||
the matches.
|
||||
@@ -7895,7 +7917,7 @@ It must put the possible completions in the
|
||||
<FONT SIZE=-1><B>COMPREPLY</B>
|
||||
|
||||
</FONT>
|
||||
array variable.
|
||||
array variable, one per array element.
|
||||
<P>
|
||||
|
||||
Next, any command specified with the <B>-C</B> option is invoked
|
||||
@@ -8041,6 +8063,8 @@ the number of lines specified by the value of
|
||||
<FONT SIZE=-1><B>HISTFILESIZE</B>.
|
||||
|
||||
</FONT>
|
||||
If <B>HISTFILESIZE</B> is unset, or set to null, a non-numeric value,
|
||||
or a numeric value less than zero, the history file is not truncated.
|
||||
When the history file is read,
|
||||
lines beginning with the history comment character followed immediately
|
||||
by a digit are interpreted as timestamps for the preceding history line.
|
||||
@@ -8094,7 +8118,8 @@ lines. If
|
||||
<FONT SIZE=-1><B>HISTFILESIZE</B>
|
||||
|
||||
</FONT>
|
||||
is not set, no truncation is performed.
|
||||
is unset, or set to null, a non-numeric value,
|
||||
or a numeric value less than zero, the history file is not truncated.
|
||||
<P>
|
||||
|
||||
The builtin command
|
||||
@@ -8309,7 +8334,7 @@ history list starting with
|
||||
<DT><B>!?</B><I>string</I><B>[?]</B>
|
||||
|
||||
<DD>
|
||||
Refer to the most recent command preceding the current postition in the
|
||||
Refer to the most recent command preceding the current position in the
|
||||
history list containing
|
||||
<I>string</I>.
|
||||
|
||||
@@ -8631,7 +8656,7 @@ is not present, the shell's notion of the <I>current job</I> is used.
|
||||
returns 0 unless run when job control is disabled or, when run with
|
||||
job control enabled, any specified <I>jobspec</I> was not found
|
||||
or was started without job control.
|
||||
<DT><B>bind</B> [<B>-m</B> <I>keymap</I>] [<B>-lpsvPSV</B>]<DD>
|
||||
<DT><B>bind</B> [<B>-m</B> <I>keymap</I>] [<B>-lpsvPSVX</B>]<DD>
|
||||
|
||||
<DT><B>bind</B> [<B>-m</B> <I>keymap</I>] [<B>-q</B> <I>function</I>] [<B>-u</B> <I>function</I>] [<B>-r</B> <I>keyseq</I>]<DD>
|
||||
<DT><B>bind</B> [<B>-m</B> <I>keymap</I>] <B>-f</B> <I>filename</I><DD>
|
||||
@@ -8746,6 +8771,11 @@ or
|
||||
|
||||
</FONT>
|
||||
those new values will be reflected in the editing state.
|
||||
<DT><B>-X</B>
|
||||
|
||||
<DD>
|
||||
List all key sequences bound to shell commands and the associated commands
|
||||
in a format that can be reused as input.
|
||||
|
||||
</DL>
|
||||
<P>
|
||||
@@ -8801,21 +8831,25 @@ The return value is 0 unless the shell is not executing a subroutine
|
||||
call or <I>expr</I> does not correspond to a valid position in the
|
||||
call stack.
|
||||
<DT><B>cd</B> [<B>-L</B>|[<B>-P</B> [<B>-e</B>]]] [<I>dir</I>]<DD>
|
||||
Change the current directory to <I>dir</I>. The variable
|
||||
Change the current directory to <I>dir</I>.
|
||||
if <I>dir</I> is not supplied, the value of the
|
||||
<FONT SIZE=-1><B>HOME</B>
|
||||
|
||||
</FONT>
|
||||
is the
|
||||
default
|
||||
<I>dir</I>.
|
||||
|
||||
shell variable is the default.
|
||||
Any additional arguments following <I>dir</I> are ignored.
|
||||
The variable
|
||||
<FONT SIZE=-1><B>CDPATH</B>
|
||||
|
||||
</FONT>
|
||||
defines the search path for the directory containing
|
||||
<I>dir</I>.
|
||||
<I>dir</I>:
|
||||
|
||||
each directory name in
|
||||
<FONT SIZE=-1><B>CDPATH</B>
|
||||
|
||||
</FONT>
|
||||
is searched for <I>dir</I>.
|
||||
Alternative directory names in
|
||||
<FONT SIZE=-1><B>CDPATH</B>
|
||||
|
||||
@@ -8835,8 +8869,9 @@ then
|
||||
is not used. The
|
||||
<B>-P</B>
|
||||
|
||||
option says to use the physical directory structure instead of
|
||||
following symbolic links (see also the
|
||||
option causes <B>cd</B> to use the physical directory structure
|
||||
by resolving symbolic links while traversing <I>dir</I> and
|
||||
before processing instances of <I>..</I> in <I>dir</I> (see also the
|
||||
<B>-P</B>
|
||||
|
||||
option to the
|
||||
@@ -8845,7 +8880,11 @@ option to the
|
||||
builtin command); the
|
||||
<B>-L</B>
|
||||
|
||||
option forces symbolic links to be followed.
|
||||
option forces symbolic links to be followed by resolving the link
|
||||
after processing instances of <I>..</I> in <I>dir</I>.
|
||||
If <I>..</I> appears in <I>dir</I>, it is processed by removing the
|
||||
immediately previous pathname component from <I>dir</I>, back to a slash
|
||||
or the beginning of <I>dir</I>.
|
||||
If the
|
||||
<B>-e</B>
|
||||
|
||||
@@ -9015,6 +9054,11 @@ Tell readline that the compspec generates filenames, so it can perform any
|
||||
filename-specific processing (like adding a slash to directory names,
|
||||
quoting special characters, or suppressing trailing spaces).
|
||||
Intended to be used with shell functions.
|
||||
<DT><B>noquote</B>
|
||||
|
||||
<DD>
|
||||
Tell readline not to quote the completed words if they are filenames
|
||||
(quoting filenames is the default).
|
||||
<DT><B>nospace</B>
|
||||
|
||||
<DD>
|
||||
@@ -9141,6 +9185,12 @@ used as the possible completions.
|
||||
<DT><B>-F</B> <I>function</I><DD>
|
||||
The shell function <I>function</I> is executed in the current shell
|
||||
environment.
|
||||
When the function is executed,
|
||||
the first argument (<B>$1</B>) is the name of the command whose arguments are
|
||||
being completed,
|
||||
the second argument (<B>$2</B>) is the word being completed,
|
||||
and the third argument (<B>$3</B>) is the word preceding the word being
|
||||
completed on the current command line.
|
||||
When it finishes, the possible completions are retrieved from the value
|
||||
of the
|
||||
<FONT SIZE=-1><B>COMPREPLY</B>
|
||||
@@ -10767,8 +10817,9 @@ are supplied, the line read is assigned to the variable
|
||||
|
||||
</FONT>
|
||||
The return code is zero, unless end-of-file is encountered, <B>read</B>
|
||||
times out (in which case the return code is greater than 128), or an
|
||||
invalid file descriptor is supplied as the argument to <B>-u</B>.
|
||||
times out (in which case the return code is greater than 128),
|
||||
a variable assignment error (such as assigning to a readonly variable) occurs,
|
||||
or an invalid file descriptor is supplied as the argument to <B>-u</B>.
|
||||
</DL>
|
||||
|
||||
<DT><B>readonly</B> [<B>-aAf</B>] [<B>-p</B>] [<I>name</I>[=<I>word</I>] ...]<DD>
|
||||
@@ -11274,7 +11325,7 @@ default when the shell is interactive.
|
||||
<DT><B>-P</B>
|
||||
|
||||
<DD>
|
||||
If set, the shell does not follow symbolic links when executing
|
||||
If set, the shell does not resolve symbolic links when executing
|
||||
commands such as
|
||||
<B>cd</B>
|
||||
|
||||
@@ -12848,7 +12899,7 @@ There may be only one active coprocess at a time.
|
||||
<HR>
|
||||
<TABLE WIDTH=100%>
|
||||
<TR>
|
||||
<TH ALIGN=LEFT width=33%>GNU Bash 4.2<TH ALIGN=CENTER width=33%>2011 September 25<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
<TH ALIGN=LEFT width=33%>GNU Bash 4.2<TH ALIGN=CENTER width=33%>2011 December 24<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
</TR>
|
||||
</TABLE>
|
||||
<HR>
|
||||
@@ -12954,6 +13005,6 @@ There may be only one active coprocess at a time.
|
||||
</DL>
|
||||
<HR>
|
||||
This document was created by man2html from bash.1.<BR>
|
||||
Time: 24 October 2011 08:43:51 EDT
|
||||
Time: 29 December 2011 15:07:27 EST
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Binary file not shown.
+6822
-6739
File diff suppressed because it is too large
Load Diff
+56
-53
@@ -63,85 +63,85 @@
|
||||
@xrdef{Conditional Constructs-pg}{10}
|
||||
@xrdef{Command Grouping-title}{Grouping Commands}
|
||||
@xrdef{Command Grouping-snt}{Section@tie 3.2.4.3}
|
||||
@xrdef{Command Grouping-pg}{13}
|
||||
@xrdef{Command Grouping-pg}{14}
|
||||
@xrdef{Coprocesses-title}{Coprocesses}
|
||||
@xrdef{Coprocesses-snt}{Section@tie 3.2.5}
|
||||
@xrdef{GNU Parallel-title}{GNU Parallel}
|
||||
@xrdef{GNU Parallel-snt}{Section@tie 3.2.6}
|
||||
@xrdef{Coprocesses-pg}{14}
|
||||
@xrdef{GNU Parallel-pg}{14}
|
||||
@xrdef{Coprocesses-pg}{15}
|
||||
@xrdef{GNU Parallel-pg}{15}
|
||||
@xrdef{Shell Functions-title}{Shell Functions}
|
||||
@xrdef{Shell Functions-snt}{Section@tie 3.3}
|
||||
@xrdef{Shell Functions-pg}{15}
|
||||
@xrdef{Shell Functions-pg}{16}
|
||||
@xrdef{Shell Parameters-title}{Shell Parameters}
|
||||
@xrdef{Shell Parameters-snt}{Section@tie 3.4}
|
||||
@xrdef{Positional Parameters-title}{Positional Parameters}
|
||||
@xrdef{Positional Parameters-snt}{Section@tie 3.4.1}
|
||||
@xrdef{Shell Parameters-pg}{17}
|
||||
@xrdef{Shell Parameters-pg}{18}
|
||||
@xrdef{Positional Parameters-pg}{18}
|
||||
@xrdef{Special Parameters-title}{Special Parameters}
|
||||
@xrdef{Special Parameters-snt}{Section@tie 3.4.2}
|
||||
@xrdef{Positional Parameters-pg}{18}
|
||||
@xrdef{Special Parameters-pg}{18}
|
||||
@xrdef{Shell Expansions-title}{Shell Expansions}
|
||||
@xrdef{Shell Expansions-snt}{Section@tie 3.5}
|
||||
@xrdef{Special Parameters-pg}{19}
|
||||
@xrdef{Brace Expansion-title}{Brace Expansion}
|
||||
@xrdef{Brace Expansion-snt}{Section@tie 3.5.1}
|
||||
@xrdef{Shell Expansions-pg}{19}
|
||||
@xrdef{Brace Expansion-pg}{19}
|
||||
@xrdef{Shell Expansions-pg}{20}
|
||||
@xrdef{Brace Expansion-pg}{20}
|
||||
@xrdef{Tilde Expansion-title}{Tilde Expansion}
|
||||
@xrdef{Tilde Expansion-snt}{Section@tie 3.5.2}
|
||||
@xrdef{Tilde Expansion-pg}{20}
|
||||
@xrdef{Tilde Expansion-pg}{21}
|
||||
@xrdef{Shell Parameter Expansion-title}{Shell Parameter Expansion}
|
||||
@xrdef{Shell Parameter Expansion-snt}{Section@tie 3.5.3}
|
||||
@xrdef{Shell Parameter Expansion-pg}{21}
|
||||
@xrdef{Shell Parameter Expansion-pg}{22}
|
||||
@xrdef{Command Substitution-title}{Command Substitution}
|
||||
@xrdef{Command Substitution-snt}{Section@tie 3.5.4}
|
||||
@xrdef{Arithmetic Expansion-title}{Arithmetic Expansion}
|
||||
@xrdef{Arithmetic Expansion-snt}{Section@tie 3.5.5}
|
||||
@xrdef{Command Substitution-pg}{24}
|
||||
@xrdef{Arithmetic Expansion-pg}{24}
|
||||
@xrdef{Process Substitution-title}{Process Substitution}
|
||||
@xrdef{Process Substitution-snt}{Section@tie 3.5.6}
|
||||
@xrdef{Command Substitution-pg}{25}
|
||||
@xrdef{Arithmetic Expansion-pg}{25}
|
||||
@xrdef{Process Substitution-pg}{25}
|
||||
@xrdef{Word Splitting-title}{Word Splitting}
|
||||
@xrdef{Word Splitting-snt}{Section@tie 3.5.7}
|
||||
@xrdef{Filename Expansion-title}{Filename Expansion}
|
||||
@xrdef{Filename Expansion-snt}{Section@tie 3.5.8}
|
||||
@xrdef{Process Substitution-pg}{25}
|
||||
@xrdef{Word Splitting-pg}{25}
|
||||
@xrdef{Filename Expansion-pg}{25}
|
||||
@xrdef{Word Splitting-pg}{26}
|
||||
@xrdef{Filename Expansion-pg}{26}
|
||||
@xrdef{Pattern Matching-title}{Pattern Matching}
|
||||
@xrdef{Pattern Matching-snt}{Section@tie 3.5.8.1}
|
||||
@xrdef{Pattern Matching-pg}{26}
|
||||
@xrdef{Pattern Matching-pg}{27}
|
||||
@xrdef{Quote Removal-title}{Quote Removal}
|
||||
@xrdef{Quote Removal-snt}{Section@tie 3.5.9}
|
||||
@xrdef{Redirections-title}{Redirections}
|
||||
@xrdef{Redirections-snt}{Section@tie 3.6}
|
||||
@xrdef{Quote Removal-pg}{27}
|
||||
@xrdef{Redirections-pg}{27}
|
||||
@xrdef{Quote Removal-pg}{28}
|
||||
@xrdef{Redirections-pg}{28}
|
||||
@xrdef{Executing Commands-title}{Executing Commands}
|
||||
@xrdef{Executing Commands-snt}{Section@tie 3.7}
|
||||
@xrdef{Simple Command Expansion-title}{Simple Command Expansion}
|
||||
@xrdef{Simple Command Expansion-snt}{Section@tie 3.7.1}
|
||||
@xrdef{Command Search and Execution-title}{Command Search and Execution}
|
||||
@xrdef{Command Search and Execution-snt}{Section@tie 3.7.2}
|
||||
@xrdef{Executing Commands-pg}{31}
|
||||
@xrdef{Simple Command Expansion-pg}{31}
|
||||
@xrdef{Executing Commands-pg}{32}
|
||||
@xrdef{Simple Command Expansion-pg}{32}
|
||||
@xrdef{Command Search and Execution-pg}{32}
|
||||
@xrdef{Command Execution Environment-title}{Command Execution Environment}
|
||||
@xrdef{Command Execution Environment-snt}{Section@tie 3.7.3}
|
||||
@xrdef{Command Search and Execution-pg}{32}
|
||||
@xrdef{Command Execution Environment-pg}{32}
|
||||
@xrdef{Command Execution Environment-pg}{33}
|
||||
@xrdef{Environment-title}{Environment}
|
||||
@xrdef{Environment-snt}{Section@tie 3.7.4}
|
||||
@xrdef{Environment-pg}{33}
|
||||
@xrdef{Environment-pg}{34}
|
||||
@xrdef{Exit Status-title}{Exit Status}
|
||||
@xrdef{Exit Status-snt}{Section@tie 3.7.5}
|
||||
@xrdef{Signals-title}{Signals}
|
||||
@xrdef{Signals-snt}{Section@tie 3.7.6}
|
||||
@xrdef{Exit Status-pg}{34}
|
||||
@xrdef{Signals-pg}{34}
|
||||
@xrdef{Exit Status-pg}{35}
|
||||
@xrdef{Signals-pg}{35}
|
||||
@xrdef{Shell Scripts-title}{Shell Scripts}
|
||||
@xrdef{Shell Scripts-snt}{Section@tie 3.8}
|
||||
@xrdef{Shell Scripts-pg}{35}
|
||||
@xrdef{Shell Scripts-pg}{36}
|
||||
@xrdef{Shell Builtin Commands-title}{Shell Builtin Commands}
|
||||
@xrdef{Shell Builtin Commands-snt}{Chapter@tie 4}
|
||||
@xrdef{Bourne Shell Builtins-title}{Bourne Shell Builtins}
|
||||
@@ -291,9 +291,9 @@
|
||||
@xrdef{Commands For Completion-pg}{115}
|
||||
@xrdef{Keyboard Macros-title}{Keyboard Macros}
|
||||
@xrdef{Keyboard Macros-snt}{Section@tie 8.4.7}
|
||||
@xrdef{Keyboard Macros-pg}{116}
|
||||
@xrdef{Miscellaneous Commands-title}{Some Miscellaneous Commands}
|
||||
@xrdef{Miscellaneous Commands-snt}{Section@tie 8.4.8}
|
||||
@xrdef{Keyboard Macros-pg}{116}
|
||||
@xrdef{Miscellaneous Commands-pg}{117}
|
||||
@xrdef{Readline vi Mode-title}{Readline vi Mode}
|
||||
@xrdef{Readline vi Mode-snt}{Section@tie 8.5}
|
||||
@@ -304,78 +304,81 @@
|
||||
@xrdef{Programmable Completion Builtins-title}{Programmable Completion Builtins}
|
||||
@xrdef{Programmable Completion Builtins-snt}{Section@tie 8.7}
|
||||
@xrdef{Programmable Completion Builtins-pg}{121}
|
||||
@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}{125}
|
||||
@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}{127}
|
||||
@xrdef{Bash History Facilities-pg}{127}
|
||||
@xrdef{Bash History Builtins-pg}{127}
|
||||
@xrdef{Using History Interactively-pg}{129}
|
||||
@xrdef{Bash History Facilities-pg}{129}
|
||||
@xrdef{Bash History Builtins-pg}{129}
|
||||
@xrdef{History Interaction-title}{History Expansion}
|
||||
@xrdef{History Interaction-snt}{Section@tie 9.3}
|
||||
@xrdef{Event Designators-title}{Event Designators}
|
||||
@xrdef{Event Designators-snt}{Section@tie 9.3.1}
|
||||
@xrdef{History Interaction-pg}{129}
|
||||
@xrdef{History Interaction-pg}{131}
|
||||
@xrdef{Word Designators-title}{Word Designators}
|
||||
@xrdef{Word Designators-snt}{Section@tie 9.3.2}
|
||||
@xrdef{Event Designators-pg}{130}
|
||||
@xrdef{Word Designators-pg}{130}
|
||||
@xrdef{Event Designators-pg}{132}
|
||||
@xrdef{Word Designators-pg}{132}
|
||||
@xrdef{Modifiers-title}{Modifiers}
|
||||
@xrdef{Modifiers-snt}{Section@tie 9.3.3}
|
||||
@xrdef{Modifiers-pg}{131}
|
||||
@xrdef{Modifiers-pg}{133}
|
||||
@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{Compilers and Options-title}{Compilers and Options}
|
||||
@xrdef{Compilers and Options-snt}{Section@tie 10.2}
|
||||
@xrdef{Installing Bash-pg}{133}
|
||||
@xrdef{Basic Installation-pg}{133}
|
||||
@xrdef{Installing Bash-pg}{135}
|
||||
@xrdef{Basic Installation-pg}{135}
|
||||
@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{Specifying the System Type-title}{Specifying the System Type}
|
||||
@xrdef{Specifying the System Type-snt}{Section@tie 10.5}
|
||||
@xrdef{Compilers and Options-pg}{134}
|
||||
@xrdef{Compiling For Multiple Architectures-pg}{134}
|
||||
@xrdef{Installation Names-pg}{134}
|
||||
@xrdef{Specifying the System Type-pg}{134}
|
||||
@xrdef{Compilers and Options-pg}{136}
|
||||
@xrdef{Compiling For Multiple Architectures-pg}{136}
|
||||
@xrdef{Installation Names-pg}{136}
|
||||
@xrdef{Specifying the System Type-pg}{136}
|
||||
@xrdef{Sharing Defaults-title}{Sharing Defaults}
|
||||
@xrdef{Sharing Defaults-snt}{Section@tie 10.6}
|
||||
@xrdef{Operation Controls-title}{Operation Controls}
|
||||
@xrdef{Operation Controls-snt}{Section@tie 10.7}
|
||||
@xrdef{Optional Features-title}{Optional Features}
|
||||
@xrdef{Optional Features-snt}{Section@tie 10.8}
|
||||
@xrdef{Sharing Defaults-pg}{135}
|
||||
@xrdef{Operation Controls-pg}{135}
|
||||
@xrdef{Optional Features-pg}{135}
|
||||
@xrdef{Sharing Defaults-pg}{137}
|
||||
@xrdef{Operation Controls-pg}{137}
|
||||
@xrdef{Optional Features-pg}{137}
|
||||
@xrdef{Reporting Bugs-title}{Reporting Bugs}
|
||||
@xrdef{Reporting Bugs-snt}{Appendix@tie @char65{}}
|
||||
@xrdef{Reporting Bugs-pg}{141}
|
||||
@xrdef{Reporting Bugs-pg}{143}
|
||||
@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}{143}
|
||||
@xrdef{Major Differences From The Bourne Shell-pg}{145}
|
||||
@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}{149}
|
||||
@xrdef{GNU Free Documentation License-pg}{151}
|
||||
@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}{157}
|
||||
@xrdef{Builtin Index-pg}{157}
|
||||
@xrdef{Indexes-pg}{159}
|
||||
@xrdef{Builtin Index-pg}{159}
|
||||
@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}{158}
|
||||
@xrdef{Variable Index-pg}{158}
|
||||
@xrdef{Reserved Word Index-pg}{160}
|
||||
@xrdef{Variable Index-pg}{160}
|
||||
@xrdef{Function Index-title}{Function Index}
|
||||
@xrdef{Function Index-snt}{Section@tie @char68.4}
|
||||
@xrdef{Function Index-pg}{160}
|
||||
@xrdef{Function Index-pg}{162}
|
||||
@xrdef{Concept Index-title}{Concept Index}
|
||||
@xrdef{Concept Index-snt}{Section@tie @char68.5}
|
||||
@xrdef{Concept Index-pg}{162}
|
||||
@xrdef{Concept Index-pg}{164}
|
||||
|
||||
+10
-10
@@ -11,7 +11,7 @@
|
||||
\entry{hash}{40}{\code {hash}}
|
||||
\entry{pwd}{40}{\code {pwd}}
|
||||
\entry{readonly}{40}{\code {readonly}}
|
||||
\entry{return}{40}{\code {return}}
|
||||
\entry{return}{41}{\code {return}}
|
||||
\entry{shift}{41}{\code {shift}}
|
||||
\entry{test}{41}{\code {test}}
|
||||
\entry{[}{41}{\code {[}}
|
||||
@@ -23,23 +23,23 @@
|
||||
\entry{bind}{44}{\code {bind}}
|
||||
\entry{builtin}{45}{\code {builtin}}
|
||||
\entry{caller}{45}{\code {caller}}
|
||||
\entry{command}{45}{\code {command}}
|
||||
\entry{command}{46}{\code {command}}
|
||||
\entry{declare}{46}{\code {declare}}
|
||||
\entry{echo}{47}{\code {echo}}
|
||||
\entry{enable}{48}{\code {enable}}
|
||||
\entry{help}{48}{\code {help}}
|
||||
\entry{let}{48}{\code {let}}
|
||||
\entry{let}{49}{\code {let}}
|
||||
\entry{local}{49}{\code {local}}
|
||||
\entry{logout}{49}{\code {logout}}
|
||||
\entry{mapfile}{49}{\code {mapfile}}
|
||||
\entry{printf}{49}{\code {printf}}
|
||||
\entry{printf}{50}{\code {printf}}
|
||||
\entry{read}{50}{\code {read}}
|
||||
\entry{readarray}{51}{\code {readarray}}
|
||||
\entry{readarray}{52}{\code {readarray}}
|
||||
\entry{source}{52}{\code {source}}
|
||||
\entry{type}{52}{\code {type}}
|
||||
\entry{typeset}{52}{\code {typeset}}
|
||||
\entry{ulimit}{52}{\code {ulimit}}
|
||||
\entry{unalias}{53}{\code {unalias}}
|
||||
\entry{ulimit}{53}{\code {ulimit}}
|
||||
\entry{unalias}{54}{\code {unalias}}
|
||||
\entry{set}{54}{\code {set}}
|
||||
\entry{shopt}{58}{\code {shopt}}
|
||||
\entry{dirs}{85}{\code {dirs}}
|
||||
@@ -54,6 +54,6 @@
|
||||
\entry{suspend}{95}{\code {suspend}}
|
||||
\entry{compgen}{121}{\code {compgen}}
|
||||
\entry{complete}{122}{\code {complete}}
|
||||
\entry{compopt}{124}{\code {compopt}}
|
||||
\entry{fc}{127}{\code {fc}}
|
||||
\entry{history}{128}{\code {history}}
|
||||
\entry{compopt}{125}{\code {compopt}}
|
||||
\entry{fc}{129}{\code {fc}}
|
||||
\entry{history}{130}{\code {history}}
|
||||
|
||||
+10
-10
@@ -14,10 +14,10 @@
|
||||
\initial {C}
|
||||
\entry {\code {caller}}{45}
|
||||
\entry {\code {cd}}{38}
|
||||
\entry {\code {command}}{45}
|
||||
\entry {\code {command}}{46}
|
||||
\entry {\code {compgen}}{121}
|
||||
\entry {\code {complete}}{122}
|
||||
\entry {\code {compopt}}{124}
|
||||
\entry {\code {compopt}}{125}
|
||||
\entry {\code {continue}}{38}
|
||||
\initial {D}
|
||||
\entry {\code {declare}}{46}
|
||||
@@ -31,34 +31,34 @@
|
||||
\entry {\code {exit}}{39}
|
||||
\entry {\code {export}}{39}
|
||||
\initial {F}
|
||||
\entry {\code {fc}}{127}
|
||||
\entry {\code {fc}}{129}
|
||||
\entry {\code {fg}}{94}
|
||||
\initial {G}
|
||||
\entry {\code {getopts}}{39}
|
||||
\initial {H}
|
||||
\entry {\code {hash}}{40}
|
||||
\entry {\code {help}}{48}
|
||||
\entry {\code {history}}{128}
|
||||
\entry {\code {history}}{130}
|
||||
\initial {J}
|
||||
\entry {\code {jobs}}{94}
|
||||
\initial {K}
|
||||
\entry {\code {kill}}{95}
|
||||
\initial {L}
|
||||
\entry {\code {let}}{48}
|
||||
\entry {\code {let}}{49}
|
||||
\entry {\code {local}}{49}
|
||||
\entry {\code {logout}}{49}
|
||||
\initial {M}
|
||||
\entry {\code {mapfile}}{49}
|
||||
\initial {P}
|
||||
\entry {\code {popd}}{86}
|
||||
\entry {\code {printf}}{49}
|
||||
\entry {\code {printf}}{50}
|
||||
\entry {\code {pushd}}{86}
|
||||
\entry {\code {pwd}}{40}
|
||||
\initial {R}
|
||||
\entry {\code {read}}{50}
|
||||
\entry {\code {readarray}}{51}
|
||||
\entry {\code {readarray}}{52}
|
||||
\entry {\code {readonly}}{40}
|
||||
\entry {\code {return}}{40}
|
||||
\entry {\code {return}}{41}
|
||||
\initial {S}
|
||||
\entry {\code {set}}{54}
|
||||
\entry {\code {shift}}{41}
|
||||
@@ -72,9 +72,9 @@
|
||||
\entry {\code {type}}{52}
|
||||
\entry {\code {typeset}}{52}
|
||||
\initial {U}
|
||||
\entry {\code {ulimit}}{52}
|
||||
\entry {\code {ulimit}}{53}
|
||||
\entry {\code {umask}}{43}
|
||||
\entry {\code {unalias}}{53}
|
||||
\entry {\code {unalias}}{54}
|
||||
\entry {\code {unset}}{43}
|
||||
\initial {W}
|
||||
\entry {\code {wait}}{95}
|
||||
|
||||
+43
-43
@@ -35,42 +35,42 @@
|
||||
\entry{commands, compound}{9}{commands, compound}
|
||||
\entry{commands, looping}{10}{commands, looping}
|
||||
\entry{commands, conditional}{10}{commands, conditional}
|
||||
\entry{commands, grouping}{13}{commands, grouping}
|
||||
\entry{coprocess}{14}{coprocess}
|
||||
\entry{shell function}{15}{shell function}
|
||||
\entry{functions, shell}{15}{functions, shell}
|
||||
\entry{parameters}{17}{parameters}
|
||||
\entry{variable, shell}{17}{variable, shell}
|
||||
\entry{shell variable}{17}{shell variable}
|
||||
\entry{commands, grouping}{14}{commands, grouping}
|
||||
\entry{coprocess}{15}{coprocess}
|
||||
\entry{shell function}{16}{shell function}
|
||||
\entry{functions, shell}{16}{functions, shell}
|
||||
\entry{parameters}{18}{parameters}
|
||||
\entry{variable, shell}{18}{variable, shell}
|
||||
\entry{shell variable}{18}{shell variable}
|
||||
\entry{parameters, positional}{18}{parameters, positional}
|
||||
\entry{parameters, special}{18}{parameters, special}
|
||||
\entry{expansion}{19}{expansion}
|
||||
\entry{brace expansion}{19}{brace expansion}
|
||||
\entry{expansion, brace}{19}{expansion, brace}
|
||||
\entry{tilde expansion}{20}{tilde expansion}
|
||||
\entry{expansion, tilde}{20}{expansion, tilde}
|
||||
\entry{parameter expansion}{21}{parameter expansion}
|
||||
\entry{expansion, parameter}{21}{expansion, parameter}
|
||||
\entry{command substitution}{24}{command substitution}
|
||||
\entry{expansion, arithmetic}{24}{expansion, arithmetic}
|
||||
\entry{arithmetic expansion}{24}{arithmetic expansion}
|
||||
\entry{parameters, special}{19}{parameters, special}
|
||||
\entry{expansion}{20}{expansion}
|
||||
\entry{brace expansion}{20}{brace expansion}
|
||||
\entry{expansion, brace}{20}{expansion, brace}
|
||||
\entry{tilde expansion}{21}{tilde expansion}
|
||||
\entry{expansion, tilde}{21}{expansion, tilde}
|
||||
\entry{parameter expansion}{22}{parameter expansion}
|
||||
\entry{expansion, parameter}{22}{expansion, parameter}
|
||||
\entry{command substitution}{25}{command substitution}
|
||||
\entry{expansion, arithmetic}{25}{expansion, arithmetic}
|
||||
\entry{arithmetic expansion}{25}{arithmetic expansion}
|
||||
\entry{process substitution}{25}{process substitution}
|
||||
\entry{word splitting}{25}{word splitting}
|
||||
\entry{expansion, filename}{25}{expansion, filename}
|
||||
\entry{expansion, pathname}{25}{expansion, pathname}
|
||||
\entry{filename expansion}{25}{filename expansion}
|
||||
\entry{pathname expansion}{25}{pathname expansion}
|
||||
\entry{pattern matching}{26}{pattern matching}
|
||||
\entry{matching, pattern}{26}{matching, pattern}
|
||||
\entry{redirection}{27}{redirection}
|
||||
\entry{command expansion}{31}{command expansion}
|
||||
\entry{word splitting}{26}{word splitting}
|
||||
\entry{expansion, filename}{26}{expansion, filename}
|
||||
\entry{expansion, pathname}{26}{expansion, pathname}
|
||||
\entry{filename expansion}{26}{filename expansion}
|
||||
\entry{pathname expansion}{26}{pathname expansion}
|
||||
\entry{pattern matching}{27}{pattern matching}
|
||||
\entry{matching, pattern}{27}{matching, pattern}
|
||||
\entry{redirection}{28}{redirection}
|
||||
\entry{command expansion}{32}{command expansion}
|
||||
\entry{command execution}{32}{command execution}
|
||||
\entry{command search}{32}{command search}
|
||||
\entry{execution environment}{32}{execution environment}
|
||||
\entry{environment}{33}{environment}
|
||||
\entry{exit status}{34}{exit status}
|
||||
\entry{signal handling}{34}{signal handling}
|
||||
\entry{shell script}{35}{shell script}
|
||||
\entry{execution environment}{33}{execution environment}
|
||||
\entry{environment}{34}{environment}
|
||||
\entry{exit status}{35}{exit status}
|
||||
\entry{signal handling}{35}{signal handling}
|
||||
\entry{shell script}{36}{shell script}
|
||||
\entry{special builtin}{63}{special builtin}
|
||||
\entry{login shell}{77}{login shell}
|
||||
\entry{interactive shell}{77}{interactive shell}
|
||||
@@ -105,14 +105,14 @@
|
||||
\entry{variables, readline}{101}{variables, readline}
|
||||
\entry{programmable completion}{119}{programmable completion}
|
||||
\entry{completion builtins}{121}{completion builtins}
|
||||
\entry{History, how to use}{125}{History, how to use}
|
||||
\entry{command history}{127}{command history}
|
||||
\entry{history list}{127}{history list}
|
||||
\entry{history builtins}{127}{history builtins}
|
||||
\entry{history expansion}{129}{history expansion}
|
||||
\entry{event designators}{130}{event designators}
|
||||
\entry{history events}{130}{history events}
|
||||
\entry{installation}{133}{installation}
|
||||
\entry{configuration}{133}{configuration}
|
||||
\entry{Bash installation}{133}{Bash installation}
|
||||
\entry{Bash configuration}{133}{Bash configuration}
|
||||
\entry{History, how to use}{127}{History, how to use}
|
||||
\entry{command history}{129}{command history}
|
||||
\entry{history list}{129}{history list}
|
||||
\entry{history builtins}{129}{history builtins}
|
||||
\entry{history expansion}{131}{history expansion}
|
||||
\entry{event designators}{132}{event designators}
|
||||
\entry{history events}{132}{history events}
|
||||
\entry{installation}{135}{installation}
|
||||
\entry{configuration}{135}{configuration}
|
||||
\entry{Bash installation}{135}{Bash installation}
|
||||
\entry{Bash configuration}{135}{Bash configuration}
|
||||
|
||||
+43
-43
@@ -1,27 +1,27 @@
|
||||
\initial {A}
|
||||
\entry {alias expansion}{83}
|
||||
\entry {arithmetic evaluation}{82}
|
||||
\entry {arithmetic expansion}{24}
|
||||
\entry {arithmetic expansion}{25}
|
||||
\entry {arithmetic, shell}{82}
|
||||
\entry {arrays}{84}
|
||||
\initial {B}
|
||||
\entry {background}{93}
|
||||
\entry {Bash configuration}{133}
|
||||
\entry {Bash installation}{133}
|
||||
\entry {Bash configuration}{135}
|
||||
\entry {Bash installation}{135}
|
||||
\entry {Bourne shell}{5}
|
||||
\entry {brace expansion}{19}
|
||||
\entry {brace expansion}{20}
|
||||
\entry {builtin}{3}
|
||||
\initial {C}
|
||||
\entry {command editing}{98}
|
||||
\entry {command execution}{32}
|
||||
\entry {command expansion}{31}
|
||||
\entry {command history}{127}
|
||||
\entry {command expansion}{32}
|
||||
\entry {command history}{129}
|
||||
\entry {command search}{32}
|
||||
\entry {command substitution}{24}
|
||||
\entry {command substitution}{25}
|
||||
\entry {command timing}{8}
|
||||
\entry {commands, compound}{9}
|
||||
\entry {commands, conditional}{10}
|
||||
\entry {commands, grouping}{13}
|
||||
\entry {commands, grouping}{14}
|
||||
\entry {commands, lists}{9}
|
||||
\entry {commands, looping}{10}
|
||||
\entry {commands, pipelines}{8}
|
||||
@@ -29,43 +29,43 @@
|
||||
\entry {commands, simple}{8}
|
||||
\entry {comments, shell}{7}
|
||||
\entry {completion builtins}{121}
|
||||
\entry {configuration}{133}
|
||||
\entry {configuration}{135}
|
||||
\entry {control operator}{3}
|
||||
\entry {coprocess}{14}
|
||||
\entry {coprocess}{15}
|
||||
\initial {D}
|
||||
\entry {directory stack}{85}
|
||||
\initial {E}
|
||||
\entry {editing command lines}{98}
|
||||
\entry {environment}{33}
|
||||
\entry {environment}{34}
|
||||
\entry {evaluation, arithmetic}{82}
|
||||
\entry {event designators}{130}
|
||||
\entry {execution environment}{32}
|
||||
\entry {exit status}{3, 34}
|
||||
\entry {expansion}{19}
|
||||
\entry {expansion, arithmetic}{24}
|
||||
\entry {expansion, brace}{19}
|
||||
\entry {expansion, filename}{25}
|
||||
\entry {expansion, parameter}{21}
|
||||
\entry {expansion, pathname}{25}
|
||||
\entry {expansion, tilde}{20}
|
||||
\entry {event designators}{132}
|
||||
\entry {execution environment}{33}
|
||||
\entry {exit status}{3, 35}
|
||||
\entry {expansion}{20}
|
||||
\entry {expansion, arithmetic}{25}
|
||||
\entry {expansion, brace}{20}
|
||||
\entry {expansion, filename}{26}
|
||||
\entry {expansion, parameter}{22}
|
||||
\entry {expansion, pathname}{26}
|
||||
\entry {expansion, tilde}{21}
|
||||
\entry {expressions, arithmetic}{82}
|
||||
\entry {expressions, conditional}{80}
|
||||
\initial {F}
|
||||
\entry {field}{3}
|
||||
\entry {filename}{3}
|
||||
\entry {filename expansion}{25}
|
||||
\entry {filename expansion}{26}
|
||||
\entry {foreground}{93}
|
||||
\entry {functions, shell}{15}
|
||||
\entry {functions, shell}{16}
|
||||
\initial {H}
|
||||
\entry {history builtins}{127}
|
||||
\entry {history events}{130}
|
||||
\entry {history expansion}{129}
|
||||
\entry {history list}{127}
|
||||
\entry {History, how to use}{125}
|
||||
\entry {history builtins}{129}
|
||||
\entry {history events}{132}
|
||||
\entry {history expansion}{131}
|
||||
\entry {history list}{129}
|
||||
\entry {History, how to use}{127}
|
||||
\initial {I}
|
||||
\entry {identifier}{3}
|
||||
\entry {initialization file, readline}{100}
|
||||
\entry {installation}{133}
|
||||
\entry {installation}{135}
|
||||
\entry {interaction, readline}{97}
|
||||
\entry {interactive shell}{77, 78}
|
||||
\entry {internationalization}{7}
|
||||
@@ -79,7 +79,7 @@
|
||||
\entry {localization}{7}
|
||||
\entry {login shell}{77}
|
||||
\initial {M}
|
||||
\entry {matching, pattern}{26}
|
||||
\entry {matching, pattern}{27}
|
||||
\entry {metacharacter}{3}
|
||||
\initial {N}
|
||||
\entry {name}{3}
|
||||
@@ -88,12 +88,12 @@
|
||||
\initial {O}
|
||||
\entry {operator, shell}{3}
|
||||
\initial {P}
|
||||
\entry {parameter expansion}{21}
|
||||
\entry {parameters}{17}
|
||||
\entry {parameter expansion}{22}
|
||||
\entry {parameters}{18}
|
||||
\entry {parameters, positional}{18}
|
||||
\entry {parameters, special}{18}
|
||||
\entry {pathname expansion}{25}
|
||||
\entry {pattern matching}{26}
|
||||
\entry {parameters, special}{19}
|
||||
\entry {pathname expansion}{26}
|
||||
\entry {pattern matching}{27}
|
||||
\entry {pipeline}{8}
|
||||
\entry {POSIX}{3}
|
||||
\entry {POSIX Mode}{88}
|
||||
@@ -107,30 +107,30 @@
|
||||
\entry {quoting, ANSI}{6}
|
||||
\initial {R}
|
||||
\entry {Readline, how to use}{96}
|
||||
\entry {redirection}{27}
|
||||
\entry {redirection}{28}
|
||||
\entry {reserved word}{3}
|
||||
\entry {restricted shell}{88}
|
||||
\entry {return status}{4}
|
||||
\initial {S}
|
||||
\entry {shell arithmetic}{82}
|
||||
\entry {shell function}{15}
|
||||
\entry {shell script}{35}
|
||||
\entry {shell variable}{17}
|
||||
\entry {shell function}{16}
|
||||
\entry {shell script}{36}
|
||||
\entry {shell variable}{18}
|
||||
\entry {shell, interactive}{78}
|
||||
\entry {signal}{4}
|
||||
\entry {signal handling}{34}
|
||||
\entry {signal handling}{35}
|
||||
\entry {special builtin}{4, 63}
|
||||
\entry {startup files}{77}
|
||||
\entry {suspending jobs}{93}
|
||||
\initial {T}
|
||||
\entry {tilde expansion}{20}
|
||||
\entry {tilde expansion}{21}
|
||||
\entry {token}{4}
|
||||
\entry {translation, native languages}{7}
|
||||
\initial {V}
|
||||
\entry {variable, shell}{17}
|
||||
\entry {variable, shell}{18}
|
||||
\entry {variables, readline}{101}
|
||||
\initial {W}
|
||||
\entry {word}{4}
|
||||
\entry {word splitting}{25}
|
||||
\entry {word splitting}{26}
|
||||
\initial {Y}
|
||||
\entry {yanking text}{99}
|
||||
|
||||
Binary file not shown.
+3
-2
@@ -75,6 +75,7 @@
|
||||
\entry{start-kbd-macro (C-x ()}{116}{\code {start-kbd-macro (C-x ()}}
|
||||
\entry{end-kbd-macro (C-x ))}{116}{\code {end-kbd-macro (C-x ))}}
|
||||
\entry{call-last-kbd-macro (C-x e)}{116}{\code {call-last-kbd-macro (C-x e)}}
|
||||
\entry{print-last-kbd-macro ()}{117}{\code {print-last-kbd-macro ()}}
|
||||
\entry{re-read-init-file (C-x C-r)}{117}{\code {re-read-init-file (C-x C-r)}}
|
||||
\entry{abort (C-g)}{117}{\code {abort (C-g)}}
|
||||
\entry{do-uppercase-version (M-a, M-b, M-x, ...{})}{117}{\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}
|
||||
@@ -87,7 +88,7 @@
|
||||
\entry{character-search (C-])}{117}{\code {character-search (C-])}}
|
||||
\entry{character-search-backward (M-C-])}{117}{\code {character-search-backward (M-C-])}}
|
||||
\entry{skip-csi-sequence ()}{117}{\code {skip-csi-sequence ()}}
|
||||
\entry{insert-comment (M-#)}{117}{\code {insert-comment (M-#)}}
|
||||
\entry{insert-comment (M-#)}{118}{\code {insert-comment (M-#)}}
|
||||
\entry{dump-functions ()}{118}{\code {dump-functions ()}}
|
||||
\entry{dump-variables ()}{118}{\code {dump-variables ()}}
|
||||
\entry{dump-macros ()}{118}{\code {dump-macros ()}}
|
||||
@@ -97,7 +98,7 @@
|
||||
\entry{display-shell-version (C-x C-v)}{118}{\code {display-shell-version (C-x C-v)}}
|
||||
\entry{shell-expand-line (M-C-e)}{118}{\code {shell-expand-line (M-C-e)}}
|
||||
\entry{history-expand-line (M-^)}{118}{\code {history-expand-line (M-^)}}
|
||||
\entry{magic-space ()}{118}{\code {magic-space ()}}
|
||||
\entry{magic-space ()}{119}{\code {magic-space ()}}
|
||||
\entry{alias-expand-line ()}{119}{\code {alias-expand-line ()}}
|
||||
\entry{history-and-alias-expand-line ()}{119}{\code {history-and-alias-expand-line ()}}
|
||||
\entry{insert-last-argument (M-. or M-_)}{119}{\code {insert-last-argument (M-. or M-_)}}
|
||||
|
||||
+3
-2
@@ -62,7 +62,7 @@
|
||||
\entry {\code {history-substr-search-backward ()}}{112}
|
||||
\entry {\code {history-substr-search-forward ()}}{111}
|
||||
\initial {I}
|
||||
\entry {\code {insert-comment (M-#)}}{117}
|
||||
\entry {\code {insert-comment (M-#)}}{118}
|
||||
\entry {\code {insert-completions (M-*)}}{115}
|
||||
\entry {\code {insert-last-argument (M-. or M-_)}}{119}
|
||||
\initial {K}
|
||||
@@ -71,7 +71,7 @@
|
||||
\entry {\code {kill-whole-line ()}}{113}
|
||||
\entry {\code {kill-word (M-d)}}{113}
|
||||
\initial {M}
|
||||
\entry {\code {magic-space ()}}{118}
|
||||
\entry {\code {magic-space ()}}{119}
|
||||
\entry {\code {menu-complete ()}}{115}
|
||||
\entry {\code {menu-complete-backward ()}}{115}
|
||||
\initial {N}
|
||||
@@ -90,6 +90,7 @@
|
||||
\entry {\code {possible-variable-completions (C-x $)}}{116}
|
||||
\entry {\code {prefix-meta (\key {ESC})}}{117}
|
||||
\entry {\code {previous-history (C-p)}}{111}
|
||||
\entry {\code {print-last-kbd-macro ()}}{117}
|
||||
\initial {Q}
|
||||
\entry {\code {quoted-insert (C-q or C-v)}}{112}
|
||||
\initial {R}
|
||||
|
||||
+813
-559
File diff suppressed because it is too large
Load Diff
+508
-294
File diff suppressed because it is too large
Load Diff
+60
-48
@@ -1,6 +1,6 @@
|
||||
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 24 OCT 2011 08:43
|
||||
**/Users/chet/src/bash/src/doc/bashref.texi
|
||||
(/Users/chet/src/bash/src/doc/bashref.texi (./texinfo.tex
|
||||
This is TeX, Version 3.1415926 (TeX Live 2010/Fink) (format=tex 2011.12.21) 29 DEC 2011 15:52
|
||||
**/usr/src/local/chet/src/bash/src/doc/bashref.texi
|
||||
(/usr/src/local/chet/src/bash/src/doc/bashref.texi (./texinfo.tex
|
||||
Loading texinfo [version 2009-01-18.17]:
|
||||
\bindingoffset=\dimen16
|
||||
\normaloffset=\dimen17
|
||||
@@ -120,6 +120,7 @@ defuns,
|
||||
\SAVEmargin=\box23
|
||||
|
||||
(/sw/share/texmf-dist/tex/generic/epsf/epsf.tex
|
||||
This is `epsf.tex' v2.7.3 <23 July 2005>
|
||||
\epsffilein=\read0
|
||||
\epsfframemargin=\dimen39
|
||||
\epsfframethickness=\dimen40
|
||||
@@ -129,18 +130,17 @@ defuns,
|
||||
\epsfxsize=\dimen44
|
||||
\epsfysize=\dimen45
|
||||
\pspoints=\dimen46
|
||||
\epsfnoopenhelp=\toks26
|
||||
)
|
||||
\noepsfhelp=\toks27
|
||||
\noepsfhelp=\toks26
|
||||
localization,
|
||||
\nolanghelp=\toks28
|
||||
\nolanghelp=\toks27
|
||||
\countUTFx=\count52
|
||||
\countUTFy=\count53
|
||||
\countUTFz=\count54
|
||||
formatting,
|
||||
\defaultparindent=\dimen47
|
||||
|
||||
and turning on texinfo input format.) (./bashref.aux)
|
||||
and turning on texinfo input format.)
|
||||
(./bashref.aux)
|
||||
\openout2 = `bashref.aux'.
|
||||
|
||||
@cpindfile=@write3
|
||||
@@ -172,12 +172,12 @@ and turning on texinfo input format.) (./bashref.aux)
|
||||
]
|
||||
\openout1 = `bashref.tmp'.
|
||||
|
||||
|
||||
(./bashref.tmp) [2] (./bashref.toc [-1] [-2] [-3]) [-4] Chapter 1
|
||||
(./bashref.tmp) [2] (./bashref.toc
|
||||
[-1] [-2] [-3]) [-4] Chapter 1
|
||||
\openout0 = `bashref.toc'.
|
||||
|
||||
Chapter 2
|
||||
[1] [2] [3] Chapter 3 [4] [5] [6] [7] [8] [9] [10]
|
||||
Chapter 2 [1] [2] [3] Chapter 3 [4] [5] [6]
|
||||
[7] [8] [9] [10]
|
||||
Overfull \hbox (43.33539pt too wide) in paragraph at lines 882--882
|
||||
[]@texttt case @textttsl word @texttt in [ [(] @textttsl pat-tern @texttt [| @
|
||||
textttsl pat-tern@texttt ][]) @textttsl command-list @texttt ;;][] esac[]
|
||||
@@ -190,8 +190,8 @@ textttsl pat-tern@texttt ][]) @textttsl command-list @texttt ;;][] esac[]
|
||||
.@texttt s
|
||||
.etc.
|
||||
|
||||
[11] [12] [13] [14]
|
||||
Overfull \hbox (89.6747pt too wide) in paragraph at lines 1204--1204
|
||||
[11] [12] [13] [14] [15]
|
||||
Overfull \hbox (89.6747pt too wide) in paragraph at lines 1263--1263
|
||||
[]@texttt cat list | parallel "do-something1 {} config-{} ; do-something2 < {}
|
||||
" | process-output[]
|
||||
|
||||
@@ -204,7 +204,7 @@ Overfull \hbox (89.6747pt too wide) in paragraph at lines 1204--1204
|
||||
.etc.
|
||||
|
||||
|
||||
Overfull \hbox (89.6747pt too wide) in paragraph at lines 1219--1219
|
||||
Overfull \hbox (89.6747pt too wide) in paragraph at lines 1278--1278
|
||||
[]@texttt { echo foss.org.my ; echo debian.org; echo freenetproject.org; } | p
|
||||
arallel traceroute[]
|
||||
|
||||
@@ -217,7 +217,7 @@ arallel traceroute[]
|
||||
.etc.
|
||||
|
||||
|
||||
Overfull \hbox (106.92076pt too wide) in paragraph at lines 1225--1225
|
||||
Overfull \hbox (106.92076pt too wide) in paragraph at lines 1284--1284
|
||||
[]@texttt { echo foss.org.my ; echo debian.org; echo freenetproject.org; } | p
|
||||
arallel -k traceroute[]
|
||||
|
||||
@@ -229,10 +229,9 @@ arallel -k traceroute[]
|
||||
.@glue 5.74869
|
||||
.etc.
|
||||
|
||||
[15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29]
|
||||
[30] [31] [32] [33] [34] Chapter 4 [35] [36] [37] [38] [39] [40] [41] [42]
|
||||
[43]
|
||||
Underfull \hbox (badness 5231) in paragraph at lines 3486--3499
|
||||
[16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30]
|
||||
[31] [32] [33] [34] [35] Chapter 4 [36] [37] [38] [39] [40] [41] [42] [43]
|
||||
Underfull \hbox (badness 5231) in paragraph at lines 3563--3576
|
||||
@texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr
|
||||
m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
|
||||
|
||||
@@ -246,7 +245,7 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
|
||||
|
||||
[44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58]
|
||||
[59] [60]
|
||||
Underfull \hbox (badness 5460) in paragraph at lines 4732--4738
|
||||
Underfull \hbox (badness 5460) in paragraph at lines 4814--4820
|
||||
[]@textrm If set, range ex-pres-sions used in pat-tern match-ing (see
|
||||
|
||||
@hbox(8.2125+2.73749)x433.62, glue set 3.79674
|
||||
@@ -259,7 +258,7 @@ Underfull \hbox (badness 5460) in paragraph at lines 4732--4738
|
||||
|
||||
[61] [62] Chapter 5 [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73]
|
||||
Chapter 6 [74]
|
||||
Overfull \hbox (51.96864pt too wide) in paragraph at lines 5624--5624
|
||||
Overfull \hbox (51.96864pt too wide) in paragraph at lines 5713--5713
|
||||
[]@texttt bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@t
|
||||
exttt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
|
||||
@@ -272,7 +271,7 @@ exttt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
.etc.
|
||||
|
||||
|
||||
Overfull \hbox (76.23077pt too wide) in paragraph at lines 5625--5625
|
||||
Overfull \hbox (76.23077pt too wide) in paragraph at lines 5714--5714
|
||||
[]@texttt bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@texttt
|
||||
] [-O @textttsl shopt_option@texttt ] -c @textttsl string @texttt [@textttsl ar
|
||||
-
|
||||
@@ -286,7 +285,7 @@ Overfull \hbox (76.23077pt too wide) in paragraph at lines 5625--5625
|
||||
.etc.
|
||||
|
||||
|
||||
Overfull \hbox (34.72258pt too wide) in paragraph at lines 5626--5626
|
||||
Overfull \hbox (34.72258pt too wide) in paragraph at lines 5715--5715
|
||||
[]@texttt bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@text
|
||||
tt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
|
||||
@@ -299,7 +298,7 @@ tt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
.etc.
|
||||
|
||||
[75] [76]
|
||||
Underfull \hbox (badness 2245) in paragraph at lines 5797--5799
|
||||
Underfull \hbox (badness 2245) in paragraph at lines 5887--5889
|
||||
[]@textrm When a lo-gin shell ex-its, Bash reads and ex-e-cutes com-mands from
|
||||
the file
|
||||
|
||||
@@ -312,7 +311,7 @@ the file
|
||||
.etc.
|
||||
|
||||
[77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]
|
||||
Underfull \hbox (badness 2521) in paragraph at lines 6987--6990
|
||||
Underfull \hbox (badness 2521) in paragraph at lines 7077--7080
|
||||
@textrm `@texttt --enable-strict-posix-default[]@textrm '[] to @texttt configur
|
||||
e[] @textrm when build-ing (see Sec-tion 10.8
|
||||
|
||||
@@ -325,9 +324,9 @@ e[] @textrm when build-ing (see Sec-tion 10.8
|
||||
.etc.
|
||||
|
||||
Chapter 7 [91] [92] [93] [94] [95]
|
||||
(/Users/chet/src/bash/src/lib/readline/doc/rluser.texi Chapter 8 [96] [97]
|
||||
[98] [99] [100] [101] [102]
|
||||
Underfull \hbox (badness 5231) in paragraph at lines 551--567
|
||||
(/usr/src/local/chet/src/bash/src/lib/readline/doc/rluser.texi Chapter 8
|
||||
[96] [97] [98] [99] [100] [101] [102]
|
||||
Underfull \hbox (badness 5231) in paragraph at lines 553--569
|
||||
@texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr
|
||||
m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
|
||||
|
||||
@@ -340,7 +339,7 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
|
||||
.etc.
|
||||
|
||||
[103] [104] [105] [106] [107]
|
||||
Overfull \hbox (26.43913pt too wide) in paragraph at lines 894--894
|
||||
Overfull \hbox (26.43913pt too wide) in paragraph at lines 896--896
|
||||
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i
|
||||
gnored[]
|
||||
|
||||
@@ -354,7 +353,7 @@ gnored[]
|
||||
|
||||
[108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119]
|
||||
[120] [121]
|
||||
Overfull \hbox (12.05716pt too wide) in paragraph at lines 1836--1836
|
||||
Overfull \hbox (12.05716pt too wide) in paragraph at lines 1844--1844
|
||||
[]@texttt complete [-abcdefgjksuv] [-o @textttsl comp-option@texttt ] [-DE] [-
|
||||
A @textttsl ac-tion@texttt ] [-
|
||||
|
||||
@@ -367,7 +366,7 @@ A @textttsl ac-tion@texttt ] [-
|
||||
.etc.
|
||||
|
||||
[122]
|
||||
Underfull \hbox (badness 2753) in paragraph at lines 1946--1949
|
||||
Underfull \hbox (badness 2753) in paragraph at lines 1958--1961
|
||||
@texttt hostname[]@textrm Hostnames, as taken from the file spec-i-fied by
|
||||
|
||||
@hbox(7.60416+2.12917)x433.62, glue set 3.02202
|
||||
@@ -378,10 +377,23 @@ Underfull \hbox (badness 2753) in paragraph at lines 1946--1949
|
||||
.@texttt o
|
||||
.etc.
|
||||
|
||||
[123] [124]) (/Users/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9
|
||||
[125] [126] [127] [128] [129] [130]) Chapter 10 [131] [132] [133] [134]
|
||||
[135]
|
||||
Underfull \hbox (badness 2772) in paragraph at lines 7593--7597
|
||||
[123] [124] [125]
|
||||
Overfull \hbox (26.43913pt too wide) in paragraph at lines 2109--2109
|
||||
[] @texttt # Tilde expansion, with side effect of expanding tilde to full p
|
||||
athname[]
|
||||
|
||||
@hbox(6.69167+2.43333)x433.62
|
||||
.@glue(@leftskip) 28.90755
|
||||
.@hbox(0.0+0.0)x0.0
|
||||
.@penalty 10000
|
||||
.@glue 5.74869
|
||||
.@penalty 10000
|
||||
.etc.
|
||||
|
||||
[126]) (/usr/src/local/chet/src/bash/src/lib/readline/doc/hsuser.texi
|
||||
Chapter 9 [127] [128] [129] [130] [131] [132]) Chapter 10 [133] [134] [135]
|
||||
[136] [137]
|
||||
Underfull \hbox (badness 2772) in paragraph at lines 7683--7687
|
||||
[]@textrm Enable sup-port for large files (@texttt http://www.sas.com/standard
|
||||
s/large_
|
||||
|
||||
@@ -393,18 +405,18 @@ s/large_
|
||||
.@textrm a
|
||||
.etc.
|
||||
|
||||
[136] [137] [138] Appendix A [139] [140] Appendix B [141] [142] [143] [144]
|
||||
[145] [146] [147] Appendix C [148] (./fdl.texi [149] [150] [151] [152] [153]
|
||||
[154] [155]) Appendix D [156] (./bashref.bts) [157] (./bashref.rws)
|
||||
(./bashref.vrs [158] [159]) (./bashref.fns [160] [161]) (./bashref.cps [162])
|
||||
[163] [164] )
|
||||
[138] [139] [140] Appendix A [141] [142] Appendix B [143] [144] [145] [146]
|
||||
[147] [148] [149] Appendix C [150] (./fdl.texi [151] [152] [153] [154] [155]
|
||||
[156] [157]) Appendix D [158] (./bashref.bts) [159] (./bashref.rws)
|
||||
(./bashref.vrs [160] [161]) (./bashref.fns [162] [163]) (./bashref.cps [164])
|
||||
[165] [166] )
|
||||
Here is how much of TeX's memory you used:
|
||||
2081 strings out of 97980
|
||||
28573 string characters out of 1221004
|
||||
65626 words of memory out of 1500000
|
||||
2897 multiletter control sequences out of 10000+50000
|
||||
32127 words of font info for 112 fonts, out of 1200000 for 2000
|
||||
2084 strings out of 497974
|
||||
28662 string characters out of 3220832
|
||||
65786 words of memory out of 3000000
|
||||
2900 multiletter control sequences out of 15000+200000
|
||||
32127 words of font info for 112 fonts, out of 3000000 for 9000
|
||||
51 hyphenation exceptions out of 8191
|
||||
16i,6n,14p,315b,702s stack positions out of 5000i,500n,6000p,200000b,5000s
|
||||
16i,6n,14p,323b,705s stack positions out of 5000i,500n,10000p,200000b,50000s
|
||||
|
||||
Output written on bashref.dvi (170 pages, 687440 bytes).
|
||||
Output written on bashref.dvi (172 pages, 700136 bytes).
|
||||
|
||||
Binary file not shown.
+10397
-7505
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -18,4 +18,4 @@
|
||||
\entry{]]}{12}{\code {]]}}
|
||||
\entry{{\tt \char 123}}{14}{\code {{\tt \char 123}}}
|
||||
\entry{{\tt \char 125}}{14}{\code {{\tt \char 125}}}
|
||||
\entry{function}{15}{\code {function}}
|
||||
\entry{function}{16}{\code {function}}
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
\initial {F}
|
||||
\entry {\code {fi}}{10}
|
||||
\entry {\code {for}}{10}
|
||||
\entry {\code {function}}{15}
|
||||
\entry {\code {function}}{16}
|
||||
\initial {I}
|
||||
\entry {\code {if}}{10}
|
||||
\entry {\code {in}}{11}
|
||||
|
||||
+22
-5
@@ -1119,7 +1119,7 @@ True if either @var{expression1} or @var{expression2} is true.
|
||||
@end table
|
||||
|
||||
@noindent
|
||||
The @code{&&} and @code{||} operators do not evaluate @var{[Bexpression2} if the
|
||||
The @code{&&} and @code{||} operators do not evaluate @var{expression2} if the
|
||||
value of @var{expression1} is sufficient to determine the return
|
||||
value of the entire conditional expression.
|
||||
@end table
|
||||
@@ -1961,6 +1961,9 @@ array in turn, and the expansion is the resultant list.
|
||||
This expansion modifies the case of alphabetic characters in @var{parameter}.
|
||||
The @var{pattern} is expanded to produce a pattern just as in
|
||||
filename expansion.
|
||||
Each character in the expanded value of @var{parameter} is tested against
|
||||
@var{pattern}, and, if it matches the pattern, its case is converted.
|
||||
The pattern should not attempt to match more than one character.
|
||||
The @samp{^} operator converts lowercase letters matching @var{pattern}
|
||||
to uppercase; the @samp{,} operator converts matching uppercase letters
|
||||
to lowercase.
|
||||
@@ -3041,11 +3044,25 @@ Change the current working directory to @var{directory}.
|
||||
If @var{directory} is not supplied, the value of the @env{HOME}
|
||||
shell variable is used.
|
||||
Any additional arguments following @var{directory} are ignored.
|
||||
If the shell variable @env{CDPATH} exists, it is used as a search path.
|
||||
If the shell variable
|
||||
@env{CDPATH} exists, it is used as a search path:
|
||||
each directory name in @env{CDPATH} is searched for
|
||||
@var{directory}, with alternative directory names in @env{CDPATH}
|
||||
separated by a colon (@samp{:}).
|
||||
If @var{directory} begins with a slash, @env{CDPATH} is not used.
|
||||
|
||||
The @option{-P} option means to not follow symbolic links; symbolic
|
||||
links are followed by default or with the @option{-L} option.
|
||||
The @option{-P} option means to not follow symbolic links: symbolic links
|
||||
are resolved while @code{cd} is traversing @var{directory} and before
|
||||
processing an instance of @samp{..} in @var{directory}.
|
||||
|
||||
By default, or when the @option{-L} option is supplied, symbolic links
|
||||
in @var{directory} are resolved after @code{cd} processes an instance
|
||||
of @samp{..} in @var{directory}.
|
||||
|
||||
If @samp{..} appears in @var{directory}, it is processed by removing the
|
||||
immediately preceding pathname component, back to a slash or the beginning
|
||||
of @var{directory}.
|
||||
|
||||
If the @option{-e} option is supplied with @option{-P}
|
||||
and the current working directory cannot be successfully determined
|
||||
after a successful directory change, @code{cd} will return an unsuccessful
|
||||
@@ -4517,7 +4534,7 @@ Enable @samp{!} style history substitution (@pxref{History Interaction}).
|
||||
This option is on by default for interactive shells.
|
||||
|
||||
@item -P
|
||||
If set, do not follow symbolic links when performing commands such as
|
||||
If set, do not resolve symbolic links when performing commands such as
|
||||
@code{cd} which change the current directory. The physical directory
|
||||
is used instead. By default, Bash follows
|
||||
the logical chain of directories when performing commands
|
||||
|
||||
+58
-57
@@ -19,43 +19,43 @@
|
||||
@numsubsecentry{Compound Commands}{3.2.4}{Compound Commands}{9}
|
||||
@numsubsubsecentry{Looping Constructs}{3.2.4.1}{Looping Constructs}{10}
|
||||
@numsubsubsecentry{Conditional Constructs}{3.2.4.2}{Conditional Constructs}{10}
|
||||
@numsubsubsecentry{Grouping Commands}{3.2.4.3}{Command Grouping}{13}
|
||||
@numsubsecentry{Coprocesses}{3.2.5}{Coprocesses}{14}
|
||||
@numsubsecentry{GNU Parallel}{3.2.6}{GNU Parallel}{14}
|
||||
@numsecentry{Shell Functions}{3.3}{Shell Functions}{15}
|
||||
@numsecentry{Shell Parameters}{3.4}{Shell Parameters}{17}
|
||||
@numsubsubsecentry{Grouping Commands}{3.2.4.3}{Command Grouping}{14}
|
||||
@numsubsecentry{Coprocesses}{3.2.5}{Coprocesses}{15}
|
||||
@numsubsecentry{GNU Parallel}{3.2.6}{GNU Parallel}{15}
|
||||
@numsecentry{Shell Functions}{3.3}{Shell Functions}{16}
|
||||
@numsecentry{Shell Parameters}{3.4}{Shell Parameters}{18}
|
||||
@numsubsecentry{Positional Parameters}{3.4.1}{Positional Parameters}{18}
|
||||
@numsubsecentry{Special Parameters}{3.4.2}{Special Parameters}{18}
|
||||
@numsecentry{Shell Expansions}{3.5}{Shell Expansions}{19}
|
||||
@numsubsecentry{Brace Expansion}{3.5.1}{Brace Expansion}{19}
|
||||
@numsubsecentry{Tilde Expansion}{3.5.2}{Tilde Expansion}{20}
|
||||
@numsubsecentry{Shell Parameter Expansion}{3.5.3}{Shell Parameter Expansion}{21}
|
||||
@numsubsecentry{Command Substitution}{3.5.4}{Command Substitution}{24}
|
||||
@numsubsecentry{Arithmetic Expansion}{3.5.5}{Arithmetic Expansion}{24}
|
||||
@numsubsecentry{Special Parameters}{3.4.2}{Special Parameters}{19}
|
||||
@numsecentry{Shell Expansions}{3.5}{Shell Expansions}{20}
|
||||
@numsubsecentry{Brace Expansion}{3.5.1}{Brace Expansion}{20}
|
||||
@numsubsecentry{Tilde Expansion}{3.5.2}{Tilde Expansion}{21}
|
||||
@numsubsecentry{Shell Parameter Expansion}{3.5.3}{Shell Parameter Expansion}{22}
|
||||
@numsubsecentry{Command Substitution}{3.5.4}{Command Substitution}{25}
|
||||
@numsubsecentry{Arithmetic Expansion}{3.5.5}{Arithmetic Expansion}{25}
|
||||
@numsubsecentry{Process Substitution}{3.5.6}{Process Substitution}{25}
|
||||
@numsubsecentry{Word Splitting}{3.5.7}{Word Splitting}{25}
|
||||
@numsubsecentry{Filename Expansion}{3.5.8}{Filename Expansion}{25}
|
||||
@numsubsubsecentry{Pattern Matching}{3.5.8.1}{Pattern Matching}{26}
|
||||
@numsubsecentry{Quote Removal}{3.5.9}{Quote Removal}{27}
|
||||
@numsecentry{Redirections}{3.6}{Redirections}{27}
|
||||
@numsubsecentry{Redirecting Input}{3.6.1}{}{28}
|
||||
@numsubsecentry{Word Splitting}{3.5.7}{Word Splitting}{26}
|
||||
@numsubsecentry{Filename Expansion}{3.5.8}{Filename Expansion}{26}
|
||||
@numsubsubsecentry{Pattern Matching}{3.5.8.1}{Pattern Matching}{27}
|
||||
@numsubsecentry{Quote Removal}{3.5.9}{Quote Removal}{28}
|
||||
@numsecentry{Redirections}{3.6}{Redirections}{28}
|
||||
@numsubsecentry{Redirecting Input}{3.6.1}{}{29}
|
||||
@numsubsecentry{Redirecting Output}{3.6.2}{}{29}
|
||||
@numsubsecentry{Appending Redirected Output}{3.6.3}{}{29}
|
||||
@numsubsecentry{Redirecting Standard Output and Standard Error}{3.6.4}{}{29}
|
||||
@numsubsecentry{Appending Standard Output and Standard Error}{3.6.5}{}{29}
|
||||
@numsubsecentry{Appending Redirected Output}{3.6.3}{}{30}
|
||||
@numsubsecentry{Redirecting Standard Output and Standard Error}{3.6.4}{}{30}
|
||||
@numsubsecentry{Appending Standard Output and Standard Error}{3.6.5}{}{30}
|
||||
@numsubsecentry{Here Documents}{3.6.6}{}{30}
|
||||
@numsubsecentry{Here Strings}{3.6.7}{}{30}
|
||||
@numsubsecentry{Duplicating File Descriptors}{3.6.8}{}{30}
|
||||
@numsubsecentry{Here Strings}{3.6.7}{}{31}
|
||||
@numsubsecentry{Duplicating File Descriptors}{3.6.8}{}{31}
|
||||
@numsubsecentry{Moving File Descriptors}{3.6.9}{}{31}
|
||||
@numsubsecentry{Opening File Descriptors for Reading and Writing}{3.6.10}{}{31}
|
||||
@numsecentry{Executing Commands}{3.7}{Executing Commands}{31}
|
||||
@numsubsecentry{Simple Command Expansion}{3.7.1}{Simple Command Expansion}{31}
|
||||
@numsubsecentry{Opening File Descriptors for Reading and Writing}{3.6.10}{}{32}
|
||||
@numsecentry{Executing Commands}{3.7}{Executing Commands}{32}
|
||||
@numsubsecentry{Simple Command Expansion}{3.7.1}{Simple Command Expansion}{32}
|
||||
@numsubsecentry{Command Search and Execution}{3.7.2}{Command Search and Execution}{32}
|
||||
@numsubsecentry{Command Execution Environment}{3.7.3}{Command Execution Environment}{32}
|
||||
@numsubsecentry{Environment}{3.7.4}{Environment}{33}
|
||||
@numsubsecentry{Exit Status}{3.7.5}{Exit Status}{34}
|
||||
@numsubsecentry{Signals}{3.7.6}{Signals}{34}
|
||||
@numsecentry{Shell Scripts}{3.8}{Shell Scripts}{35}
|
||||
@numsubsecentry{Command Execution Environment}{3.7.3}{Command Execution Environment}{33}
|
||||
@numsubsecentry{Environment}{3.7.4}{Environment}{34}
|
||||
@numsubsecentry{Exit Status}{3.7.5}{Exit Status}{35}
|
||||
@numsubsecentry{Signals}{3.7.6}{Signals}{35}
|
||||
@numsecentry{Shell Scripts}{3.8}{Shell Scripts}{36}
|
||||
@numchapentry{Shell Builtin Commands}{4}{Shell Builtin Commands}{37}
|
||||
@numsecentry{Bourne Shell Builtins}{4.1}{Bourne Shell Builtins}{37}
|
||||
@numsecentry{Bash Builtin Commands}{4.2}{Bash Builtins}{44}
|
||||
@@ -110,29 +110,30 @@
|
||||
@numsecentry{Readline vi Mode}{8.5}{Readline vi Mode}{119}
|
||||
@numsecentry{Programmable Completion}{8.6}{Programmable Completion}{119}
|
||||
@numsecentry{Programmable Completion Builtins}{8.7}{Programmable Completion Builtins}{121}
|
||||
@numchapentry{Using History Interactively}{9}{Using History Interactively}{127}
|
||||
@numsecentry{Bash History Facilities}{9.1}{Bash History Facilities}{127}
|
||||
@numsecentry{Bash History Builtins}{9.2}{Bash History Builtins}{127}
|
||||
@numsecentry{History Expansion}{9.3}{History Interaction}{129}
|
||||
@numsubsecentry{Event Designators}{9.3.1}{Event Designators}{130}
|
||||
@numsubsecentry{Word Designators}{9.3.2}{Word Designators}{130}
|
||||
@numsubsecentry{Modifiers}{9.3.3}{Modifiers}{131}
|
||||
@numchapentry{Installing Bash}{10}{Installing Bash}{133}
|
||||
@numsecentry{Basic Installation}{10.1}{Basic Installation}{133}
|
||||
@numsecentry{Compilers and Options}{10.2}{Compilers and Options}{134}
|
||||
@numsecentry{Compiling For Multiple Architectures}{10.3}{Compiling For Multiple Architectures}{134}
|
||||
@numsecentry{Installation Names}{10.4}{Installation Names}{134}
|
||||
@numsecentry{Specifying the System Type}{10.5}{Specifying the System Type}{134}
|
||||
@numsecentry{Sharing Defaults}{10.6}{Sharing Defaults}{135}
|
||||
@numsecentry{Operation Controls}{10.7}{Operation Controls}{135}
|
||||
@numsecentry{Optional Features}{10.8}{Optional Features}{135}
|
||||
@appentry{Reporting Bugs}{A}{Reporting Bugs}{141}
|
||||
@appentry{Major Differences From The Bourne Shell}{B}{Major Differences From The Bourne Shell}{143}
|
||||
@appsecentry{Implementation Differences From The SVR4.2 Shell}{B.1}{}{147}
|
||||
@appentry{GNU Free Documentation License}{C}{GNU Free Documentation License}{149}
|
||||
@appentry{Indexes}{D}{Indexes}{157}
|
||||
@appsecentry{Index of Shell Builtin Commands}{D.1}{Builtin Index}{157}
|
||||
@appsecentry{Index of Shell Reserved Words}{D.2}{Reserved Word Index}{158}
|
||||
@appsecentry{Parameter and Variable Index}{D.3}{Variable Index}{158}
|
||||
@appsecentry{Function Index}{D.4}{Function Index}{160}
|
||||
@appsecentry{Concept Index}{D.5}{Concept Index}{162}
|
||||
@numsecentry{A Programmable Completion Example}{8.8}{A Programmable Completion Example}{125}
|
||||
@numchapentry{Using History Interactively}{9}{Using History Interactively}{129}
|
||||
@numsecentry{Bash History Facilities}{9.1}{Bash History Facilities}{129}
|
||||
@numsecentry{Bash History Builtins}{9.2}{Bash History Builtins}{129}
|
||||
@numsecentry{History Expansion}{9.3}{History Interaction}{131}
|
||||
@numsubsecentry{Event Designators}{9.3.1}{Event Designators}{132}
|
||||
@numsubsecentry{Word Designators}{9.3.2}{Word Designators}{132}
|
||||
@numsubsecentry{Modifiers}{9.3.3}{Modifiers}{133}
|
||||
@numchapentry{Installing Bash}{10}{Installing Bash}{135}
|
||||
@numsecentry{Basic Installation}{10.1}{Basic Installation}{135}
|
||||
@numsecentry{Compilers and Options}{10.2}{Compilers and Options}{136}
|
||||
@numsecentry{Compiling For Multiple Architectures}{10.3}{Compiling For Multiple Architectures}{136}
|
||||
@numsecentry{Installation Names}{10.4}{Installation Names}{136}
|
||||
@numsecentry{Specifying the System Type}{10.5}{Specifying the System Type}{136}
|
||||
@numsecentry{Sharing Defaults}{10.6}{Sharing Defaults}{137}
|
||||
@numsecentry{Operation Controls}{10.7}{Operation Controls}{137}
|
||||
@numsecentry{Optional Features}{10.8}{Optional Features}{137}
|
||||
@appentry{Reporting Bugs}{A}{Reporting Bugs}{143}
|
||||
@appentry{Major Differences From The Bourne Shell}{B}{Major Differences From The Bourne Shell}{145}
|
||||
@appsecentry{Implementation Differences From The SVR4.2 Shell}{B.1}{}{149}
|
||||
@appentry{GNU Free Documentation License}{C}{GNU Free Documentation License}{151}
|
||||
@appentry{Indexes}{D}{Indexes}{159}
|
||||
@appsecentry{Index of Shell Builtin Commands}{D.1}{Builtin Index}{159}
|
||||
@appsecentry{Index of Shell Reserved Words}{D.2}{Reserved Word Index}{160}
|
||||
@appsecentry{Parameter and Variable Index}{D.3}{Variable Index}{160}
|
||||
@appsecentry{Function Index}{D.4}{Function Index}{162}
|
||||
@appsecentry{Concept Index}{D.5}{Concept Index}{164}
|
||||
|
||||
+12
-12
@@ -1,14 +1,14 @@
|
||||
\entry{LC_MESSAGES}{7}{\code {LC_MESSAGES}}
|
||||
\entry{TEXTDOMAIN}{7}{\code {TEXTDOMAIN}}
|
||||
\entry{TEXTDOMAINDIR}{7}{\code {TEXTDOMAINDIR}}
|
||||
\entry{*}{18}{\code {*}}
|
||||
\entry{@}{18}{\code {@}}
|
||||
\entry{#}{18}{\code {#}}
|
||||
\entry{?}{18}{\code {?}}
|
||||
\entry{-}{18}{\code {-}}
|
||||
\entry{$}{18}{\code {$}}
|
||||
\entry{!}{18}{\code {!}}
|
||||
\entry{0}{18}{\code {0}}
|
||||
\entry{*}{19}{\code {*}}
|
||||
\entry{@}{19}{\code {@}}
|
||||
\entry{#}{19}{\code {#}}
|
||||
\entry{?}{19}{\code {?}}
|
||||
\entry{-}{19}{\code {-}}
|
||||
\entry{$}{19}{\code {$}}
|
||||
\entry{!}{19}{\code {!}}
|
||||
\entry{0}{19}{\code {0}}
|
||||
\entry{_}{19}{\code {_}}
|
||||
\entry{CDPATH}{65}{\code {CDPATH}}
|
||||
\entry{HOME}{65}{\code {HOME}}
|
||||
@@ -72,7 +72,7 @@
|
||||
\entry{INPUTRC}{71}{\code {INPUTRC}}
|
||||
\entry{LANG}{71}{\code {LANG}}
|
||||
\entry{LC_ALL}{71}{\code {LC_ALL}}
|
||||
\entry{LC_COLLATE}{71}{\code {LC_COLLATE}}
|
||||
\entry{LC_COLLATE}{72}{\code {LC_COLLATE}}
|
||||
\entry{LC_CTYPE}{72}{\code {LC_CTYPE}}
|
||||
\entry{LC_MESSAGES}{72}{\code {LC_MESSAGES}}
|
||||
\entry{LC_NUMERIC}{72}{\code {LC_NUMERIC}}
|
||||
@@ -86,8 +86,8 @@
|
||||
\entry{OSTYPE}{72}{\code {OSTYPE}}
|
||||
\entry{PIPESTATUS}{72}{\code {PIPESTATUS}}
|
||||
\entry{POSIXLY_CORRECT}{72}{\code {POSIXLY_CORRECT}}
|
||||
\entry{PPID}{72}{\code {PPID}}
|
||||
\entry{PROMPT_COMMAND}{72}{\code {PROMPT_COMMAND}}
|
||||
\entry{PPID}{73}{\code {PPID}}
|
||||
\entry{PROMPT_COMMAND}{73}{\code {PROMPT_COMMAND}}
|
||||
\entry{PROMPT_DIRTRIM}{73}{\code {PROMPT_DIRTRIM}}
|
||||
\entry{PS3}{73}{\code {PS3}}
|
||||
\entry{PS4}{73}{\code {PS4}}
|
||||
@@ -100,7 +100,7 @@
|
||||
\entry{SHELL}{73}{\code {SHELL}}
|
||||
\entry{SHELLOPTS}{73}{\code {SHELLOPTS}}
|
||||
\entry{SHLVL}{73}{\code {SHLVL}}
|
||||
\entry{TIMEFORMAT}{73}{\code {TIMEFORMAT}}
|
||||
\entry{TIMEFORMAT}{74}{\code {TIMEFORMAT}}
|
||||
\entry{TMOUT}{74}{\code {TMOUT}}
|
||||
\entry{TMPDIR}{74}{\code {TMPDIR}}
|
||||
\entry{UID}{74}{\code {UID}}
|
||||
|
||||
+12
-12
@@ -1,21 +1,21 @@
|
||||
\initial {!}
|
||||
\entry {\code {!}}{18}
|
||||
\entry {\code {!}}{19}
|
||||
\initial {#}
|
||||
\entry {\code {#}}{18}
|
||||
\entry {\code {#}}{19}
|
||||
\initial {$}
|
||||
\entry {\code {$}}{18}
|
||||
\entry {\code {$}}{19}
|
||||
\initial {*}
|
||||
\entry {\code {*}}{18}
|
||||
\entry {\code {*}}{19}
|
||||
\initial {-}
|
||||
\entry {\code {-}}{18}
|
||||
\entry {\code {-}}{19}
|
||||
\initial {?}
|
||||
\entry {\code {?}}{18}
|
||||
\entry {\code {?}}{19}
|
||||
\initial {@}
|
||||
\entry {\code {@}}{18}
|
||||
\entry {\code {@}}{19}
|
||||
\initial {_}
|
||||
\entry {\code {_}}{19}
|
||||
\initial {0}
|
||||
\entry {\code {0}}{18}
|
||||
\entry {\code {0}}{19}
|
||||
\initial {A}
|
||||
\entry {\code {auto_resume}}{96}
|
||||
\initial {B}
|
||||
@@ -102,7 +102,7 @@
|
||||
\initial {L}
|
||||
\entry {\code {LANG}}{71}
|
||||
\entry {\code {LC_ALL}}{71}
|
||||
\entry {\code {LC_COLLATE}}{71}
|
||||
\entry {\code {LC_COLLATE}}{72}
|
||||
\entry {\code {LC_CTYPE}}{72}
|
||||
\entry {\code {LC_MESSAGES}}{7, 72}
|
||||
\entry {\code {LC_NUMERIC}}{72}
|
||||
@@ -131,8 +131,8 @@
|
||||
\entry {\code {PATH}}{65}
|
||||
\entry {\code {PIPESTATUS}}{72}
|
||||
\entry {\code {POSIXLY_CORRECT}}{72}
|
||||
\entry {\code {PPID}}{72}
|
||||
\entry {\code {PROMPT_COMMAND}}{72}
|
||||
\entry {\code {PPID}}{73}
|
||||
\entry {\code {PROMPT_COMMAND}}{73}
|
||||
\entry {\code {PROMPT_DIRTRIM}}{73}
|
||||
\entry {\code {PS1}}{65}
|
||||
\entry {\code {PS2}}{65}
|
||||
@@ -156,7 +156,7 @@
|
||||
\initial {T}
|
||||
\entry {\code {TEXTDOMAIN}}{7}
|
||||
\entry {\code {TEXTDOMAINDIR}}{7}
|
||||
\entry {\code {TIMEFORMAT}}{73}
|
||||
\entry {\code {TIMEFORMAT}}{74}
|
||||
\entry {\code {TMOUT}}{74}
|
||||
\entry {\code {TMPDIR}}{74}
|
||||
\initial {U}
|
||||
|
||||
+371
-352
File diff suppressed because it is too large
Load Diff
+1863
-1834
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0
|
||||
%%Creator: groff version 1.19.2
|
||||
%%CreationDate: Mon Oct 24 08:43:45 2011
|
||||
%%CreationDate: Thu Dec 29 15:02:57 2011
|
||||
%%DocumentNeededResources: font Times-Roman
|
||||
%%+ font Times-Bold
|
||||
%%DocumentSuppliedResources: procset grops 1.19 2
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@
|
||||
Copyright (C) 1988-2011 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Wed Dec 7 17:34:29 EST 2011
|
||||
@set LASTCHANGE Thu Dec 29 10:38:39 EST 2011
|
||||
|
||||
@set EDITION 4.2
|
||||
@set VERSION 4.2
|
||||
@set UPDATED 7 December 2011
|
||||
@set UPDATED 29 December 2011
|
||||
@set UPDATED-MONTH December 2011
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
# based on the cd completion function from the bash_completion package
|
||||
_comp_cd()
|
||||
{
|
||||
local IFS=$' \t\n' # normalize IFS
|
||||
local cur _skipdot _cdpath
|
||||
local i j k
|
||||
|
||||
# Tilde expansion, with side effect of expanding tilde to full pathname
|
||||
case "$2" in
|
||||
\~*) eval cur="$2" ;;
|
||||
*) cur=$2 ;;
|
||||
esac
|
||||
|
||||
# no cdpath or absolute pathname -- straight directory completion
|
||||
if [[ -z "${CDPATH:-}" ]] || [[ "$cur" == @(./*|../*|/*) ]]; then
|
||||
# compgen prints paths one per line; could also use while loop
|
||||
IFS=$'\n'
|
||||
COMPREPLY=( $(compgen -d -- "$cur") )
|
||||
IFS=$' \t\n'
|
||||
# CDPATH+directories in the current directory if not in CDPATH
|
||||
else
|
||||
IFS=$'\n'
|
||||
_skipdot=false
|
||||
# preprocess CDPATH to convert null directory names to .
|
||||
_cdpath=${CDPATH/#:/.:}
|
||||
_cdpath=${_cdpath//::/:.:}
|
||||
_cdpath=${_cdpath/%:/:.}
|
||||
for i in ${_cdpath//:/$'\n'}; do
|
||||
if [[ $i -ef . ]]; then _skipdot=true; fi
|
||||
k="${#COMPREPLY[@]}"
|
||||
for j in $( compgen -d -- "$i/$cur" ); do
|
||||
COMPREPLY[k++]=${j#$i/} # cut off directory
|
||||
done
|
||||
done
|
||||
$_skipdot || COMPREPLY+=( $(compgen -d -- "$cur") )
|
||||
IFS=$' \t\n'
|
||||
fi
|
||||
|
||||
# variable names if appropriate shell option set and no completions
|
||||
if shopt -q cdable_vars && [[ ${#COMPREPLY[@]} -eq 0 ]]; then
|
||||
COMPREPLY=( $(compgen -v -- "$cur") )
|
||||
fi
|
||||
|
||||
# append slash to passed directory name that is the only completion.
|
||||
# readline will not do this if we complete from CDPATH
|
||||
if [[ ${#COMPREPLY[@]} -eq 1 ]]; then
|
||||
i=${COMPREPLY[0]} # shorthand
|
||||
if [[ "$cur" == "$i" ]] && [[ "$i" != "*/" ]]; then
|
||||
COMPREPLY[0]+=/
|
||||
fi
|
||||
fi
|
||||
return 0
|
||||
}
|
||||
|
||||
complete -o filenames -o nospace -o bashdefault -F _comp_cd cd
|
||||
@@ -45,7 +45,7 @@ extern int
|
||||
place_keywords_in_env, read_but_dont_execute,
|
||||
just_one_command, unbound_vars_is_error, echo_input_at_read,
|
||||
echo_command_at_execute, no_invisible_vars, noclobber,
|
||||
hashing_enabled, forced_interactive, privileged_mode,
|
||||
hashing_enabled, forced_interactive, privileged_mode, jobs_m_flag,
|
||||
asynchronous_notification, interactive_comments, no_symbolic_links,
|
||||
function_trace_mode, error_trace_mode, pipefail_opt;
|
||||
|
||||
|
||||
@@ -3644,8 +3644,8 @@ initialize_job_control (force)
|
||||
exit (1);
|
||||
}
|
||||
|
||||
/* We can only have job control if we are interactive. */
|
||||
if (interactive == 0)
|
||||
/* We can only have job control if we are interactive unless we force it. */
|
||||
if (interactive == 0 && force == 0)
|
||||
{
|
||||
job_control = 0;
|
||||
original_pgrp = NO_PID;
|
||||
@@ -3731,6 +3731,8 @@ initialize_job_control (force)
|
||||
t_errno = errno;
|
||||
setpgid (0, original_pgrp);
|
||||
shell_pgrp = original_pgrp;
|
||||
errno = t_errno;
|
||||
sys_error (_("cannot set terminal process group (%d)"), shell_pgrp);
|
||||
job_control = 0;
|
||||
}
|
||||
}
|
||||
|
||||
+102
-37
@@ -1798,7 +1798,7 @@ completion function would load completions dynamically:
|
||||
@example
|
||||
_completion_loader()
|
||||
@{
|
||||
. "/etc/bash_completion.d/$1.sh" >/dev/null 2>&1 && return 124
|
||||
. "/etc/bash_completion.d/$1.sh" >/dev/null 2>&1 && return 124
|
||||
@}
|
||||
complete -D -F _completion_loader
|
||||
@end example
|
||||
@@ -2070,54 +2070,119 @@ specification exists, or an output error occurs.
|
||||
@node A Programmable Completion Example
|
||||
@section A Programmable Completion Example
|
||||
|
||||
The most common way to obtain additional completion functionality beyond
|
||||
the default actions @code{complete} and @code{compgen} provide is to use
|
||||
a shell function and bind it to a particular command using @code{complete -F}.
|
||||
|
||||
The following function provides completions for the @code{cd} builtin.
|
||||
It is a reasonably good example of what shell functions must do when
|
||||
used for completion. This function uses the word passsed as @code{$2}
|
||||
to determine the directory name to complete. You can also use the
|
||||
@code{COMP_WORDS} array variable; the current word is indexed by the
|
||||
@code{COMP_CWORD} variable.
|
||||
|
||||
The function relies on the @code{complete} and @code{compgen} builtins
|
||||
to do much of the work, adding only the things that the Bash @code{cd}
|
||||
does beyond accepting basic directory names:
|
||||
tilde expansion (@pxref{Tilde Expansion}),
|
||||
searching directories in @var{$CDPATH}, which is described above
|
||||
(@pxref{Bourne Shell Builtins}),
|
||||
and basic support for the @code{cdable_vars} shell option
|
||||
(@pxref{The Shopt Builtin}).
|
||||
@code{_comp_cd} modifies the value of @var{IFS} so that it contains only
|
||||
a newline to accommodate file names containing spaces and tabs --
|
||||
@code{compgen} prints the possible completions it generates one per line.
|
||||
|
||||
Possible completions go into the @var{COMPREPLY} array variable, one
|
||||
completion per array element. The programmable completion system retrieves
|
||||
the completions from there when the function returns.
|
||||
|
||||
@example
|
||||
# A completion function for the cd builtin
|
||||
# based on the cd completion function from the bash_completion package
|
||||
_comp_cd()
|
||||
{
|
||||
local IFS=$' \t\n' # normalize IFS
|
||||
local cur _skipdot
|
||||
local i j k
|
||||
@{
|
||||
local IFS=$' \t\n' # normalize IFS
|
||||
local cur _skipdot _cdpath
|
||||
local i j k
|
||||
|
||||
# Tilde expansion, with side effect of expanding tilde to full pathname
|
||||
case "$2" in
|
||||
\~*) eval cur="$2" ;;
|
||||
*) cur=$2 ;;
|
||||
esac
|
||||
# Tilde expansion, with side effect of expanding tilde to full pathname
|
||||
case "$2" in
|
||||
\~*) eval cur="$2" ;;
|
||||
*) cur=$2 ;;
|
||||
esac
|
||||
|
||||
# no cdpath or absolute pathname -- straight directory completion
|
||||
if [[ -z "${CDPATH:-}" ]] || [[ "$cur" == @(./*|../*|/*) ]]; then
|
||||
# compgen prints paths one per line; could also use while loop
|
||||
IFS=$'\n'
|
||||
COMPREPLY=( $(compgen -d -- "$cur") )
|
||||
IFS=$' \t\n'
|
||||
# CDPATH+directories in the current directory if not in CDPATH
|
||||
else
|
||||
IFS=$'\n'
|
||||
_skipdot=false
|
||||
for i in ${CDPATH//:/$'\n'}; do
|
||||
if [[ $i -ef . ]]; then _skipdot=true; fi
|
||||
k="${#COMPREPLY[@]}"
|
||||
for j in $( compgen -d -- "$i/$cur" ); do
|
||||
COMPREPLY[k++]=${j#$i/} # cut off directory
|
||||
done
|
||||
done
|
||||
$_skipdot || COMPREPLY+=( $(compgen -d -- "$cur") )
|
||||
IFS=$' \t\n'
|
||||
fi
|
||||
# no cdpath or absolute pathname -- straight directory completion
|
||||
if [[ -z "$@{CDPATH:-@}" ]] || [[ "$cur" == @@(./*|../*|/*) ]]; then
|
||||
# compgen prints paths one per line; could also use while loop
|
||||
IFS=$'\n'
|
||||
COMPREPLY=( $(compgen -d -- "$cur") )
|
||||
IFS=$' \t\n'
|
||||
# CDPATH+directories in the current directory if not in CDPATH
|
||||
else
|
||||
IFS=$'\n'
|
||||
_skipdot=false
|
||||
# preprocess CDPATH to convert null directory names to .
|
||||
_cdpath=$@{CDPATH/#:/.:@}
|
||||
_cdpath=$@{_cdpath//::/:.:@}
|
||||
_cdpath=$@{_cdpath/%:/:.@}
|
||||
for i in $@{_cdpath//:/$'\n'@}; do
|
||||
if [[ $i -ef . ]]; then _skipdot=true; fi
|
||||
k="$@{#COMPREPLY[@@]@}"
|
||||
for j in $( compgen -d -- "$i/$cur" ); do
|
||||
COMPREPLY[k++]=$@{j#$i/@} # cut off directory
|
||||
done
|
||||
done
|
||||
$_skipdot || COMPREPLY+=( $(compgen -d -- "$cur") )
|
||||
IFS=$' \t\n'
|
||||
fi
|
||||
|
||||
# variable names if appropriate shell option set and no completions
|
||||
if shopt -q cdable_vars && [[ ${#COMPREPLY[@]} -eq 0 ]]; then
|
||||
COMPREPLY=( $(compgen -v -- "$cur") )
|
||||
fi
|
||||
# variable names if appropriate shell option set and no completions
|
||||
if shopt -q cdable_vars && [[ $@{#COMPREPLY[@@]@} -eq 0 ]]; then
|
||||
COMPREPLY=( $(compgen -v -- "$cur") )
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
return 0
|
||||
@}
|
||||
@end example
|
||||
|
||||
We install the completion function using the @option{-F} option to
|
||||
@code{complete}:
|
||||
|
||||
@example
|
||||
# Tell readline to quote appropriate and append slashes to directories;
|
||||
# use the bash default completion for other arguments
|
||||
complete -o filenames -o nospace -o bashdefault -F _comp_cd cd
|
||||
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
Since we'd like Bash and Readline to take care of some
|
||||
of the other details for us, we use several other options to tell Bash
|
||||
and Readline what to do. The @option{-o filenames} option tells Readline
|
||||
that the possible completions should be treated as filenames, and quoted
|
||||
appropriately. That option will also cause Readline to append a slash to
|
||||
filenames it can determine are directories (which is why we might want to
|
||||
extend @code{_comp_cd} to append a slash if we're using directories found
|
||||
via @var{CDPATH}: Readline can't tell those completions are directories).
|
||||
The @option{-o nospace} option tells Readline to not append a space
|
||||
character to the directory name, in case we want to append to it.
|
||||
The @option{-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 @samp{@{}, completions containing pathname
|
||||
expansion patterns (@pxref{Filename Expansion}), and so on.
|
||||
|
||||
Once installed using @code{complete}, @code{_comp_cd} will be called every
|
||||
time we attempt word completion for a @code{cd} command.
|
||||
|
||||
Many more examples -- an extensive collection of completions for most 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 @url{http://bash-completion.alioth.debian.org/}. There are ports for
|
||||
other systems such as Solaris and Mac OS X.
|
||||
|
||||
An older version of the bash_completion package is distributed with bash
|
||||
in the @file{examples/complete} subdirectory.
|
||||
|
||||
@end ifset
|
||||
|
||||
@@ -1623,7 +1623,9 @@ init_noninteractive ()
|
||||
expand_aliases = posixly_correct; /* XXX - was 0 not posixly_correct */
|
||||
no_line_editing = 1;
|
||||
#if defined (JOB_CONTROL)
|
||||
set_job_control (0);
|
||||
/* Even if the shell is not interactive, enable job control if the -i or
|
||||
-m option is supplied at startup. */
|
||||
set_job_control (forced_interactive||jobs_m_flag);
|
||||
#endif /* JOB_CONTROL */
|
||||
}
|
||||
|
||||
@@ -1720,7 +1722,7 @@ shell_initialize ()
|
||||
#endif
|
||||
|
||||
/* Initialize the data structures for storing and running jobs. */
|
||||
initialize_job_control (0);
|
||||
initialize_job_control (jobs_m_flag);
|
||||
|
||||
/* Initialize input streams to null. */
|
||||
initialize_bash_input ();
|
||||
@@ -1765,6 +1767,8 @@ shell_reinitialize ()
|
||||
forced_interactive = interactive_shell = subshell_environment = 0;
|
||||
expand_aliases = 0;
|
||||
|
||||
/* XXX - should we set jobs_m_flag to 0 here? */
|
||||
|
||||
#if defined (HISTORY)
|
||||
bash_history_reinit (0);
|
||||
#endif /* HISTORY */
|
||||
|
||||
Reference in New Issue
Block a user