mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-05 11:20:50 +02:00
commit bash-20101210 snapshot
This commit is contained in:
@@ -1,3 +1,32 @@
|
||||
This document details the changes between this version, bash-4.2-beta,
|
||||
and the previous version, bash-4.2-alpha.
|
||||
|
||||
1. Changes to Bash
|
||||
|
||||
a. Fixed a bug that caused the \W prompt string escape to not add a closing
|
||||
NULL.
|
||||
|
||||
b. Fixed a bug that caused partially-quoted words that were not subject to
|
||||
word splitting to retained quoted NULLs.
|
||||
|
||||
c. Added considerable efficiency speedups when pattern matching in multibyte
|
||||
locales by skipping multibyte character functions where possible.
|
||||
|
||||
d. Added considerable speedups to variable expansion when in multibyte locales.
|
||||
|
||||
e. Fixed a bug that caused the expansion of $* when there are no positional
|
||||
parameters to cause the shell to dump core when used in a pattern
|
||||
matching context.
|
||||
|
||||
f. Fixed a bug that caused variable expansions preceding regular builtins to
|
||||
not change the shell environment during their execution.
|
||||
|
||||
2. Changes to Readline
|
||||
|
||||
a. Fixed a bug that made an explicit argument of 0 to yank-last-arg behave
|
||||
as if it were a negative argument.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
This document details the changes between this version, bash-4.2-alpha,
|
||||
and the previous version, bash-4.1-release.
|
||||
|
||||
|
||||
+29
@@ -1,3 +1,32 @@
|
||||
This document details the changes between this version, bash-4.2-beta,
|
||||
and the previous version, bash-4.2-alpha.
|
||||
|
||||
1. Changes to Bash
|
||||
|
||||
a. Fixed a bug that caused the \W prompt string escape to not add a closing
|
||||
NULL.
|
||||
|
||||
b. Fixed a bug that caused partially-quoted words that were not subject to
|
||||
word splitting to retained quoted NULLs.
|
||||
|
||||
c. Added considerable efficiency speedups when pattern matching in multibyte
|
||||
locales by skipping multibyte character functions where possible.
|
||||
|
||||
d. Added considerable speedups to variable expansion when in multibyte locales.
|
||||
|
||||
e. Fixed a bug that caused the expansion of $* when there are no positional
|
||||
parameters to cause the shell to dump core when used in a pattern
|
||||
matching context.
|
||||
|
||||
f. Fixed a bug that caused variable expansions preceding regular builtins to
|
||||
not change the shell environment during their execution.
|
||||
|
||||
2. Changes to Readline
|
||||
|
||||
a. Fixed a bug that made an explicit argument of 0 to yank-last-arg behave
|
||||
as if it were a negative argument.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
This document details the changes between this version, bash-4.2-alpha,
|
||||
and the previous version, bash-4.1-release.
|
||||
|
||||
|
||||
+2
-2
@@ -232,7 +232,7 @@ k. A new FUNCNEST variable to allow the user to control the maximum shell
|
||||
l. The mapfile builtin now supplies a third argument to the callback command:
|
||||
the line about to be assigned to the supplied array index.
|
||||
|
||||
m. The printf builtin has as new %(fmt)T specifier, which allows time values
|
||||
m. The printf builtin has a new %(fmt)T specifier, which allows time values
|
||||
to use strftime-like formatting.
|
||||
|
||||
n. There is a new `compat41' shell option.
|
||||
@@ -260,7 +260,7 @@ u. History expansion no longer expands the `$!' variable expansion.
|
||||
v. Posix mode shells no longer exit if a variable assignment error occurs
|
||||
with an assignment preceding a command that is not a special builtin.
|
||||
|
||||
w. Non-interactive mode shells exit if -u is enabled an an attempt is made
|
||||
w. Non-interactive mode shells exit if -u is enabled and an attempt is made
|
||||
to use an unset variable with the % or # expansions, the `//', `^', or
|
||||
`,' expansions, or the parameter length expansion.
|
||||
|
||||
|
||||
@@ -1,3 +1,31 @@
|
||||
This document details the changes between this version, bash-4.2-beta,
|
||||
and the previous version, bash-4.2-alpha.
|
||||
|
||||
1. Changes to Bash
|
||||
|
||||
a. Fixed a bug that caused the \W prompt string escape to not add a closing
|
||||
NULL.
|
||||
|
||||
b. Fixed a bug that caused partially-quoted words that were not subject to
|
||||
word splitting to retained quoted NULLs.
|
||||
|
||||
c. Added considerable efficiency speedups when pattern matching in multibyte
|
||||
locales by skipping multibyte character functions where possible.
|
||||
|
||||
d. Added considerable speedups to variable expansion when in multibyte locales.
|
||||
|
||||
e. Fixed a bug that caused the expansion of $* when there are no positional
|
||||
parameters to cause the shell to dump core.
|
||||
|
||||
f. Fixed a bug that caused variable expansions preceding regular builtins to
|
||||
not change the shell environment during their execution.
|
||||
|
||||
2. Changes to Readline
|
||||
|
||||
a. Fixed a bug that made an explicit argument of 0 to yank-last-arg behave
|
||||
as if it were a negative argument.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
This document details the changes between this version, bash-4.2-alpha,
|
||||
and the previous version, bash-4.1-release.
|
||||
|
||||
@@ -232,7 +260,7 @@ k. A new FUNCNEST variable to allow the user to control the maximum shell
|
||||
l. The mapfile builtin now supplies a third argument to the callback command:
|
||||
the line about to be assigned to the supplied array index.
|
||||
|
||||
m. The printf builtin has as new %(fmt)T specifier, which allows time values
|
||||
m. The printf builtin has a new %(fmt)T specifier, which allows time values
|
||||
to use strftime-like formatting.
|
||||
|
||||
n. There is a new `compat41' shell option.
|
||||
@@ -260,7 +288,7 @@ u. History expansion no longer expands the `$!' variable expansion.
|
||||
v. Posix mode shells no longer exit if a variable assignment error occurs
|
||||
with an assignment preceding a command that is not a special builtin.
|
||||
|
||||
w. Non-interactive mode shells exit if -u is enabled an an attempt is made
|
||||
w. Non-interactive mode shells exit if -u is enabled and an attempt is made
|
||||
to use an unset variable with the % or # expansions, the `//', `^', or
|
||||
`,' expansions, or the parameter length expansion.
|
||||
|
||||
|
||||
@@ -10778,3 +10778,8 @@ doc/{bash.1,bashref.texi}
|
||||
- change \(bv to `|'; it seems that many `internationalized' versions
|
||||
of groff don't render that as a vertical bar. Fixes Debian bug
|
||||
603805
|
||||
|
||||
12/10
|
||||
-----
|
||||
configure.in
|
||||
- changed release status to 4.2-beta
|
||||
|
||||
@@ -10772,3 +10772,9 @@ doc/bash.1,lib/readline/doc/{readline.3,rluser.texi}
|
||||
- fix documentation for yank-last-arg to make it clear how the count
|
||||
argument is set and how second and subsequent calls treat any
|
||||
numeric argument
|
||||
|
||||
doc/{bash.1,bashref.texi}
|
||||
- slight changes to the description of test
|
||||
- change \(bv to `|'; it seems that many `internationalized' versions
|
||||
of groff don't render that as a vertical bar. Fixes Debian bug
|
||||
603805
|
||||
|
||||
+13
-11
@@ -1,7 +1,7 @@
|
||||
@%:@! /bin/sh
|
||||
@%:@ From configure.in for Bash 4.2, version 4.033.
|
||||
@%:@ From configure.in for Bash 4.2, version 4.034.
|
||||
@%:@ Guess values for system-dependent variables and create Makefiles.
|
||||
@%:@ Generated by GNU Autoconf 2.63 for bash 4.2-alpha.
|
||||
@%:@ Generated by GNU Autoconf 2.63 for bash 4.2-beta.
|
||||
@%:@
|
||||
@%:@ Report bugs to <bug-bash@gnu.org>.
|
||||
@%:@
|
||||
@@ -597,8 +597,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
||||
# Identity of this package.
|
||||
PACKAGE_NAME='bash'
|
||||
PACKAGE_TARNAME='bash'
|
||||
PACKAGE_VERSION='4.2-alpha'
|
||||
PACKAGE_STRING='bash 4.2-alpha'
|
||||
PACKAGE_VERSION='4.2-beta'
|
||||
PACKAGE_STRING='bash 4.2-beta'
|
||||
PACKAGE_BUGREPORT='bug-bash@gnu.org'
|
||||
|
||||
ac_unique_file="shell.h"
|
||||
@@ -841,6 +841,7 @@ enable_nls
|
||||
with_gnu_ld
|
||||
enable_rpath
|
||||
with_libiconv_prefix
|
||||
enable_nls
|
||||
with_included_gettext
|
||||
with_libintl_prefix
|
||||
'
|
||||
@@ -854,6 +855,7 @@ LDFLAGS
|
||||
LIBS
|
||||
CPPFLAGS
|
||||
CPP
|
||||
CPPFLAGS
|
||||
YACC
|
||||
YFLAGS'
|
||||
|
||||
@@ -1408,7 +1410,7 @@ if test "$ac_init_help" = "long"; then
|
||||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures bash 4.2-alpha to adapt to many kinds of systems.
|
||||
\`configure' configures bash 4.2-beta to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
@@ -1473,7 +1475,7 @@ fi
|
||||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of bash 4.2-alpha:";;
|
||||
short | recursive ) echo "Configuration of bash 4.2-beta:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
@@ -1648,7 +1650,7 @@ fi
|
||||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
bash configure 4.2-alpha
|
||||
bash configure 4.2-beta
|
||||
generated by GNU Autoconf 2.63
|
||||
|
||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
||||
@@ -1662,7 +1664,7 @@ cat >config.log <<_ACEOF
|
||||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by bash $as_me 4.2-alpha, which was
|
||||
It was created by bash $as_me 4.2-beta, which was
|
||||
generated by GNU Autoconf 2.63. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
@@ -2076,7 +2078,7 @@ ac_config_headers="$ac_config_headers config.h"
|
||||
|
||||
|
||||
BASHVERS=4.2
|
||||
RELSTATUS=alpha
|
||||
RELSTATUS=beta
|
||||
|
||||
case "$RELSTATUS" in
|
||||
alp*|bet*|dev*|rc*|maint*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;;
|
||||
@@ -31860,7 +31862,7 @@ exec 6>&1
|
||||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by bash $as_me 4.2-alpha, which was
|
||||
This file was extended by bash $as_me 4.2-beta, which was
|
||||
generated by GNU Autoconf 2.63. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
@@ -31923,7 +31925,7 @@ Report bugs to <bug-autoconf@gnu.org>."
|
||||
_ACEOF
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_version="\\
|
||||
bash config.status 4.2-alpha
|
||||
bash config.status 4.2-beta
|
||||
configured by $0, generated by GNU Autoconf 2.63,
|
||||
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
||||
|
||||
|
||||
+15
-1
@@ -1,4 +1,4 @@
|
||||
m4trace:configure.in:29: -1- AC_INIT([bash], [4.2-alpha], [bug-bash@gnu.org])
|
||||
m4trace:configure.in:29: -1- AC_INIT([bash], [4.2-beta], [bug-bash@gnu.org])
|
||||
m4trace:configure.in:29: -1- m4_pattern_forbid([^_?A[CHUM]_])
|
||||
m4trace:configure.in:29: -1- m4_pattern_forbid([_AC_])
|
||||
m4trace:configure.in:29: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
|
||||
@@ -833,6 +833,13 @@ m4trace:configure.in:651: -1- AC_DEFINE_TRACE_LITERAL([INTDIV0_RAISES_SIGFPE])
|
||||
m4trace:configure.in:651: -1- m4_pattern_allow([^INTDIV0_RAISES_SIGFPE$])
|
||||
m4trace:configure.in:651: -1- AH_OUTPUT([INTDIV0_RAISES_SIGFPE], [/* Define if integer division by zero raises signal SIGFPE. */
|
||||
#undef INTDIV0_RAISES_SIGFPE])
|
||||
m4trace:configure.in:651: -1- _m4_warn([syntax], [AC_CACHE_VAL(jm_ac_cv_header_inttypes_h, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
|
||||
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
|
||||
aclocal.m4:2689: jm_AC_HEADER_INTTYPES_H is expanded from...
|
||||
aclocal.m4:3990: jm_AC_TYPE_UINTMAX_T is expanded from...
|
||||
aclocal.m4:2373: AM_INTL_SUBDIR is expanded from...
|
||||
aclocal.m4:2085: AM_GNU_GETTEXT is expanded from...
|
||||
configure.in:651: the top level])
|
||||
m4trace:configure.in:651: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
|
||||
You should run autoupdate.], [../../lib/autoconf/general.m4:2470: AC_TRY_COMPILE is expanded from...
|
||||
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from...
|
||||
@@ -848,6 +855,13 @@ m4trace:configure.in:651: -1- m4_pattern_allow([^HAVE_INTTYPES_H_WITH_UINTMAX$])
|
||||
m4trace:configure.in:651: -1- AH_OUTPUT([HAVE_INTTYPES_H_WITH_UINTMAX], [/* Define if <inttypes.h> exists, doesn\'t clash with <sys/types.h>, and
|
||||
declares uintmax_t. */
|
||||
#undef HAVE_INTTYPES_H_WITH_UINTMAX])
|
||||
m4trace:configure.in:651: -1- _m4_warn([syntax], [AC_CACHE_VAL(jm_ac_cv_header_stdint_h, ...): suspicious cache-id, must contain _cv_ to be cached], [../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from...
|
||||
../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...
|
||||
aclocal.m4:3960: jm_AC_HEADER_STDINT_H is expanded from...
|
||||
aclocal.m4:3990: jm_AC_TYPE_UINTMAX_T is expanded from...
|
||||
aclocal.m4:2373: AM_INTL_SUBDIR is expanded from...
|
||||
aclocal.m4:2085: AM_GNU_GETTEXT is expanded from...
|
||||
configure.in:651: the top level])
|
||||
m4trace:configure.in:651: -1- _m4_warn([obsolete], [The macro `AC_TRY_COMPILE' is obsolete.
|
||||
You should run autoupdate.], [../../lib/autoconf/general.m4:2470: AC_TRY_COMPILE is expanded from...
|
||||
../../lib/m4sugar/m4sh.m4:505: AS_IF is expanded from...
|
||||
|
||||
+1
-1
@@ -61,7 +61,7 @@ parentheses are evaluated first and may override the precedence
|
||||
rules above.
|
||||
|
||||
Exit Status:
|
||||
If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise..
|
||||
If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise.
|
||||
$END
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
# From configure.in for Bash 4.2, version 4.033.
|
||||
# From configure.in for Bash 4.2, version 4.034.
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.63 for bash 4.2-alpha.
|
||||
# Generated by GNU Autoconf 2.63 for bash 4.2-beta.
|
||||
#
|
||||
# Report bugs to <bug-bash@gnu.org>.
|
||||
#
|
||||
@@ -597,8 +597,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
|
||||
# Identity of this package.
|
||||
PACKAGE_NAME='bash'
|
||||
PACKAGE_TARNAME='bash'
|
||||
PACKAGE_VERSION='4.2-alpha'
|
||||
PACKAGE_STRING='bash 4.2-alpha'
|
||||
PACKAGE_VERSION='4.2-beta'
|
||||
PACKAGE_STRING='bash 4.2-beta'
|
||||
PACKAGE_BUGREPORT='bug-bash@gnu.org'
|
||||
|
||||
ac_unique_file="shell.h"
|
||||
@@ -841,6 +841,7 @@ enable_nls
|
||||
with_gnu_ld
|
||||
enable_rpath
|
||||
with_libiconv_prefix
|
||||
enable_nls
|
||||
with_included_gettext
|
||||
with_libintl_prefix
|
||||
'
|
||||
@@ -854,6 +855,7 @@ LDFLAGS
|
||||
LIBS
|
||||
CPPFLAGS
|
||||
CPP
|
||||
CPPFLAGS
|
||||
YACC
|
||||
YFLAGS'
|
||||
|
||||
@@ -1408,7 +1410,7 @@ if test "$ac_init_help" = "long"; then
|
||||
# Omit some internal or obsolete options to make the list less imposing.
|
||||
# This message is too long to be a string in the A/UX 3.1 sh.
|
||||
cat <<_ACEOF
|
||||
\`configure' configures bash 4.2-alpha to adapt to many kinds of systems.
|
||||
\`configure' configures bash 4.2-beta to adapt to many kinds of systems.
|
||||
|
||||
Usage: $0 [OPTION]... [VAR=VALUE]...
|
||||
|
||||
@@ -1473,7 +1475,7 @@ fi
|
||||
|
||||
if test -n "$ac_init_help"; then
|
||||
case $ac_init_help in
|
||||
short | recursive ) echo "Configuration of bash 4.2-alpha:";;
|
||||
short | recursive ) echo "Configuration of bash 4.2-beta:";;
|
||||
esac
|
||||
cat <<\_ACEOF
|
||||
|
||||
@@ -1648,7 +1650,7 @@ fi
|
||||
test -n "$ac_init_help" && exit $ac_status
|
||||
if $ac_init_version; then
|
||||
cat <<\_ACEOF
|
||||
bash configure 4.2-alpha
|
||||
bash configure 4.2-beta
|
||||
generated by GNU Autoconf 2.63
|
||||
|
||||
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
||||
@@ -1662,7 +1664,7 @@ cat >config.log <<_ACEOF
|
||||
This file contains any messages produced by compilers while
|
||||
running configure, to aid debugging if configure makes a mistake.
|
||||
|
||||
It was created by bash $as_me 4.2-alpha, which was
|
||||
It was created by bash $as_me 4.2-beta, which was
|
||||
generated by GNU Autoconf 2.63. Invocation command line was
|
||||
|
||||
$ $0 $@
|
||||
@@ -2076,7 +2078,7 @@ ac_config_headers="$ac_config_headers config.h"
|
||||
|
||||
|
||||
BASHVERS=4.2
|
||||
RELSTATUS=alpha
|
||||
RELSTATUS=beta
|
||||
|
||||
case "$RELSTATUS" in
|
||||
alp*|bet*|dev*|rc*|maint*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;;
|
||||
@@ -31860,7 +31862,7 @@ exec 6>&1
|
||||
# report actual input values of CONFIG_FILES etc. instead of their
|
||||
# values after options handling.
|
||||
ac_log="
|
||||
This file was extended by bash $as_me 4.2-alpha, which was
|
||||
This file was extended by bash $as_me 4.2-beta, which was
|
||||
generated by GNU Autoconf 2.63. Invocation command line was
|
||||
|
||||
CONFIG_FILES = $CONFIG_FILES
|
||||
@@ -31923,7 +31925,7 @@ Report bugs to <bug-autoconf@gnu.org>."
|
||||
_ACEOF
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_cs_version="\\
|
||||
bash config.status 4.2-alpha
|
||||
bash config.status 4.2-beta
|
||||
configured by $0, generated by GNU Autoconf 2.63,
|
||||
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
||||
|
||||
|
||||
+2
-2
@@ -21,10 +21,10 @@ dnl Process this file with autoconf to produce a configure script.
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
AC_REVISION([for Bash 4.2, version 4.033])dnl
|
||||
AC_REVISION([for Bash 4.2, version 4.034])dnl
|
||||
|
||||
define(bashvers, 4.2)
|
||||
define(relstatus, alpha)
|
||||
define(relstatus, beta)
|
||||
|
||||
AC_INIT([bash], bashvers-relstatus, [bug-bash@gnu.org])
|
||||
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ dnl Process this file with autoconf to produce a configure script.
|
||||
AC_REVISION([for Bash 4.2, version 4.033])dnl
|
||||
|
||||
define(bashvers, 4.2)
|
||||
define(relstatus, devel)
|
||||
define(relstatus, beta)
|
||||
|
||||
AC_INIT([bash], bashvers-relstatus, [bug-bash@gnu.org])
|
||||
|
||||
|
||||
+17
-11
@@ -3108,12 +3108,16 @@ RREEAADDLLIINNEE
|
||||
"!_n" history expansion had been specified.
|
||||
yyaannkk--llaasstt--aarrgg ((MM--..,, MM--__))
|
||||
Insert the last argument to the previous command (the last word
|
||||
of the previous history entry). With an argument, behave
|
||||
of the previous history entry). With a numeric argument, behave
|
||||
exactly like yyaannkk--nntthh--aarrgg. Successive calls to yyaannkk--llaasstt--aarrgg
|
||||
move back through the history list, inserting the last argument
|
||||
of each line in turn. The history expansion facilities are used
|
||||
to extract the last argument, as if the "!$" history expansion
|
||||
had been specified.
|
||||
move back through the history 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 "!$" history expansion had
|
||||
been specified.
|
||||
sshheellll--eexxppaanndd--lliinnee ((MM--CC--ee))
|
||||
Expand the line as the shell does. This performs alias and his-
|
||||
tory expansion as well as all of the shell word expansions. See
|
||||
@@ -5131,10 +5135,11 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
|
||||
Expressions may be combined using the following operators,
|
||||
listed in decreasing order of precedence. The evaluation
|
||||
depends on the number of arguments; see below.
|
||||
depends on the number of arguments; see below. Operator prece-
|
||||
dence is used when there are five or more arguments.
|
||||
!! _e_x_p_r True if _e_x_p_r is false.
|
||||
(( _e_x_p_r ))
|
||||
Returns the value of _e_x_p_r. This may be used to override
|
||||
Returns the value of _e_x_p_r. This may be used to override
|
||||
the normal precedence of operators.
|
||||
_e_x_p_r_1 -aa _e_x_p_r_2
|
||||
True if both _e_x_p_r_1 and _e_x_p_r_2 are true.
|
||||
@@ -5151,13 +5156,14 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
null.
|
||||
2 arguments
|
||||
If the first argument is !!, the expression is true if and
|
||||
only if the second argument is null. If the first argu-
|
||||
ment is one of the unary conditional operators listed
|
||||
above under CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS, the expression is
|
||||
only if the second argument is null. If the first argu-
|
||||
ment is one of the unary conditional operators listed
|
||||
above under CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS, the expression is
|
||||
true if the unary test is true. If the first argument is
|
||||
not a valid unary conditional operator, the expression is
|
||||
false.
|
||||
3 arguments
|
||||
The following conditions are applied in the order listed.
|
||||
If the second argument is one of the binary conditional
|
||||
operators listed above under CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS, the
|
||||
result of the expression is the result of the binary test
|
||||
@@ -5461,4 +5467,4 @@ BBUUGGSS
|
||||
|
||||
|
||||
|
||||
GNU Bash-4.2 2010 September 6 BASH(1)
|
||||
GNU Bash-4.2 2010 December 6 BASH(1)
|
||||
|
||||
+14
-12
@@ -3,7 +3,7 @@
|
||||
</HEAD>
|
||||
<BODY><TABLE WIDTH=100%>
|
||||
<TR>
|
||||
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2010 September 6<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2010 December 6<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
</TR>
|
||||
</TABLE>
|
||||
<BR><A HREF="#index">Index</A>
|
||||
@@ -998,9 +998,7 @@ and
|
||||
<I>expression2</I>
|
||||
|
||||
are true.
|
||||
<DT><I>expression1</I> <B>||</B> <I>expression2</I>
|
||||
<DD>
|
||||
|
||||
<DT><I>expression1</I> <B>||</B> <I>expression2</I><DD>
|
||||
True if either
|
||||
<I>expression1</I>
|
||||
|
||||
@@ -1012,9 +1010,7 @@ is true.
|
||||
</DL>
|
||||
<P>
|
||||
|
||||
The <B>&&</B> and
|
||||
<B>||</B>
|
||||
|
||||
The <B>&&</B> and <B>||</B>
|
||||
operators do not evaluate <I>expression2</I> if the value of
|
||||
<I>expression1</I> is sufficient to determine the return value of
|
||||
the entire conditional expression.
|
||||
@@ -7117,10 +7113,14 @@ as if the "!<I>n</I>" history expansion had been specified.
|
||||
|
||||
<DD>
|
||||
Insert the last argument to the previous command (the last word of
|
||||
the previous history entry). With an argument,
|
||||
behave exactly like <B>yank-nth-arg</B>.
|
||||
the previous history entry).
|
||||
With a numeric argument, behave exactly like <B>yank-nth-arg</B>.
|
||||
Successive calls to <B>yank-last-arg</B> 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 "!$" history expansion had been specified.
|
||||
<DT><B>shell-expand-line (M-C-e)</B>
|
||||
@@ -11782,6 +11782,7 @@ an argument of <B>--</B> as signifying the end of options.
|
||||
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.
|
||||
<DL COMPACT><DT><DD>
|
||||
|
||||
<DL COMPACT>
|
||||
@@ -11840,6 +11841,7 @@ the expression is true if the unary test is true.
|
||||
If the first argument is not a valid unary conditional operator, the expression
|
||||
is false.
|
||||
<DT>3 arguments<DD>
|
||||
The following conditions are applied in the order listed.
|
||||
If the second argument is one of the binary conditional operators listed above
|
||||
under
|
||||
<FONT SIZE=-1><B>CONDITIONAL EXPRESSIONS</B>,
|
||||
@@ -12672,7 +12674,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 September 6<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
<TH ALIGN=LEFT width=33%>GNU Bash-4.2<TH ALIGN=CENTER width=33%>2010 December 6<TH ALIGN=RIGHT width=33%>BASH(1)
|
||||
</TR>
|
||||
</TABLE>
|
||||
<HR>
|
||||
@@ -12778,6 +12780,6 @@ There may be only one active coprocess at a time.
|
||||
</DL>
|
||||
<HR>
|
||||
This document was created by man2html from bash.1.<BR>
|
||||
Time: 25 October 2010 12:00:43 EDT
|
||||
Time: 07 December 2010 16:12:47 EST
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Binary file not shown.
+1249
-1239
File diff suppressed because it is too large
Load Diff
+25
-25
@@ -310,72 +310,72 @@
|
||||
@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}{123}
|
||||
@xrdef{Bash History Facilities-pg}{123}
|
||||
@xrdef{Bash History Builtins-pg}{123}
|
||||
@xrdef{Using History Interactively-pg}{125}
|
||||
@xrdef{Bash History Facilities-pg}{125}
|
||||
@xrdef{Bash History Builtins-pg}{125}
|
||||
@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}{125}
|
||||
@xrdef{Event Designators-pg}{125}
|
||||
@xrdef{History Interaction-pg}{127}
|
||||
@xrdef{Event Designators-pg}{127}
|
||||
@xrdef{Word Designators-title}{Word Designators}
|
||||
@xrdef{Word Designators-snt}{Section@tie 9.3.2}
|
||||
@xrdef{Word Designators-pg}{126}
|
||||
@xrdef{Word Designators-pg}{128}
|
||||
@xrdef{Modifiers-title}{Modifiers}
|
||||
@xrdef{Modifiers-snt}{Section@tie 9.3.3}
|
||||
@xrdef{Modifiers-pg}{127}
|
||||
@xrdef{Modifiers-pg}{129}
|
||||
@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}{129}
|
||||
@xrdef{Basic Installation-pg}{129}
|
||||
@xrdef{Installing Bash-pg}{131}
|
||||
@xrdef{Basic Installation-pg}{131}
|
||||
@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}{130}
|
||||
@xrdef{Compiling For Multiple Architectures-pg}{130}
|
||||
@xrdef{Installation Names-pg}{130}
|
||||
@xrdef{Specifying the System Type-pg}{130}
|
||||
@xrdef{Compilers and Options-pg}{132}
|
||||
@xrdef{Compiling For Multiple Architectures-pg}{132}
|
||||
@xrdef{Installation Names-pg}{132}
|
||||
@xrdef{Specifying the System Type-pg}{132}
|
||||
@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}{131}
|
||||
@xrdef{Operation Controls-pg}{131}
|
||||
@xrdef{Optional Features-pg}{131}
|
||||
@xrdef{Sharing Defaults-pg}{133}
|
||||
@xrdef{Operation Controls-pg}{133}
|
||||
@xrdef{Optional Features-pg}{133}
|
||||
@xrdef{Reporting Bugs-title}{Reporting Bugs}
|
||||
@xrdef{Reporting Bugs-snt}{Appendix@tie @char65{}}
|
||||
@xrdef{Reporting Bugs-pg}{137}
|
||||
@xrdef{Reporting Bugs-pg}{139}
|
||||
@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}{139}
|
||||
@xrdef{Major Differences From The Bourne Shell-pg}{141}
|
||||
@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}{145}
|
||||
@xrdef{GNU Free Documentation License-pg}{147}
|
||||
@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}{153}
|
||||
@xrdef{Builtin Index-pg}{153}
|
||||
@xrdef{Indexes-pg}{155}
|
||||
@xrdef{Builtin Index-pg}{155}
|
||||
@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}{154}
|
||||
@xrdef{Variable Index-pg}{154}
|
||||
@xrdef{Reserved Word Index-pg}{156}
|
||||
@xrdef{Variable Index-pg}{156}
|
||||
@xrdef{Function Index-title}{Function Index}
|
||||
@xrdef{Function Index-snt}{Section@tie @char68.4}
|
||||
@xrdef{Function Index-pg}{156}
|
||||
@xrdef{Function Index-pg}{158}
|
||||
@xrdef{Concept Index-title}{Concept Index}
|
||||
@xrdef{Concept Index-snt}{Section@tie @char68.5}
|
||||
@xrdef{Concept Index-pg}{158}
|
||||
@xrdef{Concept Index-pg}{160}
|
||||
|
||||
+2
-2
@@ -55,5 +55,5 @@
|
||||
\entry{compgen}{119}{\code {compgen}}
|
||||
\entry{complete}{119}{\code {complete}}
|
||||
\entry{compopt}{122}{\code {compopt}}
|
||||
\entry{fc}{123}{\code {fc}}
|
||||
\entry{history}{124}{\code {history}}
|
||||
\entry{fc}{125}{\code {fc}}
|
||||
\entry{history}{126}{\code {history}}
|
||||
|
||||
+2
-2
@@ -31,14 +31,14 @@
|
||||
\entry {\code {exit}}{38}
|
||||
\entry {\code {export}}{39}
|
||||
\initial {F}
|
||||
\entry {\code {fc}}{123}
|
||||
\entry {\code {fc}}{125}
|
||||
\entry {\code {fg}}{92}
|
||||
\initial {G}
|
||||
\entry {\code {getopts}}{39}
|
||||
\initial {H}
|
||||
\entry {\code {hash}}{40}
|
||||
\entry {\code {help}}{48}
|
||||
\entry {\code {history}}{124}
|
||||
\entry {\code {history}}{126}
|
||||
\initial {J}
|
||||
\entry {\code {jobs}}{92}
|
||||
\initial {K}
|
||||
|
||||
+11
-11
@@ -105,14 +105,14 @@
|
||||
\entry{variables, readline}{99}{variables, readline}
|
||||
\entry{programmable completion}{117}{programmable completion}
|
||||
\entry{completion builtins}{119}{completion builtins}
|
||||
\entry{History, how to use}{122}{History, how to use}
|
||||
\entry{command history}{123}{command history}
|
||||
\entry{history list}{123}{history list}
|
||||
\entry{history builtins}{123}{history builtins}
|
||||
\entry{history expansion}{125}{history expansion}
|
||||
\entry{event designators}{125}{event designators}
|
||||
\entry{history events}{125}{history events}
|
||||
\entry{installation}{129}{installation}
|
||||
\entry{configuration}{129}{configuration}
|
||||
\entry{Bash installation}{129}{Bash installation}
|
||||
\entry{Bash configuration}{129}{Bash configuration}
|
||||
\entry{History, how to use}{123}{History, how to use}
|
||||
\entry{command history}{125}{command history}
|
||||
\entry{history list}{125}{history list}
|
||||
\entry{history builtins}{125}{history builtins}
|
||||
\entry{history expansion}{127}{history expansion}
|
||||
\entry{event designators}{127}{event designators}
|
||||
\entry{history events}{127}{history events}
|
||||
\entry{installation}{131}{installation}
|
||||
\entry{configuration}{131}{configuration}
|
||||
\entry{Bash installation}{131}{Bash installation}
|
||||
\entry{Bash configuration}{131}{Bash configuration}
|
||||
|
||||
+11
-11
@@ -6,8 +6,8 @@
|
||||
\entry {arrays}{82}
|
||||
\initial {B}
|
||||
\entry {background}{91}
|
||||
\entry {Bash configuration}{129}
|
||||
\entry {Bash installation}{129}
|
||||
\entry {Bash configuration}{131}
|
||||
\entry {Bash installation}{131}
|
||||
\entry {Bourne shell}{5}
|
||||
\entry {brace expansion}{19}
|
||||
\entry {builtin}{3}
|
||||
@@ -15,7 +15,7 @@
|
||||
\entry {command editing}{96}
|
||||
\entry {command execution}{31}
|
||||
\entry {command expansion}{31}
|
||||
\entry {command history}{123}
|
||||
\entry {command history}{125}
|
||||
\entry {command search}{31}
|
||||
\entry {command substitution}{24}
|
||||
\entry {command timing}{8}
|
||||
@@ -29,7 +29,7 @@
|
||||
\entry {commands, simple}{8}
|
||||
\entry {comments, shell}{7}
|
||||
\entry {completion builtins}{119}
|
||||
\entry {configuration}{129}
|
||||
\entry {configuration}{131}
|
||||
\entry {control operator}{3}
|
||||
\entry {coprocess}{14}
|
||||
\initial {D}
|
||||
@@ -38,7 +38,7 @@
|
||||
\entry {editing command lines}{96}
|
||||
\entry {environment}{33}
|
||||
\entry {evaluation, arithmetic}{80}
|
||||
\entry {event designators}{125}
|
||||
\entry {event designators}{127}
|
||||
\entry {execution environment}{32}
|
||||
\entry {exit status}{3, 33}
|
||||
\entry {expansion}{19}
|
||||
@@ -57,15 +57,15 @@
|
||||
\entry {foreground}{91}
|
||||
\entry {functions, shell}{15}
|
||||
\initial {H}
|
||||
\entry {history builtins}{123}
|
||||
\entry {history events}{125}
|
||||
\entry {history expansion}{125}
|
||||
\entry {history list}{123}
|
||||
\entry {History, how to use}{122}
|
||||
\entry {history builtins}{125}
|
||||
\entry {history events}{127}
|
||||
\entry {history expansion}{127}
|
||||
\entry {history list}{125}
|
||||
\entry {History, how to use}{123}
|
||||
\initial {I}
|
||||
\entry {identifier}{3}
|
||||
\entry {initialization file, readline}{98}
|
||||
\entry {installation}{129}
|
||||
\entry {installation}{131}
|
||||
\entry {interaction, readline}{95}
|
||||
\entry {interactive shell}{75, 76}
|
||||
\entry {internationalization}{7}
|
||||
|
||||
Binary file not shown.
+10
-10
@@ -29,7 +29,7 @@
|
||||
\entry{transpose-chars (C-t)}{110}{\code {transpose-chars (C-t)}}
|
||||
\entry{transpose-words (M-t)}{110}{\code {transpose-words (M-t)}}
|
||||
\entry{upcase-word (M-u)}{110}{\code {upcase-word (M-u)}}
|
||||
\entry{downcase-word (M-l)}{110}{\code {downcase-word (M-l)}}
|
||||
\entry{downcase-word (M-l)}{111}{\code {downcase-word (M-l)}}
|
||||
\entry{capitalize-word (M-c)}{111}{\code {capitalize-word (M-c)}}
|
||||
\entry{overwrite-mode ()}{111}{\code {overwrite-mode ()}}
|
||||
\entry{kill-line (C-k)}{111}{\code {kill-line (C-k)}}
|
||||
@@ -41,8 +41,8 @@
|
||||
\entry{shell-kill-word ()}{111}{\code {shell-kill-word ()}}
|
||||
\entry{shell-backward-kill-word ()}{111}{\code {shell-backward-kill-word ()}}
|
||||
\entry{unix-word-rubout (C-w)}{111}{\code {unix-word-rubout (C-w)}}
|
||||
\entry{unix-filename-rubout ()}{111}{\code {unix-filename-rubout ()}}
|
||||
\entry{delete-horizontal-space ()}{111}{\code {delete-horizontal-space ()}}
|
||||
\entry{unix-filename-rubout ()}{112}{\code {unix-filename-rubout ()}}
|
||||
\entry{delete-horizontal-space ()}{112}{\code {delete-horizontal-space ()}}
|
||||
\entry{kill-region ()}{112}{\code {kill-region ()}}
|
||||
\entry{copy-region-as-kill ()}{112}{\code {copy-region-as-kill ()}}
|
||||
\entry{copy-backward-word ()}{112}{\code {copy-backward-word ()}}
|
||||
@@ -52,7 +52,7 @@
|
||||
\entry{digit-argument (M-0, M-1, ...{} M--)}{112}{\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}
|
||||
\entry{universal-argument ()}{112}{\code {universal-argument ()}}
|
||||
\entry{complete (TAB)}{112}{\code {complete (\key {TAB})}}
|
||||
\entry{possible-completions (M-?)}{112}{\code {possible-completions (M-?)}}
|
||||
\entry{possible-completions (M-?)}{113}{\code {possible-completions (M-?)}}
|
||||
\entry{insert-completions (M-*)}{113}{\code {insert-completions (M-*)}}
|
||||
\entry{menu-complete ()}{113}{\code {menu-complete ()}}
|
||||
\entry{menu-complete-backward ()}{113}{\code {menu-complete-backward ()}}
|
||||
@@ -64,8 +64,8 @@
|
||||
\entry{complete-variable (M-$)}{113}{\code {complete-variable (M-$)}}
|
||||
\entry{possible-variable-completions (C-x $)}{113}{\code {possible-variable-completions (C-x $)}}
|
||||
\entry{complete-hostname (M-@)}{113}{\code {complete-hostname (M-@)}}
|
||||
\entry{possible-hostname-completions (C-x @)}{113}{\code {possible-hostname-completions (C-x @)}}
|
||||
\entry{complete-command (M-!)}{113}{\code {complete-command (M-!)}}
|
||||
\entry{possible-hostname-completions (C-x @)}{114}{\code {possible-hostname-completions (C-x @)}}
|
||||
\entry{complete-command (M-!)}{114}{\code {complete-command (M-!)}}
|
||||
\entry{possible-command-completions (C-x !)}{114}{\code {possible-command-completions (C-x !)}}
|
||||
\entry{dynamic-complete-history (M-TAB)}{114}{\code {dynamic-complete-history (M-\key {TAB})}}
|
||||
\entry{dabbrev-expand ()}{114}{\code {dabbrev-expand ()}}
|
||||
@@ -76,8 +76,8 @@
|
||||
\entry{re-read-init-file (C-x C-r)}{114}{\code {re-read-init-file (C-x C-r)}}
|
||||
\entry{abort (C-g)}{114}{\code {abort (C-g)}}
|
||||
\entry{do-uppercase-version (M-a, M-b, M-x, ...{})}{114}{\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}
|
||||
\entry{prefix-meta (ESC)}{114}{\code {prefix-meta (\key {ESC})}}
|
||||
\entry{undo (C-_ or C-x C-u)}{114}{\code {undo (C-_ or C-x C-u)}}
|
||||
\entry{prefix-meta (ESC)}{115}{\code {prefix-meta (\key {ESC})}}
|
||||
\entry{undo (C-_ or C-x C-u)}{115}{\code {undo (C-_ or C-x C-u)}}
|
||||
\entry{revert-line (M-r)}{115}{\code {revert-line (M-r)}}
|
||||
\entry{tilde-expand (M-&)}{115}{\code {tilde-expand (M-&)}}
|
||||
\entry{set-mark (C-@)}{115}{\code {set-mark (C-@)}}
|
||||
@@ -87,7 +87,7 @@
|
||||
\entry{skip-csi-sequence ()}{115}{\code {skip-csi-sequence ()}}
|
||||
\entry{insert-comment (M-#)}{115}{\code {insert-comment (M-#)}}
|
||||
\entry{dump-functions ()}{115}{\code {dump-functions ()}}
|
||||
\entry{dump-variables ()}{115}{\code {dump-variables ()}}
|
||||
\entry{dump-variables ()}{116}{\code {dump-variables ()}}
|
||||
\entry{dump-macros ()}{116}{\code {dump-macros ()}}
|
||||
\entry{glob-complete-word (M-g)}{116}{\code {glob-complete-word (M-g)}}
|
||||
\entry{glob-expand-word (C-x *)}{116}{\code {glob-expand-word (C-x *)}}
|
||||
@@ -100,4 +100,4 @@
|
||||
\entry{history-and-alias-expand-line ()}{116}{\code {history-and-alias-expand-line ()}}
|
||||
\entry{insert-last-argument (M-. or M-_)}{116}{\code {insert-last-argument (M-. or M-_)}}
|
||||
\entry{operate-and-get-next (C-o)}{116}{\code {operate-and-get-next (C-o)}}
|
||||
\entry{edit-and-execute-command (C-xC-e)}{116}{\code {edit-and-execute-command (C-xC-e)}}
|
||||
\entry{edit-and-execute-command (C-xC-e)}{117}{\code {edit-and-execute-command (C-xC-e)}}
|
||||
|
||||
+10
-10
@@ -17,7 +17,7 @@
|
||||
\entry {\code {character-search-backward (M-C-])}}{115}
|
||||
\entry {\code {clear-screen (C-l)}}{108}
|
||||
\entry {\code {complete (\key {TAB})}}{112}
|
||||
\entry {\code {complete-command (M-!)}}{113}
|
||||
\entry {\code {complete-command (M-!)}}{114}
|
||||
\entry {\code {complete-filename (M-/)}}{113}
|
||||
\entry {\code {complete-hostname (M-@)}}{113}
|
||||
\entry {\code {complete-into-braces (M-{\tt \char 123})}}{114}
|
||||
@@ -30,17 +30,17 @@
|
||||
\entry {\code {dabbrev-expand ()}}{114}
|
||||
\entry {\code {delete-char (C-d)}}{110}
|
||||
\entry {\code {delete-char-or-list ()}}{113}
|
||||
\entry {\code {delete-horizontal-space ()}}{111}
|
||||
\entry {\code {delete-horizontal-space ()}}{112}
|
||||
\entry {\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}{112}
|
||||
\entry {\code {display-shell-version (C-x C-v)}}{116}
|
||||
\entry {\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}{114}
|
||||
\entry {\code {downcase-word (M-l)}}{110}
|
||||
\entry {\code {downcase-word (M-l)}}{111}
|
||||
\entry {\code {dump-functions ()}}{115}
|
||||
\entry {\code {dump-macros ()}}{116}
|
||||
\entry {\code {dump-variables ()}}{115}
|
||||
\entry {\code {dump-variables ()}}{116}
|
||||
\entry {\code {dynamic-complete-history (M-\key {TAB})}}{114}
|
||||
\initial {E}
|
||||
\entry {\code {edit-and-execute-command (C-xC-e)}}{116}
|
||||
\entry {\code {edit-and-execute-command (C-xC-e)}}{117}
|
||||
\entry {\code {end-kbd-macro (C-x ))}}{114}
|
||||
\entry {\code {end-of-history (M->)}}{109}
|
||||
\entry {\code {end-of-line (C-e)}}{108}
|
||||
@@ -81,12 +81,12 @@
|
||||
\entry {\code {overwrite-mode ()}}{111}
|
||||
\initial {P}
|
||||
\entry {\code {possible-command-completions (C-x !)}}{114}
|
||||
\entry {\code {possible-completions (M-?)}}{112}
|
||||
\entry {\code {possible-completions (M-?)}}{113}
|
||||
\entry {\code {possible-filename-completions (C-x /)}}{113}
|
||||
\entry {\code {possible-hostname-completions (C-x @)}}{113}
|
||||
\entry {\code {possible-hostname-completions (C-x @)}}{114}
|
||||
\entry {\code {possible-username-completions (C-x ~)}}{113}
|
||||
\entry {\code {possible-variable-completions (C-x $)}}{113}
|
||||
\entry {\code {prefix-meta (\key {ESC})}}{114}
|
||||
\entry {\code {prefix-meta (\key {ESC})}}{115}
|
||||
\entry {\code {previous-history (C-p)}}{109}
|
||||
\initial {Q}
|
||||
\entry {\code {quoted-insert (C-q or C-v)}}{110}
|
||||
@@ -110,9 +110,9 @@
|
||||
\entry {\code {transpose-chars (C-t)}}{110}
|
||||
\entry {\code {transpose-words (M-t)}}{110}
|
||||
\initial {U}
|
||||
\entry {\code {undo (C-_ or C-x C-u)}}{114}
|
||||
\entry {\code {undo (C-_ or C-x C-u)}}{115}
|
||||
\entry {\code {universal-argument ()}}{112}
|
||||
\entry {\code {unix-filename-rubout ()}}{111}
|
||||
\entry {\code {unix-filename-rubout ()}}{112}
|
||||
\entry {\code {unix-line-discard (C-u)}}{111}
|
||||
\entry {\code {unix-word-rubout (C-w)}}{111}
|
||||
\entry {\code {upcase-word (M-u)}}{110}
|
||||
|
||||
+13
-7
@@ -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>
|
||||
|
||||
|
||||
+95
-88
@@ -2741,7 +2741,8 @@ standard.
|
||||
|
||||
Expressions may be combined using the following operators, listed
|
||||
in decreasing order of precedence. The evaluation depends on the
|
||||
number of arguments; see below.
|
||||
number of arguments; see below. Operator precedence is used when
|
||||
there are five or more arguments.
|
||||
|
||||
`! EXPR'
|
||||
True if EXPR is false.
|
||||
@@ -2775,7 +2776,8 @@ standard.
|
||||
unary operator, the expression is false.
|
||||
|
||||
3 arguments
|
||||
If the second argument is one of the binary conditional
|
||||
The following conditions are applied in the order listed. If
|
||||
the second argument is one of the binary conditional
|
||||
operators (*note Bash Conditional Expressions::), the result
|
||||
of the expression is the result of the binary test using the
|
||||
first and third arguments as operands. The `-a' and `-o'
|
||||
@@ -7286,11 +7288,16 @@ File: bashref.info, Node: Commands For History, Next: Commands For Text, Prev
|
||||
|
||||
`yank-last-arg (M-. or M-_)'
|
||||
Insert last argument to the previous command (the last word of the
|
||||
previous history entry). With an argument, behave exactly like
|
||||
`yank-nth-arg'. Successive calls to `yank-last-arg' move back
|
||||
through the history list, inserting the last argument of each line
|
||||
in turn. The history expansion facilities are used to extract the
|
||||
last argument, as if the `!$' history expansion had been specified.
|
||||
previous history entry). With a numeric argument, behave exactly
|
||||
like `yank-nth-arg'. Successive calls to `yank-last-arg' move
|
||||
back through the history 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 `!$' history expansion had been
|
||||
specified.
|
||||
|
||||
|
||||
|
||||
@@ -9947,17 +9954,17 @@ D.1 Index of Shell Builtin Commands
|
||||
* test: Bourne Shell Builtins.
|
||||
(line 217)
|
||||
* times: Bourne Shell Builtins.
|
||||
(line 285)
|
||||
(line 287)
|
||||
* trap: Bourne Shell Builtins.
|
||||
(line 290)
|
||||
(line 292)
|
||||
* type: Bash Builtins. (line 539)
|
||||
* typeset: Bash Builtins. (line 570)
|
||||
* ulimit: Bash Builtins. (line 576)
|
||||
* umask: Bourne Shell Builtins.
|
||||
(line 336)
|
||||
(line 338)
|
||||
* unalias: Bash Builtins. (line 665)
|
||||
* unset: Bourne Shell Builtins.
|
||||
(line 353)
|
||||
(line 355)
|
||||
* wait: Job Control Builtins.
|
||||
(line 73)
|
||||
|
||||
@@ -10511,82 +10518,82 @@ 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 Arguments303748
|
||||
Node: Commands For Completion304887
|
||||
Node: Keyboard Macros309079
|
||||
Node: Miscellaneous Commands309650
|
||||
Node: Readline vi Mode315456
|
||||
Node: Programmable Completion316363
|
||||
Node: Programmable Completion Builtins323573
|
||||
Node: Using History Interactively332709
|
||||
Node: Bash History Facilities333393
|
||||
Node: Bash History Builtins336307
|
||||
Node: History Interaction340164
|
||||
Node: Event Designators342869
|
||||
Node: Word Designators344091
|
||||
Node: Modifiers345730
|
||||
Node: Installing Bash347134
|
||||
Node: Basic Installation348271
|
||||
Node: Compilers and Options350963
|
||||
Node: Compiling For Multiple Architectures351704
|
||||
Node: Installation Names353368
|
||||
Node: Specifying the System Type354186
|
||||
Node: Sharing Defaults354902
|
||||
Node: Operation Controls355575
|
||||
Node: Optional Features356533
|
||||
Node: Reporting Bugs366092
|
||||
Node: Major Differences From The Bourne Shell367293
|
||||
Node: GNU Free Documentation License383980
|
||||
Node: Indexes409176
|
||||
Node: Builtin Index409630
|
||||
Node: Reserved Word Index416457
|
||||
Node: Variable Index418905
|
||||
Node: Function Index432000
|
||||
Node: Concept Index439009
|
||||
Node: Bash Builtins124836
|
||||
Node: Modifying Shell Behavior151050
|
||||
Node: The Set Builtin151395
|
||||
Node: The Shopt Builtin160929
|
||||
Node: Special Builtins172894
|
||||
Node: Shell Variables173873
|
||||
Node: Bourne Shell Variables174313
|
||||
Node: Bash Variables176340
|
||||
Node: Bash Features201265
|
||||
Node: Invoking Bash202148
|
||||
Node: Bash Startup Files207912
|
||||
Node: Interactive Shells212933
|
||||
Node: What is an Interactive Shell?213343
|
||||
Node: Is this Shell Interactive?213992
|
||||
Node: Interactive Shell Behavior214807
|
||||
Node: Bash Conditional Expressions218087
|
||||
Node: Shell Arithmetic221835
|
||||
Node: Aliases224594
|
||||
Node: Arrays227166
|
||||
Node: The Directory Stack231281
|
||||
Node: Directory Stack Builtins231995
|
||||
Node: Printing a Prompt234887
|
||||
Node: The Restricted Shell237639
|
||||
Node: Bash POSIX Mode239471
|
||||
Node: Job Control248132
|
||||
Node: Job Control Basics248592
|
||||
Node: Job Control Builtins253309
|
||||
Node: Job Control Variables257673
|
||||
Node: Command Line Editing258831
|
||||
Node: Introduction and Notation260398
|
||||
Node: Readline Interaction262020
|
||||
Node: Readline Bare Essentials263211
|
||||
Node: Readline Movement Commands265000
|
||||
Node: Readline Killing Commands265965
|
||||
Node: Readline Arguments267885
|
||||
Node: Searching268929
|
||||
Node: Readline Init File271115
|
||||
Node: Readline Init File Syntax272262
|
||||
Node: Conditional Init Constructs287604
|
||||
Node: Sample Init File290137
|
||||
Node: Bindable Readline Commands293254
|
||||
Node: Commands For Moving294461
|
||||
Node: Commands For History295605
|
||||
Node: Commands For Text299040
|
||||
Node: Commands For Killing301713
|
||||
Node: Numeric Arguments304170
|
||||
Node: Commands For Completion305309
|
||||
Node: Keyboard Macros309501
|
||||
Node: Miscellaneous Commands310072
|
||||
Node: Readline vi Mode315878
|
||||
Node: Programmable Completion316785
|
||||
Node: Programmable Completion Builtins323995
|
||||
Node: Using History Interactively333131
|
||||
Node: Bash History Facilities333815
|
||||
Node: Bash History Builtins336729
|
||||
Node: History Interaction340586
|
||||
Node: Event Designators343291
|
||||
Node: Word Designators344513
|
||||
Node: Modifiers346152
|
||||
Node: Installing Bash347556
|
||||
Node: Basic Installation348693
|
||||
Node: Compilers and Options351385
|
||||
Node: Compiling For Multiple Architectures352126
|
||||
Node: Installation Names353790
|
||||
Node: Specifying the System Type354608
|
||||
Node: Sharing Defaults355324
|
||||
Node: Operation Controls355997
|
||||
Node: Optional Features356955
|
||||
Node: Reporting Bugs366514
|
||||
Node: Major Differences From The Bourne Shell367715
|
||||
Node: GNU Free Documentation License384402
|
||||
Node: Indexes409598
|
||||
Node: Builtin Index410052
|
||||
Node: Reserved Word Index416879
|
||||
Node: Variable Index419327
|
||||
Node: Function Index432422
|
||||
Node: Concept Index439431
|
||||
|
||||
End Tag Table
|
||||
|
||||
+20
-19
@@ -1,4 +1,4 @@
|
||||
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 14 NOV 2010 15:03
|
||||
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 7 DEC 2010 16:12
|
||||
**/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]:
|
||||
@@ -232,7 +232,7 @@ arallel -k traceroute[]
|
||||
[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 3410--3423
|
||||
Underfull \hbox (badness 5231) in paragraph at lines 3411--3424
|
||||
@texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr
|
||||
m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
|
||||
|
||||
@@ -245,7 +245,7 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
|
||||
.etc.
|
||||
|
||||
[44] [45] [46] [47] [48] [49]
|
||||
Overfull \hbox (172.34125pt too wide) in paragraph at lines 3868--3868
|
||||
Overfull \hbox (172.34125pt too wide) in paragraph at lines 3869--3869
|
||||
[]@texttt read [-ers] [-a @textttsl aname@texttt ] [-d @textttsl de-lim@texttt
|
||||
] [-i @textttsl text@texttt ] [-n @textttsl nchars@texttt ] [-N @textttsl ncha
|
||||
rs@texttt ] [-p @textttsl prompt@texttt ] [-t @textttsl time-
|
||||
@@ -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 5486--5486
|
||||
Overfull \hbox (51.96864pt too wide) in paragraph at lines 5487--5487
|
||||
[]@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 5487--5487
|
||||
Overfull \hbox (76.23077pt too wide) in paragraph at lines 5488--5488
|
||||
[]@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 5487--5487
|
||||
.etc.
|
||||
|
||||
|
||||
Overfull \hbox (34.72258pt too wide) in paragraph at lines 5488--5488
|
||||
Overfull \hbox (34.72258pt too wide) in paragraph at lines 5489--5489
|
||||
[]@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 5661--5663
|
||||
Underfull \hbox (badness 2245) in paragraph at lines 5662--5664
|
||||
[]@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 6830--6833
|
||||
Underfull \hbox (badness 2521) in paragraph at lines 6831--6834
|
||||
@textrm `@texttt --enable-strict-posix-default[]@textrm '[] to @texttt configur
|
||||
e[] @textrm when build-ing (see Sec-tion 10.8
|
||||
|
||||
@@ -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 1815--1815
|
||||
Overfull \hbox (12.05716pt too wide) in paragraph at lines 1819--1819
|
||||
[]@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 1925--1928
|
||||
Underfull \hbox (badness 2753) in paragraph at lines 1929--1932
|
||||
@texttt hostname[]@textrm Hostnames, as taken from the file spec-i-fied by
|
||||
|
||||
@hbox(7.60416+2.12917)x433.62, glue set 3.02202
|
||||
@@ -379,9 +379,10 @@ Underfull \hbox (badness 2753) in paragraph at lines 1925--1928
|
||||
.@texttt o
|
||||
.etc.
|
||||
|
||||
[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 7431--7435
|
||||
[121] [122]) (/Users/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9
|
||||
[123] [124] [125] [126] [127] [128]) Chapter 10 [129] [130] [131] [132]
|
||||
[133]
|
||||
Underfull \hbox (badness 2772) in paragraph at lines 7432--7436
|
||||
[]@textrm Enable sup-port for large files (@texttt http://www.sas.com/standard
|
||||
s/large_
|
||||
|
||||
@@ -393,11 +394,11 @@ s/large_
|
||||
.@textrm a
|
||||
.etc.
|
||||
|
||||
[132] [133] [134] Appendix A [135] [136] Appendix B [137] [138] [139] [140]
|
||||
[141] [142] [143] Appendix C [144] (./fdl.texi [145] [146] [147] [148] [149]
|
||||
[150] [151]) Appendix D [152] (./bashref.bts) [153] (./bashref.rws)
|
||||
(./bashref.vrs [154] [155]) (./bashref.fns [156] [157]) (./bashref.cps [158])
|
||||
[159] [160] )
|
||||
[134] [135] [136] Appendix A [137] [138] Appendix B [139] [140] [141] [142]
|
||||
[143] [144] [145] Appendix C [146] (./fdl.texi [147] [148] [149] [150] [151]
|
||||
[152] [153]) Appendix D [154] (./bashref.bts) [155] (./bashref.rws)
|
||||
(./bashref.vrs [156] [157]) (./bashref.fns [158] [159]) (./bashref.cps [160])
|
||||
[161] [162] )
|
||||
Here is how much of TeX's memory you used:
|
||||
2081 strings out of 97980
|
||||
28558 string characters out of 1221004
|
||||
@@ -407,4 +408,4 @@ Here is how much of TeX's memory you used:
|
||||
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, 679056 bytes).
|
||||
Output written on bashref.dvi (168 pages, 679664 bytes).
|
||||
|
||||
Binary file not shown.
+837
-820
File diff suppressed because it is too large
Load Diff
+26
-26
@@ -110,29 +110,29 @@
|
||||
@numsecentry{Readline vi Mode}{8.5}{Readline vi Mode}{117}
|
||||
@numsecentry{Programmable Completion}{8.6}{Programmable Completion}{117}
|
||||
@numsecentry{Programmable Completion Builtins}{8.7}{Programmable Completion Builtins}{119}
|
||||
@numchapentry{Using History Interactively}{9}{Using History Interactively}{123}
|
||||
@numsecentry{Bash History Facilities}{9.1}{Bash History Facilities}{123}
|
||||
@numsecentry{Bash History Builtins}{9.2}{Bash History Builtins}{123}
|
||||
@numsecentry{History Expansion}{9.3}{History Interaction}{125}
|
||||
@numsubsecentry{Event Designators}{9.3.1}{Event Designators}{125}
|
||||
@numsubsecentry{Word Designators}{9.3.2}{Word Designators}{126}
|
||||
@numsubsecentry{Modifiers}{9.3.3}{Modifiers}{127}
|
||||
@numchapentry{Installing Bash}{10}{Installing Bash}{129}
|
||||
@numsecentry{Basic Installation}{10.1}{Basic Installation}{129}
|
||||
@numsecentry{Compilers and Options}{10.2}{Compilers and Options}{130}
|
||||
@numsecentry{Compiling For Multiple Architectures}{10.3}{Compiling For Multiple Architectures}{130}
|
||||
@numsecentry{Installation Names}{10.4}{Installation Names}{130}
|
||||
@numsecentry{Specifying the System Type}{10.5}{Specifying the System Type}{130}
|
||||
@numsecentry{Sharing Defaults}{10.6}{Sharing Defaults}{131}
|
||||
@numsecentry{Operation Controls}{10.7}{Operation Controls}{131}
|
||||
@numsecentry{Optional Features}{10.8}{Optional Features}{131}
|
||||
@appentry{Reporting Bugs}{A}{Reporting Bugs}{137}
|
||||
@appentry{Major Differences From The Bourne Shell}{B}{Major Differences From The Bourne Shell}{139}
|
||||
@appsecentry{Implementation Differences From The SVR4.2 Shell}{B.1}{}{143}
|
||||
@appentry{GNU Free Documentation License}{C}{GNU Free Documentation License}{145}
|
||||
@appentry{Indexes}{D}{Indexes}{153}
|
||||
@appsecentry{Index of Shell Builtin Commands}{D.1}{Builtin Index}{153}
|
||||
@appsecentry{Index of Shell Reserved Words}{D.2}{Reserved Word Index}{154}
|
||||
@appsecentry{Parameter and Variable Index}{D.3}{Variable Index}{154}
|
||||
@appsecentry{Function Index}{D.4}{Function Index}{156}
|
||||
@appsecentry{Concept Index}{D.5}{Concept Index}{158}
|
||||
@numchapentry{Using History Interactively}{9}{Using History Interactively}{125}
|
||||
@numsecentry{Bash History Facilities}{9.1}{Bash History Facilities}{125}
|
||||
@numsecentry{Bash History Builtins}{9.2}{Bash History Builtins}{125}
|
||||
@numsecentry{History Expansion}{9.3}{History Interaction}{127}
|
||||
@numsubsecentry{Event Designators}{9.3.1}{Event Designators}{127}
|
||||
@numsubsecentry{Word Designators}{9.3.2}{Word Designators}{128}
|
||||
@numsubsecentry{Modifiers}{9.3.3}{Modifiers}{129}
|
||||
@numchapentry{Installing Bash}{10}{Installing Bash}{131}
|
||||
@numsecentry{Basic Installation}{10.1}{Basic Installation}{131}
|
||||
@numsecentry{Compilers and Options}{10.2}{Compilers and Options}{132}
|
||||
@numsecentry{Compiling For Multiple Architectures}{10.3}{Compiling For Multiple Architectures}{132}
|
||||
@numsecentry{Installation Names}{10.4}{Installation Names}{132}
|
||||
@numsecentry{Specifying the System Type}{10.5}{Specifying the System Type}{132}
|
||||
@numsecentry{Sharing Defaults}{10.6}{Sharing Defaults}{133}
|
||||
@numsecentry{Operation Controls}{10.7}{Operation Controls}{133}
|
||||
@numsecentry{Optional Features}{10.8}{Optional Features}{133}
|
||||
@appentry{Reporting Bugs}{A}{Reporting Bugs}{139}
|
||||
@appentry{Major Differences From The Bourne Shell}{B}{Major Differences From The Bourne Shell}{141}
|
||||
@appsecentry{Implementation Differences From The SVR4.2 Shell}{B.1}{}{145}
|
||||
@appentry{GNU Free Documentation License}{C}{GNU Free Documentation License}{147}
|
||||
@appentry{Indexes}{D}{Indexes}{155}
|
||||
@appsecentry{Index of Shell Builtin Commands}{D.1}{Builtin Index}{155}
|
||||
@appsecentry{Index of Shell Reserved Words}{D.2}{Reserved Word Index}{156}
|
||||
@appsecentry{Parameter and Variable Index}{D.3}{Variable Index}{156}
|
||||
@appsecentry{Function Index}{D.4}{Function Index}{158}
|
||||
@appsecentry{Concept Index}{D.5}{Concept Index}{160}
|
||||
|
||||
+7
-5
@@ -1408,10 +1408,11 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
|
||||
Expressions may be combined using the following operators,
|
||||
listed in decreasing order of precedence. The evaluation
|
||||
depends on the number of arguments; see below.
|
||||
depends on the number of arguments; see below. Operator prece-
|
||||
dence is used when there are five or more arguments.
|
||||
!! _e_x_p_r True if _e_x_p_r is false.
|
||||
(( _e_x_p_r ))
|
||||
Returns the value of _e_x_p_r. This may be used to override
|
||||
Returns the value of _e_x_p_r. This may be used to override
|
||||
the normal precedence of operators.
|
||||
_e_x_p_r_1 -aa _e_x_p_r_2
|
||||
True if both _e_x_p_r_1 and _e_x_p_r_2 are true.
|
||||
@@ -1428,13 +1429,14 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
null.
|
||||
2 arguments
|
||||
If the first argument is !!, the expression is true if and
|
||||
only if the second argument is null. If the first argu-
|
||||
ment is one of the unary conditional operators listed
|
||||
above under CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS, the expression is
|
||||
only if the second argument is null. If the first argu-
|
||||
ment is one of the unary conditional operators listed
|
||||
above under CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS, the expression is
|
||||
true if the unary test is true. If the first argument is
|
||||
not a valid unary conditional operator, the expression is
|
||||
false.
|
||||
3 arguments
|
||||
The following conditions are applied in the order listed.
|
||||
If the second argument is one of the binary conditional
|
||||
operators listed above under CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS, the
|
||||
result of the expression is the result of the binary test
|
||||
|
||||
+204
-202
@@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0
|
||||
%%Creator: groff version 1.19.2
|
||||
%%CreationDate: Mon Oct 25 10:55:37 2010
|
||||
%%CreationDate: Tue Dec 7 16:12:42 2010
|
||||
%%DocumentNeededResources: font Times-Roman
|
||||
%%+ font Times-Bold
|
||||
%%+ font Times-Italic
|
||||
@@ -1830,23 +1830,22 @@ BP
|
||||
.569(wing a)-.25 F/F2 10/Times-Bold@0 SF(while)3.069 E F0(or)3.069 E F2
|
||||
(until)3.069 E F0 -.1(ke)3.069 G(yw)-.05 E .569
|
||||
(ord, part of the test follo)-.1 F .57(wing the)-.25 F F2(if)3.07 E F0
|
||||
(or)3.07 E F2(elif)3.07 E F0(reserv)184 120 Q .544(ed w)-.15 F .544
|
||||
(ords, part of an)-.1 F 3.044(yc)-.15 G .544(ommand e)-3.044 F -.15(xe)
|
||||
-.15 G .544(cuted in a).15 F F2(&&)3.044 E F0(or)3.044 E/F3 10/Symbol SF
|
||||
<efef>3.044 E F0 .544(list e)3.044 F .544(xcept the command)-.15 F
|
||||
(follo)184 132 Q 1.23(wing the \214nal)-.25 F F2(&&)3.73 E F0(or)3.73 E
|
||||
F3<efef>3.73 E F0 3.73(,a)C 1.53 -.15(ny c)-3.73 H 1.231
|
||||
(ommand in a pipeline b).15 F 1.231(ut the last, or if the com-)-.2 F
|
||||
(mand')184 144 Q 3.191(sr)-.55 G .691(eturn v)-3.191 F .691
|
||||
(alue is being in)-.25 F -.15(ve)-.4 G .691(rted with).15 F F2(!)3.191 E
|
||||
F0 5.691(.A)C .691(trap on)-2.5 F F2(ERR)3.19 E F0 3.19(,i)C 3.19(fs)
|
||||
-3.19 G .69(et, is e)-3.19 F -.15(xe)-.15 G .69(cuted before).15 F .686
|
||||
(the shell e)184 156 R 3.186(xits. This)-.15 F .686
|
||||
(option applies to the shell en)3.186 F .686
|
||||
(vironment and each subshell en)-.4 F(viron-)-.4 E .068
|
||||
(ment separately \(see)184 168 R F1 .068(COMMAND EXECUTION ENVIR)2.568 F
|
||||
(ONMENT)-.27 E F0(abo)2.318 E -.15(ve)-.15 G .068(\), and may cause).15
|
||||
F(subshells to e)184 180 Q(xit before e)-.15 E -.15(xe)-.15 G
|
||||
(or)3.07 E F2(elif)3.07 E F0(reserv)184 120 Q .91(ed w)-.15 F .91
|
||||
(ords, part of an)-.1 F 3.41(yc)-.15 G .909(ommand e)-3.41 F -.15(xe)
|
||||
-.15 G .909(cuted in a).15 F F2(&&)3.409 E F0(or)3.409 E F2(||)3.409 E
|
||||
F0 .909(list e)3.409 F .909(xcept the command)-.15 F(follo)184 132 Q
|
||||
.049(wing the \214nal)-.25 F F2(&&)2.549 E F0(or)2.549 E F2(||)2.549 E
|
||||
F0 2.549(,a)C .349 -.15(ny c)-2.549 H .049(ommand in a pipeline b).15 F
|
||||
.05(ut the last, or if the command')-.2 F(s)-.55 E .373(return v)184 144
|
||||
R .373(alue is being in)-.25 F -.15(ve)-.4 G .373(rted with).15 F F2(!)
|
||||
2.873 E F0 5.372(.A)C .372(trap on)-2.5 F F2(ERR)2.872 E F0 2.872(,i)C
|
||||
2.872(fs)-2.872 G .372(et, is e)-2.872 F -.15(xe)-.15 G .372
|
||||
(cuted before the shell).15 F -.15(ex)184 156 S 2.896(its. This).15 F
|
||||
.397(option applies to the shell en)2.896 F .397
|
||||
(vironment and each subshell en)-.4 F .397(vironment sepa-)-.4 F .191
|
||||
(rately \(see)184 168 R F1 .19(COMMAND EXECUTION ENVIR)2.691 F(ONMENT)
|
||||
-.27 E F0(abo)2.44 E -.15(ve)-.15 G .19(\), and may cause subshells).15
|
||||
F(to e)184 180 Q(xit before e)-.15 E -.15(xe)-.15 G
|
||||
(cuting all the commands in the subshell.).15 E F2<ad66>144 192 Q F0
|
||||
(Disable pathname e)30.97 E(xpansion.)-.15 E F2<ad68>144 204 Q F0 2.238
|
||||
(Remember the location of commands as the)28.74 F 4.738(ya)-.15 G 2.239
|
||||
@@ -1868,8 +1867,8 @@ F .513(vironment for a)-.4 F
|
||||
-.15(xe)-.15 G .653(cute them.).15 F .652
|
||||
(This may be used to check a shell script for)5.653 F(syntax errors.)184
|
||||
312 Q(This is ignored by interacti)5 E .3 -.15(ve s)-.25 H(hells.).15 E
|
||||
F2<ad6f>144 324 Q/F4 10/Times-Italic@0 SF(option\255name)2.5 E F0(The)
|
||||
184 336 Q F4(option\255name)2.5 E F0(can be one of the follo)2.5 E
|
||||
F2<ad6f>144 324 Q/F3 10/Times-Italic@0 SF(option\255name)2.5 E F0(The)
|
||||
184 336 Q F3(option\255name)2.5 E F0(can be one of the follo)2.5 E
|
||||
(wing:)-.25 E F2(allexport)184 348 Q F0(Same as)224 360 Q F2<ad61>2.5 E
|
||||
F0(.)A F2(braceexpand)184 372 Q F0(Same as)224 384 Q F2<ad42>2.5 E F0(.)
|
||||
A F2(emacs)184 396 Q F0 .089
|
||||
@@ -1886,10 +1885,10 @@ F0(Same as)9.43 E F2<ad68>2.5 E F0(.)A F2(histexpand)184 492 Q F0
|
||||
(Same as)224 504 Q F2<ad48>2.5 E F0(.)A F2(history)184 516 Q F0 .586
|
||||
(Enable command history)10 F 3.087(,a)-.65 G 3.087(sd)-3.087 G .587
|
||||
(escribed abo)-3.087 F .887 -.15(ve u)-.15 H(nder).15 E F1(HIST)3.087 E
|
||||
(OR)-.162 E(Y)-.315 E/F5 9/Times-Roman@0 SF(.)A F0 .587(This option is)
|
||||
(OR)-.162 E(Y)-.315 E/F4 9/Times-Roman@0 SF(.)A F0 .587(This option is)
|
||||
5.087 F(on by def)224 528 Q(ault in interacti)-.1 E .3 -.15(ve s)-.25 H
|
||||
(hells.).15 E F2(ignor)184 540 Q(eeof)-.18 E F0 1.657(The ef)224 552 R
|
||||
1.657(fect is as if the shell command)-.25 F/F6 10/Courier@0 SF
|
||||
1.657(fect is as if the shell command)-.25 F/F5 10/Courier@0 SF
|
||||
(IGNOREEOF=10)4.156 E F0 1.656(had been e)4.156 F -.15(xe)-.15 G(cuted)
|
||||
.15 E(\(see)224 564 Q F2(Shell V)2.5 E(ariables)-.92 E F0(abo)2.5 E -.15
|
||||
(ve)-.15 G(\).).15 E F2 -.1(ke)184 576 S(yw).1 E(ord)-.1 E F0(Same as)
|
||||
@@ -2372,224 +2371,224 @@ F1(test)6.39 E F0 1.889(does not accept an)4.389 F 4.389(yo)-.15 G 1.889
|
||||
(ptions, nor)-4.389 F(does it accept and ignore an ar)144 276 Q
|
||||
(gument of)-.18 E F1<adad>2.5 E F0(as signifying the end of options.)2.5
|
||||
E .785(Expressions may be combined using the follo)144 294 R .786
|
||||
(wing operators, listed in decreasing order of prece-)-.25 F 2.5
|
||||
(dence. The)144 306 R -.25(eva)2.5 G
|
||||
(luation depends on the number of ar).25 E(guments; see belo)-.18 E -.65
|
||||
(w.)-.25 G F1(!)144 318 Q F3 -.2(ex)2.5 G(pr).2 E F0 -.35(Tr)12.6 G
|
||||
(ue if).35 E F3 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E(alse.)-.1 E F1(\()
|
||||
144 330 Q F3 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 .26(Returns the v)6.77
|
||||
F .26(alue of)-.25 F F3 -.2(ex)2.76 G(pr).2 E F0 5.26(.T)C .26
|
||||
(his may be used to o)-5.26 F -.15(ve)-.15 G .26
|
||||
(rride the normal precedence of opera-).15 F(tors.)180 342 Q F3 -.2(ex)
|
||||
144 354 S(pr1).2 E F0<ad>2.5 E F1(a)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35
|
||||
(Tr)180 366 S(ue if both).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F3
|
||||
-.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F3 -.2(ex)144 378 S(pr1).2 E
|
||||
F0<ad>2.5 E F1(o)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 390 S
|
||||
(wing operators, listed in decreasing order of prece-)-.25 F 3.412
|
||||
(dence. The)144 306 R -.25(eva)3.412 G .912
|
||||
(luation depends on the number of ar).25 F .911(guments; see belo)-.18 F
|
||||
4.711 -.65(w. O)-.25 H .911(perator precedence is).65 F
|
||||
(used when there are \214v)144 318 Q 2.5(eo)-.15 G 2.5(rm)-2.5 G(ore ar)
|
||||
-2.5 E(guments.)-.18 E F1(!)144 330 Q F3 -.2(ex)2.5 G(pr).2 E F0 -.35
|
||||
(Tr)12.6 G(ue if).35 E F3 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E(alse.)-.1
|
||||
E F1(\()144 342 Q F3 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 .26
|
||||
(Returns the v)6.77 F .26(alue of)-.25 F F3 -.2(ex)2.76 G(pr).2 E F0
|
||||
5.26(.T)C .26(his may be used to o)-5.26 F -.15(ve)-.15 G .26
|
||||
(rride the normal precedence of opera-).15 F(tors.)180 354 Q F3 -.2(ex)
|
||||
144 366 S(pr1).2 E F0<ad>2.5 E F1(a)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35
|
||||
(Tr)180 378 S(ue if both).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F3
|
||||
-.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F3 -.2(ex)144 390 S(pr1).2 E
|
||||
F0<ad>2.5 E F1(o)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 402 S
|
||||
(ue if either).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F3 -.2(ex)2.5 G
|
||||
(pr2).2 E F0(is true.)2.52 E F1(test)144 406.8 Q F0(and)2.5 E F1([)2.5 E
|
||||
(pr2).2 E F0(is true.)2.52 E F1(test)144 418.8 Q F0(and)2.5 E F1([)2.5 E
|
||||
F0 -.25(eva)2.5 G(luate conditional e).25 E
|
||||
(xpressions using a set of rules based on the number of ar)-.15 E
|
||||
(guments.)-.18 E 2.5(0a)144 424.8 S -.18(rg)-2.5 G(uments).18 E(The e)
|
||||
180 436.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 448.8 S -.18
|
||||
(rg)-2.5 G(ument).18 E(The e)180 460.8 Q
|
||||
(guments.)-.18 E 2.5(0a)144 436.8 S -.18(rg)-2.5 G(uments).18 E(The e)
|
||||
180 448.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 460.8 S -.18
|
||||
(rg)-2.5 G(ument).18 E(The e)180 472.8 Q
|
||||
(xpression is true if and only if the ar)-.15 E(gument is not null.)-.18
|
||||
E 2.5(2a)144 472.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar)
|
||||
180 484.8 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87
|
||||
E 2.5(2a)144 484.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar)
|
||||
180 496.8 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87
|
||||
F .37(xpression is true if and only if the second ar)-.15 F .37
|
||||
(gument is null.)-.18 F .38(If the \214rst ar)180 496.8 R .38
|
||||
(gument is one of the unary conditional operators listed abo)-.18 F .679
|
||||
-.15(ve u)-.15 H(nder).15 E F2(CONDI-)2.879 E(TION)180 508.8 Q .552
|
||||
(gument is null.)-.18 F .379(If the \214rst ar)180 508.8 R .38
|
||||
(gument is one of the unary conditional operators listed abo)-.18 F .68
|
||||
-.15(ve u)-.15 H(nder).15 E F2(CONDI-)2.88 E(TION)180 520.8 Q .553
|
||||
(AL EXPRESSIONS)-.18 F F4(,)A F0 .552(the e)2.802 F .552
|
||||
(xpression is true if the unary test is true.)-.15 F .552
|
||||
(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 520.8 Q
|
||||
(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 532.8 Q
|
||||
(alid unary conditional operator)-.25 E 2.5(,t)-.4 G(he e)-2.5 E
|
||||
(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 532.8 S -.18(rg)-2.5 G
|
||||
(uments).18 E .024(If the second ar)180 544.8 R .023
|
||||
(gument is one of the binary conditional operators listed abo)-.18 F
|
||||
.323 -.15(ve u)-.15 H(nder).15 E F2(CON-)2.523 E(DITION)180 556.8 Q
|
||||
1.477(AL EXPRESSIONS)-.18 F F4(,)A F0 1.477(the result of the e)3.727 F
|
||||
1.477(xpression is the result of the binary test)-.15 F .513
|
||||
(using the \214rst and third ar)180 568.8 R .513(guments as operands.)
|
||||
-.18 F(The)5.513 E F1<ad61>3.013 E F0(and)3.013 E F1<ad6f>3.013 E F0
|
||||
.512(operators are considered)3.013 F .972
|
||||
(binary operators when there are three ar)180 580.8 R 3.472(guments. If)
|
||||
-.18 F .972(the \214rst ar)3.472 F .972(gument is)-.18 F F1(!)3.472 E F0
|
||||
3.472(,t)C .972(he v)-3.472 F .972(alue is)-.25 F .884(the ne)180 592.8
|
||||
R -.05(ga)-.15 G .884(tion of the tw).05 F(o-ar)-.1 E .884
|
||||
(gument test using the second and third ar)-.18 F 3.383(guments. If)-.18
|
||||
F .883(the \214rst)3.383 F(ar)180 604.8 Q .874(gument is e)-.18 F
|
||||
(xactly)-.15 E F1(\()3.374 E F0 .875(and the third ar)3.374 F .875
|
||||
(gument is e)-.18 F(xactly)-.15 E F1(\))3.375 E F0 3.375(,t)C .875
|
||||
(he result is the one-ar)-3.375 F(gument)-.18 E(test of the second ar)
|
||||
180 616.8 Q 2.5(gument. Otherwise,)-.18 F(the e)2.5 E(xpression is f)
|
||||
-.15 E(alse.)-.1 E 2.5(4a)144 628.8 S -.18(rg)-2.5 G(uments).18 E .385
|
||||
(If the \214rst ar)180 640.8 R .385(gument is)-.18 F F1(!)2.885 E F0
|
||||
2.885(,t)C .385(he result is the ne)-2.885 F -.05(ga)-.15 G .384
|
||||
(tion of the three-ar).05 F .384(gument e)-.18 F .384(xpression com-)
|
||||
-.15 F 1.647(posed of the remaining ar)180 652.8 R 4.147
|
||||
(guments. Otherwise,)-.18 F 1.647(the e)4.147 F 1.648
|
||||
(xpression is parsed and e)-.15 F -.25(va)-.25 G(luated).25 E
|
||||
(according to precedence using the rules listed abo)180 664.8 Q -.15(ve)
|
||||
-.15 G(.).15 E 2.5(5o)144 676.8 S 2.5(rm)-2.5 G(ore ar)-2.5 E(guments)
|
||||
-.18 E 1.635(The e)180 688.8 R 1.635(xpression is parsed and e)-.15 F
|
||||
-.25(va)-.25 G 1.635
|
||||
(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 544.8 S -.18(rg)-2.5 G
|
||||
(uments).18 E .236(The follo)180 556.8 R .236
|
||||
(wing conditions are applied in the order listed.)-.25 F .236
|
||||
(If the second ar)5.236 F .236(gument is one of)-.18 F .855
|
||||
(the binary conditional operators listed abo)180 568.8 R 1.155 -.15
|
||||
(ve u)-.15 H(nder).15 E F2(CONDITION)3.355 E .855(AL EXPRESSIONS)-.18 F
|
||||
F4(,)A F0(the)3.104 E .578(result of the e)180 580.8 R .578(xpression i\
|
||||
s the result of the binary test using the \214rst and third ar)-.15 F
|
||||
(guments)-.18 E 1.333(as operands.)180 592.8 R(The)6.333 E F1<ad61>3.833
|
||||
E F0(and)3.833 E F1<ad6f>3.832 E F0 1.332
|
||||
(operators are considered binary operators when there are)3.832 F .558
|
||||
(three ar)180 604.8 R 3.058(guments. If)-.18 F .558(the \214rst ar)3.058
|
||||
F .558(gument is)-.18 F F1(!)3.058 E F0 3.058(,t)C .558(he v)-3.058 F
|
||||
.558(alue is the ne)-.25 F -.05(ga)-.15 G .558(tion of the tw).05 F
|
||||
(o-ar)-.1 E(gument)-.18 E .521(test using the second and third ar)180
|
||||
616.8 R 3.021(guments. If)-.18 F .521(the \214rst ar)3.021 F .52
|
||||
(gument is e)-.18 F(xactly)-.15 E F1(\()3.02 E F0 .52(and the third)3.02
|
||||
F(ar)180 628.8 Q .485(gument is e)-.18 F(xactly)-.15 E F1(\))2.985 E F0
|
||||
2.985(,t)C .485(he result is the one-ar)-2.985 F .485
|
||||
(gument test of the second ar)-.18 F 2.985(gument. Other)-.18 F(-)-.2 E
|
||||
(wise, the e)180 640.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(4a)144
|
||||
652.8 S -.18(rg)-2.5 G(uments).18 E .385(If the \214rst ar)180 664.8 R
|
||||
.385(gument is)-.18 F F1(!)2.885 E F0 2.885(,t)C .385
|
||||
(he result is the ne)-2.885 F -.05(ga)-.15 G .384(tion of the three-ar)
|
||||
.05 F .384(gument e)-.18 F .384(xpression com-)-.15 F 1.647
|
||||
(posed of the remaining ar)180 676.8 R 4.147(guments. Otherwise,)-.18 F
|
||||
1.647(the e)4.147 F 1.648(xpression is parsed and e)-.15 F -.25(va)-.25
|
||||
G(luated).25 E(according to precedence using the rules listed abo)180
|
||||
688.8 Q -.15(ve)-.15 G(.).15 E 2.5(5o)144 700.8 S 2.5(rm)-2.5 G(ore ar)
|
||||
-2.5 E(guments)-.18 E 1.635(The e)180 712.8 R 1.635
|
||||
(xpression is parsed and e)-.15 F -.25(va)-.25 G 1.635
|
||||
(luated according to precedence using the rules listed).25 F(abo)180
|
||||
700.8 Q -.15(ve)-.15 G(.).15 E F1(times)108 717.6 Q F0 1.229(Print the \
|
||||
accumulated user and system times for the shell and for processes run f\
|
||||
rom the shell.)13.23 F(The return status is 0.)144 729.6 Q(GNU Bash-4.0)
|
||||
72 768 Q(2004 Apr 20)148.735 E(19)198.725 E 0 Cg EP
|
||||
724.8 Q -.15(ve)-.15 G(.).15 E(GNU Bash-4.0)72 768 Q(2004 Apr 20)148.735
|
||||
E(19)198.725 E 0 Cg EP
|
||||
%%Page: 20 20
|
||||
%%BeginPageSetup
|
||||
BP
|
||||
%%EndPageSetup
|
||||
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
|
||||
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
|
||||
/Times-Bold@0 SF(trap)108 84 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5
|
||||
E/F2 10/Times-Italic@0 SF(ar)A(g)-.37 E F0(])A F2(sigspec)2.5 E F0(...])
|
||||
2.5 E .703(The command)144 96 R F2(ar)3.533 E(g)-.37 E F0 .703
|
||||
(is to be read and e)3.423 F -.15(xe)-.15 G .702
|
||||
/Times-Bold@0 SF(times)108 84 Q F0 1.229(Print the accumulated user and\
|
||||
system times for the shell and for processes run from the shell.)13.23
|
||||
F(The return status is 0.)144 96 Q F1(trap)108 112.8 Q F0([)2.5 E F1
|
||||
(\255lp)A F0 2.5(][)C([)-2.5 E/F2 10/Times-Italic@0 SF(ar)A(g)-.37 E F0
|
||||
(])A F2(sigspec)2.5 E F0(...])2.5 E .703(The command)144 124.8 R F2(ar)
|
||||
3.533 E(g)-.37 E F0 .703(is to be read and e)3.423 F -.15(xe)-.15 G .702
|
||||
(cuted when the shell recei).15 F -.15(ve)-.25 G 3.202(ss).15 G
|
||||
(ignal\(s\))-3.202 E F2(sigspec)3.202 E F0 5.702(.I).31 G(f)-5.702 E F2
|
||||
(ar)3.532 E(g)-.37 E F0(is)3.422 E .608(absent \(and there is a single)
|
||||
144 108 R F2(sigspec)3.108 E F0 3.108(\)o)C(r)-3.108 E F1<ad>3.108 E F0
|
||||
3.108(,e)C .608
|
||||
144 136.8 R F2(sigspec)3.108 E F0 3.108(\)o)C(r)-3.108 E F1<ad>3.108 E
|
||||
F0 3.108(,e)C .608
|
||||
(ach speci\214ed signal is reset to its original disposition)-3.108 F
|
||||
.659(\(the v)144 120 R .659(alue it had upon entrance to the shell\).)
|
||||
.659(\(the v)144 148.8 R .659(alue it had upon entrance to the shell\).)
|
||||
-.25 F(If)5.658 E F2(ar)3.488 E(g)-.37 E F0 .658
|
||||
(is the null string the signal speci\214ed by each)3.378 F F2(sigspec)
|
||||
144.34 132 Q F0 .58(is ignored by the shell and by the commands it in)
|
||||
144.34 160.8 Q F0 .58(is ignored by the shell and by the commands it in)
|
||||
3.39 F -.2(vo)-.4 G -.1(ke).2 G 3.081(s. If).1 F F2(ar)3.411 E(g)-.37 E
|
||||
F0 .581(is not present and)3.301 F F1<ad70>3.081 E F0(has)3.081 E 1.215
|
||||
(been supplied, then the trap commands associated with each)144 144 R F2
|
||||
(sigspec)4.054 E F0 1.214(are displayed.)4.024 F 1.214(If no ar)6.214 F
|
||||
(gu-)-.18 E .86(ments are supplied or if only)144 156 R F1<ad70>3.36 E
|
||||
F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F1(trap)3.36 E F0 .86
|
||||
(been supplied, then the trap commands associated with each)144 172.8 R
|
||||
F2(sigspec)4.054 E F0 1.214(are displayed.)4.024 F 1.214(If no ar)6.214
|
||||
F(gu-)-.18 E .86(ments are supplied or if only)144 184.8 R F1<ad70>3.36
|
||||
E F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F1(trap)3.36 E F0 .86
|
||||
(prints the list of commands associated with each)3.36 F 2.83
|
||||
(signal. The)144 168 R F1<ad6c>2.83 E F0 .33(option causes the shell to\
|
||||
print a list of signal names and their corresponding num-)2.83 F 4.31
|
||||
(bers. Each)144 180 R F2(sigspec)4.65 E F0 1.811
|
||||
(signal. The)144 196.8 R F1<ad6c>2.83 E F0 .33(option causes the shell \
|
||||
to print a list of signal names and their corresponding num-)2.83 F 4.31
|
||||
(bers. Each)144 208.8 R F2(sigspec)4.65 E F0 1.811
|
||||
(is either a signal name de\214ned in <)4.62 F F2(signal.h)A F0 1.811
|
||||
(>, or a signal number)B 6.811(.S)-.55 G(ignal)-6.811 E
|
||||
(names are case insensiti)144 192 Q .3 -.15(ve a)-.25 H(nd the).15 E/F3
|
||||
9/Times-Bold@0 SF(SIG)2.5 E F0(pre\214x is optional.)2.25 E 1.649(If a)
|
||||
144 210 R F2(sigspec)4.489 E F0(is)4.459 E F3(EXIT)4.149 E F0 1.649
|
||||
(\(0\) the command)3.899 F F2(ar)4.479 E(g)-.37 E F0 1.649(is e)4.369 F
|
||||
-.15(xe)-.15 G 1.649(cuted on e).15 F 1.648(xit from the shell.)-.15 F
|
||||
1.648(If a)6.648 F F2(sigspec)4.488 E F0(is)4.458 E F3(DEB)144 222 Q(UG)
|
||||
-.09 E/F4 9/Times-Roman@0 SF(,)A F0 1.167(the command)3.417 F F2(ar)
|
||||
3.997 E(g)-.37 E F0 1.167(is e)3.887 F -.15(xe)-.15 G 1.167
|
||||
(names are case insensiti)144 220.8 Q .3 -.15(ve a)-.25 H(nd the).15 E
|
||||
/F3 9/Times-Bold@0 SF(SIG)2.5 E F0(pre\214x is optional.)2.25 E 1.649
|
||||
(If a)144 238.8 R F2(sigspec)4.489 E F0(is)4.459 E F3(EXIT)4.149 E F0
|
||||
1.649(\(0\) the command)3.899 F F2(ar)4.479 E(g)-.37 E F0 1.649(is e)
|
||||
4.369 F -.15(xe)-.15 G 1.649(cuted on e).15 F 1.648(xit from the shell.)
|
||||
-.15 F 1.648(If a)6.648 F F2(sigspec)4.488 E F0(is)4.458 E F3(DEB)144
|
||||
250.8 Q(UG)-.09 E/F4 9/Times-Roman@0 SF(,)A F0 1.167(the command)3.417 F
|
||||
F2(ar)3.997 E(g)-.37 E F0 1.167(is e)3.887 F -.15(xe)-.15 G 1.167
|
||||
(cuted before e).15 F -.15(ve)-.25 G(ry).15 E F2 1.168(simple command)
|
||||
3.667 F F0(,)A F2(for)3.668 E F0(command,)3.668 E F2(case)3.668 E F0
|
||||
(com-)3.668 E(mand,)144 234 Q F2(select)2.647 E F0 .147(command, e)2.647
|
||||
F -.15(ve)-.25 G .147(ry arithmetic).15 F F2(for)2.647 E F0 .146
|
||||
(com-)3.668 E(mand,)144 262.8 Q F2(select)2.647 E F0 .147(command, e)
|
||||
2.647 F -.15(ve)-.25 G .147(ry arithmetic).15 F F2(for)2.647 E F0 .146
|
||||
(command, and before the \214rst command e)2.647 F -.15(xe)-.15 G .146
|
||||
(cutes in a).15 F .145(shell function \(see)144 246 R F3 .145
|
||||
(cutes in a).15 F .145(shell function \(see)144 274.8 R F3 .145
|
||||
(SHELL GRAMMAR)2.645 F F0(abo)2.395 E -.15(ve)-.15 G 2.646(\). Refer).15
|
||||
F .146(to the description of the)2.646 F F1(extdeb)2.646 E(ug)-.2 E F0
|
||||
.146(option to)2.646 F(the)144 258 Q F1(shopt)3.201 E F0 -.2(bu)3.201 G
|
||||
.7(iltin for details of its ef).2 F .7(fect on the)-.25 F F1(DEB)3.2 E
|
||||
.146(option to)2.646 F(the)144 286.8 Q F1(shopt)3.201 E F0 -.2(bu)3.201
|
||||
G .7(iltin for details of its ef).2 F .7(fect on the)-.25 F F1(DEB)3.2 E
|
||||
(UG)-.1 E F0 3.2(trap. If)3.2 F(a)3.2 E F2(sigspec)3.54 E F0(is)3.51 E
|
||||
F3(RETURN)3.2 E F4(,)A F0 .7(the com-)2.95 F(mand)144 270 Q F2(ar)3.473
|
||||
E(g)-.37 E F0 .643(is e)3.363 F -.15(xe)-.15 G .643
|
||||
F3(RETURN)3.2 E F4(,)A F0 .7(the com-)2.95 F(mand)144 298.8 Q F2(ar)
|
||||
3.473 E(g)-.37 E F0 .643(is e)3.363 F -.15(xe)-.15 G .643
|
||||
(cuted each time a shell function or a script e).15 F -.15(xe)-.15 G
|
||||
.644(cuted with the).15 F F1(.)3.144 E F0(or)3.144 E F1(sour)3.144 E(ce)
|
||||
-.18 E F0 -.2(bu)3.144 G(iltins).2 E(\214nishes e)144 282 Q -.15(xe)-.15
|
||||
G(cuting.).15 E .929(If a)144 300 R F2(sigspec)3.769 E F0(is)3.739 E F3
|
||||
(ERR)3.429 E F4(,)A F0 .929(the command)3.179 F F2(ar)3.759 E(g)-.37 E
|
||||
F0 .929(is e)3.649 F -.15(xe)-.15 G .929(cuted whene).15 F -.15(ve)-.25
|
||||
G 3.429(ras).15 G .928(imple command has a non\255zero)-3.429 F -.15(ex)
|
||||
144 312 S 1.008(it status, subject to the follo).15 F 1.009
|
||||
(wing conditions.)-.25 F(The)6.009 E F3(ERR)3.509 E F0 1.009
|
||||
-.18 E F0 -.2(bu)3.144 G(iltins).2 E(\214nishes e)144 310.8 Q -.15(xe)
|
||||
-.15 G(cuting.).15 E .929(If a)144 328.8 R F2(sigspec)3.769 E F0(is)
|
||||
3.739 E F3(ERR)3.429 E F4(,)A F0 .929(the command)3.179 F F2(ar)3.759 E
|
||||
(g)-.37 E F0 .929(is e)3.649 F -.15(xe)-.15 G .929(cuted whene).15 F
|
||||
-.15(ve)-.25 G 3.429(ras).15 G .928(imple command has a non\255zero)
|
||||
-3.429 F -.15(ex)144 340.8 S 1.008(it status, subject to the follo).15 F
|
||||
1.009(wing conditions.)-.25 F(The)6.009 E F3(ERR)3.509 E F0 1.009
|
||||
(trap is not e)3.259 F -.15(xe)-.15 G 1.009(cuted if the f).15 F 1.009
|
||||
(ailed com-)-.1 F .324
|
||||
(mand is part of the command list immediately follo)144 324 R .324
|
||||
(mand is part of the command list immediately follo)144 352.8 R .324
|
||||
(wing a)-.25 F F1(while)2.824 E F0(or)2.824 E F1(until)2.824 E F0 -.1
|
||||
(ke)2.824 G(yw)-.05 E .324(ord, part of the test)-.1 F 1.128(in an)144
|
||||
336 R F2(if)3.639 E F0 1.129(statement, part of a command e)5.589 F -.15
|
||||
(xe)-.15 G 1.129(cuted in a).15 F F1(&&)3.629 E F0(or)3.629 E/F5 10
|
||||
/Symbol SF<efef>3.629 E F0 1.129(list, or if the command')3.629 F 3.629
|
||||
(sr)-.55 G(eturn)-3.629 E -.25(va)144 348 S(lue is being in).25 E -.15
|
||||
(ve)-.4 G(rted via).15 E F1(!)2.5 E F0 5(.T)C
|
||||
(hese are the same conditions obe)-5 E(yed by the)-.15 E F1(err)2.5 E
|
||||
(exit)-.18 E F0(option.)2.5 E 1.095
|
||||
(ke)2.824 G(yw)-.05 E .324(ord, part of the test)-.1 F .151(in an)144
|
||||
364.8 R F2(if)2.661 E F0 .151(statement, part of a command e)4.611 F
|
||||
-.15(xe)-.15 G .151(cuted in a).15 F F1(&&)2.651 E F0(or)2.651 E F1(||)
|
||||
2.651 E F0 .151(list, or if the command')2.651 F 2.651(sr)-.55 G .151
|
||||
(eturn v)-2.651 F(alue)-.25 E(is being in)144 376.8 Q -.15(ve)-.4 G
|
||||
(rted via).15 E F1(!)2.5 E F0 5(.T)C(hese are the same conditions obe)-5
|
||||
E(yed by the)-.15 E F1(err)2.5 E(exit)-.18 E F0(option.)2.5 E 1.095
|
||||
(Signals ignored upon entry to the shell cannot be trapped or reset.)144
|
||||
366 R -.35(Tr)6.095 G 1.095(apped signals that are not).35 F .662
|
||||
(being ignored are reset to their original v)144 378 R .662
|
||||
394.8 R -.35(Tr)6.095 G 1.095(apped signals that are not).35 F .662
|
||||
(being ignored are reset to their original v)144 406.8 R .662
|
||||
(alues in a subshell or subshell en)-.25 F .662(vironment when one is)
|
||||
-.4 F 2.5(created. The)144 390 R(return status is f)2.5 E(alse if an)-.1
|
||||
E(y)-.15 E F2(sigspec)2.84 E F0(is in)2.81 E -.25(va)-.4 G
|
||||
-.4 F 2.5(created. The)144 418.8 R(return status is f)2.5 E(alse if an)
|
||||
-.1 E(y)-.15 E F2(sigspec)2.84 E F0(is in)2.81 E -.25(va)-.4 G
|
||||
(lid; otherwise).25 E F1(trap)2.5 E F0(returns true.)2.5 E F1(type)108
|
||||
406.8 Q F0([)2.5 E F1(\255aftpP)A F0(])A F2(name)2.5 E F0([)2.5 E F2
|
||||
(name)A F0(...])2.5 E -.4(Wi)144 418.8 S .174
|
||||
435.6 Q F0([)2.5 E F1(\255aftpP)A F0(])A F2(name)2.5 E F0([)2.5 E F2
|
||||
(name)A F0(...])2.5 E -.4(Wi)144 447.6 S .174
|
||||
(th no options, indicate ho).4 F 2.674(we)-.25 G(ach)-2.674 E F2(name)
|
||||
3.034 E F0 -.1(wo)2.854 G .173
|
||||
(uld be interpreted if used as a command name.).1 F .173(If the)5.173 F
|
||||
F1<ad74>144 430.8 Q F0 .842(option is used,)3.342 F F1(type)3.342 E F0
|
||||
F1<ad74>144 459.6 Q F0 .842(option is used,)3.342 F F1(type)3.342 E F0
|
||||
.843(prints a string which is one of)3.343 F F2(alias)3.343 E F0(,).27 E
|
||||
F2 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F2(function)3.343 E F0
|
||||
(,).24 E F2 -.2(bu)3.343 G(iltin).2 E F0 3.343(,o).24 G(r)-3.343 E F2
|
||||
(\214le)5.253 E F0(if)3.523 E F2(name)144.36 442.8 Q F0 .087
|
||||
(\214le)5.253 E F0(if)3.523 E F2(name)144.36 471.6 Q F0 .087
|
||||
(is an alias, shell reserv)2.767 F .087(ed w)-.15 F .087
|
||||
(ord, function, b)-.1 F .086(uiltin, or disk \214le, respecti)-.2 F -.15
|
||||
(ve)-.25 G(ly).15 E 5.086(.I)-.65 G 2.586(ft)-5.086 G(he)-2.586 E F2
|
||||
(name)2.946 E F0 .086(is not)2.766 F .118
|
||||
(found, then nothing is printed, and an e)144 454.8 R .118
|
||||
(found, then nothing is printed, and an e)144 483.6 R .118
|
||||
(xit status of f)-.15 F .118(alse is returned.)-.1 F .119(If the)5.119 F
|
||||
F1<ad70>2.619 E F0 .119(option is used,)2.619 F F1(type)2.619 E F0 .855
|
||||
(either returns the name of the disk \214le that w)144 466.8 R .855
|
||||
(either returns the name of the disk \214le that w)144 495.6 R .855
|
||||
(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F2(name)3.715 E F0
|
||||
.855(were speci\214ed as a com-)3.535 F .64(mand name, or nothing if)144
|
||||
478.8 R/F6 10/Courier@0 SF .64(type -t name)3.14 F F0 -.1(wo)3.14 G .641
|
||||
507.6 R/F5 10/Courier@0 SF .64(type -t name)3.14 F F0 -.1(wo)3.14 G .641
|
||||
(uld not return).1 F F2(\214le)3.141 E F0 5.641(.T).18 G(he)-5.641 E F1
|
||||
<ad50>3.141 E F0 .641(option forces a)3.141 F F3 -.666(PA)3.141 G(TH)
|
||||
-.189 E F0 .113(search for each)144 490.8 R F2(name)2.613 E F0 2.613(,e)
|
||||
C -.15(ve)-2.863 G 2.613(ni).15 G(f)-2.613 E F6 .113(type -t name)2.613
|
||||
-.189 E F0 .113(search for each)144 519.6 R F2(name)2.613 E F0 2.613(,e)
|
||||
C -.15(ve)-2.863 G 2.613(ni).15 G(f)-2.613 E F5 .113(type -t name)2.613
|
||||
F F0 -.1(wo)2.613 G .113(uld not return).1 F F2(\214le)2.613 E F0 5.113
|
||||
(.I).18 G 2.613(fa)-5.113 G .112(command is hashed,)-.001 F F1<ad70>
|
||||
2.612 E F0(and)144 502.8 Q F1<ad50>2.944 E F0 .444(print the hashed v)
|
||||
2.612 E F0(and)144 531.6 Q F1<ad50>2.944 E F0 .444(print the hashed v)
|
||||
2.944 F .444(alue, not necessarily the \214le that appears \214rst in)
|
||||
-.25 F F3 -.666(PA)2.945 G(TH)-.189 E F4(.)A F0 .445(If the)4.945 F F1
|
||||
<ad61>2.945 E F0(option)2.945 E .265(is used,)144 514.8 R F1(type)2.765
|
||||
<ad61>2.945 E F0(option)2.945 E .265(is used,)144 543.6 R F1(type)2.765
|
||||
E F0 .265(prints all of the places that contain an e)2.765 F -.15(xe)
|
||||
-.15 G .265(cutable named).15 F F2(name)2.765 E F0 5.265(.T).18 G .265
|
||||
(his includes aliases)-5.265 F .426(and functions, if and only if the)
|
||||
144 526.8 R F1<ad70>2.926 E F0 .426(option is not also used.)2.926 F
|
||||
144 555.6 R F1<ad70>2.926 E F0 .426(option is not also used.)2.926 F
|
||||
.427(The table of hashed commands is not)5.426 F .549
|
||||
(consulted when using)144 538.8 R F1<ad61>3.049 E F0 5.549(.T)C(he)
|
||||
(consulted when using)144 567.6 R F1<ad61>3.049 E F0 5.549(.T)C(he)
|
||||
-5.549 E F1<ad66>3.049 E F0 .548
|
||||
(option suppresses shell function lookup, as with the)3.049 F F1
|
||||
(command)3.048 E F0 -.2(bu)144 550.8 S(iltin.).2 E F1(type)5 E F0
|
||||
(command)3.048 E F0 -.2(bu)144 579.6 S(iltin.).2 E F1(type)5 E F0
|
||||
(returns true if all of the ar)2.5 E(guments are found, f)-.18 E
|
||||
(alse if an)-.1 E 2.5(ya)-.15 G(re not found.)-2.5 E F1(ulimit)108 567.6
|
||||
(alse if an)-.1 E 2.5(ya)-.15 G(re not found.)-2.5 E F1(ulimit)108 596.4
|
||||
Q F0([)2.5 E F1(\255HST)A(abcde\214lmnpqrstuvx)-.92 E F0([)2.5 E F2
|
||||
(limit)A F0(]])A(Pro)144 579.6 Q .243(vides control o)-.15 F -.15(ve)
|
||||
(limit)A F0(]])A(Pro)144 608.4 Q .243(vides control o)-.15 F -.15(ve)
|
||||
-.15 G 2.743(rt).15 G .243(he resources a)-2.743 F -.25(va)-.2 G .244
|
||||
(ilable to the shell and to processes started by it, on systems).25 F
|
||||
.944(that allo)144 591.6 R 3.444(ws)-.25 G .944(uch control.)-3.444 F
|
||||
.944(that allo)144 620.4 R 3.444(ws)-.25 G .944(uch control.)-3.444 F
|
||||
(The)5.944 E F1<ad48>3.444 E F0(and)3.444 E F1<ad53>3.444 E F0 .943
|
||||
(options specify that the hard or soft limit is set for the)3.444 F(gi)
|
||||
144 603.6 Q -.15(ve)-.25 G 2.708(nr).15 G 2.708(esource. A)-2.708 F .208
|
||||
144 632.4 Q -.15(ve)-.25 G 2.708(nr).15 G 2.708(esource. A)-2.708 F .208
|
||||
(hard limit cannot be increased by a non-root user once it is set; a so\
|
||||
ft limit may)2.708 F .426(be increased up to the v)144 615.6 R .426
|
||||
ft limit may)2.708 F .426(be increased up to the v)144 644.4 R .426
|
||||
(alue of the hard limit.)-.25 F .425(If neither)5.426 F F1<ad48>2.925 E
|
||||
F0(nor)2.925 E F1<ad53>2.925 E F0 .425
|
||||
(is speci\214ed, both the soft and)2.925 F .139(hard limits are set.)144
|
||||
627.6 R .139(The v)5.139 F .139(alue of)-.25 F F2(limit)2.729 E F0 .139
|
||||
656.4 R .139(The v)5.139 F .139(alue of)-.25 F F2(limit)2.729 E F0 .139
|
||||
(can be a number in the unit speci\214ed for the resource or one)3.319 F
|
||||
.742(of the special v)144 639.6 R(alues)-.25 E F1(hard)3.242 E F0(,)A F1
|
||||
.742(of the special v)144 668.4 R(alues)-.25 E F1(hard)3.242 E F0(,)A F1
|
||||
(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F1(unlimited)3.241 E F0 3.241(,w)
|
||||
C .741(hich stand for the current hard limit, the current)-3.241 F .78
|
||||
(soft limit, and no limit, respecti)144 651.6 R -.15(ve)-.25 G(ly).15 E
|
||||
(soft limit, and no limit, respecti)144 680.4 R -.15(ve)-.25 G(ly).15 E
|
||||
5.78(.I)-.65 G(f)-5.78 E F2(limit)3.37 E F0 .78
|
||||
(is omitted, the current v)3.96 F .78(alue of the soft limit of the)-.25
|
||||
F .499(resource is printed, unless the)144 663.6 R F1<ad48>2.999 E F0
|
||||
F .499(resource is printed, unless the)144 692.4 R F1<ad48>2.999 E F0
|
||||
.499(option is gi)2.999 F -.15(ve)-.25 G 2.999(n. When).15 F .498
|
||||
(more than one resource is speci\214ed, the)2.999 F
|
||||
(limit name and unit are printed before the v)144 675.6 Q 2.5
|
||||
(limit name and unit are printed before the v)144 704.4 Q 2.5
|
||||
(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F1
|
||||
<ad61>144 687.6 Q F0(All current limits are reported)25.3 E F1<ad62>144
|
||||
699.6 Q F0(The maximum sock)24.74 E(et b)-.1 E(uf)-.2 E(fer size)-.25 E
|
||||
F1<ad63>144 711.6 Q F0(The maximum size of core \214les created)25.86 E
|
||||
<ad61>144 716.4 Q F0(All current limits are reported)25.3 E
|
||||
(GNU Bash-4.0)72 768 Q(2004 Apr 20)148.735 E(20)198.725 E 0 Cg EP
|
||||
%%Page: 21 21
|
||||
%%BeginPageSetup
|
||||
@@ -2597,109 +2596,112 @@ BP
|
||||
%%EndPageSetup
|
||||
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
|
||||
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
|
||||
/Times-Bold@0 SF<ad64>144 84 Q F0(The maximum size of a process')24.74 E
|
||||
2.5(sd)-.55 G(ata se)-2.5 E(gment)-.15 E F1<ad65>144 96 Q F0
|
||||
(The maximum scheduling priority \("nice"\))25.86 E F1<ad66>144 108 Q F0
|
||||
/Times-Bold@0 SF<ad62>144 84 Q F0(The maximum sock)24.74 E(et b)-.1 E
|
||||
(uf)-.2 E(fer size)-.25 E F1<ad63>144 96 Q F0
|
||||
(The maximum size of core \214les created)25.86 E F1<ad64>144 108 Q F0
|
||||
(The maximum size of a process')24.74 E 2.5(sd)-.55 G(ata se)-2.5 E
|
||||
(gment)-.15 E F1<ad65>144 120 Q F0
|
||||
(The maximum scheduling priority \("nice"\))25.86 E F1<ad66>144 132 Q F0
|
||||
(The maximum size of \214les written by the shell and its children)26.97
|
||||
E F1<ad69>144 120 Q F0(The maximum number of pending signals)27.52 E F1
|
||||
<ad6c>144 132 Q F0(The maximum size that may be lock)27.52 E
|
||||
(ed into memory)-.1 E F1<ad6d>144 144 Q F0
|
||||
E F1<ad69>144 144 Q F0(The maximum number of pending signals)27.52 E F1
|
||||
<ad6c>144 156 Q F0(The maximum size that may be lock)27.52 E
|
||||
(ed into memory)-.1 E F1<ad6d>144 168 Q F0
|
||||
(The maximum resident set size \(man)21.97 E 2.5(ys)-.15 G
|
||||
(ystems do not honor this limit\))-2.5 E F1<ad6e>144 156 Q F0 .791(The \
|
||||
(ystems do not honor this limit\))-2.5 E F1<ad6e>144 180 Q F0 .791(The \
|
||||
maximum number of open \214le descriptors \(most systems do not allo)
|
||||
24.74 F 3.291(wt)-.25 G .791(his v)-3.291 F .791(alue to)-.25 F
|
||||
(be set\))180 168 Q F1<ad70>144 180 Q F0
|
||||
(be set\))180 192 Q F1<ad70>144 204 Q F0
|
||||
(The pipe size in 512-byte blocks \(this may not be set\))24.74 E F1
|
||||
<ad71>144 192 Q F0(The maximum number of bytes in POSIX message queues)
|
||||
24.74 E F1<ad72>144 204 Q F0(The maximum real-time scheduling priority)
|
||||
25.86 E F1<ad73>144 216 Q F0(The maximum stack size)26.41 E F1<ad74>144
|
||||
228 Q F0(The maximum amount of cpu time in seconds)26.97 E F1<ad75>144
|
||||
240 Q F0(The maximum number of processes a)24.74 E -.25(va)-.2 G
|
||||
(ilable to a single user).25 E F1<ad76>144 252 Q F0 .47
|
||||
<ad71>144 216 Q F0(The maximum number of bytes in POSIX message queues)
|
||||
24.74 E F1<ad72>144 228 Q F0(The maximum real-time scheduling priority)
|
||||
25.86 E F1<ad73>144 240 Q F0(The maximum stack size)26.41 E F1<ad74>144
|
||||
252 Q F0(The maximum amount of cpu time in seconds)26.97 E F1<ad75>144
|
||||
264 Q F0(The maximum number of processes a)24.74 E -.25(va)-.2 G
|
||||
(ilable to a single user).25 E F1<ad76>144 276 Q F0 .47
|
||||
(The maximum amount of virtual memory a)25.3 F -.25(va)-.2 G .47
|
||||
(ilable to the shell and, on some systems, to).25 F(its children)180 264
|
||||
Q F1<ad78>144 276 Q F0(The maximum number of \214le locks)25.3 E F1
|
||||
<ad54>144 288 Q F0(The maximum number of threads)23.63 E(If)144 304.8 Q
|
||||
(ilable to the shell and, on some systems, to).25 F(its children)180 288
|
||||
Q F1<ad78>144 300 Q F0(The maximum number of \214le locks)25.3 E F1
|
||||
<ad54>144 312 Q F0(The maximum number of threads)23.63 E(If)144 328.8 Q
|
||||
/F2 10/Times-Italic@0 SF(limit)2.933 E F0 .343(is gi)3.523 F -.15(ve)
|
||||
-.25 G .343(n, it is the ne).15 F 2.843(wv)-.25 G .343
|
||||
(alue of the speci\214ed resource \(the)-3.093 F F1<ad61>2.843 E F0 .343
|
||||
(option is display only\).)2.843 F .343(If no)5.343 F .176(option is gi)
|
||||
144 316.8 R -.15(ve)-.25 G .176(n, then).15 F F1<ad66>2.676 E F0 .175
|
||||
144 340.8 R -.15(ve)-.25 G .176(n, then).15 F F1<ad66>2.676 E F0 .175
|
||||
(is assumed.)2.676 F -1.11(Va)5.175 G .175
|
||||
(lues are in 1024-byte increments, e)1.11 F .175(xcept for)-.15 F F1
|
||||
<ad74>2.675 E F0 2.675(,w)C .175(hich is in)-2.675 F(seconds,)144 328.8
|
||||
<ad74>2.675 E F0 2.675(,w)C .175(hich is in)-2.675 F(seconds,)144 352.8
|
||||
Q F1<ad70>2.515 E F0 2.515(,w)C .015
|
||||
(hich is in units of 512-byte blocks, and)-2.515 F F1<ad54>2.516 E F0(,)
|
||||
A F1<ad62>2.516 E F0(,)A F1<ad6e>2.516 E F0 2.516(,a)C(nd)-2.516 E F1
|
||||
<ad75>2.516 E F0 2.516(,w)C .016(hich are unscaled v)-2.516 F(al-)-.25 E
|
||||
3.788(ues. The)144 340.8 R 1.287(return status is 0 unless an in)3.787 F
|
||||
3.788(ues. The)144 364.8 R 1.287(return status is 0 unless an in)3.787 F
|
||||
-.25(va)-.4 G 1.287(lid option or ar).25 F 1.287
|
||||
(gument is supplied, or an error occurs)-.18 F(while setting a ne)144
|
||||
352.8 Q 2.5(wl)-.25 G(imit.)-2.5 E F1(umask)108 369.6 Q F0([)2.5 E F1
|
||||
376.8 Q 2.5(wl)-.25 G(imit.)-2.5 E F1(umask)108 393.6 Q F0([)2.5 E F1
|
||||
<ad70>A F0 2.5(][)C F1<ad53>-2.5 E F0 2.5(][)C F2(mode)-2.5 E F0(])A .2
|
||||
(The user \214le-creation mask is set to)144 381.6 R F2(mode)2.7 E F0
|
||||
(The user \214le-creation mask is set to)144 405.6 R F2(mode)2.7 E F0
|
||||
5.2(.I).18 G(f)-5.2 E F2(mode)3.08 E F0(be)2.88 E .2
|
||||
(gins with a digit, it is interpreted as an octal)-.15 F .066(number; o\
|
||||
therwise it is interpreted as a symbolic mode mask similar to that acce\
|
||||
pted by)144 393.6 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144
|
||||
405.6 Q F2(mode)3.262 E F0 .382(is omitted, the current v)3.062 F .382
|
||||
pted by)144 417.6 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144
|
||||
429.6 Q F2(mode)3.262 E F0 .382(is omitted, the current v)3.062 F .382
|
||||
(alue of the mask is printed.)-.25 F(The)5.382 E F1<ad53>2.882 E F0 .382
|
||||
(option causes the mask to be)2.882 F .547
|
||||
(printed in symbolic form; the def)144 417.6 R .547
|
||||
(printed in symbolic form; the def)144 441.6 R .547
|
||||
(ault output is an octal number)-.1 F 5.547(.I)-.55 G 3.047(ft)-5.547 G
|
||||
(he)-3.047 E F1<ad70>3.047 E F0 .547(option is supplied, and)3.047 F F2
|
||||
(mode)144.38 429.6 Q F0 .551
|
||||
(mode)144.38 453.6 Q F0 .551
|
||||
(is omitted, the output is in a form that may be reused as input.)3.231
|
||||
F .552(The return status is 0 if the)5.552 F(mode w)144 441.6 Q
|
||||
F .552(The return status is 0 if the)5.552 F(mode w)144 465.6 Q
|
||||
(as successfully changed or if no)-.1 E F2(mode)2.5 E F0(ar)2.5 E
|
||||
(gument w)-.18 E(as supplied, and f)-.1 E(alse otherwise.)-.1 E F1
|
||||
(unalias)108 458.4 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0
|
||||
(...])2.5 E(Remo)144 470.4 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name)
|
||||
(unalias)108 482.4 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0
|
||||
(...])2.5 E(Remo)144 494.4 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name)
|
||||
4.155 E F0 1.655(from the list of de\214ned aliases.)4.155 F(If)6.655 E
|
||||
F1<ad61>4.155 E F0 1.655(is supplied, all alias de\214nitions are)4.155
|
||||
F(remo)144 482.4 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E
|
||||
F(remo)144 506.4 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E
|
||||
(alue is true unless a supplied)-.25 E F2(name)2.86 E F0
|
||||
(is not a de\214ned alias.)2.68 E F1(unset)108 499.2 Q F0<5bad>2.5 E F1
|
||||
(fv)A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E -.15(Fo)144 511.2 S 3.106
|
||||
(is not a de\214ned alias.)2.68 E F1(unset)108 523.2 Q F0<5bad>2.5 E F1
|
||||
(fv)A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E -.15(Fo)144 535.2 S 3.106
|
||||
(re).15 G(ach)-3.106 E F2(name)3.106 E F0 3.106(,r).18 G(emo)-3.106 E
|
||||
.906 -.15(ve t)-.15 H .606(he corresponding v).15 F .607
|
||||
(ariable or function.)-.25 F .607(If no options are supplied, or the)
|
||||
5.607 F F1<ad76>144 523.2 Q F0 .305(option is gi)2.805 F -.15(ve)-.25 G
|
||||
5.607 F F1<ad76>144 547.2 Q F0 .305(option is gi)2.805 F -.15(ve)-.25 G
|
||||
.305(n, each).15 F F2(name)3.165 E F0 .305(refers to a shell v)2.985 F
|
||||
2.805(ariable. Read-only)-.25 F -.25(va)2.805 G .304
|
||||
(riables may not be unset.).25 F(If)5.304 E F1<ad66>144 535.2 Q F0 .459
|
||||
(riables may not be unset.).25 F(If)5.304 E F1<ad66>144 559.2 Q F0 .459
|
||||
(is speci\214ed, each)2.959 F F2(name)3.319 E F0 .459
|
||||
(refers to a shell function, and the function de\214nition is remo)3.139
|
||||
F -.15(ve)-.15 G 2.96(d. Each).15 F .903(unset v)144 547.2 R .903
|
||||
F -.15(ve)-.15 G 2.96(d. Each).15 F .903(unset v)144 571.2 R .903
|
||||
(ariable or function is remo)-.25 F -.15(ve)-.15 G 3.402(df).15 G .902
|
||||
(rom the en)-3.402 F .902(vironment passed to subsequent commands.)-.4 F
|
||||
(If)5.902 E(an)144 559.2 Q 6.915(yo)-.15 G(f)-6.915 E/F3 9/Times-Bold@0
|
||||
(If)5.902 E(an)144 583.2 Q 6.915(yo)-.15 G(f)-6.915 E/F3 9/Times-Bold@0
|
||||
SF(COMP_W)6.915 E(ORDBREAKS)-.09 E/F4 9/Times-Roman@0 SF(,)A F3(RANDOM)
|
||||
6.665 E F4(,)A F3(SECONDS)6.665 E F4(,)A F3(LINENO)6.665 E F4(,)A F3
|
||||
(HISTCMD)6.666 E F4(,)A F3(FUNCN)6.666 E(AME)-.18 E F4(,)A F3(GR)144
|
||||
571.2 Q(OUPS)-.27 E F4(,)A F0(or)2.523 E F3(DIRST)2.773 E -.495(AC)-.81
|
||||
595.2 Q(OUPS)-.27 E F4(,)A F0(or)2.523 E F3(DIRST)2.773 E -.495(AC)-.81
|
||||
G(K).495 E F0 .272(are unset, the)2.522 F 2.772(yl)-.15 G .272
|
||||
(ose their special properties, e)-2.772 F -.15(ve)-.25 G 2.772(ni).15 G
|
||||
2.772(ft)-2.772 G(he)-2.772 E 2.772(ya)-.15 G .272(re subsequently)
|
||||
-2.772 F 2.5(reset. The)144 583.2 R -.15(ex)2.5 G
|
||||
-2.772 F 2.5(reset. The)144 607.2 R -.15(ex)2.5 G
|
||||
(it status is true unless a).15 E F2(name)2.86 E F0(is readonly)2.68 E
|
||||
(.)-.65 E F1(wait)108 600 Q F0([)2.5 E F2 2.5(n.)C(..)-2.5 E F0(])A -.8
|
||||
(Wa)144 612 S .288
|
||||
(.)-.65 E F1(wait)108 624 Q F0([)2.5 E F2 2.5(n.)C(..)-2.5 E F0(])A -.8
|
||||
(Wa)144 636 S .288
|
||||
(it for each speci\214ed process and return its termination status.).8 F
|
||||
(Each)5.288 E F2(n)3.148 E F0 .288(may be a process ID or a)3.028 F .722
|
||||
(job speci\214cation; if a job spec is gi)144 624 R -.15(ve)-.25 G .722
|
||||
(job speci\214cation; if a job spec is gi)144 648 R -.15(ve)-.25 G .722
|
||||
(n, all processes in that job').15 F 3.222(sp)-.55 G .722(ipeline are w)
|
||||
-3.222 F .722(aited for)-.1 F 5.722(.I)-.55 G(f)-5.722 E F2(n)3.582 E F0
|
||||
(is)3.462 E 1.265(not gi)144 636 R -.15(ve)-.25 G 1.265
|
||||
(is)3.462 E 1.265(not gi)144 660 R -.15(ve)-.25 G 1.265
|
||||
(n, all currently acti).15 F 1.565 -.15(ve c)-.25 H 1.265
|
||||
(hild processes are w).15 F 1.265(aited for)-.1 F 3.765(,a)-.4 G 1.266
|
||||
(nd the return status is zero.)-3.765 F(If)6.266 E F2(n)4.126 E F0 .457
|
||||
(speci\214es a non-e)144 648 R .457
|
||||
(speci\214es a non-e)144 672 R .457
|
||||
(xistent process or job, the return status is 127.)-.15 F .457
|
||||
(Otherwise, the return status is the)5.457 F -.15(ex)144 660 S
|
||||
(Otherwise, the return status is the)5.457 F -.15(ex)144 684 S
|
||||
(it status of the last process or job w).15 E(aited for)-.1 E(.)-.55 E
|
||||
/F5 10.95/Times-Bold@0 SF(SEE ALSO)72 676.8 Q F0(bash\(1\), sh\(1\))108
|
||||
688.8 Q(GNU Bash-4.0)72 768 Q(2004 Apr 20)148.735 E(21)198.725 E 0 Cg EP
|
||||
/F5 10.95/Times-Bold@0 SF(SEE ALSO)72 700.8 Q F0(bash\(1\), sh\(1\))108
|
||||
712.8 Q(GNU Bash-4.0)72 768 Q(2004 Apr 20)148.735 E(21)198.725 E 0 Cg EP
|
||||
%%Trailer
|
||||
end
|
||||
%%EOF
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0
|
||||
%%Creator: groff version 1.19.2
|
||||
%%CreationDate: Mon Oct 25 10:55:38 2010
|
||||
%%CreationDate: Tue Dec 7 16:12:42 2010
|
||||
%%DocumentNeededResources: font Times-Roman
|
||||
%%+ font Times-Bold
|
||||
%%DocumentSuppliedResources: procset grops 1.19 2
|
||||
|
||||
@@ -684,6 +684,7 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out,
|
||||
|
||||
if (redirection_undo_list)
|
||||
{
|
||||
/* XXX - why copy here? */
|
||||
my_undo_list = (REDIRECT *)copy_redirects (redirection_undo_list);
|
||||
dispose_redirects (redirection_undo_list);
|
||||
redirection_undo_list = (REDIRECT *)NULL;
|
||||
@@ -693,6 +694,7 @@ execute_command_internal (command, asynchronous, pipe_in, pipe_out,
|
||||
|
||||
if (exec_redirection_undo_list)
|
||||
{
|
||||
/* XXX - why copy here? */
|
||||
exec_undo_list = (REDIRECT *)copy_redirects (exec_redirection_undo_list);
|
||||
dispose_redirects (exec_redirection_undo_list);
|
||||
exec_redirection_undo_list = (REDIRECT *)NULL;
|
||||
|
||||
@@ -4936,7 +4936,6 @@ shell_execve (command, args, env)
|
||||
CHECK_TERMSIG;
|
||||
SETOSTYPE (1);
|
||||
|
||||
itrace("shell_execve: command = %s", command);
|
||||
/* If we get to this point, then start checking out the file.
|
||||
Maybe it is something we can hack ourselves. */
|
||||
if (i != ENOEXEC)
|
||||
|
||||
@@ -363,6 +363,16 @@ sh_validfd (fd)
|
||||
return (fcntl (fd, F_GETFD, 0) >= 0);
|
||||
}
|
||||
|
||||
int
|
||||
fd_ispipe (fd)
|
||||
int fd;
|
||||
{
|
||||
errno = 0;
|
||||
if (lseek ((fd), 0L, SEEK_CUR) < 0)
|
||||
return (errno == ESPIPE);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* There is a bug in the NeXT 2.1 rlogind that causes opens
|
||||
of /dev/tty to fail. */
|
||||
|
||||
@@ -549,6 +559,22 @@ file_iswdir (fn)
|
||||
return (file_isdir (fn) && sh_eaccess (fn, W_OK) == 0);
|
||||
}
|
||||
|
||||
/* Return 1 if STRING is "." or "..", optionally followed by a directory
|
||||
separator */
|
||||
int
|
||||
dot_or_dotdot (string)
|
||||
const char *string;
|
||||
{
|
||||
if (string == 0 || *string == '\0' || *string != '.')
|
||||
return (0);
|
||||
|
||||
/* string[0] == '.' */
|
||||
if (PATHSEP(string[1]) || (string[1] == '.' && PATHSEP(string[2])))
|
||||
return (1);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
/* Return 1 if STRING contains an absolute pathname, else 0. Used by `cd'
|
||||
to decide whether or not to look up a directory name in $CDPATH. */
|
||||
int
|
||||
|
||||
+1152
File diff suppressed because it is too large
Load Diff
@@ -289,6 +289,7 @@ extern int assignment __P((const char *, int));
|
||||
|
||||
extern int sh_unset_nodelay_mode __P((int));
|
||||
extern int sh_validfd __P((int));
|
||||
extern int fd_ispipe __P((int));
|
||||
extern void check_dev_tty __P((void));
|
||||
extern int move_to_high_fd __P((int, int, int));
|
||||
extern int check_binary_file __P((char *, int));
|
||||
@@ -303,6 +304,7 @@ extern int sh_closepipe __P((int *));
|
||||
extern int file_exists __P((char *));
|
||||
extern int file_isdir __P((char *));
|
||||
extern int file_iswdir __P((char *));
|
||||
extern int dot_or_dotdot __P((const char *));
|
||||
extern int absolute_pathname __P((const char *));
|
||||
extern int absolute_program __P((const char *));
|
||||
|
||||
|
||||
+3
-2
@@ -216,8 +216,8 @@ typedef void sh_resetsig_func_t __P((int)); /* sh_vintfunc_t */
|
||||
|
||||
typedef int sh_ignore_func_t __P((const char *)); /* sh_icpfunc_t */
|
||||
|
||||
typedef int sh_assign_func_t __P((const char *, int));
|
||||
typedef int sh_wassign_func_t __P((WORD_DESC *));
|
||||
typedef int sh_assign_func_t __P((const char *));
|
||||
typedef int sh_wassign_func_t __P((WORD_DESC *, int));
|
||||
|
||||
typedef int sh_builtin_func_t __P((WORD_LIST *)); /* sh_wlist_func_t */
|
||||
|
||||
@@ -303,6 +303,7 @@ extern int sh_closepipe __P((int *));
|
||||
extern int file_exists __P((char *));
|
||||
extern int file_isdir __P((char *));
|
||||
extern int file_iswdir __P((char *));
|
||||
extern int dot_or_dotdot __P((const char *));
|
||||
extern int absolute_pathname __P((const char *));
|
||||
extern int absolute_program __P((const char *));
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
@xrdef{History Variables-pg}{8}
|
||||
@xrdef{History Programming Example-title}{History Programming Example}
|
||||
@xrdef{History Programming Example-snt}{Section@tie 2.5}
|
||||
@xrdef{History Programming Example-pg}{9}
|
||||
@xrdef{History Programming Example-pg}{10}
|
||||
@xrdef{GNU Free Documentation License-title}{GNU Free Documentation License}
|
||||
@xrdef{GNU Free Documentation License-snt}{Appendix@tie @char65{}}
|
||||
@xrdef{GNU Free Documentation License-pg}{12}
|
||||
|
||||
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
<HTML>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<!-- Created on October, 12 2009 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>
|
||||
@@ -145,6 +145,8 @@ history expansion character, which is <SAMP>`!'</SAMP> by default.
|
||||
|
||||
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.
|
||||
<A NAME="IDX1"></A>
|
||||
</P><P>
|
||||
|
||||
@@ -168,11 +170,16 @@ the end of the line, or <SAMP>`='</SAMP>.
|
||||
<P>
|
||||
|
||||
<DT><CODE>!<VAR>string</VAR></CODE>
|
||||
<DD>Refer to the most recent command starting with <VAR>string</VAR>.
|
||||
<DD>Refer to the most recent command
|
||||
preceding the current position in the history list
|
||||
starting with <VAR>string</VAR>.
|
||||
<P>
|
||||
|
||||
<DT><CODE>!?<VAR>string</VAR>[?]</CODE>
|
||||
<DD>Refer to the most recent command containing <VAR>string</VAR>. The trailing
|
||||
<DD>Refer to the most recent command
|
||||
preceding the current position in the history list
|
||||
containing <VAR>string</VAR>.
|
||||
The trailing
|
||||
<SAMP>`?'</SAMP> may be omitted if the <VAR>string</VAR> is followed immediately by
|
||||
a newline.
|
||||
<P>
|
||||
@@ -1068,6 +1075,11 @@ the GNU History Library.
|
||||
<DD>If non-zero, timestamps are written to the history file, so they can be
|
||||
preserved between sessions. The default value is 0, meaning that
|
||||
timestamps are not saved.
|
||||
</P><P>
|
||||
|
||||
The current timestamp format uses the value of <VAR>history_comment_char</VAR>
|
||||
to delimit timestamp entries in the history file. If that variable does
|
||||
not have a value (the default), timestamps will not be written.
|
||||
</DL>
|
||||
</P><P>
|
||||
|
||||
@@ -2115,7 +2127,7 @@ to permit their use in free software.
|
||||
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="history.html#SEC_About"> ? </A>]</TD>
|
||||
</TR></TABLE>
|
||||
<H1>About this document</H1>
|
||||
This document was generated by <I>Chet Ramey</I> on <I>October, 12 2009</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>
|
||||
@@ -2277,7 +2289,7 @@ the following structure:
|
||||
<BR>
|
||||
<FONT SIZE="-1">
|
||||
This document was generated
|
||||
by <I>Chet Ramey</I> on <I>October, 12 2009</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>
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
This is history.info, produced by makeinfo version 4.13 from
|
||||
./history.texi.
|
||||
|
||||
This document describes the GNU History library (version 6.1, 9 October
|
||||
2009), a programming tool that provides a consistent user interface for
|
||||
recalling lines of previously typed input.
|
||||
This document describes the GNU History library (version 6.2, September
|
||||
6 2010), a programming tool that provides a consistent user interface
|
||||
for recalling lines of previously typed input.
|
||||
|
||||
Copyright (C) 1988-2009 Free Software Foundation, Inc.
|
||||
|
||||
@@ -102,7 +102,8 @@ File: history.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,
|
||||
@@ -118,12 +119,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
|
||||
@@ -642,6 +644,11 @@ GNU History Library.
|
||||
can be preserved between sessions. The default value is 0,
|
||||
meaning that timestamps are not saved.
|
||||
|
||||
The current timestamp format uses the value of HISTORY_COMMENT_CHAR
|
||||
to delimit timestamp entries in the history file. If that
|
||||
variable does not have a value (the default), timestamps will not
|
||||
be written.
|
||||
|
||||
-- Variable: char history_expansion_char
|
||||
The character that introduces a history event. The default is `!'.
|
||||
Setting this to 0 inhibits history expansion.
|
||||
@@ -1276,7 +1283,7 @@ Appendix B Concept Index
|
||||
* anchored search: Searching the History List.
|
||||
(line 10)
|
||||
* event designators: Event Designators. (line 6)
|
||||
* history events: Event Designators. (line 7)
|
||||
* history events: Event Designators. (line 8)
|
||||
* history expansion: History Interaction. (line 6)
|
||||
* History Searching: Searching the History List.
|
||||
(line 6)
|
||||
@@ -1305,27 +1312,27 @@ Appendix C Function and Variable Index
|
||||
* get_history_event: History Expansion. (line 31)
|
||||
* history_arg_extract: History Expansion. (line 46)
|
||||
* history_base: History Variables. (line 10)
|
||||
* history_comment_char: History Variables. (line 33)
|
||||
* history_comment_char: History Variables. (line 38)
|
||||
* history_expand: History Expansion. (line 9)
|
||||
* history_expansion_char: History Variables. (line 25)
|
||||
* history_expansion_char: History Variables. (line 30)
|
||||
* history_get: Information About the History List.
|
||||
(line 23)
|
||||
* history_get_history_state: Initializing History and State Management.
|
||||
(line 15)
|
||||
* history_get_time: Information About the History List.
|
||||
(line 29)
|
||||
* history_inhibit_expansion_function: History Variables. (line 57)
|
||||
* history_inhibit_expansion_function: History Variables. (line 62)
|
||||
* history_is_stifled: History List Management.
|
||||
(line 47)
|
||||
* history_length: History Variables. (line 13)
|
||||
* history_list: Information About the History List.
|
||||
(line 10)
|
||||
* history_max_entries: History Variables. (line 16)
|
||||
* history_no_expand_chars: History Variables. (line 48)
|
||||
* history_quotes_inhibit_expansion: History Variables. (line 53)
|
||||
* history_no_expand_chars: History Variables. (line 53)
|
||||
* history_quotes_inhibit_expansion: History Variables. (line 58)
|
||||
* history_search: Searching the History List.
|
||||
(line 13)
|
||||
* history_search_delimiter_chars: History Variables. (line 43)
|
||||
* history_search_delimiter_chars: History Variables. (line 48)
|
||||
* history_search_pos: Searching the History List.
|
||||
(line 33)
|
||||
* history_search_prefix: Searching the History List.
|
||||
@@ -1334,13 +1341,13 @@ Appendix C Function and Variable Index
|
||||
(line 19)
|
||||
* history_set_pos: Moving Around the History List.
|
||||
(line 10)
|
||||
* history_subst_char: History Variables. (line 29)
|
||||
* history_subst_char: History Variables. (line 34)
|
||||
* history_tokenize: History Expansion. (line 39)
|
||||
* history_total_bytes: Information About the History List.
|
||||
(line 32)
|
||||
* history_truncate_file: Managing the History File.
|
||||
(line 35)
|
||||
* history_word_delimiters: History Variables. (line 39)
|
||||
* history_word_delimiters: History Variables. (line 44)
|
||||
* history_write_timestamps: History Variables. (line 20)
|
||||
* next_history: Moving Around the History List.
|
||||
(line 20)
|
||||
@@ -1368,27 +1375,27 @@ Appendix C Function and Variable Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top1268
|
||||
Node: Using History Interactively1913
|
||||
Node: History Interaction2421
|
||||
Node: Event Designators3845
|
||||
Node: Word Designators4780
|
||||
Node: Modifiers6419
|
||||
Node: Programming with GNU History7644
|
||||
Node: Introduction to History8387
|
||||
Node: History Storage10077
|
||||
Node: History Functions11212
|
||||
Node: Initializing History and State Management12201
|
||||
Node: History List Management13013
|
||||
Node: Information About the History List15045
|
||||
Node: Moving Around the History List16542
|
||||
Node: Searching the History List17543
|
||||
Node: Managing the History File19475
|
||||
Node: History Expansion21295
|
||||
Node: History Variables23203
|
||||
Node: History Programming Example26009
|
||||
Node: GNU Free Documentation License28686
|
||||
Node: Concept Index53877
|
||||
Node: Function and Variable Index54582
|
||||
Node: Top1270
|
||||
Node: Using History Interactively1915
|
||||
Node: History Interaction2423
|
||||
Node: Event Designators3847
|
||||
Node: Word Designators4989
|
||||
Node: Modifiers6628
|
||||
Node: Programming with GNU History7853
|
||||
Node: Introduction to History8596
|
||||
Node: History Storage10286
|
||||
Node: History Functions11421
|
||||
Node: Initializing History and State Management12410
|
||||
Node: History List Management13222
|
||||
Node: Information About the History List15254
|
||||
Node: Moving Around the History List16751
|
||||
Node: Searching the History List17752
|
||||
Node: Managing the History File19684
|
||||
Node: History Expansion21504
|
||||
Node: History Variables23412
|
||||
Node: History Programming Example26444
|
||||
Node: GNU Free Documentation License29121
|
||||
Node: Concept Index54312
|
||||
Node: Function and Variable Index55017
|
||||
|
||||
End Tag Table
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 12 OCT 2009 10:10
|
||||
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 7 DEC 2010 16:19
|
||||
**/usr/homes/chet/src/bash/src/lib/readline/doc/history.texi
|
||||
(/usr/homes/chet/src/bash/src/lib/readline/doc/history.texi (./texinfo.tex
|
||||
Loading texinfo [version 2009-01-18.17]:
|
||||
@@ -180,10 +180,10 @@ Appendix C [20] (./history.vrs) [21] )
|
||||
Here is how much of TeX's memory you used:
|
||||
1745 strings out of 97980
|
||||
20843 string characters out of 1221004
|
||||
66066 words of memory out of 1500000
|
||||
66070 words of memory out of 1500000
|
||||
2572 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
|
||||
15i,6n,14p,329b,490s stack positions out of 5000i,500n,6000p,200000b,5000s
|
||||
|
||||
Output written on history.dvi (24 pages, 85440 bytes).
|
||||
Output written on history.dvi (24 pages, 86020 bytes).
|
||||
|
||||
+160
-149
@@ -11,7 +11,7 @@
|
||||
%DVIPSWebPage: (www.radicaleye.com)
|
||||
%DVIPSCommandLine: dvips -D 300 -o history.ps history.dvi
|
||||
%DVIPSParameters: dpi=300
|
||||
%DVIPSSource: TeX output 2009.10.12:1010
|
||||
%DVIPSSource: TeX output 2010.12.07:1619
|
||||
%%BeginProcSet: tex.pro 0 0
|
||||
%!
|
||||
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
|
||||
@@ -3205,26 +3205,26 @@ TeXDict begin
|
||||
%%EndSetup
|
||||
%%Page: 1 1
|
||||
TeXDict begin 1 0 bop 75 659 a Fs(GNU)33 b(History)e(Library)p
|
||||
75 709 1800 17 v 960 757 a Fr(Edition)14 b(6.1,)g(for)h
|
||||
Fq(History)f(Library)g Fr(V)l(ersion)h(6.1.)1608 811
|
||||
y(Octob)q(er)h(2009)75 2467 y Fp(Chet)22 b(Ramey)-6 b(,)23
|
||||
b(Case)e(W)-6 b(estern)23 b(Reserv)n(e)f(Univ)n(ersit)n(y)75
|
||||
75 709 1800 17 v 960 757 a Fr(Edition)14 b(6.2,)g(for)h
|
||||
Fq(History)f(Library)g Fr(V)l(ersion)h(6.2.)1559 811
|
||||
y(Septem)o(b)q(er)h(2010)75 2467 y Fp(Chet)22 b(Ramey)-6
|
||||
b(,)23 b(Case)e(W)-6 b(estern)23 b(Reserv)n(e)f(Univ)n(ersit)n(y)75
|
||||
2534 y(Brian)g(F)-6 b(o)n(x,)23 b(F)-6 b(ree)23 b(Soft)n(w)n(are)f(F)-6
|
||||
b(oundation)p 75 2570 1800 9 v eop end
|
||||
%%Page: 2 2
|
||||
TeXDict begin 2 1 bop 75 1512 a Fr(This)11 b(do)q(cumen)o(t)i(describ)q
|
||||
(es)f(the)g(GNU)g(History)e(library)h(\(v)o(ersion)g(6.1,)g(9)g(Octob)q
|
||||
(er)i(2009\),)d(a)i(program-)75 1567 y(ming)18 b(to)q(ol)g(that)h(pro)o
|
||||
(vides)f(a)h(consisten)o(t)f(user)h(in)o(terface)f(for)h(recalling)e
|
||||
(lines)i(of)f(previously)h(t)o(yp)q(ed)75 1621 y(input.)75
|
||||
1689 y(Cop)o(yrigh)o(t)301 1688 y(c)289 1689 y Fo(\015)c
|
||||
Fr(1988{2009)e(F)l(ree)i(Soft)o(w)o(are)f(F)l(oundation,)g(Inc.)75
|
||||
1756 y(P)o(ermission)h(is)g(gran)o(ted)h(to)f(mak)o(e)h(and)g
|
||||
(distribute)g(v)o(erbatim)e(copies)i(of)g(this)g(man)o(ual)f(pro)o
|
||||
(vided)h(the)75 1811 y(cop)o(yrigh)o(t)e(notice)h(and)g(this)g(p)q
|
||||
(ermission)f(notice)h(are)g(preserv)o(ed)h(on)f(all)f(copies.)195
|
||||
1878 y(P)o(ermission)i(is)h(gran)o(ted)g(to)g(cop)o(y)l(,)h(distribute)
|
||||
f(and/or)g(mo)q(dify)g(this)g(do)q(cumen)o(t)h(under)195
|
||||
TeXDict begin 2 1 bop 75 1512 a Fr(This)16 b(do)q(cumen)o(t)g(describ)q
|
||||
(es)g(the)g(GNU)g(History)f(library)f(\(v)o(ersion)h(6.2,)g(Septem)o(b)
|
||||
q(er)i(6)e(2010\),)f(a)i(pro-)75 1567 y(gramming)10 b(to)q(ol)g(that)g
|
||||
(pro)o(vides)h(a)g(consisten)o(t)f(user)i(in)o(terface)e(for)h
|
||||
(recalling)f(lines)g(of)h(previously)g(t)o(yp)q(ed)75
|
||||
1621 y(input.)75 1689 y(Cop)o(yrigh)o(t)301 1688 y(c)289
|
||||
1689 y Fo(\015)k Fr(1988{2009)e(F)l(ree)i(Soft)o(w)o(are)f(F)l
|
||||
(oundation,)g(Inc.)75 1756 y(P)o(ermission)h(is)g(gran)o(ted)h(to)f
|
||||
(mak)o(e)h(and)g(distribute)g(v)o(erbatim)e(copies)i(of)g(this)g(man)o
|
||||
(ual)f(pro)o(vided)h(the)75 1811 y(cop)o(yrigh)o(t)e(notice)h(and)g
|
||||
(this)g(p)q(ermission)f(notice)h(are)g(preserv)o(ed)h(on)f(all)f
|
||||
(copies.)195 1878 y(P)o(ermission)i(is)h(gran)o(ted)g(to)g(cop)o(y)l(,)
|
||||
h(distribute)f(and/or)g(mo)q(dify)g(this)g(do)q(cumen)o(t)h(under)195
|
||||
1933 y(the)h(terms)f(of)h(the)g(GNU)g(F)l(ree)g(Do)q(cumen)o(tation)f
|
||||
(License,)i(V)l(ersion)f(1.3)f(or)g(an)o(y)h(later)195
|
||||
1988 y(v)o(ersion)13 b(published)h(b)o(y)g(the)g(F)l(ree)f(Soft)o(w)o
|
||||
@@ -3315,64 +3315,68 @@ b(Index)17 b Fm(:)11 b(:)f(:)g(:)40 b Fp(21)p eop end
|
||||
%%Page: 1 4
|
||||
TeXDict begin 1 3 bop 75 -58 a Fr(Chapter)15 b(1:)k(Using)c(History)f
|
||||
(In)o(teractiv)o(ely)1005 b(1)75 149 y Fn(1)41 b(Using)27
|
||||
b(History)h(In)n(teractiv)n(ely)75 306 y Fr(This)21 b(c)o(hapter)g
|
||||
b(History)h(In)n(teractiv)n(ely)75 276 y Fr(This)21 b(c)o(hapter)g
|
||||
(describ)q(es)h(ho)o(w)f(to)f(use)i(the)f Fk(gnu)g Fr(History)f
|
||||
(Library)h(in)o(teractiv)o(ely)l(,)g(from)f(a)h(user's)75
|
||||
361 y(standp)q(oin)o(t.)37 b(It)21 b(should)g(b)q(e)h(considered)f(a)g
|
||||
330 y(standp)q(oin)o(t.)37 b(It)21 b(should)g(b)q(e)h(considered)f(a)g
|
||||
(user's)g(guide.)37 b(F)l(or)21 b(information)e(on)i(using)g(the)g
|
||||
Fk(gnu)75 416 y Fr(History)16 b(Library)h(in)h(y)o(our)f(o)o(wn)g
|
||||
Fk(gnu)75 385 y Fr(History)16 b(Library)h(in)h(y)o(our)f(o)o(wn)g
|
||||
(programs,)f(see)i(Chapter)f(2)h([Programming)d(with)i(GNU)g(History],)
|
||||
75 471 y(page)e(4.)75 607 y Fp(1.1)33 b(History)21 b(Expansion)75
|
||||
687 y Fr(The)i(History)e(library)h(pro)o(vides)g(a)g(history)g
|
||||
75 440 y(page)e(4.)75 561 y Fp(1.1)33 b(History)21 b(Expansion)75
|
||||
640 y Fr(The)i(History)e(library)h(pro)o(vides)g(a)g(history)g
|
||||
(expansion)g(feature)g(that)g(is)h(similar)d(to)i(the)h(history)75
|
||||
741 y(expansion)f(pro)o(vided)h(b)o(y)f Fq(csh)p Fr(.)41
|
||||
695 y(expansion)f(pro)o(vided)h(b)o(y)f Fq(csh)p Fr(.)41
|
||||
b(This)22 b(section)g(describ)q(es)h(the)g(syn)o(tax)e(used)i(to)f
|
||||
(manipulate)g(the)75 796 y(history)14 b(information.)137
|
||||
877 y(History)g(expansions)h(in)o(tro)q(duce)h(w)o(ords)e(from)g(the)i
|
||||
(manipulate)g(the)75 750 y(history)14 b(information.)137
|
||||
820 y(History)g(expansions)h(in)o(tro)q(duce)h(w)o(ords)e(from)g(the)i
|
||||
(history)e(list)g(in)o(to)g(the)i(input)f(stream,)f(making)75
|
||||
931 y(it)g(easy)h(to)g(rep)q(eat)g(commands,)g(insert)g(the)g(argumen)o
|
||||
875 y(it)g(easy)h(to)g(rep)q(eat)g(commands,)g(insert)g(the)g(argumen)o
|
||||
(ts)f(to)h(a)g(previous)g(command)g(in)o(to)f(the)h(curren)o(t)75
|
||||
986 y(input)g(line,)g(or)f(\014x)i(errors)e(in)h(previous)g(commands)g
|
||||
(quic)o(kly)l(.)137 1067 y(History)i(expansion)i(tak)o(es)e(place)h(in)
|
||||
930 y(input)g(line,)g(or)f(\014x)i(errors)e(in)h(previous)g(commands)g
|
||||
(quic)o(kly)l(.)137 1000 y(History)i(expansion)i(tak)o(es)e(place)h(in)
|
||||
h(t)o(w)o(o)e(parts.)28 b(The)19 b(\014rst)f(is)f(to)h(determine)h
|
||||
(whic)o(h)f(line)g(from)75 1122 y(the)j(history)e(list)h(should)h(b)q
|
||||
(whic)o(h)f(line)g(from)75 1055 y(the)j(history)e(list)h(should)h(b)q
|
||||
(e)g(used)g(during)g(substitution.)35 b(The)21 b(second)g(is)f(to)g
|
||||
(select)h(p)q(ortions)e(of)75 1176 y(that)c(line)g(for)f(inclusion)h
|
||||
(select)h(p)q(ortions)e(of)75 1110 y(that)c(line)g(for)f(inclusion)h
|
||||
(in)o(to)f(the)i(curren)o(t)f(one.)20 b(The)c(line)e(selected)i(from)f
|
||||
(the)g(history)f(is)h(called)g(the)75 1231 y Fj(ev)o(en)o(t)p
|
||||
(the)g(history)f(is)h(called)g(the)75 1164 y Fj(ev)o(en)o(t)p
|
||||
Fr(,)e(and)h(the)g(p)q(ortions)f(of)g(that)g(line)g(that)g(are)g(acted)
|
||||
h(up)q(on)g(are)f(called)h Fj(w)o(ords)p Fr(.)k(V)l(arious)13
|
||||
b Fj(mo)q(di\014ers)75 1286 y Fr(are)j(a)o(v)m(ailable)f(to)h
|
||||
b Fj(mo)q(di\014ers)75 1219 y Fr(are)j(a)o(v)m(ailable)f(to)h
|
||||
(manipulate)g(the)g(selected)h(w)o(ords.)23 b(The)17
|
||||
b(line)f(is)g(brok)o(en)g(in)o(to)g(w)o(ords)f(in)i(the)f(same)75
|
||||
1341 y(fashion)11 b(that)f(Bash)i(do)q(es,)g(so)f(that)g(sev)o(eral)f
|
||||
1274 y(fashion)11 b(that)f(Bash)i(do)q(es,)g(so)f(that)g(sev)o(eral)f
|
||||
(w)o(ords)h(surrounded)h(b)o(y)f(quotes)h(are)f(considered)g(one)h(w)o
|
||||
(ord.)75 1396 y(History)17 b(expansions)h(are)h(in)o(tro)q(duced)f(b)o
|
||||
(ord.)75 1329 y(History)17 b(expansions)h(are)h(in)o(tro)q(duced)f(b)o
|
||||
(y)g(the)h(app)q(earance)g(of)f(the)g(history)g(expansion)g(c)o
|
||||
(haracter,)75 1450 y(whic)o(h)d(is)g(`)p Fq(!)p Fr(')f(b)o(y)h
|
||||
(default.)75 1563 y Fi(1.1.1)30 b(Ev)n(en)n(t)21 b(Designators)75
|
||||
1637 y Fr(An)15 b(ev)o(en)o(t)g(designator)g(is)f(a)h(reference)h(to)f
|
||||
(a)f(command)i(line)e(en)o(try)h(in)g(the)h(history)e(list.)75
|
||||
1736 y Fq(!)216 b Fr(Start)16 b(a)g(history)g(substitution,)f(except)j
|
||||
(when)f(follo)o(w)o(ed)e(b)o(y)h(a)h(space,)g(tab,)f(the)h(end)g(of)315
|
||||
1791 y(the)e(line,)g(or)f(`)p Fq(=)p Fr('.)75 1884 y
|
||||
Fq(!)p Fh(n)192 b Fr(Refer)16 b(to)e(command)h(line)g
|
||||
Fj(n)p Fr(.)75 1977 y Fq(!-)p Fh(n)168 b Fr(Refer)16
|
||||
b(to)e(the)i(command)f Fj(n)g Fr(lines)g(bac)o(k.)75
|
||||
2070 y Fq(!!)192 b Fr(Refer)16 b(to)e(the)i(previous)e(command.)20
|
||||
b(This)15 b(is)g(a)g(synon)o(ym)g(for)f(`)p Fq(!-1)p
|
||||
Fr('.)75 2163 y Fq(!)p Fh(string)72 b Fr(Refer)16 b(to)e(the)i(most)e
|
||||
(recen)o(t)h(command)g(starting)f(with)g Fj(string)t
|
||||
Fr(.)75 2256 y Fq(!?)p Fh(string)5 b Fq([?])315 2311
|
||||
y Fr(Refer)17 b(to)f(the)g(most)g(recen)o(t)h(command)f(con)o(taining)f
|
||||
Fj(string)t Fr(.)23 b(The)16 b(trailing)f(`)p Fq(?)p
|
||||
Fr(')h(ma)o(y)f(b)q(e)315 2366 y(omitted)f(if)h(the)g
|
||||
Fj(string)j Fr(is)d(follo)o(w)o(ed)e(immediately)h(b)o(y)h(a)g
|
||||
(newline.)75 2459 y Fq(^)p Fh(string1)5 b Fq(^)p Fh(string2)g
|
||||
Fq(^)315 2513 y Fr(Quic)o(k)16 b(Substitution.)k(Rep)q(eat)c(the)g
|
||||
(last)e(command,)h(replacing)g Fj(string1)j Fr(with)d
|
||||
Fj(string2)t Fr(.)315 2568 y(Equiv)m(alen)o(t)g(to)f
|
||||
Fq(!!:s/)p Fh(string1)5 b Fq(/)p Fh(string2)g Fq(/)p
|
||||
(haracter,)75 1384 y(whic)o(h)d(is)g(`)p Fq(!)p Fr(')f(b)o(y)h
|
||||
(default.)75 1486 y Fi(1.1.1)30 b(Ev)n(en)n(t)21 b(Designators)75
|
||||
1560 y Fr(An)c(ev)o(en)o(t)f(designator)f(is)h(a)g(reference)h(to)f(a)g
|
||||
(command)g(line)g(en)o(try)g(in)g(the)h(history)e(list.)23
|
||||
b(Unless)16 b(the)75 1614 y(reference)g(is)f(absolute,)f(ev)o(en)o(ts)h
|
||||
(are)g(relativ)o(e)e(to)i(the)g(curren)o(t)g(p)q(osition)f(in)h(the)h
|
||||
(history)e(list.)75 1699 y Fq(!)216 b Fr(Start)16 b(a)g(history)g
|
||||
(substitution,)f(except)j(when)f(follo)o(w)o(ed)e(b)o(y)h(a)h(space,)g
|
||||
(tab,)f(the)h(end)g(of)315 1753 y(the)e(line,)g(or)f(`)p
|
||||
Fq(=)p Fr('.)75 1836 y Fq(!)p Fh(n)192 b Fr(Refer)16
|
||||
b(to)e(command)h(line)g Fj(n)p Fr(.)75 1919 y Fq(!-)p
|
||||
Fh(n)168 b Fr(Refer)16 b(to)e(the)i(command)f Fj(n)g
|
||||
Fr(lines)g(bac)o(k.)75 2002 y Fq(!!)192 b Fr(Refer)16
|
||||
b(to)e(the)i(previous)e(command.)20 b(This)15 b(is)g(a)g(synon)o(ym)g
|
||||
(for)f(`)p Fq(!-1)p Fr('.)75 2084 y Fq(!)p Fh(string)72
|
||||
b Fr(Refer)13 b(to)f(the)h(most)e(recen)o(t)i(command)f(preceding)h
|
||||
(the)g(curren)o(t)f(p)q(osition)g(in)g(the)h(history)315
|
||||
2139 y(list)h(starting)g(with)g Fj(string)t Fr(.)75 2222
|
||||
y Fq(!?)p Fh(string)5 b Fq([?])315 2277 y Fr(Refer)13
|
||||
b(to)f(the)h(most)e(recen)o(t)i(command)f(preceding)h(the)g(curren)o(t)
|
||||
f(p)q(osition)g(in)g(the)h(history)315 2331 y(list)h(con)o(taining)h
|
||||
Fj(string)t Fr(.)20 b(The)c(trailing)e(`)p Fq(?)p Fr(')g(ma)o(y)h(b)q
|
||||
(e)h(omitted)f(if)g(the)h Fj(string)i Fr(is)e(follo)o(w)o(ed)315
|
||||
2386 y(immediately)e(b)o(y)h(a)g(newline.)75 2469 y Fq(^)p
|
||||
Fh(string1)5 b Fq(^)p Fh(string2)g Fq(^)315 2524 y Fr(Quic)o(k)16
|
||||
b(Substitution.)k(Rep)q(eat)c(the)g(last)e(command,)h(replacing)g
|
||||
Fj(string1)j Fr(with)d Fj(string2)t Fr(.)315 2578 y(Equiv)m(alen)o(t)g
|
||||
(to)f Fq(!!:s/)p Fh(string1)5 b Fq(/)p Fh(string2)g Fq(/)p
|
||||
Fr(.)75 2661 y Fq(!#)192 b Fr(The)15 b(en)o(tire)g(command)g(line)g(t)o
|
||||
(yp)q(ed)h(so)e(far.)p eop end
|
||||
%%Page: 2 5
|
||||
@@ -3816,112 +3820,119 @@ b(with)g(GNU)h(History)888 b(9)1685 149 y([V)l(ariable])-1801
|
||||
b Fg(int)27 b(history_max_entries)195 204 y Fr(The)c(maxim)o(um)f(n)o
|
||||
(um)o(b)q(er)h(of)g(history)f(en)o(tries.)42 b(This)23
|
||||
b(m)o(ust)f(b)q(e)i(c)o(hanged)f(using)g Fq(stifle_)195
|
||||
259 y(history\(\))p Fr(.)1685 351 y([V)l(ariable])-1801
|
||||
b Fg(int)27 b(history_write_timestamps)195 405 y Fr(If)c(non-zero,)h
|
||||
259 y(history\(\))p Fr(.)1685 371 y([V)l(ariable])-1801
|
||||
b Fg(int)27 b(history_write_timestamps)195 426 y Fr(If)c(non-zero,)h
|
||||
(timestamps)d(are)h(written)f(to)h(the)g(history)f(\014le,)j(so)e(they)
|
||||
g(can)h(b)q(e)g(preserv)o(ed)195 460 y(b)q(et)o(w)o(een)16
|
||||
g(can)h(b)q(e)g(preserv)o(ed)195 481 y(b)q(et)o(w)o(een)16
|
||||
b(sessions.)j(The)c(default)g(v)m(alue)g(is)g(0,)g(meaning)g(that)f
|
||||
(timestamps)g(are)h(not)g(sa)o(v)o(ed.)1685 552 y([V)l(ariable])-1801
|
||||
b Fg(char)27 b(history_expansion_char)195 606 y Fr(The)18
|
||||
b(c)o(haracter)f(that)g(in)o(tro)q(duces)g(a)g(history)g(ev)o(en)o(t.)
|
||||
27 b(The)18 b(default)f(is)g(`)p Fq(!)p Fr('.)26 b(Setting)17
|
||||
b(this)g(to)g(0)195 661 y(inhibits)d(history)h(expansion.)1685
|
||||
753 y([V)l(ariable])-1801 b Fg(char)27 b(history_subst_char)195
|
||||
807 y Fr(The)21 b(c)o(haracter)e(that)h(in)o(v)o(ok)o(es)f(w)o(ord)h
|
||||
(substitution)f(if)h(found)g(at)g(the)h(start)e(of)h(a)g(line.)35
|
||||
b(The)195 862 y(default)15 b(is)f(`)p Fq(^)p Fr('.)1685
|
||||
954 y([V)l(ariable])-1801 b Fg(char)27 b(history_comment_char)195
|
||||
1009 y Fr(During)18 b(tok)o(enization,)g(if)g(this)h(c)o(haracter)f(is)
|
||||
g(seen)i(as)e(the)h(\014rst)g(c)o(haracter)f(of)g(a)h(w)o(ord,)g(then)
|
||||
195 1063 y(it)i(and)h(all)e(subsequen)o(t)j(c)o(haracters)d(up)j(to)e
|
||||
(a)g(newline)g(are)h(ignored,)g(suppressing)g(history)195
|
||||
1118 y(expansion)15 b(for)g(the)g(remainder)g(of)g(the)g(line.)k(This)c
|
||||
(is)g(disabled)g(b)o(y)g(default.)1685 1210 y([V)l(ariable])-1801
|
||||
b Fg(char)27 b(*)f(history_word_delimiters)195 1264 y
|
||||
Fr(The)14 b(c)o(haracters)f(that)g(separate)g(tok)o(ens)h(for)f
|
||||
Fq(history_tokenize\(\))p Fr(.)k(The)d(default)f(v)m(alue)h(is)f
|
||||
Fq(")195 1319 y(\\t\\n\(\)<>;&|")p Fr(.)1685 1411 y([V)l(ariable])-1801
|
||||
(timestamps)g(are)h(not)g(sa)o(v)o(ed.)195 558 y(The)21
|
||||
b(curren)o(t)g(timestamp)e(format)h(uses)h(the)f(v)m(alue)h(of)g
|
||||
Fj(history)p 1350 558 14 2 v 19 w(commen)o(t)p 1550 558
|
||||
V 19 w(c)o(har)j Fr(to)c(delimit)195 613 y(timestamp)g(en)o(tries)g(in)
|
||||
h(the)h(history)e(\014le.)38 b(If)21 b(that)f(v)m(ariable)h(do)q(es)g
|
||||
(not)g(ha)o(v)o(e)g(a)g(v)m(alue)g(\(the)195 668 y(default\),)14
|
||||
b(timestamps)g(will)g(not)h(b)q(e)h(written.)1685 780
|
||||
y([V)l(ariable])-1801 b Fg(char)27 b(history_expansion_char)195
|
||||
835 y Fr(The)18 b(c)o(haracter)f(that)g(in)o(tro)q(duces)g(a)g(history)
|
||||
g(ev)o(en)o(t.)27 b(The)18 b(default)f(is)g(`)p Fq(!)p
|
||||
Fr('.)26 b(Setting)17 b(this)g(to)g(0)195 889 y(inhibits)d(history)h
|
||||
(expansion.)1685 1002 y([V)l(ariable])-1801 b Fg(char)27
|
||||
b(history_subst_char)195 1056 y Fr(The)21 b(c)o(haracter)e(that)h(in)o
|
||||
(v)o(ok)o(es)f(w)o(ord)h(substitution)f(if)h(found)g(at)g(the)h(start)e
|
||||
(of)h(a)g(line.)35 b(The)195 1111 y(default)15 b(is)f(`)p
|
||||
Fq(^)p Fr('.)1685 1223 y([V)l(ariable])-1801 b Fg(char)27
|
||||
b(history_comment_char)195 1278 y Fr(During)18 b(tok)o(enization,)g(if)
|
||||
g(this)h(c)o(haracter)f(is)g(seen)i(as)e(the)h(\014rst)g(c)o(haracter)f
|
||||
(of)g(a)h(w)o(ord,)g(then)195 1333 y(it)i(and)h(all)e(subsequen)o(t)j
|
||||
(c)o(haracters)d(up)j(to)e(a)g(newline)g(are)h(ignored,)g(suppressing)g
|
||||
(history)195 1388 y(expansion)15 b(for)g(the)g(remainder)g(of)g(the)g
|
||||
(line.)k(This)c(is)g(disabled)g(b)o(y)g(default.)1685
|
||||
1500 y([V)l(ariable])-1801 b Fg(char)27 b(*)f(history_word_delimiters)
|
||||
195 1555 y Fr(The)14 b(c)o(haracters)f(that)g(separate)g(tok)o(ens)h
|
||||
(for)f Fq(history_tokenize\(\))p Fr(.)k(The)d(default)f(v)m(alue)h(is)f
|
||||
Fq(")195 1610 y(\\t\\n\(\)<>;&|")p Fr(.)1685 1722 y([V)l(ariable])-1801
|
||||
b Fg(char)27 b(*)f(history_search_delimite)q(r_chars)195
|
||||
1466 y Fr(The)13 b(list)f(of)h(additional)e(c)o(haracters)h(whic)o(h)h
|
||||
1777 y Fr(The)13 b(list)f(of)h(additional)e(c)o(haracters)h(whic)o(h)h
|
||||
(can)h(delimit)d(a)i(history)f(searc)o(h)h(string,)f(in)h(addition)195
|
||||
1520 y(to)i(space,)g(T)l(AB,)g(`)p Fq(:)p Fr(')f(and)h(`)p
|
||||
1831 y(to)i(space,)g(T)l(AB,)g(`)p Fq(:)p Fr(')f(and)h(`)p
|
||||
Fq(?)p Fr(')g(in)g(the)g(case)g(of)g(a)g(substring)f(searc)o(h.)20
|
||||
b(The)c(default)e(is)h(empt)o(y)l(.)1685 1612 y([V)l(ariable])-1801
|
||||
b Fg(char)27 b(*)f(history_no_expand_chars)195 1667 y
|
||||
b(The)c(default)e(is)h(empt)o(y)l(.)1685 1944 y([V)l(ariable])-1801
|
||||
b Fg(char)27 b(*)f(history_no_expand_chars)195 1998 y
|
||||
Fr(The)15 b(list)f(of)g(c)o(haracters)g(whic)o(h)h(inhibit)f(history)g
|
||||
(expansion)h(if)f(found)i(immediately)d(follo)o(wing)195
|
||||
1721 y Fj(history)p 337 1721 14 2 v 19 w(expansion)p
|
||||
552 1721 V 20 w(c)o(har)s Fr(.)20 b(The)15 b(default)g(is)g(space,)g
|
||||
(tab,)f(newline,)h(carriage)f(return,)h(and)g(`)p Fq(=)p
|
||||
Fr('.)1685 1813 y([V)l(ariable])-1801 b Fg(int)27 b
|
||||
(history_quotes_inhibit_exp)q(ansion)195 1868 y Fr(If)15
|
||||
b(non-zero,)f(single-quoted)h(w)o(ords)e(are)i(not)f(scanned)h(for)f
|
||||
(the)h(history)f(expansion)g(c)o(haracter.)195 1922 y(The)h(default)g
|
||||
(v)m(alue)h(is)e(0.)1685 2014 y([V)l(ariable])-1801 b
|
||||
Fg(rl_linebuf_func_t)29 b(*)d(history_inhibit_expansi)q(on_func)q(tion)
|
||||
195 2069 y Fr(This)16 b(should)h(b)q(e)g(set)g(to)f(the)g(address)h(of)
|
||||
f(a)h(function)f(that)g(tak)o(es)g(t)o(w)o(o)f(argumen)o(ts:)22
|
||||
b(a)17 b Fq(char)d(*)195 2124 y Fr(\()p Fj(string)t Fr(\))d(and)j(an)f
|
||||
2053 y Fj(history)p 337 2053 V 19 w(expansion)p 552 2053
|
||||
V 20 w(c)o(har)s Fr(.)20 b(The)15 b(default)g(is)g(space,)g(tab,)f
|
||||
(newline,)h(carriage)f(return,)h(and)g(`)p Fq(=)p Fr('.)1685
|
||||
2165 y([V)l(ariable])-1801 b Fg(int)27 b(history_quotes_inhibit_exp)q
|
||||
(ansion)195 2220 y Fr(If)15 b(non-zero,)f(single-quoted)h(w)o(ords)e
|
||||
(are)i(not)f(scanned)h(for)f(the)h(history)f(expansion)g(c)o(haracter.)
|
||||
195 2275 y(The)h(default)g(v)m(alue)h(is)e(0.)1685 2387
|
||||
y([V)l(ariable])-1801 b Fg(rl_linebuf_func_t)29 b(*)d
|
||||
(history_inhibit_expansi)q(on_func)q(tion)195 2442 y
|
||||
Fr(This)16 b(should)h(b)q(e)g(set)g(to)f(the)g(address)h(of)f(a)h
|
||||
(function)f(that)g(tak)o(es)g(t)o(w)o(o)f(argumen)o(ts:)22
|
||||
b(a)17 b Fq(char)d(*)195 2497 y Fr(\()p Fj(string)t Fr(\))d(and)j(an)f
|
||||
Fq(int)g Fr(index)h(in)o(to)e(that)g(string)h(\()p Fj(i)r
|
||||
Fr(\).)18 b(It)c(should)f(return)g(a)g(non-zero)h(v)m(alue)f(if)g(the)
|
||||
195 2178 y(history)h(expansion)g(starting)f(at)h Fj(string[i])g
|
||||
195 2552 y(history)h(expansion)g(starting)f(at)h Fj(string[i])g
|
||||
Fr(should)h(not)f(b)q(e)h(p)q(erformed;)g(zero)f(if)g(the)h(expansion)
|
||||
195 2233 y(should)h(b)q(e)h(done.)22 b(It)16 b(is)g(in)o(tended)g(for)f
|
||||
195 2606 y(should)h(b)q(e)h(done.)22 b(It)16 b(is)g(in)o(tended)g(for)f
|
||||
(use)i(b)o(y)f(applications)e(lik)o(e)h(Bash)h(that)g(use)g(the)g
|
||||
(history)195 2288 y(expansion)f(c)o(haracter)g(for)f(additional)g(purp)
|
||||
(history)195 2661 y(expansion)f(c)o(haracter)g(for)f(additional)g(purp)
|
||||
q(oses.)20 b(By)c(default,)e(this)h(v)m(ariable)f(is)h(set)g(to)f
|
||||
Fq(NULL)p Fr(.)75 2404 y Fp(2.5)33 b(History)21 b(Programming)h
|
||||
(Example)75 2483 y Fr(The)15 b(follo)o(wing)e(program)h(demonstrates)h
|
||||
(simple)g(use)g(of)g(the)g Fk(gnu)g Fr(History)f(Library)l(.)195
|
||||
2539 y Fe(#include)j(<stdio.h)o(>)195 2583 y(#include)g(<readlin)o(e/h)
|
||||
o(is)o(tor)o(y.h)o(>)195 2670 y(main)h(\(argc,)f(argv\))p
|
||||
eop end
|
||||
Fq(NULL)p Fr(.)p eop end
|
||||
%%Page: 10 13
|
||||
TeXDict begin 10 12 bop 75 -58 a Fr(Chapter)15 b(2:)k(Programming)14
|
||||
b(with)g(GNU)h(History)866 b(10)293 149 y Fe(int)19 b(argc;)293
|
||||
193 y(char)f(**argv;)195 237 y({)234 280 y(char)g(line[1024])o(,)f(*t;)
|
||||
234 324 y(int)i(len,)f(done)g(=)h(0;)234 411 y(line[0])e(=)i(0;)234
|
||||
498 y(using_hist)o(ory)d(\(\);)234 542 y(while)i(\(!done\))273
|
||||
585 y({)313 629 y(printf)f(\("history)o($)g("\);)313
|
||||
672 y(fflush)g(\(stdout\);)313 716 y(t)i(=)g(fgets)f(\(line,)f(sizeof)g
|
||||
(\(line\))h(-)h(1,)g(stdin\);)313 760 y(if)g(\(t)f(&&)h(*t\))352
|
||||
803 y({)391 847 y(len)g(=)g(strlen)e(\(t\);)391 890 y(if)i(\(t[len)e(-)
|
||||
i(1])g(==)g('\\n'\))430 934 y(t[len)f(-)h(1])g(=)g('\\0';)352
|
||||
978 y(})313 1065 y(if)g(\(!t\))352 1108 y(strcpy)e(\(line,)g("quit"\);)
|
||||
313 1196 y(if)i(\(line[0])o(\))352 1239 y({)391 1283
|
||||
y(char)f(*expansion)o(;)391 1326 y(int)h(result;)391
|
||||
1413 y(result)e(=)j(history_e)o(xp)o(and)c(\(line,)h(&expansion)o(\);)
|
||||
391 1457 y(if)i(\(result\))430 1501 y(fprintf)e(\(stderr,)g
|
||||
("\045s\\n",)g(expansion)o(\);)391 1588 y(if)i(\(result)e(<)i(0)g(||)g
|
||||
(result)e(==)i(2\))430 1631 y({)470 1675 y(free)f(\(expansio)o(n\))o(;)
|
||||
470 1719 y(continue)o(;)430 1762 y(})391 1849 y(add_histor)o(y)e
|
||||
(\(expansion\))o(;)391 1893 y(strncpy)h(\(line,)g(expansion,)f(sizeof)h
|
||||
(\(line\))h(-)h(1\);)391 1936 y(free)f(\(expansion)o(\);)352
|
||||
1980 y(})313 2067 y(if)h(\(strcmp)d(\(line,)i("quit"\))f(==)h(0\))352
|
||||
2111 y(done)g(=)h(1;)313 2154 y(else)f(if)h(\(strcmp)d(\(line,)i
|
||||
("save"\))f(==)i(0\))352 2198 y(write_his)o(tor)o(y)d(\("history_f)o
|
||||
(il)o(e"\))o(;)313 2242 y(else)i(if)h(\(strcmp)d(\(line,)i("read"\))f
|
||||
(==)i(0\))352 2285 y(read_hist)o(ory)d(\("history)o(_fi)o(le)o("\);)313
|
||||
2329 y(else)i(if)h(\(strcmp)d(\(line,)i("list"\))f(==)i(0\))352
|
||||
2372 y({)391 2416 y(register)e(HIST_ENTR)o(Y)f(**the_list;)391
|
||||
2460 y(register)h(int)h(i;)391 2547 y(the_list)f(=)i(history_l)o(ist)d
|
||||
(\(\);)391 2590 y(if)j(\(the_list)o(\))430 2634 y(for)g(\(i)g(=)g(0;)g
|
||||
(the_list[)o(i])o(;)e(i++\))p eop end
|
||||
b(with)g(GNU)h(History)866 b(10)75 149 y Fp(2.5)33 b(History)21
|
||||
b(Programming)h(Example)75 229 y Fr(The)15 b(follo)o(wing)e(program)h
|
||||
(demonstrates)h(simple)g(use)g(of)g(the)g Fk(gnu)g Fr(History)f
|
||||
(Library)l(.)195 316 y Fe(#include)j(<stdio.h)o(>)195
|
||||
360 y(#include)g(<readlin)o(e/h)o(is)o(tor)o(y.h)o(>)195
|
||||
447 y(main)h(\(argc,)f(argv\))293 491 y(int)i(argc;)293
|
||||
534 y(char)f(**argv;)195 578 y({)234 621 y(char)g(line[1024])o(,)f(*t;)
|
||||
234 665 y(int)i(len,)f(done)g(=)h(0;)234 752 y(line[0])e(=)i(0;)234
|
||||
839 y(using_hist)o(ory)d(\(\);)234 883 y(while)i(\(!done\))273
|
||||
927 y({)313 970 y(printf)f(\("history)o($)g("\);)313
|
||||
1014 y(fflush)g(\(stdout\);)313 1057 y(t)i(=)g(fgets)f(\(line,)f
|
||||
(sizeof)g(\(line\))h(-)h(1,)g(stdin\);)313 1101 y(if)g(\(t)f(&&)h(*t\))
|
||||
352 1144 y({)391 1188 y(len)g(=)g(strlen)e(\(t\);)391
|
||||
1232 y(if)i(\(t[len)e(-)i(1])g(==)g('\\n'\))430 1275
|
||||
y(t[len)f(-)h(1])g(=)g('\\0';)352 1319 y(})313 1406 y(if)g(\(!t\))352
|
||||
1450 y(strcpy)e(\(line,)g("quit"\);)313 1537 y(if)i(\(line[0])o(\))352
|
||||
1580 y({)391 1624 y(char)f(*expansion)o(;)391 1667 y(int)h(result;)391
|
||||
1755 y(result)e(=)j(history_e)o(xp)o(and)c(\(line,)h(&expansion)o(\);)
|
||||
391 1798 y(if)i(\(result\))430 1842 y(fprintf)e(\(stderr,)g
|
||||
("\045s\\n",)g(expansion)o(\);)391 1929 y(if)i(\(result)e(<)i(0)g(||)g
|
||||
(result)e(==)i(2\))430 1973 y({)470 2016 y(free)f(\(expansio)o(n\))o(;)
|
||||
470 2060 y(continue)o(;)430 2103 y(})391 2191 y(add_histor)o(y)e
|
||||
(\(expansion\))o(;)391 2234 y(strncpy)h(\(line,)g(expansion,)f(sizeof)h
|
||||
(\(line\))h(-)h(1\);)391 2278 y(free)f(\(expansion)o(\);)352
|
||||
2321 y(})313 2408 y(if)h(\(strcmp)d(\(line,)i("quit"\))f(==)h(0\))352
|
||||
2452 y(done)g(=)h(1;)313 2496 y(else)f(if)h(\(strcmp)d(\(line,)i
|
||||
("save"\))f(==)i(0\))352 2539 y(write_his)o(tor)o(y)d(\("history_f)o
|
||||
(il)o(e"\))o(;)313 2583 y(else)i(if)h(\(strcmp)d(\(line,)i("read"\))f
|
||||
(==)i(0\))352 2626 y(read_hist)o(ory)d(\("history)o(_fi)o(le)o("\);)313
|
||||
2670 y(else)i(if)h(\(strcmp)d(\(line,)i("list"\))f(==)i(0\))p
|
||||
eop end
|
||||
%%Page: 11 14
|
||||
TeXDict begin 11 13 bop 75 -58 a Fr(Chapter)15 b(2:)k(Programming)14
|
||||
b(with)g(GNU)h(History)866 b(11)470 149 y Fe(printf)17
|
||||
b(\("\045d:)h(\045s\\n",)f(i)i(+)g(history_ba)o(se,)d(the_list[)o(i]-)o
|
||||
(>li)o(ne)o(\);)352 193 y(})313 237 y(else)i(if)h(\(strncmp)d(\(line,)h
|
||||
("delete",)g(6\))h(==)h(0\))352 280 y({)391 324 y(int)g(which;)391
|
||||
367 y(if)g(\(\(sscanf)d(\(line)i(+)h(6,)g("\045d",)f(&which\)\))e(==)j
|
||||
(1\))430 411 y({)470 455 y(HIST_ENT)o(RY)d(*entry)i(=)h(remove_hi)o
|
||||
(sto)o(ry)d(\(which\);)470 498 y(if)i(\(!entry\))509
|
||||
542 y(fprintf)f(\(stderr,)f("No)j(such)f(entry)f(\045d\\n",)h(which\);)
|
||||
470 585 y(else)509 629 y({)548 672 y(free)g(\(entry->li)o(ne)o(\);)548
|
||||
716 y(free)g(\(entry\);)509 760 y(})430 803 y(})391 847
|
||||
y(else)430 890 y({)470 934 y(fprintf)e(\(stderr,)h("non-numer)o(ic)f
|
||||
(arg)i(given)g(to)h(`delete'\\n)o("\))o(;)430 978 y(})352
|
||||
1021 y(})273 1065 y(})195 1108 y(})p eop end
|
||||
b(with)g(GNU)h(History)866 b(11)352 149 y Fe({)391 193
|
||||
y(register)17 b(HIST_ENTR)o(Y)f(**the_list;)391 237 y(register)h(int)h
|
||||
(i;)391 324 y(the_list)f(=)i(history_l)o(ist)d(\(\);)391
|
||||
367 y(if)j(\(the_list)o(\))430 411 y(for)g(\(i)g(=)g(0;)g(the_list[)o
|
||||
(i])o(;)e(i++\))470 455 y(printf)g(\("\045d:)h(\045s\\n",)f(i)i(+)g
|
||||
(history_ba)o(se,)d(the_list[)o(i]-)o(>li)o(ne)o(\);)352
|
||||
498 y(})313 542 y(else)i(if)h(\(strncmp)d(\(line,)h("delete",)g(6\))h
|
||||
(==)h(0\))352 585 y({)391 629 y(int)g(which;)391 672
|
||||
y(if)g(\(\(sscanf)d(\(line)i(+)h(6,)g("\045d",)f(&which\)\))e(==)j(1\))
|
||||
430 716 y({)470 760 y(HIST_ENT)o(RY)d(*entry)i(=)h(remove_hi)o(sto)o
|
||||
(ry)d(\(which\);)470 803 y(if)i(\(!entry\))509 847 y(fprintf)f
|
||||
(\(stderr,)f("No)j(such)f(entry)f(\045d\\n",)h(which\);)470
|
||||
890 y(else)509 934 y({)548 978 y(free)g(\(entry->li)o(ne)o(\);)548
|
||||
1021 y(free)g(\(entry\);)509 1065 y(})430 1108 y(})391
|
||||
1152 y(else)430 1196 y({)470 1239 y(fprintf)e(\(stderr,)h("non-numer)o
|
||||
(ic)f(arg)i(given)g(to)h(`delete'\\n)o("\))o(;)430 1283
|
||||
y(})352 1326 y(})273 1370 y(})195 1413 y(})p eop end
|
||||
%%Page: 12 15
|
||||
TeXDict begin 12 14 bop 75 -58 a Fr(App)q(endix)16 b(A:)f(GNU)g(F)l
|
||||
(ree)g(Do)q(cumen)o(tation)g(License)802 b(12)75 149
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
@numsubsecentry{Managing the History File}{2.3.6}{Managing the History File}{7}
|
||||
@numsubsecentry{History Expansion}{2.3.7}{History Expansion}{8}
|
||||
@numsecentry{History Variables}{2.4}{History Variables}{8}
|
||||
@numsecentry{History Programming Example}{2.5}{History Programming Example}{9}
|
||||
@numsecentry{History Programming Example}{2.5}{History Programming Example}{10}
|
||||
@appentry{GNU Free Documentation License}{A}{GNU Free Documentation License}{12}
|
||||
@appentry{Concept Index}{B}{Concept Index}{20}
|
||||
@appentry{Function and Variable Index}{C}{Function and Variable Index}{21}
|
||||
|
||||
Binary file not shown.
+774
-734
File diff suppressed because it is too large
Load Diff
+141
-103
@@ -1,9 +1,9 @@
|
||||
This is readline.info, produced by makeinfo version 4.13 from
|
||||
./rlman.texi.
|
||||
|
||||
This manual describes the GNU Readline Library (version 6.1, 9 October
|
||||
2009), a library which aids in the consistency of user interface across
|
||||
discrete programs which provide a command line interface.
|
||||
This manual describes the GNU Readline Library (version 6.2, September
|
||||
6 2010), a library which aids in the consistency of user interface
|
||||
across discrete programs which provide a command line interface.
|
||||
|
||||
Copyright (C) 1988-2009 Free Software Foundation, Inc.
|
||||
|
||||
@@ -402,11 +402,24 @@ Variable Settings
|
||||
`insert-comment' command is executed. The default value is
|
||||
`"#"'.
|
||||
|
||||
`completion-display-width'
|
||||
The number of screen columns used to display possible matches
|
||||
when performing completion. The value is ignored if it is
|
||||
less than 0 or greater than the terminal screen width. A
|
||||
value of 0 will cause matches to be displayed one per line.
|
||||
The default value is -1.
|
||||
|
||||
`completion-ignore-case'
|
||||
If set to `on', Readline performs filename matching and
|
||||
completion in a case-insensitive fashion. The default value
|
||||
is `off'.
|
||||
|
||||
`completion-map-case'
|
||||
If set to `on', and COMPLETION-IGNORE-CASE is enabled,
|
||||
Readline treats hyphens (`-') and underscores (`_') as
|
||||
equivalent when performing case-insensitive filename matching
|
||||
and completion.
|
||||
|
||||
`completion-prefix-display-length'
|
||||
The length in characters of the common prefix of a list of
|
||||
possible completions that is displayed without modification.
|
||||
@@ -519,9 +532,14 @@ Variable Settings
|
||||
`match-hidden-files'
|
||||
This variable, when set to `on', causes Readline to match
|
||||
files whose names begin with a `.' (hidden files) when
|
||||
performing filename completion, unless the leading `.' is
|
||||
supplied by the user in the filename to be completed. This
|
||||
variable is `on' by default.
|
||||
performing filename completion. If set to `off', the leading
|
||||
`.' 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
|
||||
@@ -992,11 +1010,16 @@ File: readline.info, Node: Commands For History, Next: Commands For Text, Pre
|
||||
|
||||
`yank-last-arg (M-. or M-_)'
|
||||
Insert last argument to the previous command (the last word of the
|
||||
previous history entry). With an argument, behave exactly like
|
||||
`yank-nth-arg'. Successive calls to `yank-last-arg' move back
|
||||
through the history list, inserting the last argument of each line
|
||||
in turn. The history expansion facilities are used to extract the
|
||||
last argument, as if the `!$' history expansion had been specified.
|
||||
previous history entry). With a numeric argument, behave exactly
|
||||
like `yank-nth-arg'. Successive calls to `yank-last-arg' move
|
||||
back through the history 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 `!$' history expansion had been
|
||||
specified.
|
||||
|
||||
|
||||
|
||||
@@ -1168,7 +1191,11 @@ File: readline.info, Node: Commands For Completion, Next: Keyboard Macros, Pr
|
||||
is filename completion.
|
||||
|
||||
`possible-completions (M-?)'
|
||||
List the possible completions of the text before point.
|
||||
List the possible completions of the text before point. When
|
||||
displaying completions, Readline sets the number of columns used
|
||||
for display to the value of `completion-display-width', the value
|
||||
of the environment variable `COLUMNS', or the screen width, in
|
||||
that order.
|
||||
|
||||
`insert-completions (M-*)'
|
||||
Insert all completions of the text before point that would have
|
||||
@@ -1321,8 +1348,7 @@ File: readline.info, Node: Readline vi Mode, Prev: Bindable Readline Commands,
|
||||
|
||||
While the Readline library does not have a full set of `vi' editing
|
||||
functions, it does contain enough to allow simple editing of the line.
|
||||
The Readline `vi' mode behaves as specified in the POSIX 1003.2
|
||||
standard.
|
||||
The Readline `vi' mode behaves as specified in the POSIX standard.
|
||||
|
||||
In order to switch interactively between `emacs' and `vi' editing
|
||||
modes, use the command `M-C-j' (bound to emacs-editing-mode when in
|
||||
@@ -1339,7 +1365,7 @@ the standard `vi' movement keys, move to previous history lines with
|
||||
aiding in the consistency of user interface across discrete programs
|
||||
that need to provide a command line interface.
|
||||
|
||||
Copyright (C) 1988-2007 Free Software Foundation, Inc.
|
||||
Copyright (C) 1988-2010 Free Software Foundation, Inc.
|
||||
|
||||
Permission is granted to make and distribute verbatim copies of this
|
||||
manual provided the copyright notice and this permission notice pare
|
||||
@@ -2430,7 +2456,11 @@ File: readline.info, Node: Utility Functions, Next: Miscellaneous Functions,
|
||||
`len' is the number of strings in `matches', and `max' is the
|
||||
length of the longest string in `matches'. This function uses the
|
||||
setting of `print-completions-horizontally' to select how the
|
||||
matches are displayed (*note Readline Init File Syntax::).
|
||||
matches are displayed (*note Readline Init File Syntax::). When
|
||||
displaying completions, this function sets the number of columns
|
||||
used for display to the value of `completion-display-width', the
|
||||
value of the environment variable `COLUMNS', or the screen width,
|
||||
in that order.
|
||||
|
||||
The following are implemented as macros, defined in `chardefs.h'.
|
||||
Applications should refrain from using them.
|
||||
@@ -4150,12 +4180,12 @@ Function and Variable Index
|
||||
| ||||