summaryrefslogtreecommitdiff
path: root/doc/bashref.html
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-12 22:10:58 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-12 22:10:58 -0500
commit510e20a25241adfd62cc3b6e7fa9b209658e7bc7 (patch)
tree2b735c7bea02c5b80e08098657060106f779f02d /doc/bashref.html
parentadc6cff53c2ef3341775f590ce36f96a28ea73f0 (diff)
downloadbash-510e20a25241adfd62cc3b6e7fa9b209658e7bc7.tar.gz
commit bash-20101210 snapshot
Diffstat (limited to 'doc/bashref.html')
-rw-r--r--doc/bashref.html20
1 files changed, 13 insertions, 7 deletions
diff --git a/doc/bashref.html b/doc/bashref.html
index 0f222d51..1eb1c852 100644
--- a/doc/bashref.html
+++ b/doc/bashref.html
@@ -1,6 +1,6 @@
<HTML>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!-- Created on November, 8 2010 by texi2html 1.64 -->
+<!-- Created on December, 7 2010 by texi2html 1.64 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
@@ -4242,6 +4242,7 @@ be a <CODE>]</CODE>.
Expressions may be combined using the following operators, listed in
decreasing order of precedence.
The evaluation depends on the number of arguments; see below.
+Operator precedence is used when there are five or more arguments.
</P><P>
<DL COMPACT>
@@ -4287,7 +4288,8 @@ false.
<P>
<DT>3 arguments
-<DD>If the second argument is one of the binary conditional
+<DD>The following conditions are applied in the order listed.
+If the second argument is one of the binary conditional
operators (see section <A HREF="bashref.html#SEC83">6.4 Bash Conditional Expressions</A>), the
result of the expression is the result of the binary test using the
first and third arguments as operands.
@@ -10732,10 +10734,14 @@ as if the <SAMP>`!<VAR>n</VAR>'</SAMP> history expansion had been specified.
<DT><CODE>yank-last-arg (M-. or M-_)</CODE>
<DD><A NAME="IDX395"></A>
Insert last argument to the previous command (the last word of the
-previous history entry). With an
-argument, behave exactly like <CODE>yank-nth-arg</CODE>.
+previous history entry).
+With a numeric argument, behave exactly like <CODE>yank-nth-arg</CODE>.
Successive calls to <CODE>yank-last-arg</CODE> move back through the history
-list, inserting the last argument of each line in turn.
+list, inserting the last word (or the word specified by the argument to
+the first call) of each line in turn.
+Any numeric argument supplied to these successive calls determines
+the direction to move through the history. A negative argument switches
+the direction through the history (back or forward).
The history expansion facilities are used to extract the last argument,
as if the <SAMP>`!$'</SAMP> history expansion had been specified.
<P>
@@ -16366,7 +16372,7 @@ to permit their use in free software.
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<H1>About this document</H1>
-This document was generated by <I>Chet Ramey</I> on <I>November, 8 2010</I>
+This document was generated by <I>Chet Ramey</I> on <I>December, 7 2010</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
<P></P>
@@ -16528,7 +16534,7 @@ the following structure:
<BR>
<FONT SIZE="-1">
This document was generated
-by <I>Chet Ramey</I> on <I>November, 8 2010</I>
+by <I>Chet Ramey</I> on <I>December, 7 2010</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>