mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-03 16:59:22 +02:00
commit bash-20101025 snapshot
This commit is contained in:
+2273
File diff suppressed because it is too large
Load Diff
+2273
File diff suppressed because it is too large
Load Diff
+1903
-1896
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -9366,8 +9366,8 @@ is
|
||||
.BR RETURN ,
|
||||
the command
|
||||
.I arg
|
||||
is executed each time a shell function or a script executed with the
|
||||
\fB.\fP or \fBsource\fP builtins finishes executing.
|
||||
is executed each time a shell function or a script executed with
|
||||
the \fB.\fP or \fBsource\fP builtins finishes executing.
|
||||
.if t .sp 0.5
|
||||
.if n .sp 1
|
||||
If a
|
||||
|
||||
+64
-52
@@ -3,7 +3,7 @@
|
||||
</HEAD>
|
||||
<BODY><TABLE WIDTH=100%>
|
||||
<TR>
|
||||
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2010 July 21<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2010 September 6<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
</TR>
|
||||
</TABLE>
|
||||
<BR><A HREF="#index">Index</A>
|
||||
@@ -530,7 +530,7 @@ No other startup files are read.
|
||||
<B>Bash</B>
|
||||
|
||||
attempts to determine when it is being run with its standard input
|
||||
connected to a a network connection, as if by the remote shell
|
||||
connected to a network connection, as when executed by the remote shell
|
||||
daemon, usually <I>rshd</I>, or the secure shell daemon <I>sshd</I>.
|
||||
If
|
||||
<B>bash</B>
|
||||
@@ -1200,7 +1200,7 @@ command (see
|
||||
below).
|
||||
The file descriptors can be utilized as arguments to shell commands
|
||||
and redirections using standard word expansions.
|
||||
The process id of the shell spawned to execute the coprocess is
|
||||
The process ID of the shell spawned to execute the coprocess is
|
||||
available as the value of the variable <I>NAME</I>_PID.
|
||||
The <B>wait</B>
|
||||
builtin command may be used to wait for the coprocess to terminate.
|
||||
@@ -1572,7 +1572,7 @@ builtin commands.
|
||||
In the context where an assignment statement is assigning a value
|
||||
to a shell variable or array index, the += operator can be used to
|
||||
append to or add to the variable's previous value.
|
||||
When += is applied to a variable for which the integer attribute has been
|
||||
When += is applied to a variable for which the <I>integer</I> attribute has been
|
||||
set, <I>value</I> is evaluated as an arithmetic expression and added to the
|
||||
variable's current value, which is also evaluated.
|
||||
When += is applied to an array variable using compound assignment (see
|
||||
@@ -1784,7 +1784,7 @@ This variable is read-only.
|
||||
<DT><B>BASHPID</B>
|
||||
|
||||
<DD>
|
||||
Expands to the process id of the current <B>bash</B> process.
|
||||
Expands to the process ID of the current <B>bash</B> process.
|
||||
This differs from <B>$$</B> under certain circumstances, such as subshells
|
||||
that do not require <B>bash</B> to be re-initialized.
|
||||
<DT><B>BASH_ALIASES</B>
|
||||
@@ -2421,7 +2421,7 @@ If <B>bash</B> finds this variable in the environment when the shell starts
|
||||
with value
|
||||
<TT>t</TT>,
|
||||
|
||||
it assumes that the shell is running in an emacs shell buffer and disables
|
||||
it assumes that the shell is running in an Emacs shell buffer and disables
|
||||
line editing.
|
||||
<DT><B>ENV</B>
|
||||
|
||||
@@ -2704,14 +2704,15 @@ for printing selection lists. Automatically set upon receipt of a
|
||||
<DT><B>MAIL</B>
|
||||
|
||||
<DD>
|
||||
If this parameter is set to a file name and the
|
||||
If this parameter is set to a file or directory name and the
|
||||
<FONT SIZE=-1><B>MAILPATH</B>
|
||||
|
||||
</FONT>
|
||||
variable is not set,
|
||||
<B>bash</B>
|
||||
|
||||
informs the user of the arrival of mail in the specified file.
|
||||
informs the user of the arrival of mail in the specified file or
|
||||
Maildir-format directory.
|
||||
<DT><B>MAILCHECK</B>
|
||||
|
||||
<DD>
|
||||
@@ -2947,8 +2948,8 @@ not arrive.
|
||||
<DT><B>TMPDIR</B>
|
||||
|
||||
<DD>
|
||||
If set, <B>Bash</B> uses its value as the name of a directory in which
|
||||
<B>Bash</B> creates temporary files for the shell's use.
|
||||
If set, <B>bash</B> uses its value as the name of a directory in which
|
||||
<B>bash</B> creates temporary files for the shell's use.
|
||||
<DT><B>auto_resume</B>
|
||||
|
||||
<DD>
|
||||
@@ -3438,7 +3439,7 @@ a level of variable indirection is introduced.
|
||||
expanded and that value is used in the rest of the substitution, rather
|
||||
than the value of <I>parameter</I> itself.
|
||||
This is known as <I>indirect expansion</I>.
|
||||
The exceptions to this are the expansions of ${!<I>prefix</I>*} and
|
||||
The exceptions to this are the expansions of ${<B>!\fPfIprefix</B><B>*</B>} and
|
||||
${<B>!</B><I>name</I>[<I>@</I>]} described below.
|
||||
The exclamation point must immediately follow the left brace in order to
|
||||
introduce indirection.
|
||||
@@ -3507,7 +3508,7 @@ is substituted.
|
||||
|
||||
<DT>${<I>parameter</I><B>:</B><I>offset</I><B>:</B><I>length</I>}<DD>
|
||||
|
||||
<B>Substring Expansion.</B>
|
||||
<B>Substring Expansion</B>.
|
||||
Expands to up to <I>length</I> characters of <I>parameter</I>
|
||||
starting at the character specified by <I>offset</I>.
|
||||
If <I>length</I> is omitted, expands to the substring of
|
||||
@@ -3543,7 +3544,7 @@ prefixed to the list.
|
||||
|
||||
<DT>${<B>!</B><I>prefix</I><B>@</B>}<DD>
|
||||
|
||||
<B>Names matching prefix.</B>
|
||||
<B>Names matching prefix</B>.
|
||||
Expands to the names of variables whose names begin with <I>prefix</I>,
|
||||
separated by the first character of the
|
||||
<FONT SIZE=-1><B>IFS</B>
|
||||
@@ -3556,7 +3557,7 @@ variable name expands to a separate word.
|
||||
|
||||
<DT>${<B>!</B><I>name</I>[<I>*</I>]}<DD>
|
||||
|
||||
<B>List of array keys.</B>
|
||||
<B>List of array keys</B>.
|
||||
If <I>name</I> is an array variable, expands to the list of array indices
|
||||
(keys) assigned in <I>name</I>.
|
||||
If <I>name</I> is not an array, expands to 0 if <I>name</I> is set and null
|
||||
@@ -3564,7 +3565,7 @@ otherwise.
|
||||
When <I>@</I> is used and the expansion appears within double quotes, each
|
||||
key expands to a separate word.
|
||||
<DT>${<B>#</B><I>parameter</I>}<DD>
|
||||
<B>Parameter length.</B>
|
||||
<B>Parameter length</B>.
|
||||
The length in characters of the value of <I>parameter</I> is substituted.
|
||||
If
|
||||
<I>parameter</I>
|
||||
@@ -3590,7 +3591,7 @@ the value substituted is the number of elements in the array.
|
||||
|
||||
<DT>${<I>parameter</I><B>##</B><I>word</I>}<DD>
|
||||
|
||||
<B>Remove matching prefix pattern.</B>
|
||||
<B>Remove matching prefix pattern</B>.
|
||||
The
|
||||
<I>word</I>
|
||||
|
||||
@@ -3630,7 +3631,7 @@ array in turn, and the expansion is the resultant list.
|
||||
|
||||
<DT>${<I>parameter</I><B>%%</B><I>word</I>}<DD>
|
||||
|
||||
<B>Remove matching suffix pattern.</B>
|
||||
<B>Remove matching suffix pattern</B>.
|
||||
The <I>word</I> is expanded to produce a pattern just as in
|
||||
pathname expansion.
|
||||
If the pattern matches a trailing portion of the expanded value of
|
||||
@@ -3664,7 +3665,7 @@ or
|
||||
the pattern removal operation is applied to each member of the
|
||||
array in turn, and the expansion is the resultant list.
|
||||
<DT>${<I>parameter</I><B>/</B><I>pattern</I><B>/</B><I>string</I>}<DD>
|
||||
<B>Pattern substitution.</B>
|
||||
<B>Pattern substitution</B>.
|
||||
The <I>pattern</I> is expanded to produce a pattern just as in
|
||||
pathname expansion.
|
||||
<I>Parameter</I> is expanded and the longest match of <I>pattern</I>
|
||||
@@ -3705,7 +3706,7 @@ array in turn, and the expansion is the resultant list.
|
||||
<DT>${<I>parameter</I><B>,</B><I>pattern</I>}<DD>
|
||||
<DT>${<I>parameter</I><B>,,</B><I>pattern</I>}<DD>
|
||||
|
||||
<B>Case modification.</B>
|
||||
<B>Case modification</B>.
|
||||
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.
|
||||
@@ -4885,7 +4886,7 @@ during its execution.
|
||||
The special parameter
|
||||
<B>#</B>
|
||||
|
||||
is updated to reflect the change. Special parameter 0
|
||||
is updated to reflect the change. Special parameter <B>0</B>
|
||||
is unchanged.
|
||||
The first element of the
|
||||
<FONT SIZE=-1><B>FUNCNAME</B>
|
||||
@@ -5104,7 +5105,7 @@ The value of a variable is evaluated as an arithmetic expression
|
||||
when it is referenced, or when a variable which has been given the
|
||||
<I>integer</I> attribute using <B>declare -i</B> is assigned a value.
|
||||
A null value evaluates to 0.
|
||||
A shell variable need not have its integer attribute
|
||||
A shell variable need not have its <I>integer</I> attribute
|
||||
turned on to be used in an expression.
|
||||
<P>
|
||||
|
||||
@@ -5530,8 +5531,8 @@ cannot affect the shell's execution environment.
|
||||
<P>
|
||||
|
||||
Subshells spawned to execute command substitutions inherit the value of
|
||||
the <B>-e</B> option from the parent shell. When not in posix mode,
|
||||
Bash clears the <B>-e</B> option in such subshells.
|
||||
the <B>-e</B> option from the parent shell. When not in <I>posix</I> mode,
|
||||
<B>bash</B> clears the <B>-e</B> option in such subshells.
|
||||
<P>
|
||||
|
||||
If a command is followed by a <B>&</B> and job control is not active, the
|
||||
@@ -6196,7 +6197,7 @@ shell, unless the
|
||||
option is given at shell invocation.
|
||||
Line editing is also used when using the <B>-e</B> option to the
|
||||
<B>read</B> builtin.
|
||||
By default, the line editing commands are similar to those of emacs.
|
||||
By default, the line editing commands are similar to those of Emacs.
|
||||
A vi-style line editing interface is also available.
|
||||
Line editing can be enabled at any time using the
|
||||
<B>-o emacs</B>
|
||||
@@ -6227,7 +6228,7 @@ builtin.
|
||||
|
||||
<P>
|
||||
|
||||
In this section, the emacs-style notation is used to denote
|
||||
In this section, the Emacs-style notation is used to denote
|
||||
keystrokes. Control keys are denoted by C-<I>key</I>, e.g., C-n
|
||||
means Control-N. Similarly,
|
||||
<I>meta</I>
|
||||
@@ -6655,7 +6656,7 @@ mapped to <B>self-insert</B>.
|
||||
|
||||
<DD>
|
||||
Controls whether readline begins with a set of key bindings similar
|
||||
to <I>emacs</I> or <I>vi</I>.
|
||||
to <I>Emacs</I> or <I>vi</I>.
|
||||
<B>editing-mode</B>
|
||||
|
||||
can be set to either
|
||||
@@ -6685,12 +6686,12 @@ the meta key is used to send eight-bit characters.
|
||||
<DT><B>expand-tilde (Off)</B>
|
||||
|
||||
<DD>
|
||||
If set to <B>on</B>, tilde expansion is performed when readline
|
||||
If set to <B>On</B>, tilde expansion is performed when readline
|
||||
attempts word completion.
|
||||
<DT><B>history-preserve-point (Off)</B>
|
||||
|
||||
<DD>
|
||||
If set to <B>on</B>, the history code attempts to place point at the
|
||||
If set to <B>On</B>, the history code attempts to place point at the
|
||||
same location on each history line retrieved with <B>previous-history</B>
|
||||
or <B>next-history</B>.
|
||||
<DT><B>history-size (0)</B>
|
||||
@@ -6760,6 +6761,12 @@ names begin with a `.' (hidden files) when performing filename
|
||||
completion.
|
||||
If set to <B>Off</B>, the leading `.' must be
|
||||
supplied by the user in the filename to be completed.
|
||||
<DT><B>menu-complete-display-prefix (Off)</B>
|
||||
|
||||
<DD>
|
||||
If set to <B>On</B>, menu completion displays the common prefix of the
|
||||
list of possible completions (which may be empty) before cycling through
|
||||
the list.
|
||||
<DT><B>output-meta (Off)</B>
|
||||
|
||||
<DD>
|
||||
@@ -6779,7 +6786,7 @@ sorted horizontally in alphabetical order, rather than down the screen.
|
||||
<DT><B>revert-all-at-newline (Off)</B>
|
||||
|
||||
<DD>
|
||||
If set to <B>on</B>, readline will undo all changes to history lines
|
||||
If set to <B>On</B>, readline will undo all changes to history lines
|
||||
before returning when <B>accept-line</B> is executed. By default,
|
||||
history lines may be modified and retain individual undo lists across
|
||||
calls to <B>readline</B>.
|
||||
@@ -6788,7 +6795,7 @@ calls to <B>readline</B>.
|
||||
<DD>
|
||||
This alters the default behavior of the completion functions. If
|
||||
set to
|
||||
<B>on</B>,
|
||||
<B>On</B>,
|
||||
|
||||
words which have more than one possible completion cause the
|
||||
matches to be listed immediately instead of ringing the bell.
|
||||
@@ -6798,7 +6805,7 @@ matches to be listed immediately instead of ringing the bell.
|
||||
This alters the default behavior of the completion functions in
|
||||
a fashion similar to <B>show-all-if-ambiguous</B>.
|
||||
If set to
|
||||
<B>on</B>,
|
||||
<B>On</B>,
|
||||
|
||||
words which have more than one possible completion without any
|
||||
possible partial completion (the possible completions don't share
|
||||
@@ -6872,7 +6879,7 @@ library sets the <I>application name</I>, and an initialization
|
||||
file can test for a particular value.
|
||||
This could be used to bind key sequences to functions useful for
|
||||
a specific program. For instance, the following command adds a
|
||||
key sequence that quotes the current or previous word in Bash:
|
||||
key sequence that quotes the current or previous word in <B>bash</B>:
|
||||
<P>
|
||||
<DL COMPACT><DT><DD>
|
||||
<PRE>
|
||||
@@ -7435,7 +7442,7 @@ of matches; a negative argument may be used to move backward
|
||||
through the list.
|
||||
This command is intended to be bound to <B>TAB</B>, but is unbound
|
||||
by default.
|
||||
<DT><B>menu-complete-rd</B>
|
||||
<DT><B>menu-complete-backward</B>
|
||||
|
||||
<DD>
|
||||
Identical to <B>menu-complete</B>, but moves backward through the list
|
||||
@@ -7617,7 +7624,7 @@ character. A negative count searches for previous occurrences.
|
||||
<DD>
|
||||
A character is read and point is moved to the previous occurrence of that
|
||||
character. A negative count searches for subsequent occurrences.
|
||||
<DT><B>skip-csi-sequence ()</B>
|
||||
<DT><B>skip-csi-sequence</B>
|
||||
|
||||
<DD>
|
||||
Read enough characters to consume a multi-key sequence such as those
|
||||
@@ -7720,7 +7727,7 @@ If the command word is a full pathname, a compspec for the full
|
||||
pathname is searched for first.
|
||||
If no compspec is found for the full pathname, an attempt is made to
|
||||
find a compspec for the portion following the final slash.
|
||||
If those searches to not result in a compspec, any compspec defined with
|
||||
If those searches do not result in a compspec, any compspec defined with
|
||||
the <B>-D</B> option to <B>complete</B> is used as the default.
|
||||
<P>
|
||||
|
||||
@@ -8199,6 +8206,8 @@ writing the history file.
|
||||
|
||||
An event designator is a reference to a command line entry in the
|
||||
history list.
|
||||
Unless the reference is absolute, events are relative to the current
|
||||
position in the history list.
|
||||
<P>
|
||||
|
||||
|
||||
@@ -8221,7 +8230,7 @@ Refer to command line
|
||||
<DT><B>!-</B><I>n</I>
|
||||
|
||||
<DD>
|
||||
Refer to the current command line minus
|
||||
Refer to the current command minus
|
||||
<I>n</I>.
|
||||
|
||||
<DT><B>!!</B>
|
||||
@@ -8231,13 +8240,15 @@ Refer to the previous command. This is a synonym for `!-1'.
|
||||
<DT><B>!</B><I>string</I>
|
||||
|
||||
<DD>
|
||||
Refer to the most recent command starting with
|
||||
Refer to the most recent command preceding the current position in the
|
||||
history list starting with
|
||||
<I>string</I>.
|
||||
|
||||
<DT><B>!?</B><I>string</I><B>[?]</B>
|
||||
|
||||
<DD>
|
||||
Refer to the most recent command containing
|
||||
Refer to the most recent command preceding the current postition in the
|
||||
history list containing
|
||||
<I>string</I>.
|
||||
|
||||
The trailing <B>?</B> may be omitted if
|
||||
@@ -8247,7 +8258,7 @@ is followed immediately by a newline.
|
||||
<DT><B></B><FONT SIZE=+2><B>^</B></FONT><B></B><I>string1</I><FONT SIZE=+2>^</FONT><I>string2</I><FONT SIZE=+2>^</FONT>
|
||||
|
||||
<DD>
|
||||
Quick substitution. Repeat the last command, replacing
|
||||
Quick substitution. Repeat the previous command, replacing
|
||||
<I>string1</I>
|
||||
|
||||
with
|
||||
@@ -9826,7 +9837,7 @@ return value greater than zero.
|
||||
|
||||
</FONT>
|
||||
is set to the index of the first non-option argument,
|
||||
and <B>name</B> is set to ?.
|
||||
and <I>name</I> is set to ?.
|
||||
<P>
|
||||
<B>getopts</B>
|
||||
|
||||
@@ -10750,9 +10761,9 @@ function and not during execution of a script by <B>.</B>,
|
||||
the return status is false.
|
||||
Any command associated with the <B>RETURN</B> trap is executed
|
||||
before execution resumes after the function or script.
|
||||
<DT><B>set</B> [<B>--abefhkmnptuvxBCEHPT</B>] [<B>-o</B> <I>option</I>] [<I>arg</I> ...]<DD>
|
||||
<DT><B>set</B> [<B>--abefhkmnptuvxBCEHPT</B>] [<B>-o</B> <I>option-name</I>] [<I>arg</I> ...]<DD>
|
||||
|
||||
<DT><B>set</B> [<B>+abefhkmnptuvxBCEHPT</B>] [<B>+o</B> <I>option</I>] [<I>arg</I> ...]<DD>
|
||||
<DT><B>set</B> [<B>+abefhkmnptuvxBCEHPT</B>] [<B>+o</B> <I>option-name</I>] [<I>arg</I> ...]<DD>
|
||||
|
||||
Without options, the name and value of each shell variable are displayed
|
||||
in a format that can be reused as input
|
||||
@@ -11390,7 +11401,7 @@ If set,
|
||||
<B>bash</B>
|
||||
|
||||
changes its behavior to that of version 3.1 with respect to quoted
|
||||
arguments to the conditional command's =~ operator.
|
||||
arguments to the conditional command's <B>=~</B> operator.
|
||||
<DT><B>compat32</B>
|
||||
|
||||
<DD>
|
||||
@@ -11398,7 +11409,8 @@ If set,
|
||||
<B>bash</B>
|
||||
|
||||
changes its behavior to that of version 3.2 with respect to locale-specific
|
||||
string comparison when using the conditional command's < and > operators.
|
||||
string comparison when using the conditional command's <B><</B> and <B>></B>
|
||||
operators.
|
||||
<DT><B>compat40</B>
|
||||
|
||||
<DD>
|
||||
@@ -11406,8 +11418,8 @@ If set,
|
||||
<B>bash</B>
|
||||
|
||||
changes its behavior to that of version 4.0 with respect to locale-specific
|
||||
string comparison when using the conditional command's < and > operators
|
||||
and the effect of interrupting a command list.
|
||||
string comparison when using the conditional command's <B><</B> and <B>></B>
|
||||
operators and the effect of interrupting a command list.
|
||||
<DT><B>compat41</B>
|
||||
|
||||
<DD>
|
||||
@@ -11958,8 +11970,8 @@ is
|
||||
the command
|
||||
<I>arg</I>
|
||||
|
||||
is executed each time a shell function or a script executed with the
|
||||
<B>.</B> or <B>source</B> builtins finishes executing.
|
||||
is executed each time a shell function or a script executed with
|
||||
the <B>.</B> or <B>source</B> builtins finishes executing.
|
||||
<P>
|
||||
|
||||
|
||||
@@ -12432,7 +12444,7 @@ as an argument to the
|
||||
|
||||
builtin command
|
||||
<DT>*<DD>
|
||||
Specifying a filename containing a slash as an argument to the
|
||||
specifying a filename containing a slash as an argument to the
|
||||
<B>-p</B>
|
||||
|
||||
option to the
|
||||
@@ -12466,7 +12478,7 @@ options to the
|
||||
|
||||
builtin command
|
||||
<DT>*<DD>
|
||||
Using the <B>enable</B> builtin command to enable disabled shell builtins
|
||||
using the <B>enable</B> builtin command to enable disabled shell builtins
|
||||
<DT>*<DD>
|
||||
specifying the
|
||||
<B>-p</B>
|
||||
@@ -12660,7 +12672,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%>2010 July 21<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
<TH ALIGN=LEFT width=33%>GNU Bash-4.2<TH ALIGN=CENTER width=33%>2010 September 6<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
</TR>
|
||||
</TABLE>
|
||||
<HR>
|
||||
@@ -12766,6 +12778,6 @@ There may be only one active coprocess at a time.
|
||||
</DL>
|
||||
<HR>
|
||||
This document was created by man2html from bash.1.<BR>
|
||||
Time: 21 July 2010 08:54:57 EDT
|
||||
Time: 25 October 2010 12:00:43 EDT
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Binary file not shown.
+2189
-2177
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+385
-376
File diff suppressed because it is too large
Load Diff
+194
-190
@@ -2,9 +2,9 @@ This is bashref.info, produced by makeinfo version 4.13 from
|
||||
/Users/chet/src/bash/src/doc/bashref.texi.
|
||||
|
||||
This text is a brief description of the features that are present in
|
||||
the Bash shell (version 4.2, 21 July 2010).
|
||||
the Bash shell (version 4.2, 20 October 2010).
|
||||
|
||||
This is Edition 4.2, last updated 21 July 2010, of `The GNU Bash
|
||||
This is Edition 4.2, last updated 20 October 2010, of `The GNU Bash
|
||||
Reference Manual', for `Bash', Version 4.2.
|
||||
|
||||
Copyright (C) 1988-2010 Free Software Foundation, Inc.
|
||||
@@ -38,9 +38,9 @@ Bash Features
|
||||
*************
|
||||
|
||||
This text is a brief description of the features that are present in
|
||||
the Bash shell (version 4.2, 21 July 2010).
|
||||
the Bash shell (version 4.2, 20 October 2010).
|
||||
|
||||
This is Edition 4.2, last updated 21 July 2010, of `The GNU Bash
|
||||
This is Edition 4.2, last updated 20 October 2010, of `The GNU Bash
|
||||
Reference Manual', for `Bash', Version 4.2.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -994,7 +994,7 @@ by the command (*note Redirections::). The file descriptors can be
|
||||
utilized as arguments to shell commands and redirections using standard
|
||||
word expansions.
|
||||
|
||||
The process id of the shell spawned to execute the coprocess is
|
||||
The process ID of the shell spawned to execute the coprocess is
|
||||
available as the value of the variable NAME_PID. The `wait' builtin
|
||||
command may be used to wait for the coprocess to terminate.
|
||||
|
||||
@@ -1193,7 +1193,7 @@ and `local' builtin commands.
|
||||
In the context where an assignment statement is assigning a value to
|
||||
a shell variable or array index (*note Arrays::), the `+=' operator can
|
||||
be used to append to or add to the variable's previous value. When
|
||||
`+=' is applied to a variable for which the integer attribute has been
|
||||
`+=' is applied to a variable for which the INTEGER attribute has been
|
||||
set, VALUE is evaluated as an arithmetic expression and added to the
|
||||
variable's current value, which is also evaluated. When `+=' is
|
||||
applied to an array variable using compound assignment (*note
|
||||
@@ -1496,9 +1496,9 @@ the variable formed from the rest of PARAMETER as the name of the
|
||||
variable; this variable is then expanded and that value is used in the
|
||||
rest of the substitution, rather than the value of PARAMETER itself.
|
||||
This is known as `indirect expansion'. The exceptions to this are the
|
||||
expansions of ${!PREFIX*} and ${!NAME[@]} described below. The
|
||||
exclamation point must immediately follow the left brace in order to
|
||||
introduce indirection.
|
||||
expansions of ${!PREFIX
|
||||
} and ${!NAME[@]} described below. The exclamation point must
|
||||
immediately follow the left brace in order to introduce indirection.
|
||||
|
||||
In each of the cases below, WORD is subject to tilde expansion,
|
||||
parameter expansion, command substitution, and arithmetic expansion.
|
||||
@@ -2637,7 +2637,7 @@ standard.
|
||||
|
||||
When the end of options is encountered, `getopts' exits with a
|
||||
return value greater than zero. `OPTIND' is set to the index of
|
||||
the first non-option argument, and `name' is set to `?'.
|
||||
the first non-option argument, and NAME is set to `?'.
|
||||
|
||||
`getopts' normally parses the positional parameters, but if more
|
||||
arguments are given in ARGS, `getopts' parses those instead.
|
||||
@@ -3568,8 +3568,8 @@ allows you to change the values of shell options and set the positional
|
||||
parameters, or to display the names and values of shell variables.
|
||||
|
||||
`set'
|
||||
set [--abefhkmnptuvxBCEHPT] [-o OPTION] [ARGUMENT ...]
|
||||
set [+abefhkmnptuvxBCEHPT] [+o OPTION] [ARGUMENT ...]
|
||||
set [--abefhkmnptuvxBCEHPT] [-o OPTION-NAME] [ARGUMENT ...]
|
||||
set [+abefhkmnptuvxBCEHPT] [+o OPTION-NAME] [ARGUMENT ...]
|
||||
|
||||
If no options or arguments are supplied, `set' displays the names
|
||||
and values of all shell variables and functions, sorted according
|
||||
@@ -3911,18 +3911,18 @@ This builtin allows you to change additional shell optional behavior.
|
||||
|
||||
`compat31'
|
||||
If set, Bash changes its behavior to that of version 3.1 with
|
||||
respect to quoted arguments to the conditional command's =~
|
||||
respect to quoted arguments to the conditional command's `=~'
|
||||
operator.
|
||||
|
||||
`compat32'
|
||||
If set, Bash changes its behavior to that of version 3.2 with
|
||||
respect to locale-specific string comparison when using the
|
||||
conditional command's < and > operators.
|
||||
conditional command's `<' and `>' operators.
|
||||
|
||||
`compat40'
|
||||
If set, Bash changes its behavior to that of version 4.0 with
|
||||
respect to locale-specific string comparison when using the
|
||||
conditional command's < and > operators and the effect of
|
||||
conditional command's `<' and `>' operators and the effect of
|
||||
interrupting a command list.
|
||||
|
||||
`compat41'
|
||||
@@ -4183,9 +4183,9 @@ In some cases, Bash assigns a default value to the variable.
|
||||
splits words as part of expansion.
|
||||
|
||||
`MAIL'
|
||||
If this parameter is set to a filename and the `MAILPATH' variable
|
||||
is not set, Bash informs the user of the arrival of mail in the
|
||||
specified file.
|
||||
If this parameter is set to a filename or directory name and the
|
||||
`MAILPATH' variable is not set, Bash informs the user of the
|
||||
arrival of mail in the specified file or Maildir-format directory.
|
||||
|
||||
`MAILPATH'
|
||||
A colon-separated list of filenames which the shell periodically
|
||||
@@ -4243,13 +4243,13 @@ Variables::).
|
||||
startup files. This variable is readonly.
|
||||
|
||||
`BASHPID'
|
||||
Expands to the process id of the current Bash process. This
|
||||
Expands to the process ID of the current Bash process. This
|
||||
differs from `$$' under certain circumstances, such as subshells
|
||||
that do not require Bash to be re-initialized.
|
||||
|
||||
`BASH_ALIASES'
|
||||
An associative array variable whose members correspond to the
|
||||
internal list of aliases as maintained by the `alias' builtin
|
||||
internal list of aliases as maintained by the `alias' builtin.
|
||||
(*note Bourne Shell Builtins::). Elements added to this array
|
||||
appear in the alias list; unsetting array elements cause aliases
|
||||
to be removed from the alias list.
|
||||
@@ -4434,7 +4434,7 @@ Variables::).
|
||||
`EMACS'
|
||||
If Bash finds this variable in the environment when the shell
|
||||
starts with value `t', it assumes that the shell is running in an
|
||||
emacs shell buffer and disables line editing.
|
||||
Emacs shell buffer and disables line editing.
|
||||
|
||||
`ENV'
|
||||
Similar to `BASH_ENV'; used when the shell is invoked in POSIX
|
||||
@@ -5064,14 +5064,14 @@ Invoked by remote shell daemon
|
||||
..............................
|
||||
|
||||
Bash attempts to determine when it is being run with its standard input
|
||||
connected to a a network connection, as if by the remote shell daemon,
|
||||
usually `rshd', or the secure shell daemon `sshd'. If Bash determines
|
||||
it is being run in this fashion, it reads and executes commands from
|
||||
`~/.bashrc', if that file exists and is readable. It will not do this
|
||||
if invoked as `sh'. The `--norc' option may be used to inhibit this
|
||||
behavior, and the `--rcfile' option may be used to force another file
|
||||
to be read, but `rshd' does not generally invoke the shell with those
|
||||
options or allow them to be specified.
|
||||
connected to a network connection, as when executed by the remote shell
|
||||
daemon, usually `rshd', or the secure shell daemon `sshd'. If Bash
|
||||
determines it is being run in this fashion, it reads and executes
|
||||
commands from `~/.bashrc', if that file exists and is readable. It
|
||||
will not do this if invoked as `sh'. The `--norc' option may be used
|
||||
to inhibit this behavior, and the `--rcfile' option may be used to
|
||||
force another file to be read, but `rshd' does not generally invoke the
|
||||
shell with those options or allow them to be specified.
|
||||
|
||||
Invoked with unequal effective and real UID/GIDs
|
||||
................................................
|
||||
@@ -5436,7 +5436,7 @@ expansion syntax. The value of a variable is evaluated as an
|
||||
arithmetic expression when it is referenced, or when a variable which
|
||||
has been given the INTEGER attribute using `declare -i' is assigned a
|
||||
value. A null value evaluates to 0. A shell variable need not have
|
||||
its integer attribute turned on to be used in an expression.
|
||||
its INTEGER attribute turned on to be used in an expression.
|
||||
|
||||
Constants with a leading 0 are interpreted as octal numbers. A
|
||||
leading `0x' or `0X' denotes hexadecimal. Otherwise, numbers take the
|
||||
@@ -5954,17 +5954,15 @@ startup files.
|
||||
options, redirection errors, variable assignment errors for
|
||||
assignments preceding the command name, and so on.
|
||||
|
||||
23. If `CDPATH' is set, the `cd' builtin will not implicitly append
|
||||
the current directory to it. This means that `cd' will fail if no
|
||||
valid directory name can be constructed from any of the entries in
|
||||
`$CDPATH', even if the a directory with the same name as the name
|
||||
given as an argument to `cd' exists in the current directory.
|
||||
|
||||
24. A non-interactive shell exits with an error status if a variable
|
||||
23. A non-interactive shell exits with an error status if a variable
|
||||
assignment error occurs when no command name follows the assignment
|
||||
statements. A variable assignment error occurs, for example, when
|
||||
trying to assign a value to a readonly variable.
|
||||
|
||||
24. A non-interactive shell exists with an error status if a variable
|
||||
assignment error occurs in an assignment statement preceding a
|
||||
special builtin, but not with any other simple command.
|
||||
|
||||
25. A non-interactive shell exits with an error status if the iteration
|
||||
variable in a `for' statement or the selection variable in a
|
||||
`select' statement is a readonly variable.
|
||||
@@ -6015,35 +6013,32 @@ startup files.
|
||||
argument does not refer to an existing directory, `cd' will fail
|
||||
instead of falling back to PHYSICAL mode.
|
||||
|
||||
39. When the `pwd' builtin is supplied the `-P' option, it resets
|
||||
`$PWD' to a pathname containing no symlinks.
|
||||
|
||||
40. The `pwd' builtin verifies that the value it prints is the same as
|
||||
39. The `pwd' builtin verifies that the value it prints is the same as
|
||||
the current directory, even if it is not asked to check the file
|
||||
system with the `-P' option.
|
||||
|
||||
41. When listing the history, the `fc' builtin does not include an
|
||||
40. When listing the history, the `fc' builtin does not include an
|
||||
indication of whether or not a history entry has been modified.
|
||||
|
||||
42. The default editor used by `fc' is `ed'.
|
||||
41. The default editor used by `fc' is `ed'.
|
||||
|
||||
43. The `type' and `command' builtins will not report a non-executable
|
||||
42. The `type' and `command' builtins will not report a non-executable
|
||||
file as having been found, though the shell will attempt to
|
||||
execute such a file if it is the only so-named file found in
|
||||
`$PATH'.
|
||||
|
||||
44. The `vi' editing mode will invoke the `vi' editor directly when
|
||||
43. The `vi' editing mode will invoke the `vi' editor directly when
|
||||
the `v' command is run, instead of checking `$VISUAL' and
|
||||
`$EDITOR'.
|
||||
|
||||
45. When the `xpg_echo' option is enabled, Bash does not attempt to
|
||||
44. When the `xpg_echo' option is enabled, Bash does not attempt to
|
||||
interpret any arguments to `echo' as options. Each argument is
|
||||
displayed, after escape characters are converted.
|
||||
|
||||
46. The `ulimit' builtin uses a block size of 512 bytes for the `-c'
|
||||
45. The `ulimit' builtin uses a block size of 512 bytes for the `-c'
|
||||
and `-f' options.
|
||||
|
||||
47. The arrival of `SIGCHLD' when a trap is set on `SIGCHLD' does not
|
||||
46. The arrival of `SIGCHLD' when a trap is set on `SIGCHLD' does not
|
||||
interrupt the `wait' builtin and cause it to return immediately.
|
||||
The trap command is run once for each child that exits.
|
||||
|
||||
@@ -6308,7 +6303,7 @@ Command line editing is enabled by default when using an interactive
|
||||
shell, unless the `--noediting' option is supplied at shell invocation.
|
||||
Line editing is also used when using the `-e' option to the `read'
|
||||
builtin command (*note Bash Builtins::). By default, the line editing
|
||||
commands are similar to those of emacs. A vi-style line editing
|
||||
commands are similar to those of Emacs. A vi-style line editing
|
||||
interface is also available. Line editing can be enabled at any time
|
||||
using the `-o emacs' or `-o vi' options to the `set' builtin command
|
||||
(*note The Set Builtin::), or disabled using the `+o emacs' or `+o vi'
|
||||
@@ -6802,6 +6797,11 @@ Variable Settings
|
||||
`.' must be supplied by the user in the filename to be
|
||||
completed. This variable is `on' by default.
|
||||
|
||||
`menu-complete-display-prefix'
|
||||
If set to `on', menu completion displays the common prefix of
|
||||
the list of possible completions (which may be empty) before
|
||||
cycling through the list. The default is `off'.
|
||||
|
||||
`output-meta'
|
||||
If set to `on', Readline will display characters with the
|
||||
eighth bit set directly rather than as a meta-prefixed escape
|
||||
@@ -8341,7 +8341,8 @@ File: bashref.info, Node: Event Designators, Next: Word Designators, Up: Hist
|
||||
-----------------------
|
||||
|
||||
An event designator is a reference to a command line entry in the
|
||||
history list.
|
||||
history list. Unless the reference is absolute, events are relative to
|
||||
the current position in the history list.
|
||||
|
||||
`!'
|
||||
Start a history substitution, except when followed by a space, tab,
|
||||
@@ -8358,12 +8359,13 @@ history list.
|
||||
Refer to the previous command. This is a synonym for `!-1'.
|
||||
|
||||
`!STRING'
|
||||
Refer to the most recent command starting with STRING.
|
||||
Refer to the most recent command preceding the current position in
|
||||
the history list starting with STRING.
|
||||
|
||||
`!?STRING[?]'
|
||||
Refer to the most recent command containing STRING. The trailing
|
||||
`?' may be omitted if the STRING is followed immediately by a
|
||||
newline.
|
||||
Refer to the most recent command preceding the current position in
|
||||
the history list containing STRING. The trailing `?' may be
|
||||
omitted if the STRING is followed immediately by a newline.
|
||||
|
||||
`^STRING1^STRING2^'
|
||||
Quick Substitution. Repeat the last command, replacing STRING1
|
||||
@@ -10137,6 +10139,8 @@ D.3 Parameter and Variable Index
|
||||
(line 177)
|
||||
* match-hidden-files: Readline Init File Syntax.
|
||||
(line 182)
|
||||
* menu-complete-display-prefix: Readline Init File Syntax.
|
||||
(line 189)
|
||||
* meta-flag: Readline Init File Syntax.
|
||||
(line 145)
|
||||
* OLDPWD: Bash Variables. (line 436)
|
||||
@@ -10147,9 +10151,9 @@ D.3 Parameter and Variable Index
|
||||
(line 38)
|
||||
* OSTYPE: Bash Variables. (line 443)
|
||||
* output-meta: Readline Init File Syntax.
|
||||
(line 189)
|
||||
* page-completions: Readline Init File Syntax.
|
||||
(line 194)
|
||||
* page-completions: Readline Init File Syntax.
|
||||
(line 199)
|
||||
* PATH: Bourne Shell Variables.
|
||||
(line 42)
|
||||
* PIPESTATUS: Bash Variables. (line 446)
|
||||
@@ -10169,17 +10173,17 @@ D.3 Parameter and Variable Index
|
||||
* READLINE_POINT: Bash Variables. (line 497)
|
||||
* REPLY: Bash Variables. (line 501)
|
||||
* revert-all-at-newline: Readline Init File Syntax.
|
||||
(line 204)
|
||||
(line 209)
|
||||
* SECONDS: Bash Variables. (line 504)
|
||||
* SHELL: Bash Variables. (line 510)
|
||||
* SHELLOPTS: Bash Variables. (line 515)
|
||||
* SHLVL: Bash Variables. (line 524)
|
||||
* show-all-if-ambiguous: Readline Init File Syntax.
|
||||
(line 210)
|
||||
(line 215)
|
||||
* show-all-if-unmodified: Readline Init File Syntax.
|
||||
(line 216)
|
||||
(line 221)
|
||||
* skip-completed-text: Readline Init File Syntax.
|
||||
(line 225)
|
||||
(line 230)
|
||||
* TEXTDOMAIN: Locale Translation. (line 11)
|
||||
* TEXTDOMAINDIR: Locale Translation. (line 11)
|
||||
* TIMEFORMAT: Bash Variables. (line 529)
|
||||
@@ -10187,7 +10191,7 @@ D.3 Parameter and Variable Index
|
||||
* TMPDIR: Bash Variables. (line 579)
|
||||
* UID: Bash Variables. (line 583)
|
||||
* visible-stats: Readline Init File Syntax.
|
||||
(line 238)
|
||||
(line 243)
|
||||
|
||||
|
||||
File: bashref.info, Node: Function Index, Next: Concept Index, Prev: Variable Index, Up: Indexes
|
||||
@@ -10374,7 +10378,7 @@ D.5 Concept Index
|
||||
* functions, shell: Shell Functions. (line 6)
|
||||
* history builtins: Bash History Builtins.
|
||||
(line 6)
|
||||
* history events: Event Designators. (line 7)
|
||||
* history events: Event Designators. (line 8)
|
||||
* history expansion: History Interaction. (line 6)
|
||||
* history list: Bash History Facilities.
|
||||
(line 6)
|
||||
@@ -10456,133 +10460,133 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top1338
|
||||
Node: Introduction3169
|
||||
Node: What is Bash?3397
|
||||
Node: What is a shell?4510
|
||||
Node: Definitions7050
|
||||
Node: Basic Shell Features9968
|
||||
Node: Shell Syntax11187
|
||||
Node: Shell Operation12217
|
||||
Node: Quoting13511
|
||||
Node: Escape Character14814
|
||||
Node: Single Quotes15299
|
||||
Node: Double Quotes15647
|
||||
Node: ANSI-C Quoting16772
|
||||
Node: Locale Translation18016
|
||||
Node: Comments18912
|
||||
Node: Shell Commands19530
|
||||
Node: Simple Commands20402
|
||||
Node: Pipelines21033
|
||||
Node: Lists23727
|
||||
Node: Compound Commands25456
|
||||
Node: Looping Constructs26260
|
||||
Node: Conditional Constructs28719
|
||||
Node: Command Grouping36832
|
||||
Node: Coprocesses38311
|
||||
Node: GNU Parallel39976
|
||||
Node: Shell Functions42444
|
||||
Node: Shell Parameters47388
|
||||
Node: Positional Parameters49804
|
||||
Node: Special Parameters50704
|
||||
Node: Shell Expansions53668
|
||||
Node: Brace Expansion55593
|
||||
Node: Tilde Expansion58348
|
||||
Node: Shell Parameter Expansion60699
|
||||
Node: Command Substitution69834
|
||||
Node: Arithmetic Expansion71167
|
||||
Node: Process Substitution72017
|
||||
Node: Word Splitting73067
|
||||
Node: Filename Expansion74690
|
||||
Node: Pattern Matching76829
|
||||
Node: Quote Removal80468
|
||||
Node: Redirections80763
|
||||
Node: Executing Commands89288
|
||||
Node: Simple Command Expansion89958
|
||||
Node: Command Search and Execution91888
|
||||
Node: Command Execution Environment94225
|
||||
Node: Environment97211
|
||||
Node: Exit Status98871
|
||||
Node: Signals100492
|
||||
Node: Shell Scripts102460
|
||||
Node: Shell Builtin Commands104978
|
||||
Node: Bourne Shell Builtins107006
|
||||
Node: Bash Builtins124684
|
||||
Node: Modifying Shell Behavior150898
|
||||
Node: The Set Builtin151243
|
||||
Node: The Shopt Builtin160767
|
||||
Node: Special Builtins172722
|
||||
Node: Shell Variables173701
|
||||
Node: Bourne Shell Variables174141
|
||||
Node: Bash Variables176122
|
||||
Node: Bash Features201046
|
||||
Node: Invoking Bash201929
|
||||
Node: Bash Startup Files207693
|
||||
Node: Interactive Shells212705
|
||||
Node: What is an Interactive Shell?213115
|
||||
Node: Is this Shell Interactive?213764
|
||||
Node: Interactive Shell Behavior214579
|
||||
Node: Bash Conditional Expressions217859
|
||||
Node: Shell Arithmetic221607
|
||||
Node: Aliases224366
|
||||
Node: Arrays226938
|
||||
Node: The Directory Stack231053
|
||||
Node: Directory Stack Builtins231767
|
||||
Node: Printing a Prompt234659
|
||||
Node: The Restricted Shell237411
|
||||
Node: Bash POSIX Mode239243
|
||||
Node: Job Control248173
|
||||
Node: Job Control Basics248633
|
||||
Node: Job Control Builtins253350
|
||||
Node: Job Control Variables257714
|
||||
Node: Command Line Editing258872
|
||||
Node: Introduction and Notation260439
|
||||
Node: Readline Interaction262061
|
||||
Node: Readline Bare Essentials263252
|
||||
Node: Readline Movement Commands265041
|
||||
Node: Readline Killing Commands266006
|
||||
Node: Readline Arguments267926
|
||||
Node: Searching268970
|
||||
Node: Readline Init File271156
|
||||
Node: Readline Init File Syntax272303
|
||||
Node: Conditional Init Constructs287407
|
||||
Node: Sample Init File289940
|
||||
Node: Bindable Readline Commands293057
|
||||
Node: Commands For Moving294264
|
||||
Node: Commands For History295408
|
||||
Node: Commands For Text298563
|
||||
Node: Commands For Killing301236
|
||||
Node: Numeric Arguments303687
|
||||
Node: Commands For Completion304826
|
||||
Node: Keyboard Macros309018
|
||||
Node: Miscellaneous Commands309589
|
||||
Node: Readline vi Mode315395
|
||||
Node: Programmable Completion316302
|
||||
Node: Programmable Completion Builtins323512
|
||||
Node: Using History Interactively332648
|
||||
Node: Bash History Facilities333332
|
||||
Node: Bash History Builtins336246
|
||||
Node: History Interaction340103
|
||||
Node: Event Designators342808
|
||||
Node: Word Designators343823
|
||||
Node: Modifiers345462
|
||||
Node: Installing Bash346866
|
||||
Node: Basic Installation348003
|
||||
Node: Compilers and Options350695
|
||||
Node: Compiling For Multiple Architectures351436
|
||||
Node: Installation Names353100
|
||||
Node: Specifying the System Type353918
|
||||
Node: Sharing Defaults354634
|
||||
Node: Operation Controls355307
|
||||
Node: Optional Features356265
|
||||
Node: Reporting Bugs365824
|
||||
Node: Major Differences From The Bourne Shell367025
|
||||
Node: GNU Free Documentation License383712
|
||||
Node: Indexes408908
|
||||
Node: Builtin Index409362
|
||||
Node: Reserved Word Index416189
|
||||
Node: Variable Index418637
|
||||
Node: Function Index431591
|
||||
Node: Concept Index438600
|
||||
Node: Top1344
|
||||
Node: Introduction3181
|
||||
Node: What is Bash?3409
|
||||
Node: What is a shell?4522
|
||||
Node: Definitions7062
|
||||
Node: Basic Shell Features9980
|
||||
Node: Shell Syntax11199
|
||||
Node: Shell Operation12229
|
||||
Node: Quoting13523
|
||||
Node: Escape Character14826
|
||||
Node: Single Quotes15311
|
||||
Node: Double Quotes15659
|
||||
Node: ANSI-C Quoting16784
|
||||
Node: Locale Translation18028
|
||||
Node: Comments18924
|
||||
Node: Shell Commands19542
|
||||
Node: Simple Commands20414
|
||||
Node: Pipelines21045
|
||||
Node: Lists23739
|
||||
Node: Compound Commands25468
|
||||
Node: Looping Constructs26272
|
||||
Node: Conditional Constructs28731
|
||||
Node: Command Grouping36844
|
||||
Node: Coprocesses38323
|
||||
Node: GNU Parallel39988
|
||||
Node: Shell Functions42456
|
||||
Node: Shell Parameters47400
|
||||
Node: Positional Parameters49816
|
||||
Node: Special Parameters50716
|
||||
Node: Shell Expansions53680
|
||||
Node: Brace Expansion55605
|
||||
Node: Tilde Expansion58360
|
||||
Node: Shell Parameter Expansion60711
|
||||
Node: Command Substitution69846
|
||||
Node: Arithmetic Expansion71179
|
||||
Node: Process Substitution72029
|
||||
Node: Word Splitting73079
|
||||
Node: Filename Expansion74702
|
||||
Node: Pattern Matching76841
|
||||
Node: Quote Removal80480
|
||||
Node: Redirections80775
|
||||
Node: Executing Commands89300
|
||||
Node: Simple Command Expansion89970
|
||||
Node: Command Search and Execution91900
|
||||
Node: Command Execution Environment94237
|
||||
Node: Environment97223
|
||||
Node: Exit Status98883
|
||||
Node: Signals100504
|
||||
Node: Shell Scripts102472
|
||||
Node: Shell Builtin Commands104990
|
||||
Node: Bourne Shell Builtins107018
|
||||
Node: Bash Builtins124694
|
||||
Node: Modifying Shell Behavior150908
|
||||
Node: The Set Builtin151253
|
||||
Node: The Shopt Builtin160787
|
||||
Node: Special Builtins172752
|
||||
Node: Shell Variables173731
|
||||
Node: Bourne Shell Variables174171
|
||||
Node: Bash Variables176198
|
||||
Node: Bash Features201123
|
||||
Node: Invoking Bash202006
|
||||
Node: Bash Startup Files207770
|
||||
Node: Interactive Shells212791
|
||||
Node: What is an Interactive Shell?213201
|
||||
Node: Is this Shell Interactive?213850
|
||||
Node: Interactive Shell Behavior214665
|
||||
Node: Bash Conditional Expressions217945
|
||||
Node: Shell Arithmetic221693
|
||||
Node: Aliases224452
|
||||
Node: Arrays227024
|
||||
Node: The Directory Stack231139
|
||||
Node: Directory Stack Builtins231853
|
||||
Node: Printing a Prompt234745
|
||||
Node: The Restricted Shell237497
|
||||
Node: Bash POSIX Mode239329
|
||||
Node: Job Control247990
|
||||
Node: Job Control Basics248450
|
||||
Node: Job Control Builtins253167
|
||||
Node: Job Control Variables257531
|
||||
Node: Command Line Editing258689
|
||||
Node: Introduction and Notation260256
|
||||
Node: Readline Interaction261878
|
||||
Node: Readline Bare Essentials263069
|
||||
Node: Readline Movement Commands264858
|
||||
Node: Readline Killing Commands265823
|
||||
Node: Readline Arguments267743
|
||||
Node: Searching268787
|
||||
Node: Readline Init File270973
|
||||
Node: Readline Init File Syntax272120
|
||||
Node: Conditional Init Constructs287462
|
||||
Node: Sample Init File289995
|
||||
Node: Bindable Readline Commands293112
|
||||
Node: Commands For Moving294319
|
||||
Node: Commands For History295463
|
||||
Node: Commands For Text298618
|
||||
Node: Commands For Killing301291
|
||||
Node: Numeric Arguments303742
|
||||
Node: Commands For Completion304881
|
||||
Node: Keyboard Macros309073
|
||||
Node: Miscellaneous Commands309644
|
||||
Node: Readline vi Mode315450
|
||||
Node: Programmable Completion316357
|
||||
Node: Programmable Completion Builtins323567
|
||||
Node: Using History Interactively332703
|
||||
Node: Bash History Facilities333387
|
||||
Node: Bash History Builtins336301
|
||||
Node: History Interaction340158
|
||||
Node: Event Designators342863
|
||||
Node: Word Designators344085
|
||||
Node: Modifiers345724
|
||||
Node: Installing Bash347128
|
||||
Node: Basic Installation348265
|
||||
Node: Compilers and Options350957
|
||||
Node: Compiling For Multiple Architectures351698
|
||||
Node: Installation Names353362
|
||||
Node: Specifying the System Type354180
|
||||
Node: Sharing Defaults354896
|
||||
Node: Operation Controls355569
|
||||
Node: Optional Features356527
|
||||
Node: Reporting Bugs366086
|
||||
Node: Major Differences From The Bourne Shell367287
|
||||
Node: GNU Free Documentation License383974
|
||||
Node: Indexes409170
|
||||
Node: Builtin Index409624
|
||||
Node: Reserved Word Index416451
|
||||
Node: Variable Index418899
|
||||
Node: Function Index431994
|
||||
Node: Concept Index439003
|
||||
|
||||
End Tag Table
|
||||
|
||||
+12
-12
@@ -1,4 +1,4 @@
|
||||
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 21 JUL 2010 08:54
|
||||
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 25 OCT 2010 12:00
|
||||
**/Users/chet/src/bash/src/doc/bashref.texi
|
||||
(/Users/chet/src/bash/src/doc/bashref.texi (./texinfo.tex
|
||||
Loading texinfo [version 2009-01-18.17]:
|
||||
@@ -260,7 +260,7 @@ rs@texttt ] [-p @textttsl prompt@texttt ] [-t @textttsl time-
|
||||
|
||||
[50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] Chapter 5 [62]
|
||||
[63] [64] [65] [66] [67] [68] [69] [70] [71] Chapter 6 [72]
|
||||
Overfull \hbox (51.96864pt too wide) in paragraph at lines 5483--5483
|
||||
Overfull \hbox (51.96864pt too wide) in paragraph at lines 5485--5485
|
||||
[]@texttt bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@t
|
||||
exttt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
|
||||
@@ -273,7 +273,7 @@ exttt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
.etc.
|
||||
|
||||
|
||||
Overfull \hbox (76.23077pt too wide) in paragraph at lines 5484--5484
|
||||
Overfull \hbox (76.23077pt too wide) in paragraph at lines 5486--5486
|
||||
[]@texttt bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@texttt
|
||||
] [-O @textttsl shopt_option@texttt ] -c @textttsl string @texttt [@textttsl ar
|
||||
-
|
||||
@@ -287,7 +287,7 @@ Overfull \hbox (76.23077pt too wide) in paragraph at lines 5484--5484
|
||||
.etc.
|
||||
|
||||
|
||||
Overfull \hbox (34.72258pt too wide) in paragraph at lines 5485--5485
|
||||
Overfull \hbox (34.72258pt too wide) in paragraph at lines 5487--5487
|
||||
[]@texttt bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@text
|
||||
tt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
|
||||
@@ -300,7 +300,7 @@ tt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
.etc.
|
||||
|
||||
[73] [74]
|
||||
Underfull \hbox (badness 2245) in paragraph at lines 5658--5660
|
||||
Underfull \hbox (badness 2245) in paragraph at lines 5660--5662
|
||||
[]@textrm When a lo-gin shell ex-its, Bash reads and ex-e-cutes com-mands from
|
||||
the file
|
||||
|
||||
@@ -313,7 +313,7 @@ the file
|
||||
.etc.
|
||||
|
||||
[75] [76] [77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88]
|
||||
Underfull \hbox (badness 2521) in paragraph at lines 6834--6837
|
||||
Underfull \hbox (badness 2521) in paragraph at lines 6829--6832
|
||||
@textrm `@texttt --enable-strict-posix-default[]@textrm '[] to @texttt configur
|
||||
e[] @textrm when build-ing (see Sec-tion 10.8
|
||||
|
||||
@@ -341,7 +341,7 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
|
||||
.etc.
|
||||
|
||||
[101] [102] [103] [104] [105]
|
||||
Overfull \hbox (26.43913pt too wide) in paragraph at lines 888--888
|
||||
Overfull \hbox (26.43913pt too wide) in paragraph at lines 894--894
|
||||
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i
|
||||
gnored[]
|
||||
|
||||
@@ -355,7 +355,7 @@ gnored[]
|
||||
|
||||
[106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117]
|
||||
[118]
|
||||
Overfull \hbox (12.05716pt too wide) in paragraph at lines 1809--1809
|
||||
Overfull \hbox (12.05716pt too wide) in paragraph at lines 1815--1815
|
||||
[]@texttt complete [-abcdefgjksuv] [-o @textttsl comp-option@texttt ] [-DE] [-
|
||||
A @textttsl ac-tion@texttt ] [-
|
||||
|
||||
@@ -368,7 +368,7 @@ A @textttsl ac-tion@texttt ] [-
|
||||
.etc.
|
||||
|
||||
[119] [120]
|
||||
Underfull \hbox (badness 2753) in paragraph at lines 1919--1922
|
||||
Underfull \hbox (badness 2753) in paragraph at lines 1925--1928
|
||||
@texttt hostname[]@textrm Hostnames, as taken from the file spec-i-fied by
|
||||
|
||||
@hbox(7.60416+2.12917)x433.62, glue set 3.02202
|
||||
@@ -381,7 +381,7 @@ Underfull \hbox (badness 2753) in paragraph at lines 1919--1922
|
||||
|
||||
[121]) (/Users/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9
|
||||
[122] [123] [124] [125] [126]) Chapter 10 [127] [128] [129] [130] [131]
|
||||
Underfull \hbox (badness 2772) in paragraph at lines 7435--7439
|
||||
Underfull \hbox (badness 2772) in paragraph at lines 7430--7434
|
||||
[]@textrm Enable sup-port for large files (@texttt http://www.sas.com/standard
|
||||
s/large_
|
||||
|
||||
@@ -401,10 +401,10 @@ s/large_
|
||||
Here is how much of TeX's memory you used:
|
||||
2081 strings out of 97980
|
||||
28558 string characters out of 1221004
|
||||
65605 words of memory out of 1500000
|
||||
65620 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
|
||||
51 hyphenation exceptions out of 8191
|
||||
16i,6n,14p,315b,702s stack positions out of 5000i,500n,6000p,200000b,5000s
|
||||
|
||||
Output written on bashref.dvi (166 pages, 678492 bytes).
|
||||
Output written on bashref.dvi (166 pages, 679016 bytes).
|
||||
|
||||
Binary file not shown.
+1198
-1195
File diff suppressed because it is too large
Load Diff
+6
-13
@@ -1717,7 +1717,7 @@ Bash uses the value of the variable formed from the rest of
|
||||
expanded and that value is used in the rest of the substitution, rather
|
||||
than the value of @var{parameter} itself.
|
||||
This is known as @code{indirect expansion}.
|
||||
The exceptions to this are the expansions of $@{!@var{prefix}@*}
|
||||
The exceptions to this are the expansions of $@{!@var{prefix}@*@}
|
||||
and $@{!@var{name}[@@]@}
|
||||
described below.
|
||||
The exclamation point must immediately follow the left brace in order to
|
||||
@@ -6694,14 +6694,6 @@ the @sc{posix} standard, and include things like passing incorrect options,
|
||||
redirection errors, variable assignment errors for assignments preceding
|
||||
the command name, and so on.
|
||||
|
||||
@item
|
||||
If @env{CDPATH} is set, the @code{cd} builtin will not implicitly
|
||||
append the current directory to it. This means that @code{cd} will
|
||||
fail if no valid directory name can be constructed from
|
||||
any of the entries in @env{$CDPATH}, even if the a directory with
|
||||
the same name as the name given as an argument to @code{cd} exists
|
||||
in the current directory.
|
||||
|
||||
@item
|
||||
A non-interactive shell exits with an error status if a variable
|
||||
assignment error occurs when no command name follows the assignment
|
||||
@@ -6709,6 +6701,11 @@ statements.
|
||||
A variable assignment error occurs, for example, when trying to assign
|
||||
a value to a readonly variable.
|
||||
|
||||
@item
|
||||
A non-interactive shell exists with an error status if a variable
|
||||
assignment error occurs in an assignment statement preceding a special
|
||||
builtin, but not with any other simple command.
|
||||
|
||||
@item
|
||||
A non-interactive shell exits with an error status if the iteration
|
||||
variable in a @code{for} statement or the selection variable in a
|
||||
@@ -6774,10 +6771,6 @@ constructed from @code{$PWD} and the directory name supplied as an argument
|
||||
does not refer to an existing directory, @code{cd} will fail instead of
|
||||
falling back to @var{physical} mode.
|
||||
|
||||
@item
|
||||
When the @code{pwd} builtin is supplied the @option{-P} option, it resets
|
||||
@code{$PWD} to a pathname containing no symlinks.
|
||||
|
||||
@item
|
||||
The @code{pwd} builtin verifies that the value it prints is the same as the
|
||||
current directory, even if it is not asked to check the file system with the
|
||||
|
||||
+2
-1
@@ -128,10 +128,11 @@
|
||||
\entry{mark-modified-lines}{101}{\code {mark-modified-lines}}
|
||||
\entry{mark-symlinked-directories}{101}{\code {mark-symlinked-directories}}
|
||||
\entry{match-hidden-files}{101}{\code {match-hidden-files}}
|
||||
\entry{menu-complete-display-prefix}{102}{\code {menu-complete-display-prefix}}
|
||||
\entry{output-meta}{102}{\code {output-meta}}
|
||||
\entry{page-completions}{102}{\code {page-completions}}
|
||||
\entry{revert-all-at-newline}{102}{\code {revert-all-at-newline}}
|
||||
\entry{show-all-if-ambiguous}{102}{\code {show-all-if-ambiguous}}
|
||||
\entry{show-all-if-unmodified}{102}{\code {show-all-if-unmodified}}
|
||||
\entry{skip-completed-text}{102}{\code {skip-completed-text}}
|
||||
\entry{visible-stats}{102}{\code {visible-stats}}
|
||||
\entry{visible-stats}{103}{\code {visible-stats}}
|
||||
|
||||
+2
-1
@@ -117,6 +117,7 @@
|
||||
\entry {\code {mark-modified-lines}}{101}
|
||||
\entry {\code {mark-symlinked-directories}}{101}
|
||||
\entry {\code {match-hidden-files}}{101}
|
||||
\entry {\code {menu-complete-display-prefix}}{102}
|
||||
\entry {\code {meta-flag}}{101}
|
||||
\initial {O}
|
||||
\entry {\code {OLDPWD}}{70}
|
||||
@@ -161,4 +162,4 @@
|
||||
\initial {U}
|
||||
\entry {\code {UID}}{72}
|
||||
\initial {V}
|
||||
\entry {\code {visible-stats}}{102}
|
||||
\entry {\code {visible-stats}}{103}
|
||||
|
||||
+6
-6
@@ -601,7 +601,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
|
||||
When the end of options is encountered, ggeettooppttss exits with a
|
||||
return value greater than zero. OOPPTTIINNDD is set to the index of
|
||||
the first non-option argument, and nnaammee is set to ?.
|
||||
the first non-option argument, and _n_a_m_e is set to ?.
|
||||
|
||||
ggeettooppttss normally parses the positional parameters, but if more
|
||||
arguments are given in _a_r_g_s, ggeettooppttss parses those instead.
|
||||
@@ -983,8 +983,8 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
status is false. Any command associated with the RREETTUURRNN trap is
|
||||
executed before execution resumes after the function or script.
|
||||
|
||||
sseett [----aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [--oo _o_p_t_i_o_n] [_a_r_g ...]
|
||||
sseett [++aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [++oo _o_p_t_i_o_n] [_a_r_g ...]
|
||||
sseett [----aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [--oo _o_p_t_i_o_n_-_n_a_m_e] [_a_r_g ...]
|
||||
sseett [++aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [++oo _o_p_t_i_o_n_-_n_a_m_e] [_a_r_g ...]
|
||||
Without options, the name and value of each shell variable are
|
||||
displayed in a format that can be reused as input for setting or
|
||||
resetting the currently-set variables. Read-only variables can-
|
||||
@@ -1228,15 +1228,15 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
ccoommppaatt3311
|
||||
If set, bbaasshh changes its behavior to that of version 3.1
|
||||
with respect to quoted arguments to the conditional com-
|
||||
mand's =~ operator.
|
||||
mand's ==~~ operator.
|
||||
ccoommppaatt3322
|
||||
If set, bbaasshh changes its behavior to that of version 3.2
|
||||
with respect to locale-specific string comparison when
|
||||
using the conditional command's < and > operators.
|
||||
using the conditional command's << and >> operators.
|
||||
ccoommppaatt4400
|
||||
If set, bbaasshh changes its behavior to that of version 4.0
|
||||
with respect to locale-specific string comparison when
|
||||
using the conditional command's < and > operators and
|
||||
using the conditional command's << and >> operators and
|
||||
the effect of interrupting a command list.
|
||||
ccoommppaatt4411
|
||||
@item compat41 If set, bbaasshh, when in posix mode, treats
|
||||
|
||||
+31
-30
@@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0
|
||||
%%Creator: groff version 1.19.2
|
||||
%%CreationDate: Wed Jul 21 08:54:49 2010
|
||||
%%CreationDate: Mon Oct 25 10:55:37 2010
|
||||
%%DocumentNeededResources: font Times-Roman
|
||||
%%+ font Times-Bold
|
||||
%%+ font Times-Italic
|
||||
@@ -1192,7 +1192,7 @@ Q 2.043(When the end of options is encountered,)144 710.4 R F1(getopts)
|
||||
4.543 E F0 -.15(ex)4.543 G 2.043(its with a return v).15 F 2.044
|
||||
(alue greater than zero.)-.25 F F4(OPTIND)144 722.4 Q F0
|
||||
(is set to the inde)2.25 E 2.5(xo)-.15 G 2.5(ft)-2.5 G
|
||||
(he \214rst non-option ar)-2.5 E(gument, and)-.18 E F1(name)2.5 E F0
|
||||
(he \214rst non-option ar)-2.5 E(gument, and)-.18 E F2(name)2.5 E F0
|
||||
(is set to ?.)2.5 E(GNU Bash-4.0)72 768 Q(2004 Apr 20)148.735 E(8)
|
||||
203.725 E 0 Cg EP
|
||||
%%Page: 9 9
|
||||
@@ -1781,12 +1781,13 @@ E F0 .246(or the e)2.985 F .246(xit status of the last command e)-.15 F
|
||||
4.805 E F0 2.306(trap is e)4.806 F -.15(xe)-.15 G 2.306(cuted before e)
|
||||
.15 F -.15(xe)-.15 G(cution).15 E(resumes after the function or script.)
|
||||
144 554.4 Q F1(set)108 571.2 Q F0([)2.5 E F1
|
||||
(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1<ad6f>-2.5 E F2(option)2.5
|
||||
E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E F1(set)108 583.2 Q F0
|
||||
([)2.5 E F1(+abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1(+o)-2.5 E F2(option)
|
||||
2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.4(Wi)144 595.2 S
|
||||
.836(thout options, the name and v).4 F .835(alue of each shell v)-.25 F
|
||||
.835(ariable are displayed in a format that can be)-.25 F .784
|
||||
(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1<ad6f>-2.5 E F2
|
||||
(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E F1
|
||||
(set)108 583.2 Q F0([)2.5 E F1(+abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1(+o)
|
||||
-2.5 E F2(option\255name)2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0
|
||||
(...])2.5 E -.4(Wi)144 595.2 S .836(thout options, the name and v).4 F
|
||||
.835(alue of each shell v)-.25 F .835
|
||||
(ariable are displayed in a format that can be)-.25 F .784
|
||||
(reused as input for setting or resetting the currently-set v)144 607.2
|
||||
R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .784
|
||||
(riables cannot be).25 F 2.947(reset. In)144 619.2 R F2 .447(posix mode)
|
||||
@@ -2130,9 +2131,9 @@ F0(and)2.25 E F3(COLUMNS)2.5 E/F4 9/Times-Roman@0 SF(.)A F1(cmdhist)144
|
||||
(ws easy re-editing of multi-line commands.)-.25 E F1(compat31)144 702 Q
|
||||
F0 .42(If set,)184 714 R F1(bash)2.92 E F0 .42(changes its beha)2.92 F
|
||||
.419(vior to that of v)-.2 F .419(ersion 3.1 with respect to quoted ar)
|
||||
-.15 F(guments)-.18 E(to the conditional command')184 726 Q 2.5(s=)-.55
|
||||
G 2.5(~o)-2.5 G(perator)-2.5 E(.)-.55 E(GNU Bash-4.0)72 768 Q
|
||||
(2004 Apr 20)148.735 E(16)198.725 E 0 Cg EP
|
||||
-.15 F(guments)-.18 E(to the conditional command')184 726 Q(s)-.55 E F1
|
||||
(=~)2.5 E F0(operator)2.5 E(.)-.55 E(GNU Bash-4.0)72 768 Q(2004 Apr 20)
|
||||
148.735 E(16)198.725 E 0 Cg EP
|
||||
%%Page: 17 17
|
||||
%%BeginPageSetup
|
||||
BP
|
||||
@@ -2142,25 +2143,25 @@ BP
|
||||
/Times-Bold@0 SF(compat32)144 84 Q F0 1.409(If set,)184 96 R F1(bash)
|
||||
3.909 E F0 1.409(changes its beha)3.909 F 1.409(vior to that of v)-.2 F
|
||||
1.41(ersion 3.2 with respect to locale-speci\214c)-.15 F
|
||||
(string comparison when using the conditional command')184 108 Q 2.5
|
||||
(s<a)-.55 G(nd > operators.)-2.5 E F1(compat40)144 120 Q F0 1.41
|
||||
(If set,)184 132 R F1(bash)3.91 E F0 1.41(changes its beha)3.91 F 1.409
|
||||
(vior to that of v)-.2 F 1.409
|
||||
(ersion 4.0 with respect to locale-speci\214c)-.15 F 1.692
|
||||
(string comparison when using the conditional command')184 144 R 4.193
|
||||
(s<a)-.55 G 1.693(nd > operators and the)-4.193 F(ef)184 156 Q
|
||||
(fect of interrupting a command list.)-.25 E F1(compat41)144 168 Q F0
|
||||
1.232(@item compat41 If set,)184 180 R F1(bash)3.732 E F0 3.732(,w)C
|
||||
1.232(hen in posix mode, treats a single quote in a double-)-3.732 F
|
||||
1.213(quoted parameter e)184 192 R 1.213
|
||||
(xpansion as a special character)-.15 F 6.213(.T)-.55 G 1.214
|
||||
(he single quotes must match \(an)-6.213 F -2.15 -.25(ev e)184 204 T
|
||||
2.949(nn).25 G .448(umber\) and the characters between the single quote\
|
||||
s are considered quoted.)-2.949 F(This)5.448 E .062(is the beha)184 216
|
||||
R .062(vior of posix mode through v)-.2 F .062(ersion 4.1.)-.15 F .062
|
||||
(The def)5.062 F .062(ault bash beha)-.1 F .063(vior remains as)-.2 F
|
||||
(in pre)184 228 Q(vious v)-.25 E(ersions.)-.15 E F1(dirspell)144 240 Q
|
||||
F0 .859(If set,)7.77 F F1(bash)3.359 E F0 .858
|
||||
(string comparison when using the conditional command')184 108 Q(s)-.55
|
||||
E F1(<)2.5 E F0(and)2.5 E F1(>)2.5 E F0(operators.)2.5 E F1(compat40)144
|
||||
120 Q F0 1.41(If set,)184 132 R F1(bash)3.91 E F0 1.41(changes its beha)
|
||||
3.91 F 1.409(vior to that of v)-.2 F 1.409
|
||||
(ersion 4.0 with respect to locale-speci\214c)-.15 F 1.682
|
||||
(string comparison when using the conditional command')184 144 R(s)-.55
|
||||
E F1(<)4.183 E F0(and)4.183 E F1(>)4.183 E F0 1.683(operators and the)
|
||||
4.183 F(ef)184 156 Q(fect of interrupting a command list.)-.25 E F1
|
||||
(compat41)144 168 Q F0 1.232(@item compat41 If set,)184 180 R F1(bash)
|
||||
3.732 E F0 3.732(,w)C 1.232
|
||||
(hen in posix mode, treats a single quote in a double-)-3.732 F 1.213
|
||||
(quoted parameter e)184 192 R 1.213(xpansion as a special character)-.15
|
||||
F 6.213(.T)-.55 G 1.214(he single quotes must match \(an)-6.213 F -2.15
|
||||
-.25(ev e)184 204 T 2.949(nn).25 G .448(umber\) and the characters betw\
|
||||
een the single quotes are considered quoted.)-2.949 F(This)5.448 E .062
|
||||
(is the beha)184 216 R .062(vior of posix mode through v)-.2 F .062
|
||||
(ersion 4.1.)-.15 F .062(The def)5.062 F .062(ault bash beha)-.1 F .063
|
||||
(vior remains as)-.2 F(in pre)184 228 Q(vious v)-.25 E(ersions.)-.15 E
|
||||
F1(dirspell)144 240 Q F0 .859(If set,)7.77 F F1(bash)3.359 E F0 .858
|
||||
(attempts spelling correction on directory names during w)3.359 F .858
|
||||
(ord completion if)-.1 F
|
||||
(the directory name initially supplied does not e)184 252 Q(xist.)-.15 E
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@ RREESSTTRRIICCTTEEDD SSHHEELLLL
|
||||
+o specifying a file name containing a // as an argument to the ..
|
||||
builtin command
|
||||
|
||||
+o Specifying a filename containing a slash as an argument to the
|
||||
+o specifying a filename containing a slash as an argument to the
|
||||
--pp option to the hhaasshh builtin command
|
||||
|
||||
+o importing function definitions from the shell environment at
|
||||
@@ -39,7 +39,7 @@ RREESSTTRRIICCTTEEDD SSHHEELLLL
|
||||
+o adding or deleting builtin commands with the --ff and --dd options
|
||||
to the eennaabbllee builtin command
|
||||
|
||||
+o Using the eennaabbllee builtin command to enable disabled shell
|
||||
+o using the eennaabbllee builtin command to enable disabled shell
|
||||
builtins
|
||||
|
||||
+o specifying the --pp option to the ccoommmmaanndd builtin command
|
||||
|
||||
+6
-6
@@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0
|
||||
%%Creator: groff version 1.19.2
|
||||
%%CreationDate: Wed Jul 21 08:54:50 2010
|
||||
%%CreationDate: Mon Oct 25 10:55:38 2010
|
||||
%%DocumentNeededResources: font Times-Roman
|
||||
%%+ font Times-Bold
|
||||
%%DocumentSuppliedResources: procset grops 1.19 2
|
||||
@@ -247,10 +247,10 @@ G(TH)-.189 E F4(,)A F3(ENV)2.25 E F4(,)A F0(or)2.25 E F3 -.27(BA)2.5 G
|
||||
(pecifying command names containing)-32.5 E F2(/)2.5 E F0 32.5<8373>108
|
||||
216 S(pecifying a \214le name containing a)-32.5 E F2(/)2.5 E F0
|
||||
(as an ar)2.5 E(gument to the)-.18 E F2(.)2.5 E F0 -.2(bu)5 G
|
||||
(iltin command).2 E 32.5<8353>108 232.8 S .351
|
||||
(pecifying a \214lename containing a slash as an ar)-32.5 F .351
|
||||
(gument to the)-.18 F F2<ad70>2.851 E F0 .351(option to the)2.851 F F2
|
||||
(hash)2.851 E F0 -.2(bu)2.851 G .351(iltin com-).2 F(mand)144 244.8 Q
|
||||
(iltin command).2 E 32.5<8373>108 232.8 S .45
|
||||
(pecifying a \214lename containing a slash as an ar)-32.5 F .449
|
||||
(gument to the)-.18 F F2<ad70>2.949 E F0 .449(option to the)2.949 F F2
|
||||
(hash)2.949 E F0 -.2(bu)2.949 G .449(iltin com-).2 F(mand)144 244.8 Q
|
||||
32.5<8369>108 261.6 S(mporting function de\214nitions from the shell en)
|
||||
-32.5 E(vironment at startup)-.4 E 32.5<8370>108 278.4 S(arsing the v)
|
||||
-32.5 E(alue of)-.25 E F3(SHELLOPTS)2.5 E F0(from the shell en)2.25 E
|
||||
@@ -260,7 +260,7 @@ ng the >, >|, <>, >&, &>, and >> redirection operators)-32.5 E 32.5
|
||||
(iltin command to replace the shell with another command).2 E 32.5<8361>
|
||||
108 328.8 S(dding or deleting b)-32.5 E(uiltin commands with the)-.2 E
|
||||
F2<ad66>2.5 E F0(and)2.5 E F2<ad64>2.5 E F0(options to the)2.5 E F2
|
||||
(enable)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8355>108 345.6 S
|
||||
(enable)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8375>108 345.6 S
|
||||
(sing the)-32.5 E F2(enable)2.5 E F0 -.2(bu)2.5 G
|
||||
(iltin command to enable disabled shell b).2 E(uiltins)-.2 E 32.5<8373>
|
||||
108 362.4 S(pecifying the)-32.5 E F2<ad70>2.5 E F0(option to the)2.5 E
|
||||
|
||||
+3
-3
@@ -2,9 +2,9 @@
|
||||
Copyright (C) 1988-2010 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Mon Sep 6 22:08:10 EDT 2010
|
||||
@set LASTCHANGE Wed Oct 20 21:37:22 EDT 2010
|
||||
|
||||
@set EDITION 4.2
|
||||
@set VERSION 4.2
|
||||
@set UPDATED 6 September 2010
|
||||
@set UPDATED-MONTH September 2010
|
||||
@set UPDATED 20 October 2010
|
||||
@set UPDATED-MONTH October 2010
|
||||
|
||||
Reference in New Issue
Block a user