doc/{bashref.texi,bash.1}
- updated descriptions of [[ and case to include reference to
nocasematch option
+
+ 2/22
+ ----
+builtins/mkbuiltins.c
+ - add `times' to the list of posix special builtins
+
+ 2/23
+ ----
+builtins/cd.def
+ - posix mode no longer turns on effect of -P option on $PWD if a
+ directory is chosen from CDPATH
+
+doc/bashref.texi
+ - clarified that in posix mode, reserved words are not alias expanded
+ only in a reserved word context
+ - removed item about cd, $CDPATH, and -P from posix mode section
+
+ 2/24
+ ----
+builtins/reserved.def
+ - minor cleanups to the description of `if'
+
+ 3/2
+ ---
+subst.c
+ - change list_string and get_word_from_string to explicitly treat an
+ IFS character that is not space, tab, or newline *and any adjacent
+ IFS white space* as a single delimiter, as SUSv3/XPG6 says
+
+builtins/read.def
+ - check whether or not the number of fields is exactly the same as
+ the number of variables instead of just assigning the rest of the
+ line (minus any trailing IFS white space) to the last variable.
+ This parses a field and checks whether or not it consumes all of
+ the input (including any trailing field delimiters), falling back
+ to the previous behavior if it does not. This is what POSIX.2
+ specifies, I believe (and the consensus of the austin-group list).
+ This requires a few tests in read.tests to be changed: backslashes
+ escaping IFS whitespace characters at the end of input cause the
+ whitespace characters to be preserved in the value assigned to the
+ variable, and the trailing non-whitespace field delimiter issue
- new settable option, `nocasematch', controls the match_ignore_case
variable. Currently alters pattern matching for case and [[ ... ]]
commands (==, !=, and =~ operators)
+
+doc/{bashref.texi,bash.1}
+ - updated descriptions of [[ and case to include reference to
+ nocasematch option
+
+ 2/22
+ ----
+builtins/mkbuiltins.c
+ - add `times' to the list of posix special builtins
+
+ 2/23
+ ----
+builtins/cd.def
+ - posix mode no longer turns on effect of -P option on $PWD if a
+ directory is chosen from CDPATH
+
+doc/bashref.texi
+ - clarified that in posix mode, reserved words are not alias expanded
+ only in a reserved word context
+ - removed item about cd, $CDPATH, and -P from posix mode section
+
+ 2/24
+ ----
+builtins/reserved.def
+ - minor cleanups to the description of `if'
+
+ 3/2
+ ---
+subst.c
+ - change list_string and get_word_from_string to explicitly treat an
+ IFS character that is not space, tab, or newline *and any adjacent
+ IFS white space* as a single delimiter, as SUSv3/XPG6 says
+
+builtins/read.def
+ - check whether or not the number of fields is exactly the same as
+ the number of variables instead of just assigning the rest of the
+ line (minus any trailing IFS white space) to the last variable.
+ This parses a field and checks whether or not it consumes all of
+ the input (including any trailing field delimiters), falling back
+ to the previous behavior if it does not. This is what POSIX.2
+ specifies, I believe (and the consensus of the austin-group list).
+ This requires a few tests in read.tests to be changed
+
printf ("%s\n", path);
free (temp);
+#if 0
/* Posix.2 says that after using CDPATH, the resultant
value of $PWD will not contain `.' or `..'. */
return (bindpwd (posixly_correct || no_symlinks));
+#else
+ return (bindpwd (no_symlinks));
+#endif
}
else
free (temp);
char *special_builtins[] =
{
":", ".", "source", "break", "continue", "eval", "exec", "exit",
- "export", "readonly", "return", "set", "shift", "trap", "unset",
+ "export", "readonly", "return", "set", "shift", "times", "trap", "unset",
(char *)NULL
};
This file is read.def, from which is created read.c.
It implements the builtin "read" in Bash.
-Copyright (C) 1987-2004 Free Software Foundation, Inc.
+Copyright (C) 1987-2005 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
return (EXECUTION_FAILURE);
}
+#if 0
/* This has to be done this way rather than using string_list
and list_string because Posix.2 says that the last variable gets the
remaining words and their intervening separators. */
input_string = strip_trailing_ifs_whitespace (input_string, ifs_chars, saw_escape);
+#else
+ /* Check whether or not the number of fields is exactly the same as the
+ number of variables. */
+ if (*input_string)
+ {
+ t1 = input_string;
+ t = get_word_from_string (&input_string, ifs_chars, &e);
+ if (*input_string == 0)
+ input_string = t;
+ else
+ input_string = strip_trailing_ifs_whitespace (t1, ifs_chars, saw_escape);
+ }
+#endif
if (saw_escape)
{
--- /dev/null
+This file is read.def, from which is created read.c.
+It implements the builtin "read" in Bash.
+
+Copyright (C) 1987-2004 Free Software Foundation, Inc.
+
+This file is part of GNU Bash, the Bourne Again SHell.
+
+Bash is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2, or (at your option) any later
+version.
+
+Bash is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License along
+with Bash; see the file COPYING. If not, write to the Free Software
+Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA.
+
+$PRODUCES read.c
+
+$BUILTIN read
+$FUNCTION read_builtin
+$SHORT_DOC read [-ers] [-u fd] [-t timeout] [-p prompt] [-a array] [-n nchars] [-d delim] [name ...]
+One line is read from the standard input, or from file descriptor FD if the
+-u option is supplied, and the first word is assigned to the first NAME,
+the second word to the second NAME, and so on, with leftover words assigned
+to the last NAME. Only the characters found in $IFS are recognized as word
+delimiters. If no NAMEs are supplied, the line read is stored in the REPLY
+variable. If the -r option is given, this signifies `raw' input, and
+backslash escaping is disabled. The -d option causes read to continue
+until the first character of DELIM is read, rather than newline. If the -p
+option is supplied, the string PROMPT is output without a trailing newline
+before attempting to read. If -a is supplied, the words read are assigned
+to sequential indices of ARRAY, starting at zero. If -e is supplied and
+the shell is interactive, readline is used to obtain the line. If -n is
+supplied with a non-zero NCHARS argument, read returns after NCHARS
+characters have been read. The -s option causes input coming from a
+terminal to not be echoed.
+
+The -t option causes read to time out and return failure if a complete line
+of input is not read within TIMEOUT seconds. If the TMOUT variable is set,
+its value is the default timeout. The return code is zero, unless end-of-file
+is encountered, read times out, or an invalid file descriptor is supplied as
+the argument to -u.
+$END
+
+#include <config.h>
+
+#include "bashtypes.h"
+#include "posixstat.h"
+
+#include <stdio.h>
+
+#if defined (HAVE_UNISTD_H)
+# include <unistd.h>
+#endif
+
+#include <signal.h>
+#include <errno.h>
+
+#ifdef __CYGWIN__
+# include <fcntl.h>
+# include <io.h>
+#endif
+
+#include "../bashintl.h"
+
+#include "../shell.h"
+#include "common.h"
+#include "bashgetopt.h"
+
+#include <shtty.h>
+
+#if defined (READLINE)
+#include "../bashline.h"
+#include <readline/readline.h>
+#endif
+
+#if !defined(errno)
+extern int errno;
+#endif
+
+extern int interrupt_immediately;
+
+#if defined (READLINE)
+static char *edit_line __P((char *));
+static void set_eol_delim __P((int));
+static void reset_eol_delim __P((char *));
+#endif
+static SHELL_VAR *bind_read_variable __P((char *, char *));
+
+static sighandler sigalrm __P((int));
+static void reset_alarm __P((void));
+
+static procenv_t alrmbuf;
+static SigHandler *old_alrm;
+static unsigned char delim;
+
+static sighandler
+sigalrm (s)
+ int s;
+{
+ longjmp (alrmbuf, 1);
+}
+
+static void
+reset_alarm ()
+{
+ set_signal_handler (SIGALRM, old_alrm);
+ alarm (0);
+}
+
+/* Read the value of the shell variables whose names follow.
+ The reading is done from the current input stream, whatever
+ that may be. Successive words of the input line are assigned
+ to the variables mentioned in LIST. The last variable in LIST
+ gets the remainder of the words on the line. If no variables
+ are mentioned in LIST, then the default variable is $REPLY. */
+int
+read_builtin (list)
+ WORD_LIST *list;
+{
+ register char *varname;
+ int size, i, pass_next, saw_escape, eof, opt, retval, code;
+ int input_is_tty, input_is_pipe, unbuffered_read;
+ int raw, edit, nchars, silent, have_timeout, fd;
+ unsigned int tmout;
+ intmax_t intval;
+ char c;
+ char *input_string, *orig_input_string, *ifs_chars, *prompt, *arrayname;
+ char *e, *t, *t1;
+ struct stat tsb;
+ SHELL_VAR *var;
+#if defined (ARRAY_VARS)
+ WORD_LIST *alist;
+#endif
+#if defined (READLINE)
+ char *rlbuf;
+ int rlind;
+#endif
+
+ USE_VAR(size);
+ USE_VAR(i);
+ USE_VAR(pass_next);
+ USE_VAR(saw_escape);
+ USE_VAR(input_is_pipe);
+/* USE_VAR(raw); */
+ USE_VAR(edit);
+ USE_VAR(tmout);
+ USE_VAR(nchars);
+ USE_VAR(silent);
+ USE_VAR(ifs_chars);
+ USE_VAR(prompt);
+ USE_VAR(arrayname);
+#if defined (READLINE)
+ USE_VAR(rlbuf);
+ USE_VAR(rlind);
+#endif
+ USE_VAR(list);
+
+ i = 0; /* Index into the string that we are reading. */
+ raw = edit = 0; /* Not reading raw input by default. */
+ silent = 0;
+ arrayname = prompt = (char *)NULL;
+ fd = 0; /* file descriptor to read from */
+
+#if defined (READLINE)
+ rlbuf = (char *)0;
+ rlind = 0;
+#endif
+
+ tmout = 0; /* no timeout */
+ nchars = input_is_tty = input_is_pipe = unbuffered_read = have_timeout = 0;
+ delim = '\n'; /* read until newline */
+
+ reset_internal_getopt ();
+ while ((opt = internal_getopt (list, "ersa:d:n:p:t:u:")) != -1)
+ {
+ switch (opt)
+ {
+ case 'r':
+ raw = 1;
+ break;
+ case 'p':
+ prompt = list_optarg;
+ break;
+ case 's':
+ silent = 1;
+ break;
+ case 'e':
+#if defined (READLINE)
+ edit = 1;
+#endif
+ break;
+#if defined (ARRAY_VARS)
+ case 'a':
+ arrayname = list_optarg;
+ break;
+#endif
+ case 't':
+ code = legal_number (list_optarg, &intval);
+ if (code == 0 || intval < 0 || intval != (unsigned int)intval)
+ {
+ builtin_error (_("%s: invalid timeout specification"), list_optarg);
+ return (EXECUTION_FAILURE);
+ }
+ else
+ {
+ have_timeout = 1;
+ tmout = intval;
+ }
+ break;
+ case 'n':
+ code = legal_number (list_optarg, &intval);
+ if (code == 0 || intval < 0 || intval != (int)intval)
+ {
+ sh_invalidnum (list_optarg);
+ return (EXECUTION_FAILURE);
+ }
+ else
+ nchars = intval;
+ break;
+ case 'u':
+ code = legal_number (list_optarg, &intval);
+ if (code == 0 || intval < 0 || intval != (int)intval)
+ {
+ builtin_error (_("%s: invalid file descriptor specification"), list_optarg);
+ return (EXECUTION_FAILURE);
+ }
+ else
+ fd = intval;
+ if (sh_validfd (fd) == 0)
+ {
+ builtin_error (_("%d: invalid file descriptor: %s"), fd, strerror (errno));
+ return (EXECUTION_FAILURE);
+ }
+ break;
+ case 'd':
+ delim = *list_optarg;
+ break;
+ default:
+ builtin_usage ();
+ return (EX_USAGE);
+ }
+ }
+ list = loptend;
+
+ /* `read -t 0 var' returns failure immediately. XXX - should it test
+ whether input is available with select/FIONREAD, and fail if those
+ are unavailable? */
+ if (have_timeout && tmout == 0)
+ return (EXECUTION_FAILURE);
+
+ /* IF IFS is unset, we use the default of " \t\n". */
+ ifs_chars = getifs ();
+ if (ifs_chars == 0) /* XXX - shouldn't happen */
+ ifs_chars = "";
+
+ input_string = (char *)xmalloc (size = 112); /* XXX was 128 */
+
+ /* $TMOUT, if set, is the default timeout for read. */
+ if (have_timeout == 0 && (e = get_string_value ("TMOUT")))
+ {
+ code = legal_number (e, &intval);
+ if (code == 0 || intval < 0 || intval != (unsigned int)intval)
+ tmout = 0;
+ else
+ tmout = intval;
+ }
+
+ begin_unwind_frame ("read_builtin");
+
+ input_is_tty = isatty (fd);
+ if (input_is_tty == 0)
+#ifndef __CYGWIN__
+ input_is_pipe = (lseek (0, 0L, SEEK_CUR) < 0) && (errno == ESPIPE);
+#else
+ input_is_pipe = 1;
+#endif
+
+ /* If the -p, -e or -s flags were given, but input is not coming from the
+ terminal, turn them off. */
+ if ((prompt || edit || silent) && input_is_tty == 0)
+ {
+ prompt = (char *)NULL;
+ edit = silent = 0;
+ }
+
+#if defined (READLINE)
+ if (edit)
+ add_unwind_protect (xfree, rlbuf);
+#endif
+
+ if (prompt && edit == 0)
+ {
+ fprintf (stderr, "%s", prompt);
+ fflush (stderr);
+ }
+
+ pass_next = 0; /* Non-zero signifies last char was backslash. */
+ saw_escape = 0; /* Non-zero signifies that we saw an escape char */
+
+ if (tmout > 0)
+ {
+ /* Turn off the timeout if stdin is a regular file (e.g. from
+ input redirection). */
+ if ((fstat (fd, &tsb) < 0) || S_ISREG (tsb.st_mode))
+ tmout = 0;
+ }
+
+ if (tmout > 0)
+ {
+ code = setjmp (alrmbuf);
+ if (code)
+ {
+ run_unwind_frame ("read_builtin");
+ return (EXECUTION_FAILURE);
+ }
+ old_alrm = set_signal_handler (SIGALRM, sigalrm);
+ add_unwind_protect (reset_alarm, (char *)NULL);
+ alarm (tmout);
+ }
+
+ /* If we've been asked to read only NCHARS chars, or we're using some
+ character other than newline to terminate the line, do the right
+ thing to readline or the tty. */
+ if (nchars > 0 || delim != '\n')
+ {
+#if defined (READLINE)
+ if (edit)
+ {
+ if (nchars > 0)
+ {
+ unwind_protect_int (rl_num_chars_to_read);
+ rl_num_chars_to_read = nchars;
+ }
+ if (delim != '\n')
+ {
+ set_eol_delim (delim);
+ add_unwind_protect (reset_eol_delim, (char *)NULL);
+ }
+ }
+ else
+#endif
+ if (input_is_tty)
+ {
+ ttsave ();
+ if (silent)
+ ttcbreak ();
+ else
+ ttonechar ();
+ add_unwind_protect ((Function *)ttrestore, (char *)NULL);
+ }
+ }
+ else if (silent) /* turn off echo but leave term in canonical mode */
+ {
+ ttsave ();
+ ttnoecho ();
+ add_unwind_protect ((Function *)ttrestore, (char *)NULL);
+ }
+
+ /* This *must* be the top unwind-protect on the stack, so the manipulation
+ of the unwind-protect stack after the realloc() works right. */
+ add_unwind_protect (xfree, input_string);
+ interrupt_immediately++;
+
+ unbuffered_read = (nchars > 0) || (delim != '\n') || input_is_pipe;
+
+#if defined (__CYGWIN__) && defined (O_TEXT)
+ setmode (0, O_TEXT);
+#endif
+
+ for (eof = retval = 0;;)
+ {
+#if defined (READLINE)
+ if (edit)
+ {
+ if (rlbuf && rlbuf[rlind] == '\0')
+ {
+ xfree (rlbuf);
+ rlbuf = (char *)0;
+ }
+ if (rlbuf == 0)
+ {
+ rlbuf = edit_line (prompt ? prompt : "");
+ rlind = 0;
+ }
+ if (rlbuf == 0)
+ {
+ eof = 1;
+ break;
+ }
+ c = rlbuf[rlind++];
+ }
+ else
+ {
+#endif
+
+ if (unbuffered_read)
+ retval = zread (fd, &c, 1);
+ else
+ retval = zreadc (fd, &c);
+
+ if (retval <= 0)
+ {
+ eof = 1;
+ break;
+ }
+
+#if defined (READLINE)
+ }
+#endif
+
+ if (i + 2 >= size)
+ {
+ input_string = (char *)xrealloc (input_string, size += 128);
+ remove_unwind_protect ();
+ add_unwind_protect (xfree, input_string);
+ }
+
+ /* If the next character is to be accepted verbatim, a backslash
+ newline pair still disappears from the input. */
+ if (pass_next)
+ {
+ if (c == '\n')
+ i--; /* back up over the CTLESC */
+ else
+ input_string[i++] = c;
+ pass_next = 0;
+ continue;
+ }
+
+ if (c == '\\' && raw == 0)
+ {
+ pass_next++;
+ saw_escape++;
+ input_string[i++] = CTLESC;
+ continue;
+ }
+
+ if ((unsigned char)c == delim)
+ break;
+
+ if (c == CTLESC || c == CTLNUL)
+ {
+ saw_escape++;
+ input_string[i++] = CTLESC;
+ }
+
+ input_string[i++] = c;
+
+ if (nchars > 0 && i >= nchars)
+ break;
+ }
+ input_string[i] = '\0';
+
+#if 1
+ if (retval < 0)
+ {
+ builtin_error (_("read error: %d: %s"), fd, strerror (errno));
+ return (EXECUTION_FAILURE);
+ }
+#endif
+
+ if (tmout > 0)
+ reset_alarm ();
+
+ if (nchars > 0 || delim != '\n')
+ {
+#if defined (READLINE)
+ if (edit)
+ {
+ if (nchars > 0)
+ rl_num_chars_to_read = 0;
+ if (delim != '\n')
+ reset_eol_delim ((char *)NULL);
+ }
+ else
+#endif
+ if (input_is_tty)
+ ttrestore ();
+ }
+ else if (silent)
+ ttrestore ();
+
+ if (unbuffered_read == 0)
+ zsyncfd (fd);
+
+ interrupt_immediately--;
+ discard_unwind_frame ("read_builtin");
+
+ retval = eof ? EXECUTION_FAILURE : EXECUTION_SUCCESS;
+
+#if defined (ARRAY_VARS)
+ /* If -a was given, take the string read, break it into a list of words,
+ an assign them to `arrayname' in turn. */
+ if (arrayname)
+ {
+ if (legal_identifier (arrayname) == 0)
+ {
+ sh_invalidid (arrayname);
+ xfree (input_string);
+ return (EXECUTION_FAILURE);
+ }
+
+ var = find_or_make_array_variable (arrayname, 1);
+ if (var == 0)
+ return EXECUTION_FAILURE; /* readonly or noassign */
+ array_flush (array_cell (var));
+
+ alist = list_string (input_string, ifs_chars, 0);
+ if (alist)
+ {
+ word_list_remove_quoted_nulls (alist);
+ assign_array_var_from_word_list (var, alist, 0);
+ dispose_words (alist);
+ }
+ xfree (input_string);
+ return (retval);
+ }
+#endif /* ARRAY_VARS */
+
+ /* If there are no variables, save the text of the line read to the
+ variable $REPLY. ksh93 strips leading and trailing IFS whitespace,
+ so that `read x ; echo "$x"' and `read ; echo "$REPLY"' behave the
+ same way, but I believe that the difference in behaviors is useful
+ enough to not do it. Without the bash behavior, there is no way
+ to read a line completely without interpretation or modification
+ unless you mess with $IFS (e.g., setting it to the empty string).
+ If you disagree, change the occurrences of `#if 0' to `#if 1' below. */
+ if (list == 0)
+ {
+#if 0
+ orig_input_string = input_string;
+ for (t = input_string; ifs_chars && *ifs_chars && spctabnl(*t) && isifs(*t); t++)
+ ;
+ input_string = t;
+ input_string = strip_trailing_ifs_whitespace (input_string, ifs_chars, saw_escape);
+#endif
+
+ if (saw_escape)
+ {
+ t = dequote_string (input_string);
+ var = bind_variable ("REPLY", t, 0);
+ free (t);
+ }
+ else
+ var = bind_variable ("REPLY", input_string, 0);
+ VUNSETATTR (var, att_invisible);
+
+ free (input_string);
+ return (retval);
+ }
+
+ /* This code implements the Posix.2 spec for splitting the words
+ read and assigning them to variables. */
+ orig_input_string = input_string;
+
+ /* Remove IFS white space at the beginning of the input string. If
+ $IFS is null, no field splitting is performed. */
+ for (t = input_string; ifs_chars && *ifs_chars && spctabnl(*t) && isifs(*t); t++)
+ ;
+ input_string = t;
+
+ for (; list->next; list = list->next)
+ {
+ varname = list->word->word;
+#if defined (ARRAY_VARS)
+ if (legal_identifier (varname) == 0 && valid_array_reference (varname) == 0)
+#else
+ if (legal_identifier (varname) == 0)
+#endif
+ {
+ sh_invalidid (varname);
+ xfree (orig_input_string);
+ return (EXECUTION_FAILURE);
+ }
+
+ /* If there are more variables than words read from the input,
+ the remaining variables are set to the empty string. */
+ if (*input_string)
+ {
+ /* This call updates INPUT_STRING. */
+ t = get_word_from_string (&input_string, ifs_chars, &e);
+ if (t)
+ *e = '\0';
+ /* Don't bother to remove the CTLESC unless we added one
+ somewhere while reading the string. */
+ if (t && saw_escape)
+ {
+ t1 = dequote_string (t);
+ var = bind_read_variable (varname, t1);
+ xfree (t1);
+ }
+ else
+ var = bind_read_variable (varname, t);
+ }
+ else
+ {
+ t = (char *)0;
+ var = bind_read_variable (varname, "");
+ }
+
+ FREE (t);
+ if (var == 0)
+ {
+ xfree (orig_input_string);
+ return (EXECUTION_FAILURE);
+ }
+
+ stupidly_hack_special_variables (varname);
+ VUNSETATTR (var, att_invisible);
+ }
+
+ /* Now assign the rest of the line to the last variable argument. */
+#if defined (ARRAY_VARS)
+ if (legal_identifier (list->word->word) == 0 && valid_array_reference (list->word->word) == 0)
+#else
+ if (legal_identifier (list->word->word) == 0)
+#endif
+ {
+ sh_invalidid (list->word->word);
+ xfree (orig_input_string);
+ return (EXECUTION_FAILURE);
+ }
+
+ /* This has to be done this way rather than using string_list
+ and list_string because Posix.2 says that the last variable gets the
+ remaining words and their intervening separators. */
+ input_string = strip_trailing_ifs_whitespace (input_string, ifs_chars, saw_escape);
+
+ if (saw_escape)
+ {
+ t = dequote_string (input_string);
+ var = bind_read_variable (list->word->word, t);
+ xfree (t);
+ }
+ else
+ var = bind_read_variable (list->word->word, input_string);
+ stupidly_hack_special_variables (list->word->word);
+ if (var)
+ VUNSETATTR (var, att_invisible);
+ xfree (orig_input_string);
+
+ return (retval);
+}
+
+static SHELL_VAR *
+bind_read_variable (name, value)
+ char *name, *value;
+{
+#if defined (ARRAY_VARS)
+ if (valid_array_reference (name) == 0)
+ return (bind_variable (name, value, 0));
+ else
+ return (assign_array_element (name, value, 0));
+#else /* !ARRAY_VARS */
+ return bind_variable (name, value, 0);
+#endif /* !ARRAY_VARS */
+}
+
+#if defined (READLINE)
+static rl_completion_func_t *old_attempted_completion_function;
+
+static char *
+edit_line (p)
+ char *p;
+{
+ char *ret;
+ int len;
+
+ if (!bash_readline_initialized)
+ initialize_readline ();
+ old_attempted_completion_function = rl_attempted_completion_function;
+ rl_attempted_completion_function = (rl_completion_func_t *)NULL;
+ ret = readline (p);
+ rl_attempted_completion_function = old_attempted_completion_function;
+ if (ret == 0)
+ return ret;
+ len = strlen (ret);
+ ret = (char *)xrealloc (ret, len + 2);
+ ret[len++] = delim;
+ ret[len] = '\0';
+ return ret;
+}
+
+static int old_delim_ctype;
+static rl_command_func_t *old_delim_func;
+static int old_newline_ctype;
+static rl_command_func_t *old_newline_func;
+
+static unsigned char delim_char;
+
+static void
+set_eol_delim (c)
+ int c;
+{
+ Keymap cmap;
+
+ if (bash_readline_initialized == 0)
+ initialize_readline ();
+ cmap = rl_get_keymap ();
+
+ /* Change newline to self-insert */
+ old_newline_ctype = cmap[RETURN].type;
+ old_newline_func = cmap[RETURN].function;
+ cmap[RETURN].type = ISFUNC;
+ cmap[RETURN].function = rl_insert;
+
+ /* Bind the delimiter character to accept-line. */
+ old_delim_ctype = cmap[c].type;
+ old_delim_func = cmap[c].function;
+ cmap[c].type = ISFUNC;
+ cmap[c].function = rl_newline;
+
+ delim_char = c;
+}
+
+static void
+reset_eol_delim (cp)
+ char *cp;
+{
+ Keymap cmap;
+
+ cmap = rl_get_keymap ();
+
+ cmap[RETURN].type = old_newline_ctype;
+ cmap[RETURN].function = old_newline_func;
+
+ cmap[delim_char].type = old_delim_ctype;
+ cmap[delim_char].function = old_delim_func;
+}
+#endif
This file is read.def, from which is created read.c.
It implements the builtin "read" in Bash.
-Copyright (C) 1987-2004 Free Software Foundation, Inc.
+Copyright (C) 1987-2005 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
intmax_t intval;
char c;
char *input_string, *orig_input_string, *ifs_chars, *prompt, *arrayname;
- char *e, *t, *t1;
+ char *e, *t, *t1, *savei;
struct stat tsb;
SHELL_VAR *var;
#if defined (ARRAY_VARS)
if (saw_escape)
{
t = dequote_string (input_string);
- var = bind_variable ("REPLY", t);
+ var = bind_variable ("REPLY", t, 0);
free (t);
}
else
- var = bind_variable ("REPLY", input_string);
+ var = bind_variable ("REPLY", input_string, 0);
VUNSETATTR (var, att_invisible);
free (input_string);
return (EXECUTION_FAILURE);
}
+#if 0
/* This has to be done this way rather than using string_list
and list_string because Posix.2 says that the last variable gets the
remaining words and their intervening separators. */
input_string = strip_trailing_ifs_whitespace (input_string, ifs_chars, saw_escape);
+#else
+ /* Check whether or not the number of fields is exactly the same as the
+ number of variables. */
+ if (*input_string)
+ {
+ savei = input_string;
+ t = get_word_from_string (&input_string, ifs_chars, &e);
+ if (*input_string == 0)
+ input_string = t;
+ else
+ input_string = strip_trailing_ifs_whitespace (savei, ifs_chars, saw_escape);
+ }
+#endif
if (saw_escape)
{
{
#if defined (ARRAY_VARS)
if (valid_array_reference (name) == 0)
- return (bind_variable (name, value));
+ return (bind_variable (name, value, 0));
else
return (assign_array_element (name, value, 0));
#else /* !ARRAY_VARS */
- return bind_variable (name, value);
+ return bind_variable (name, value, 0);
#endif /* !ARRAY_VARS */
}
--- /dev/null
+#else
+ /* This code implements the `rest of the fields and their intervening
+ separators' portion of the Posix spec. The latest interpretation says
+ that the last non-IFS white space separator (and any adjacent IFS
+ white space) is removed. We repeatedly parse fields, stopping when the
+ last results in us hitting the end of INPUT_STRING. */
+ savei = t = input_string;
+ while (*input_string)
+ {
+ /* This call updates INPUT_STRING. */
+ t1 = get_word_from_string (&input_string, ifs_chars, &e);
+ if (*input_string)
+ t = input_string;
+ }
+ *t = '\0';
+ input_string = savei;
+#endif
It has no direct C file production, but defines builtins for the Bash
builtin help command.
-Copyright (C) 1987-2002 Free Software Foundation, Inc.
+Copyright (C) 1987-2005 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
$BUILTIN if
$SHORT_DOC if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else COMMANDS; ] fi
-The if COMMANDS are executed. If the exit status is zero, then the then
-COMMANDS are executed. Otherwise, each of the elif COMMANDS are executed
-in turn, and if the exit status is zero, the corresponding then COMMANDS
-are executed and the if command completes. Otherwise, the else COMMANDS
-are executed, if present. The exit status is the exit status of the last
-command executed, or zero if no condition tested true.
+The `if COMMANDS' list is executed. If its exit status is zero, then the
+`then COMMANDS' list is executed. Otherwise, each `elif COMMANDS' list is
+executed in turn, and if its exit status is zero, the corresponding
+`then COMMANDS' list is executed and the if command completes. Otherwise,
+the `else COMMANDS' list is executed, if present. The exit status of the
+entire construct is the exit status of the last command executed, or zero
+if no condition tested true.
$END
$BUILTIN while
When the =\b==\b= and !\b!=\b= operators are used, the string to the right
of the operator is considered a pattern and matched according to
- the rules described below under P\bPa\bat\btt\bte\ber\brn\bn M\bMa\bat\btc\bch\bhi\bin\bng\bg. The return
- value is 0 if the string matches or does not match the pattern,
+ the rules described below under P\bPa\bat\btt\bte\ber\brn\bn M\bMa\bat\btc\bch\bhi\bin\bng\bg. If the shell
+ option n\bno\boc\bca\bas\bse\bem\bma\bat\btc\bch\bh is enabled, the match is performed without
+ regard to the case of alphabetic characters. The return value
+ is 0 if the string matches or does not match the pattern,
respectively, and 1 otherwise. Any part of the pattern may be
quoted to force it to be matched as a string.
sion and matched accordingly (as in _\br_\be_\bg_\be_\bx(3)). The return value
is 0 if the string matches the pattern, and 1 otherwise. If the
regular expression is syntactically incorrect, the conditional
- expression's return value is 2. If the shell option n\bno\boc\bca\bas\bse\beg\bgl\blo\bob\bb
+ expression's return value is 2. If the shell option n\bno\boc\bca\bas\bse\bem\bma\bat\btc\bch\bh
is enabled, the match is performed without regard to the case of
alphabetic characters. Substrings matched by parenthesized
subexpressions within the regular expression are saved in the
value, _\bl_\bi_\bs_\bt is executed and the arithmetic expression _\be_\bx_\bp_\br_\b3 is
evaluated. If any expression is omitted, it behaves as if it
evaluates to 1. The return value is the exit status of the last
- command in _\bl_\bi_\bs_\bt that is executed, or false if any of the
- expressions is invalid.
+ command in _\bl_\bi_\bs_\bt that is executed, or false if any of the expres-
+ sions is invalid.
s\bse\bel\ble\bec\bct\bt _\bn_\ba_\bm_\be [ i\bin\bn _\bw_\bo_\br_\bd ] ; d\bdo\bo _\bl_\bi_\bs_\bt ; d\bdo\bon\bne\be
The list of words following i\bin\bn is expanded, generating a list of
c\bca\bas\bse\be _\bw_\bo_\br_\bd i\bin\bn [ [(] _\bp_\ba_\bt_\bt_\be_\br_\bn [ |\b| _\bp_\ba_\bt_\bt_\be_\br_\bn ] ... ) _\bl_\bi_\bs_\bt ;; ] ... e\bes\bsa\bac\bc
A c\bca\bas\bse\be command first expands _\bw_\bo_\br_\bd, and tries to match it against
each _\bp_\ba_\bt_\bt_\be_\br_\bn in turn, using the same matching rules as for path-
- name expansion (see P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn below). When a match is
+ name expansion (see P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn below). If the shell
+ option n\bno\boc\bca\bas\bse\bem\bma\bat\btc\bch\bh is enabled, the match is performed without
+ regard to the case of alphabetic characters. When a match is
found, the corresponding _\bl_\bi_\bs_\bt is executed. After the first
match, no subsequent matches are attempted. The exit status is
zero if no pattern matches. Otherwise, it is the exit status of
*\b* Expands to the positional parameters, starting from one. When
the expansion occurs within double quotes, it expands to a sin-
gle word with the value of each parameter separated by the first
- character of the I\bIF\bFS\bS special variable. That is, "$\b$*\b*" is equiva-
- lent to "$\b$1\b1_\bc$\b$2\b2_\bc.\b..\b..\b.", where _\bc is the first character of the value
- of the I\bIF\bFS\bS variable. If I\bIF\bFS\bS is unset, the parameters are sepa-
- rated by spaces. If I\bIF\bFS\bS is null, the parameters are joined
+ character of the I\bIF\bFS\bS special variable. That is, "$\b$*\b*" is
+ equivalent to "$\b$1\b1_\bc$\b$2\b2_\bc.\b..\b..\b.", where _\bc is the first character of the
+ value of the I\bIF\bFS\bS variable. If I\bIF\bFS\bS is unset, the parameters are
+ separated by spaces. If I\bIF\bFS\bS is null, the parameters are joined
without intervening separators.
@\b@ Expands to the positional parameters, starting from one. When
the expansion occurs within double quotes, each parameter
of parameters to the current subroutine (shell function or
script executed with .\b. or s\bso\bou\bur\brc\bce\be) is at the top of the stack.
When a subroutine is executed, the number of parameters passed
- is pushed onto B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGC\bC.
+ is pushed onto B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGC\bC. The shell sets B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGC\bC only when in
+ extended debugging mode (see the description of the e\bex\bxt\btd\bde\beb\bbu\bug\bg
+ option to the s\bsh\bho\bop\bpt\bt builtin below)
B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV
An array variable containing all of the parameters in the cur-
rent bash execution call stack. The final parameter of the last
subroutine call is at the top of the stack; the first parameter
of the initial call is at the bottom. When a subroutine is exe-
- cuted, the parameters supplied are pushed onto B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV.
+ cuted, the parameters supplied are pushed onto B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV. The
+ shell sets B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV only when in extended debugging mode (see
+ the description of the e\bex\bxt\btd\bde\beb\bbu\bug\bg option to the s\bsh\bho\bop\bpt\bt builtin
+ below)
B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bMM\bMA\bAN\bND\bD
- The command currently being executed or about to be executed,
+ The command currently being executed or about to be executed,
unless the shell is executing a command as the result of a trap,
- in which case it is the command executing at the time of the
+ in which case it is the command executing at the time of the
trap.
B\bBA\bAS\bSH\bH_\b_E\bEX\bXE\bEC\bCU\bUT\bTI\bIO\bON\bN_\b_S\bST\bTR\bRI\bIN\bNG\bG
The command argument to the -\b-c\bc invocation option.
B\bBA\bAS\bSH\bH_\b_L\bLI\bIN\bNE\bEN\bNO\bO
- An array variable whose members are the line numbers in source
- files corresponding to each member of F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE.
- $\b${\b{B\bBA\bAS\bSH\bH_\b_L\bLI\bIN\bNE\bEN\bNO\bO[\b[_\b$_\bi]\b]}\b} is the line number in the source file where
- $\b${\b{F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE[\b[_\b$_\bi_\bf_\bP]\b]}\b} _\bw_\ba_\bs _\bc_\ba_\bl_\bl_\be_\bd_\b. _\bT_\bh_\be _\bc_\bo_\br_\br_\be_\bs_\bp_\bo_\bn_\bd_\bi_\bn_\bg _\bs_\bo_\bu_\br_\bc_\be _\bf_\bi_\bl_\be
- _\bn_\ba_\bm_\be _\bi_\bs $\b${\b{B\bBA\bAS\bSH\bH_\b_S\bSO\bOU\bUR\bRC\bCE\bE[\b[_\b$_\bi]\b]}\b}.\b. U\bUs\bse\be L\bLI\bIN\bNE\bEN\bNO\bO t\bto\bo o\bob\bbt\bta\bai\bin\bn t\bth\bhe\be c\bcu\bur\brr\bre\ben\bnt\bt
+ An array variable whose members are the line numbers in source
+ files corresponding to each member of F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE.
+ $\b${\b{B\bBA\bAS\bSH\bH_\b_L\bLI\bIN\bNE\bEN\bNO\bO[\b[_\b$_\bi]\b]}\b} is the line number in the source file where
+ $\b${\b{F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE[\b[_\b$_\bi_\bf_\bP]\b]}\b} _\bw_\ba_\bs _\bc_\ba_\bl_\bl_\be_\bd_\b. _\bT_\bh_\be _\bc_\bo_\br_\br_\be_\bs_\bp_\bo_\bn_\bd_\bi_\bn_\bg _\bs_\bo_\bu_\br_\bc_\be _\bf_\bi_\bl_\be
+ _\bn_\ba_\bm_\be _\bi_\bs $\b${\b{B\bBA\bAS\bSH\bH_\b_S\bSO\bOU\bUR\bRC\bCE\bE[\b[_\b$_\bi]\b]}\b}.\b. U\bUs\bse\be L\bLI\bIN\bNE\bEN\bNO\bO t\bto\bo o\bob\bbt\bta\bai\bin\bn t\bth\bhe\be c\bcu\bur\brr\bre\ben\bnt\bt
l\bli\bin\bne\be n\bnu\bum\bmb\bbe\ber\br.\b.
B\bBA\bAS\bSH\bH_\b_R\bRE\bEM\bMA\bAT\bTC\bCH\bH
- An array variable whose members are assigned by the =\b=~\b~ binary
- operator to the [\b[[\b[ conditional command. The element with index
- 0 is the portion of the string matching the entire regular
- expression. The element with index _\bn is the portion of the
+ An array variable whose members are assigned by the =\b=~\b~ binary
+ operator to the [\b[[\b[ conditional command. The element with index
+ 0 is the portion of the string matching the entire regular
+ expression. The element with index _\bn is the portion of the
string matching the _\bnth parenthesized subexpression. This vari-
able is read-only.
B\bBA\bAS\bSH\bH_\b_S\bSO\bOU\bUR\bRC\bCE\bE
- An array variable whose members are the source filenames corre-
+ An array variable whose members are the source filenames corre-
sponding to the elements in the F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE array variable.
B\bBA\bAS\bSH\bH_\b_S\bSU\bUB\bBS\bSH\bHE\bEL\bLL\bL
- Incremented by one each time a subshell or subshell environment
+ Incremented by one each time a subshell or subshell environment
is spawned. The initial value is 0.
B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIN\bNF\bFO\bO
A readonly array variable whose members hold version information
- for this instance of b\bba\bas\bsh\bh. The values assigned to the array
+ for this instance of b\bba\bas\bsh\bh. The values assigned to the array
members are as follows:
- B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIN\bNF\bFO\bO[\b[0]\b] The major version number (the _\br_\be_\bl_\be_\ba_\bs_\be).
- B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIN\bNF\bFO\bO[\b[1]\b] The minor version number (the _\bv_\be_\br_\bs_\bi_\bo_\bn).
+ B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIN\bNF\bFO\bO[\b[0]\b] The major version number (the _\br_\be_\bl_\be_\ba_\bs_\be).
+ B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIN\bNF\bFO\bO[\b[1]\b] The minor version number (the _\bv_\be_\br_\bs_\bi_\bo_\bn).
B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIN\bNF\bFO\bO[\b[2]\b] The patch level.
B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIN\bNF\bFO\bO[\b[3]\b] The build version.
B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIN\bNF\bFO\bO[\b[4]\b] The release status (e.g., _\bb_\be_\bt_\ba_\b1).
B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIN\bNF\bFO\bO[\b[5]\b] The value of M\bMA\bAC\bCH\bHT\bTY\bYP\bPE\bE.
B\bBA\bAS\bSH\bH_\b_V\bVE\bER\bRS\bSI\bIO\bON\bN
- Expands to a string describing the version of this instance of
+ Expands to a string describing the version of this instance of
b\bba\bas\bsh\bh.
C\bCO\bOM\bMP\bP_\b_C\bCW\bWO\bOR\bRD\bD
- An index into $\b${\b{C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDS\bS}\b} of the word containing the current
+ An index into $\b${\b{C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDS\bS}\b} of the word containing the current
cursor position. This variable is available only in shell func-
- tions invoked by the programmable completion facilities (see
+ tions invoked by the programmable completion facilities (see
P\bPr\bro\bog\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn below).
C\bCO\bOM\bMP\bP_\b_L\bLI\bIN\bNE\bE
- The current command line. This variable is available only in
- shell functions and external commands invoked by the pro-
- grammable completion facilities (see P\bPr\bro\bog\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn
+ The current command line. This variable is available only in
+ shell functions and external commands invoked by the pro-
+ grammable completion facilities (see P\bPr\bro\bog\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn
below).
C\bCO\bOM\bMP\bP_\b_P\bPO\bOI\bIN\bNT\bT
- The index of the current cursor position relative to the begin-
- ning of the current command. If the current cursor position is
+ The index of the current cursor position relative to the begin-
+ ning of the current command. If the current cursor position is
at the end of the current command, the value of this variable is
- equal to $\b${\b{#\b#C\bCO\bOM\bMP\bP_\b_L\bLI\bIN\bNE\bE}\b}. This variable is available only in
- shell functions and external commands invoked by the pro-
- grammable completion facilities (see P\bPr\bro\bog\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn
+ equal to $\b${\b{#\b#C\bCO\bOM\bMP\bP_\b_L\bLI\bIN\bNE\bE}\b}. This variable is available only in
+ shell functions and external commands invoked by the pro-
+ grammable completion facilities (see P\bPr\bro\bog\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn
below).
C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDB\bBR\bRE\bEA\bAK\bKS\bS
- The set of characters that the Readline library treats as word
- separators when performing word completion. If C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDB\bBR\bRE\bEA\bAK\bKS\bS
- is unset, it loses its special properties, even if it is subse-
+ The set of characters that the Readline library treats as word
+ separators when performing word completion. If C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDB\bBR\bRE\bEA\bAK\bKS\bS
+ is unset, it loses its special properties, even if it is subse-
quently reset.
C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDS\bS
- An array variable (see A\bAr\brr\bra\bay\bys\bs below) consisting of the individ-
- ual words in the current command line. This variable is avail-
- able only in shell functions invoked by the programmable comple-
- tion facilities (see P\bPr\bro\bog\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn below).
+ An array variable (see A\bAr\brr\bra\bay\bys\bs below) consisting of the individ-
+ ual words in the current command line. This variable is avail-
+ able only in shell functions invoked by the programmable
+ completion facilities (see P\bPr\bro\bog\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn below).
D\bDI\bIR\bRS\bST\bTA\bAC\bCK\bK
An array variable (see A\bAr\brr\bra\bay\bys\bs below) containing the current con-
- tents of the directory stack. Directories appear in the stack
- in the order they are displayed by the d\bdi\bir\brs\bs builtin. Assigning
+ tents of the directory stack. Directories appear in the stack
+ in the order they are displayed by the d\bdi\bir\brs\bs builtin. Assigning
to members of this array variable may be used to modify directo-
- ries already in the stack, but the p\bpu\bus\bsh\bhd\bd and p\bpo\bop\bpd\bd builtins must
- be used to add and remove directories. Assignment to this
- variable will not change the current directory. If D\bDI\bIR\bRS\bST\bTA\bAC\bCK\bK is
- unset, it loses its special properties, even if it is subse-
+ ries already in the stack, but the p\bpu\bus\bsh\bhd\bd and p\bpo\bop\bpd\bd builtins must
+ be used to add and remove directories. Assignment to this vari-
+ able will not change the current directory. If D\bDI\bIR\bRS\bST\bTA\bAC\bCK\bK is
+ unset, it loses its special properties, even if it is subse-
quently reset.
- E\bEU\bUI\bID\bD Expands to the effective user ID of the current user, initial-
+ E\bEU\bUI\bID\bD Expands to the effective user ID of the current user, initial-
ized at shell startup. This variable is readonly.
F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE
- An array variable containing the names of all shell functions
+ An array variable containing the names of all shell functions
currently in the execution call stack. The element with index 0
is the name of any currently-executing shell function. The bot-
- tom-most element is "main". This variable exists only when a
- shell function is executing. Assignments to F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE have no
- effect and return an error status. If F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE is unset, it
- loses its special properties, even if it is subsequently reset.
-
- G\bGR\bRO\bOU\bUP\bPS\bS An array variable containing the list of groups of which the
- current user is a member. Assignments to G\bGR\bRO\bOU\bUP\bPS\bS have no effect
- and return an error status. If G\bGR\bRO\bOU\bUP\bPS\bS is unset, it loses its
+ tom-most element is "main". This variable exists only when a
+ shell function is executing. Assignments to F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE have no
+ effect and return an error status. If F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE is unset, it
+ loses its special properties, even if it is subsequently reset.
+
+ G\bGR\bRO\bOU\bUP\bPS\bS An array variable containing the list of groups of which the
+ current user is a member. Assignments to G\bGR\bRO\bOU\bUP\bPS\bS have no effect
+ and return an error status. If G\bGR\bRO\bOU\bUP\bPS\bS is unset, it loses its
special properties, even if it is subsequently reset.
H\bHI\bIS\bST\bTC\bCM\bMD\bD
The history number, or index in the history list, of the current
- command. If H\bHI\bIS\bST\bTC\bCM\bMD\bD is unset, it loses its special properties,
+ command. If H\bHI\bIS\bST\bTC\bCM\bMD\bD is unset, it loses its special properties,
even if it is subsequently reset.
H\bHO\bOS\bST\bTN\bNA\bAM\bME\bE
Automatically set to the name of the current host.
H\bHO\bOS\bST\bTT\bTY\bYP\bPE\bE
- Automatically set to a string that uniquely describes the type
- of machine on which b\bba\bas\bsh\bh is executing. The default is system-
+ Automatically set to a string that uniquely describes the type
+ of machine on which b\bba\bas\bsh\bh is executing. The default is system-
dependent.
- L\bLI\bIN\bNE\bEN\bNO\bO Each time this parameter is referenced, the shell substitutes a
- decimal number representing the current sequential line number
- (starting with 1) within a script or function. When not in a
- script or function, the value substituted is not guaranteed to
+ L\bLI\bIN\bNE\bEN\bNO\bO Each time this parameter is referenced, the shell substitutes a
+ decimal number representing the current sequential line number
+ (starting with 1) within a script or function. When not in a
+ script or function, the value substituted is not guaranteed to
be meaningful. If L\bLI\bIN\bNE\bEN\bNO\bO is unset, it loses its special proper-
ties, even if it is subsequently reset.
M\bMA\bAC\bCH\bHT\bTY\bYP\bPE\bE
- Automatically set to a string that fully describes the system
- type on which b\bba\bas\bsh\bh is executing, in the standard GNU _\bc_\bp_\bu_\b-_\bc_\bo_\bm_\b-
+ Automatically set to a string that fully describes the system
+ type on which b\bba\bas\bsh\bh is executing, in the standard GNU _\bc_\bp_\bu_\b-_\bc_\bo_\bm_\b-
_\bp_\ba_\bn_\by_\b-_\bs_\by_\bs_\bt_\be_\bm format. The default is system-dependent.
O\bOL\bLD\bDP\bPW\bWD\bD The previous working directory as set by the c\bcd\bd command.
- O\bOP\bPT\bTA\bAR\bRG\bG The value of the last option argument processed by the g\bge\bet\bto\bop\bpt\bts\bs
+ O\bOP\bPT\bTA\bAR\bRG\bG The value of the last option argument processed by the g\bge\bet\bto\bop\bpt\bts\bs
builtin command (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below).
- O\bOP\bPT\bTI\bIN\bND\bD The index of the next argument to be processed by the g\bge\bet\bto\bop\bpt\bts\bs
+ O\bOP\bPT\bTI\bIN\bND\bD The index of the next argument to be processed by the g\bge\bet\bto\bop\bpt\bts\bs
builtin command (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below).
- O\bOS\bST\bTY\bYP\bPE\bE Automatically set to a string that describes the operating sys-
- tem on which b\bba\bas\bsh\bh is executing. The default is system-depen-
+ O\bOS\bST\bTY\bYP\bPE\bE Automatically set to a string that describes the operating sys-
+ tem on which b\bba\bas\bsh\bh is executing. The default is system-depen-
dent.
P\bPI\bIP\bPE\bES\bST\bTA\bAT\bTU\bUS\bS
- An array variable (see A\bAr\brr\bra\bay\bys\bs below) containing a list of exit
- status values from the processes in the most-recently-executed
+ An array variable (see A\bAr\brr\bra\bay\bys\bs below) containing a list of exit
+ status values from the processes in the most-recently-executed
foreground pipeline (which may contain only a single command).
- P\bPP\bPI\bID\bD The process ID of the shell's parent. This variable is read-
+ P\bPP\bPI\bID\bD The process ID of the shell's parent. This variable is read-
only.
P\bPW\bWD\bD The current working directory as set by the c\bcd\bd command.
R\bRA\bAN\bND\bDO\bOM\bM Each time this parameter is referenced, a random integer between
0 and 32767 is generated. The sequence of random numbers may be
initialized by assigning a value to R\bRA\bAN\bND\bDO\bOM\bM. If R\bRA\bAN\bND\bDO\bOM\bM is unset,
- it loses its special properties, even if it is subsequently
+ it loses its special properties, even if it is subsequently
reset.
- R\bRE\bEP\bPL\bLY\bY Set to the line of input read by the r\bre\bea\bad\bd builtin command when
+ R\bRE\bEP\bPL\bLY\bY Set to the line of input read by the r\bre\bea\bad\bd builtin command when
no arguments are supplied.
S\bSE\bEC\bCO\bON\bND\bDS\bS
- Each time this parameter is referenced, the number of seconds
- since shell invocation is returned. If a value is assigned to
- S\bSE\bEC\bCO\bON\bND\bDS\bS, the value returned upon subsequent references is the
- number of seconds since the assignment plus the value assigned.
+ Each time this parameter is referenced, the number of seconds
+ since shell invocation is returned. If a value is assigned to
+ S\bSE\bEC\bCO\bON\bND\bDS\bS, the value returned upon subsequent references is the
+ number of seconds since the assignment plus the value assigned.
If S\bSE\bEC\bCO\bON\bND\bDS\bS is unset, it loses its special properties, even if it
is subsequently reset.
S\bSH\bHE\bEL\bLL\bLO\bOP\bPT\bTS\bS
- A colon-separated list of enabled shell options. Each word in
- the list is a valid argument for the -\b-o\bo option to the s\bse\bet\bt
+ A colon-separated list of enabled shell options. Each word in
+ the list is a valid argument for the -\b-o\bo option to the s\bse\bet\bt
builtin command (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below). The options
- appearing in S\bSH\bHE\bEL\bLL\bLO\bOP\bPT\bTS\bS are those reported as _\bo_\bn by s\bse\bet\bt -\b-o\bo. If
- this variable is in the environment when b\bba\bas\bsh\bh starts up, each
- shell option in the list will be enabled before reading any
+ appearing in S\bSH\bHE\bEL\bLL\bLO\bOP\bPT\bTS\bS are those reported as _\bo_\bn by s\bse\bet\bt -\b-o\bo. If
+ this variable is in the environment when b\bba\bas\bsh\bh starts up, each
+ shell option in the list will be enabled before reading any
startup files. This variable is read-only.
S\bSH\bHL\bLV\bVL\bL Incremented by one each time an instance of b\bba\bas\bsh\bh is started.
U\bUI\bID\bD Expands to the user ID of the current user, initialized at shell
startup. This variable is readonly.
- The following variables are used by the shell. In some cases, b\bba\bas\bsh\bh
+ The following variables are used by the shell. In some cases, b\bba\bas\bsh\bh
assigns a default value to a variable; these cases are noted below.
B\bBA\bAS\bSH\bH_\b_E\bEN\bNV\bV
- If this parameter is set when b\bba\bas\bsh\bh is executing a shell script,
- its value is interpreted as a filename containing commands to
+ If this parameter is set when b\bba\bas\bsh\bh is executing a shell script,
+ its value is interpreted as a filename containing commands to
initialize the shell, as in _\b~_\b/_\b._\bb_\ba_\bs_\bh_\br_\bc. The value of B\bBA\bAS\bSH\bH_\b_E\bEN\bNV\bV is
- subjected to parameter expansion, command substitution, and
- arithmetic expansion before being interpreted as a file name.
+ subjected to parameter expansion, command substitution, and
+ arithmetic expansion before being interpreted as a file name.
P\bPA\bAT\bTH\bH is not used to search for the resultant file name.
- C\bCD\bDP\bPA\bAT\bTH\bH The search path for the c\bcd\bd command. This is a colon-separated
- list of directories in which the shell looks for destination
- directories specified by the c\bcd\bd command. A sample value is
+ C\bCD\bDP\bPA\bAT\bTH\bH The search path for the c\bcd\bd command. This is a colon-separated
+ list of directories in which the shell looks for destination
+ directories specified by the c\bcd\bd command. A sample value is
".:~:/usr".
C\bCO\bOL\bLU\bUM\bMN\bNS\bS
- Used by the s\bse\bel\ble\bec\bct\bt builtin command to determine the terminal
- width when printing selection lists. Automatically set upon
+ Used by the s\bse\bel\ble\bec\bct\bt builtin command to determine the terminal
+ width when printing selection lists. Automatically set upon
receipt of a SIGWINCH.
C\bCO\bOM\bMP\bPR\bRE\bEP\bPL\bLY\bY
An array variable from which b\bba\bas\bsh\bh reads the possible completions
- generated by a shell function invoked by the programmable com-
+ generated by a shell function invoked by the programmable com-
pletion facility (see P\bPr\bro\bog\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn below).
- E\bEM\bMA\bAC\bCS\bS If b\bba\bas\bsh\bh finds this variable in the environment when the shell
- starts with value "t", it assumes that the shell is running in
+ E\bEM\bMA\bAC\bCS\bS If b\bba\bas\bsh\bh finds this variable in the environment when the shell
+ starts with value "t", it assumes that the shell is running in
an emacs shell buffer and disables line editing.
F\bFC\bCE\bED\bDI\bIT\bT The default editor for the f\bfc\bc builtin command.
F\bFI\bIG\bGN\bNO\bOR\bRE\bE
- A colon-separated list of suffixes to ignore when performing
+ A colon-separated list of suffixes to ignore when performing
filename completion (see R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE below). A filename whose suf-
- fix matches one of the entries in F\bFI\bIG\bGN\bNO\bOR\bRE\bE is excluded from the
+ fix matches one of the entries in F\bFI\bIG\bGN\bNO\bOR\bRE\bE is excluded from the
list of matched filenames. A sample value is ".o:~".
G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE
A colon-separated list of patterns defining the set of filenames
to be ignored by pathname expansion. If a filename matched by a
- pathname expansion pattern also matches one of the patterns in
+ pathname expansion pattern also matches one of the patterns in
G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE, it is removed from the list of matches.
H\bHI\bIS\bST\bTC\bCO\bON\bNT\bTR\bRO\bOL\bL
- A colon-separated list of values controlling how commands are
- saved on the history list. If the list of values includes
- _\bi_\bg_\bn_\bo_\br_\be_\bs_\bp_\ba_\bc_\be, lines which begin with a s\bsp\bpa\bac\bce\be character are not
- saved in the history list. A value of _\bi_\bg_\bn_\bo_\br_\be_\bd_\bu_\bp_\bs causes lines
+ A colon-separated list of values controlling how commands are
+ saved on the history list. If the list of values includes
+ _\bi_\bg_\bn_\bo_\br_\be_\bs_\bp_\ba_\bc_\be, lines which begin with a s\bsp\bpa\bac\bce\be character are not
+ saved in the history list. A value of _\bi_\bg_\bn_\bo_\br_\be_\bd_\bu_\bp_\bs causes lines
matching the previous history entry to not be saved. A value of
_\bi_\bg_\bn_\bo_\br_\be_\bb_\bo_\bt_\bh is shorthand for _\bi_\bg_\bn_\bo_\br_\be_\bs_\bp_\ba_\bc_\be and _\bi_\bg_\bn_\bo_\br_\be_\bd_\bu_\bp_\bs. A value
of _\be_\br_\ba_\bs_\be_\bd_\bu_\bp_\bs causes all previous lines matching the current line
- to be removed from the history list before that line is saved.
- Any value not in the above list is ignored. If H\bHI\bIS\bST\bTC\bCO\bON\bNT\bTR\bRO\bOL\bL is
- unset, or does not include a valid value, all lines read by the
+ to be removed from the history list before that line is saved.
+ Any value not in the above list is ignored. If H\bHI\bIS\bST\bTC\bCO\bON\bNT\bTR\bRO\bOL\bL is
+ unset, or does not include a valid value, all lines read by the
shell parser are saved on the history list, subject to the value
- of H\bHI\bIS\bST\bTI\bIG\bGN\bNO\bOR\bRE\bE. The second and subsequent lines of a multi-line
- compound command are not tested, and are added to the history
+ of H\bHI\bIS\bST\bTI\bIG\bGN\bNO\bOR\bRE\bE. The second and subsequent lines of a multi-line
+ compound command are not tested, and are added to the history
regardless of the value of H\bHI\bIS\bST\bTC\bCO\bON\bNT\bTR\bRO\bOL\bL.
H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE
The name of the file in which command history is saved (see H\bHI\bIS\bS-\b-
- T\bTO\bOR\bRY\bY below). The default value is _\b~_\b/_\b._\bb_\ba_\bs_\bh_\b__\bh_\bi_\bs_\bt_\bo_\br_\by. If unset,
- the command history is not saved when an interactive shell
+ T\bTO\bOR\bRY\bY below). The default value is _\b~_\b/_\b._\bb_\ba_\bs_\bh_\b__\bh_\bi_\bs_\bt_\bo_\br_\by. If unset,
+ the command history is not saved when an interactive shell
exits.
H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bES\bSI\bIZ\bZE\bE
The maximum number of lines contained in the history file. When
- this variable is assigned a value, the history file is trun-
- cated, if necessary, to contain no more than that number of
- lines. The default value is 500. The history file is also
- truncated to this size after writing it when an interactive
+ this variable is assigned a value, the history file is trun-
+ cated, if necessary, to contain no more than that number of
+ lines. The default value is 500. The history file is also
+ truncated to this size after writing it when an interactive
shell exits.
H\bHI\bIS\bST\bTI\bIG\bGN\bNO\bOR\bRE\bE
- A colon-separated list of patterns used to decide which command
- lines should be saved on the history list. Each pattern is
- anchored at the beginning of the line and must match the com-
- plete line (no implicit `*\b*' is appended). Each pattern is
- tested against the line after the checks specified by H\bHI\bIS\bST\bTC\bCO\bON\bN-\b-
- T\bTR\bRO\bOL\bL are applied. In addition to the normal shell pattern
+ A colon-separated list of patterns used to decide which command
+ lines should be saved on the history list. Each pattern is
+ anchored at the beginning of the line and must match the com-
+ plete line (no implicit `*\b*' is appended). Each pattern is
+ tested against the line after the checks specified by H\bHI\bIS\bST\bTC\bCO\bON\bN-\b-
+ T\bTR\bRO\bOL\bL are applied. In addition to the normal shell pattern
matching characters, `&\b&' matches the previous history line. `&\b&'
- may be escaped using a backslash; the backslash is removed
+ may be escaped using a backslash; the backslash is removed
before attempting a match. The second and subsequent lines of a
multi-line compound command are not tested, and are added to the
history regardless of the value of H\bHI\bIS\bST\bTI\bIG\bGN\bNO\bOR\bRE\bE.
H\bHI\bIS\bST\bTS\bSI\bIZ\bZE\bE
- The number of commands to remember in the command history (see
+ The number of commands to remember in the command history (see
H\bHI\bIS\bST\bTO\bOR\bRY\bY below). The default value is 500.
H\bHI\bIS\bST\bTT\bTI\bIM\bME\bEF\bFO\bOR\bRM\bMA\bAT\bT
- If this variable is set and not null, its value is used as a
+ If this variable is set and not null, its value is used as a
format string for _\bs_\bt_\br_\bf_\bt_\bi_\bm_\be(3) to print the time stamp associated
- with each history entry displayed by the h\bhi\bis\bst\bto\bor\bry\by builtin. If
- this variable is set, time stamps are written to the history
+ with each history entry displayed by the h\bhi\bis\bst\bto\bor\bry\by builtin. If
+ this variable is set, time stamps are written to the history
file so they may be preserved across shell sessions.
H\bHO\bOM\bME\bE The home directory of the current user; the default argument for
the c\bcd\bd builtin command. The value of this variable is also used
when performing tilde expansion.
H\bHO\bOS\bST\bTF\bFI\bIL\bLE\bE
- Contains the name of a file in the same format as _\b/_\be_\bt_\bc_\b/_\bh_\bo_\bs_\bt_\bs
+ Contains the name of a file in the same format as _\b/_\be_\bt_\bc_\b/_\bh_\bo_\bs_\bt_\bs
that should be read when the shell needs to complete a hostname.
- The list of possible hostname completions may be changed while
- the shell is running; the next time hostname completion is
- attempted after the value is changed, b\bba\bas\bsh\bh adds the contents of
- the new file to the existing list. If H\bHO\bOS\bST\bTF\bFI\bIL\bLE\bE is set, but has
+ The list of possible hostname completions may be changed while
+ the shell is running; the next time hostname completion is
+ attempted after the value is changed, b\bba\bas\bsh\bh adds the contents of
+ the new file to the existing list. If H\bHO\bOS\bST\bTF\bFI\bIL\bLE\bE is set, but has
no value, b\bba\bas\bsh\bh attempts to read _\b/_\be_\bt_\bc_\b/_\bh_\bo_\bs_\bt_\bs to obtain the list of
- possible hostname completions. When H\bHO\bOS\bST\bTF\bFI\bIL\bLE\bE is unset, the
+ possible hostname completions. When H\bHO\bOS\bST\bTF\bFI\bIL\bLE\bE is unset, the
hostname list is cleared.
- I\bIF\bFS\bS The _\bI_\bn_\bt_\be_\br_\bn_\ba_\bl _\bF_\bi_\be_\bl_\bd _\bS_\be_\bp_\ba_\br_\ba_\bt_\bo_\br that is used for word splitting
- after expansion and to split lines into words with the r\bre\bea\bad\bd
+ I\bIF\bFS\bS The _\bI_\bn_\bt_\be_\br_\bn_\ba_\bl _\bF_\bi_\be_\bl_\bd _\bS_\be_\bp_\ba_\br_\ba_\bt_\bo_\br that is used for word splitting
+ after expansion and to split lines into words with the r\bre\bea\bad\bd
builtin command. The default value is ``<space><tab><new-
line>''.
I\bIG\bGN\bNO\bOR\bRE\bEE\bEO\bOF\bF
Controls the action of an interactive shell on receipt of an E\bEO\bOF\bF
character as the sole input. If set, the value is the number of
- consecutive E\bEO\bOF\bF characters which must be typed as the first
- characters on an input line before b\bba\bas\bsh\bh exits. If the variable
- exists but does not have a numeric value, or has no value, the
- default value is 10. If it does not exist, E\bEO\bOF\bF signifies the
+ consecutive E\bEO\bOF\bF characters which must be typed as the first
+ characters on an input line before b\bba\bas\bsh\bh exits. If the variable
+ exists but does not have a numeric value, or has no value, the
+ default value is 10. If it does not exist, E\bEO\bOF\bF signifies the
end of input to the shell.
I\bIN\bNP\bPU\bUT\bTR\bRC\bC
- The filename for the r\bre\bea\bad\bdl\bli\bin\bne\be startup file, overriding the
+ The filename for the r\bre\bea\bad\bdl\bli\bin\bne\be startup file, overriding the
default of _\b~_\b/_\b._\bi_\bn_\bp_\bu_\bt_\br_\bc (see R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE below).
- L\bLA\bAN\bNG\bG Used to determine the locale category for any category not
+ L\bLA\bAN\bNG\bG Used to determine the locale category for any category not
specifically selected with a variable starting with L\bLC\bC_\b_.
- L\bLC\bC_\b_A\bAL\bLL\bL This variable overrides the value of L\bLA\bAN\bNG\bG and any other L\bLC\bC_\b_
+ L\bLC\bC_\b_A\bAL\bLL\bL This variable overrides the value of L\bLA\bAN\bNG\bG and any other L\bLC\bC_\b_
variable specifying a locale category.
L\bLC\bC_\b_C\bCO\bOL\bLL\bLA\bAT\bTE\bE
- This variable determines the collation order used when sorting
- the results of pathname expansion, and determines the behavior
- of range expressions, equivalence classes, and collating
+ This variable determines the collation order used when sorting
+ the results of pathname expansion, and determines the behavior
+ of range expressions, equivalence classes, and collating
sequences within pathname expansion and pattern matching.
L\bLC\bC_\b_C\bCT\bTY\bYP\bPE\bE
- This variable determines the interpretation of characters and
- the behavior of character classes within pathname expansion and
+ This variable determines the interpretation of characters and
+ the behavior of character classes within pathname expansion and
pattern matching.
L\bLC\bC_\b_M\bME\bES\bSS\bSA\bAG\bGE\bES\bS
- This variable determines the locale used to translate double-
+ This variable determines the locale used to translate double-
quoted strings preceded by a $\b$.
L\bLC\bC_\b_N\bNU\bUM\bME\bER\bRI\bIC\bC
- This variable determines the locale category used for number
+ This variable determines the locale category used for number
formatting.
- L\bLI\bIN\bNE\bES\bS Used by the s\bse\bel\ble\bec\bct\bt builtin command to determine the column
- length for printing selection lists. Automatically set upon
+ L\bLI\bIN\bNE\bES\bS Used by the s\bse\bel\ble\bec\bct\bt builtin command to determine the column
+ length for printing selection lists. Automatically set upon
receipt of a SIGWINCH.
- M\bMA\bAI\bIL\bL If this parameter is set to a file name and the M\bMA\bAI\bIL\bLP\bPA\bAT\bTH\bH vari-
+ M\bMA\bAI\bIL\bL If this parameter is set to a file name and the M\bMA\bAI\bIL\bLP\bPA\bAT\bTH\bH vari-
able is not set, b\bba\bas\bsh\bh informs the user of the arrival of mail in
the specified file.
M\bMA\bAI\bIL\bLC\bCH\bHE\bEC\bCK\bK
- Specifies how often (in seconds) b\bba\bas\bsh\bh checks for mail. The
- default is 60 seconds. When it is time to check for mail, the
- shell does so before displaying the primary prompt. If this
- variable is unset, or set to a value that is not a number
+ Specifies how often (in seconds) b\bba\bas\bsh\bh checks for mail. The
+ default is 60 seconds. When it is time to check for mail, the
+ shell does so before displaying the primary prompt. If this
+ variable is unset, or set to a value that is not a number
greater than or equal to zero, the shell disables mail checking.
M\bMA\bAI\bIL\bLP\bPA\bAT\bTH\bH
- A colon-separated list of file names to be checked for mail.
+ A colon-separated list of file names to be checked for mail.
The message to be printed when mail arrives in a particular file
- may be specified by separating the file name from the message
+ may be specified by separating the file name from the message
with a `?'. When used in the text of the message, $\b$_\b_ expands to
the name of the current mailfile. Example:
M\bMA\bAI\bIL\bLP\bPA\bAT\bTH\bH='/var/mail/bfox?"You have mail":~/shell-mail?"$_ has
mail!"'
- B\bBa\bas\bsh\bh supplies a default value for this variable, but the loca-
- tion of the user mail files that it uses is system dependent
+ B\bBa\bas\bsh\bh supplies a default value for this variable, but the loca-
+ tion of the user mail files that it uses is system dependent
(e.g., /var/mail/$\b$U\bUS\bSE\bER\bR).
O\bOP\bPT\bTE\bER\bRR\bR If set to the value 1, b\bba\bas\bsh\bh displays error messages generated by
- the g\bge\bet\bto\bop\bpt\bts\bs builtin command (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below).
- O\bOP\bPT\bTE\bER\bRR\bR is initialized to 1 each time the shell is invoked or a
+ the g\bge\bet\bto\bop\bpt\bts\bs builtin command (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below).
+ O\bOP\bPT\bTE\bER\bRR\bR is initialized to 1 each time the shell is invoked or a
shell script is executed.
- P\bPA\bAT\bTH\bH The search path for commands. It is a colon-separated list of
- directories in which the shell looks for commands (see C\bCO\bOM\bMM\bMA\bAN\bND\bD
- E\bEX\bXE\bEC\bCU\bUT\bTI\bIO\bON\bN below). A zero-length (null) directory name in the
+ P\bPA\bAT\bTH\bH The search path for commands. It is a colon-separated list of
+ directories in which the shell looks for commands (see C\bCO\bOM\bMM\bMA\bAN\bND\bD
+ E\bEX\bXE\bEC\bCU\bUT\bTI\bIO\bON\bN below). A zero-length (null) directory name in the
value of P\bPA\bAT\bTH\bH indicates the current directory. A null directory
- name may appear as two adjacent colons, or as an initial or
- trailing colon. The default path is system-dependent, and is
- set by the administrator who installs b\bba\bas\bsh\bh. A common value is
+ name may appear as two adjacent colons, or as an initial or
+ trailing colon. The default path is system-dependent, and is
+ set by the administrator who installs b\bba\bas\bsh\bh. A common value is
``/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin''.
P\bPO\bOS\bSI\bIX\bXL\bLY\bY_\b_C\bCO\bOR\bRR\bRE\bEC\bCT\bT
- If this variable is in the environment when b\bba\bas\bsh\bh starts, the
- shell enters _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be before reading the startup files, as if
- the -\b--\b-p\bpo\bos\bsi\bix\bx invocation option had been supplied. If it is set
- while the shell is running, b\bba\bas\bsh\bh enables _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be, as if the
+ If this variable is in the environment when b\bba\bas\bsh\bh starts, the
+ shell enters _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be before reading the startup files, as if
+ the -\b--\b-p\bpo\bos\bsi\bix\bx invocation option had been supplied. If it is set
+ while the shell is running, b\bba\bas\bsh\bh enables _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be, as if the
command _\bs_\be_\bt _\b-_\bo _\bp_\bo_\bs_\bi_\bx had been executed.
P\bPR\bRO\bOM\bMP\bPT\bT_\b_C\bCO\bOM\bMM\bMA\bAN\bND\bD
If set, the value is executed as a command prior to issuing each
primary prompt.
- P\bPS\bS1\b1 The value of this parameter is expanded (see P\bPR\bRO\bOM\bMP\bPT\bTI\bIN\bNG\bG below)
- and used as the primary prompt string. The default value is
+ P\bPS\bS1\b1 The value of this parameter is expanded (see P\bPR\bRO\bOM\bMP\bPT\bTI\bIN\bNG\bG below)
+ and used as the primary prompt string. The default value is
``\\b\s\bs-\b-\\b\v\bv\\b\$\b$ ''.
- P\bPS\bS2\b2 The value of this parameter is expanded as with P\bPS\bS1\b1 and used as
+ P\bPS\bS2\b2 The value of this parameter is expanded as with P\bPS\bS1\b1 and used as
the secondary prompt string. The default is ``>\b> ''.
P\bPS\bS3\b3 The value of this parameter is used as the prompt for the s\bse\bel\ble\bec\bct\bt
command (see S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR above).
- P\bPS\bS4\b4 The value of this parameter is expanded as with P\bPS\bS1\b1 and the
- value is printed before each command b\bba\bas\bsh\bh displays during an
- execution trace. The first character of P\bPS\bS4\b4 is replicated mul-
- tiple times, as necessary, to indicate multiple levels of indi-
+ P\bPS\bS4\b4 The value of this parameter is expanded as with P\bPS\bS1\b1 and the
+ value is printed before each command b\bba\bas\bsh\bh displays during an
+ execution trace. The first character of P\bPS\bS4\b4 is replicated mul-
+ tiple times, as necessary, to indicate multiple levels of indi-
rection. The default is ``+\b+ ''.
S\bSH\bHE\bEL\bLL\bL The full pathname to the shell is kept in this environment vari-
- able. If it is not set when the shell starts, b\bba\bas\bsh\bh assigns to
+ able. If it is not set when the shell starts, b\bba\bas\bsh\bh assigns to
it the full pathname of the current user's login shell.
T\bTI\bIM\bME\bEF\bFO\bOR\bRM\bMA\bAT\bT
- The value of this parameter is used as a format string specify-
- ing how the timing information for pipelines prefixed with the
- t\bti\bim\bme\be reserved word should be displayed. The %\b% character intro-
- duces an escape sequence that is expanded to a time value or
- other information. The escape sequences and their meanings are
+ The value of this parameter is used as a format string specify-
+ ing how the timing information for pipelines prefixed with the
+ t\bti\bim\bme\be reserved word should be displayed. The %\b% character intro-
+ duces an escape sequence that is expanded to a time value or
+ other information. The escape sequences and their meanings are
as follows; the braces denote optional portions.
%\b%%\b% A literal %\b%.
%\b%[\b[_\bp]\b][\b[l\bl]\b]R\bR The elapsed time in seconds.
%\b%[\b[_\bp]\b][\b[l\bl]\b]S\bS The number of CPU seconds spent in system mode.
%\b%P\bP The CPU percentage, computed as (%U + %S) / %R.
- The optional _\bp is a digit specifying the _\bp_\br_\be_\bc_\bi_\bs_\bi_\bo_\bn, the number
+ The optional _\bp is a digit specifying the _\bp_\br_\be_\bc_\bi_\bs_\bi_\bo_\bn, the number
of fractional digits after a decimal point. A value of 0 causes
no decimal point or fraction to be output. At most three places
- after the decimal point may be specified; values of _\bp greater
- than 3 are changed to 3. If _\bp is not specified, the value 3 is
+ after the decimal point may be specified; values of _\bp greater
+ than 3 are changed to 3. If _\bp is not specified, the value 3 is
used.
- The optional l\bl specifies a longer format, including minutes, of
- the form _\bM_\bMm_\bS_\bS._\bF_\bFs. The value of _\bp determines whether or not
+ The optional l\bl specifies a longer format, including minutes, of
+ the form _\bM_\bMm_\bS_\bS._\bF_\bFs. The value of _\bp determines whether or not
the fraction is included.
- If this variable is not set, b\bba\bas\bsh\bh acts as if it had the value
- $\b$'\b'\\b\n\bnr\bre\bea\bal\bl\\b\t\bt%\b%3\b3l\blR\bR\\b\n\bnu\bus\bse\ber\br\\b\t\bt%\b%3\b3l\blU\bU\\b\n\bns\bsy\bys\bs%\b%3\b3l\blS\bS'\b'. If the value is null, no
- timing information is displayed. A trailing newline is added
+ If this variable is not set, b\bba\bas\bsh\bh acts as if it had the value
+ $\b$'\b'\\b\n\bnr\bre\bea\bal\bl\\b\t\bt%\b%3\b3l\blR\bR\\b\n\bnu\bus\bse\ber\br\\b\t\bt%\b%3\b3l\blU\bU\\b\n\bns\bsy\bys\bs%\b%3\b3l\blS\bS'\b'. If the value is null, no
+ timing information is displayed. A trailing newline is added
when the format string is displayed.
- T\bTM\bMO\bOU\bUT\bT If set to a value greater than zero, T\bTM\bMO\bOU\bUT\bT is treated as the
+ T\bTM\bMO\bOU\bUT\bT If set to a value greater than zero, T\bTM\bMO\bOU\bUT\bT is treated as the
default timeout for the r\bre\bea\bad\bd builtin. The s\bse\bel\ble\bec\bct\bt command termi-
nates if input does not arrive after T\bTM\bMO\bOU\bUT\bT seconds when input is
- coming from a terminal. In an interactive shell, the value is
- interpreted as the number of seconds to wait for input after
- issuing the primary prompt. B\bBa\bas\bsh\bh terminates after waiting for
+ coming from a terminal. In an interactive shell, the value is
+ interpreted as the number of seconds to wait for input after
+ issuing the primary prompt. B\bBa\bas\bsh\bh terminates after waiting for
that number of seconds if input does not arrive.
a\bau\but\bto\bo_\b_r\bre\bes\bsu\bum\bme\be
This variable controls how the shell interacts with the user and
- job control. If this variable is set, single word simple com-
+ job control. If this variable is set, single word simple com-
mands without redirections are treated as candidates for resump-
tion of an existing stopped job. There is no ambiguity allowed;
- if there is more than one job beginning with the string typed,
- the job most recently accessed is selected. The _\bn_\ba_\bm_\be of a
- stopped job, in this context, is the command line used to start
- it. If set to the value _\be_\bx_\ba_\bc_\bt, the string supplied must match
- the name of a stopped job exactly; if set to _\bs_\bu_\bb_\bs_\bt_\br_\bi_\bn_\bg, the
- string supplied needs to match a substring of the name of a
- stopped job. The _\bs_\bu_\bb_\bs_\bt_\br_\bi_\bn_\bg value provides functionality analo-
- gous to the %\b%?\b? job identifier (see J\bJO\bOB\bB C\bCO\bON\bNT\bTR\bRO\bOL\bL below). If set
- to any other value, the supplied string must be a prefix of a
+ if there is more than one job beginning with the string typed,
+ the job most recently accessed is selected. The _\bn_\ba_\bm_\be of a
+ stopped job, in this context, is the command line used to start
+ it. If set to the value _\be_\bx_\ba_\bc_\bt, the string supplied must match
+ the name of a stopped job exactly; if set to _\bs_\bu_\bb_\bs_\bt_\br_\bi_\bn_\bg, the
+ string supplied needs to match a substring of the name of a
+ stopped job. The _\bs_\bu_\bb_\bs_\bt_\br_\bi_\bn_\bg value provides functionality analo-
+ gous to the %\b%?\b? job identifier (see J\bJO\bOB\bB C\bCO\bON\bNT\bTR\bRO\bOL\bL below). If set
+ to any other value, the supplied string must be a prefix of a
stopped job's name; this provides functionality analogous to the
%\b%_\bs_\bt_\br_\bi_\bn_\bg job identifier.
h\bhi\bis\bst\btc\bch\bha\bar\brs\bs
- The two or three characters which control history expansion and
+ The two or three characters which control history expansion and
tokenization (see H\bHI\bIS\bST\bTO\bOR\bRY\bY E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN below). The first character
- is the _\bh_\bi_\bs_\bt_\bo_\br_\by _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn character, the character which signals
- the start of a history expansion, normally `!\b!'. The second
- character is the _\bq_\bu_\bi_\bc_\bk _\bs_\bu_\bb_\bs_\bt_\bi_\bt_\bu_\bt_\bi_\bo_\bn character, which is used as
- shorthand for re-running the previous command entered,
- substituting one string for another in the command. The default
- is `^\b^'. The optional third character is the character which
- indicates that the remainder of the line is a comment when found
- as the first character of a word, normally `#\b#'. The history
- comment character causes history substitution to be skipped for
- the remaining words on the line. It does not necessarily cause
- the shell parser to treat the rest of the line as a comment.
+ is the _\bh_\bi_\bs_\bt_\bo_\br_\by _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn character, the character which signals
+ the start of a history expansion, normally `!\b!'. The second
+ character is the _\bq_\bu_\bi_\bc_\bk _\bs_\bu_\bb_\bs_\bt_\bi_\bt_\bu_\bt_\bi_\bo_\bn character, which is used as
+ shorthand for re-running the previous command entered, substi-
+ tuting one string for another in the command. The default is
+ `^\b^'. The optional third character is the character which indi-
+ cates that the remainder of the line is a comment when found as
+ the first character of a word, normally `#\b#'. The history com-
+ ment character causes history substitution to be skipped for the
+ remaining words on the line. It does not necessarily cause the
+ shell parser to treat the rest of the line as a comment.
A\bAr\brr\bra\bay\bys\bs
- B\bBa\bas\bsh\bh provides one-dimensional array variables. Any variable may be
+ B\bBa\bas\bsh\bh provides one-dimensional array variables. Any variable may be
used as an array; the d\bde\bec\bcl\bla\bar\bre\be builtin will explicitly declare an array.
- There is no maximum limit on the size of an array, nor any requirement
- that members be indexed or assigned contiguously. Arrays are indexed
+ There is no maximum limit on the size of an array, nor any requirement
+ that members be indexed or assigned contiguously. Arrays are indexed
using integers and are zero-based.
- An array is created automatically if any variable is assigned to using
- the syntax _\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]=_\bv_\ba_\bl_\bu_\be. The _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt is treated as an
- arithmetic expression that must evaluate to a number greater than or
- equal to zero. To explicitly declare an array, use d\bde\bec\bcl\bla\bar\bre\be -\b-a\ba _\bn_\ba_\bm_\be
+ An array is created automatically if any variable is assigned to using
+ the syntax _\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]=_\bv_\ba_\bl_\bu_\be. The _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt is treated as an
+ arithmetic expression that must evaluate to a number greater than or
+ equal to zero. To explicitly declare an array, use d\bde\bec\bcl\bla\bar\bre\be -\b-a\ba _\bn_\ba_\bm_\be
(see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below). d\bde\bec\bcl\bla\bar\bre\be -\b-a\ba _\bn_\ba_\bm_\be[\b[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]\b] is also
accepted; the _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt is ignored. Attributes may be specified for an
array variable using the d\bde\bec\bcl\bla\bar\bre\be and r\bre\bea\bad\bdo\bon\bnl\bly\by builtins. Each attribute
applies to all members of an array.
- Arrays are assigned to using compound assignments of the form
- _\bn_\ba_\bm_\be=(\b(value_\b1 ... value_\bn)\b), where each _\bv_\ba_\bl_\bu_\be is of the form [_\bs_\bu_\bb_\b-
+ Arrays are assigned to using compound assignments of the form
+ _\bn_\ba_\bm_\be=(\b(value_\b1 ... value_\bn)\b), where each _\bv_\ba_\bl_\bu_\be is of the form [_\bs_\bu_\bb_\b-
_\bs_\bc_\br_\bi_\bp_\bt]=_\bs_\bt_\br_\bi_\bn_\bg. Only _\bs_\bt_\br_\bi_\bn_\bg is required. If the optional brackets and
- subscript are supplied, that index is assigned to; otherwise the index
- of the element assigned is the last index assigned to by the statement
- plus one. Indexing starts at zero. This syntax is also accepted by
- the d\bde\bec\bcl\bla\bar\bre\be builtin. Individual array elements may be assigned to
+ subscript are supplied, that index is assigned to; otherwise the index
+ of the element assigned is the last index assigned to by the statement
+ plus one. Indexing starts at zero. This syntax is also accepted by
+ the d\bde\bec\bcl\bla\bar\bre\be builtin. Individual array elements may be assigned to
using the _\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]=_\bv_\ba_\bl_\bu_\be syntax introduced above.
- Any element of an array may be referenced using ${_\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]}.
+ Any element of an array may be referenced using ${_\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]}.
The braces are required to avoid conflicts with pathname expansion. If
- _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt is @\b@ or *\b*, the word expands to all members of _\bn_\ba_\bm_\be. These
- subscripts differ only when the word appears within double quotes. If
+ _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt is @\b@ or *\b*, the word expands to all members of _\bn_\ba_\bm_\be. These
+ subscripts differ only when the word appears within double quotes. If
the word is double-quoted, ${_\bn_\ba_\bm_\be[*]} expands to a single word with the
- value of each array member separated by the first character of the I\bIF\bFS\bS
+ value of each array member separated by the first character of the I\bIF\bFS\bS
special variable, and ${_\bn_\ba_\bm_\be[@]} expands each element of _\bn_\ba_\bm_\be to a sep-
- arate word. When there are no array members, ${_\bn_\ba_\bm_\be[@]} expands to
- nothing. If the double-quoted expansion occurs within a word, the
- expansion of the first parameter is joined with the beginning part of
- the original word, and the expansion of the last parameter is joined
- with the last part of the original word. This is analogous to the
- expansion of the special parameters *\b* and @\b@ (see S\bSp\bpe\bec\bci\bia\bal\bl P\bPa\bar\bra\bam\bme\bet\bte\ber\brs\bs
- above). ${#_\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]} expands to the length of ${_\bn_\ba_\bm_\be[_\bs_\bu_\bb_\b-
- _\bs_\bc_\br_\bi_\bp_\bt]}. If _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt is *\b* or @\b@, the expansion is the number of ele-
- ments in the array. Referencing an array variable without a subscript
+ arate word. When there are no array members, ${_\bn_\ba_\bm_\be[@]} expands to
+ nothing. If the double-quoted expansion occurs within a word, the
+ expansion of the first parameter is joined with the beginning part of
+ the original word, and the expansion of the last parameter is joined
+ with the last part of the original word. This is analogous to the
+ expansion of the special parameters *\b* and @\b@ (see S\bSp\bpe\bec\bci\bia\bal\bl P\bPa\bar\bra\bam\bme\bet\bte\ber\brs\bs
+ above). ${#_\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]} expands to the length of ${_\bn_\ba_\bm_\be[_\bs_\bu_\bb_\b-
+ _\bs_\bc_\br_\bi_\bp_\bt]}. If _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt is *\b* or @\b@, the expansion is the number of ele-
+ ments in the array. Referencing an array variable without a subscript
is equivalent to referencing element zero.
- The u\bun\bns\bse\bet\bt builtin is used to destroy arrays. u\bun\bns\bse\bet\bt _\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]
- destroys the array element at index _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt. u\bun\bns\bse\bet\bt _\bn_\ba_\bm_\be, where _\bn_\ba_\bm_\be
- is an array, or u\bun\bns\bse\bet\bt _\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt], where _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt is *\b* or @\b@,
+ The u\bun\bns\bse\bet\bt builtin is used to destroy arrays. u\bun\bns\bse\bet\bt _\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt]
+ destroys the array element at index _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt. u\bun\bns\bse\bet\bt _\bn_\ba_\bm_\be, where _\bn_\ba_\bm_\be
+ is an array, or u\bun\bns\bse\bet\bt _\bn_\ba_\bm_\be[_\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt], where _\bs_\bu_\bb_\bs_\bc_\br_\bi_\bp_\bt is *\b* or @\b@,
removes the entire array.
- The d\bde\bec\bcl\bla\bar\bre\be, l\blo\boc\bca\bal\bl, and r\bre\bea\bad\bdo\bon\bnl\bly\by builtins each accept a -\b-a\ba option to
- specify an array. The r\bre\bea\bad\bd builtin accepts a -\b-a\ba option to assign a
- list of words read from the standard input to an array. The s\bse\bet\bt and
- d\bde\bec\bcl\bla\bar\bre\be builtins display array values in a way that allows them to be
+ The d\bde\bec\bcl\bla\bar\bre\be, l\blo\boc\bca\bal\bl, and r\bre\bea\bad\bdo\bon\bnl\bly\by builtins each accept a -\b-a\ba option to
+ specify an array. The r\bre\bea\bad\bd builtin accepts a -\b-a\ba option to assign a
+ list of words read from the standard input to an array. The s\bse\bet\bt and
+ d\bde\bec\bcl\bla\bar\bre\be builtins display array values in a way that allows them to be
reused as assignments.
E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN
Expansion is performed on the command line after it has been split into
- words. There are seven kinds of expansion performed: _\bb_\br_\ba_\bc_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn,
- _\bt_\bi_\bl_\bd_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn, _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br _\ba_\bn_\bd _\bv_\ba_\br_\bi_\ba_\bb_\bl_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn, _\bc_\bo_\bm_\bm_\ba_\bn_\bd _\bs_\bu_\bb_\bs_\bt_\bi_\bt_\bu_\b-
+ words. There are seven kinds of expansion performed: _\bb_\br_\ba_\bc_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn,
+ _\bt_\bi_\bl_\bd_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn, _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br _\ba_\bn_\bd _\bv_\ba_\br_\bi_\ba_\bb_\bl_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn, _\bc_\bo_\bm_\bm_\ba_\bn_\bd _\bs_\bu_\bb_\bs_\bt_\bi_\bt_\bu_\b-
_\bt_\bi_\bo_\bn, _\ba_\br_\bi_\bt_\bh_\bm_\be_\bt_\bi_\bc _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn, _\bw_\bo_\br_\bd _\bs_\bp_\bl_\bi_\bt_\bt_\bi_\bn_\bg, and _\bp_\ba_\bt_\bh_\bn_\ba_\bm_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn.
- The order of expansions is: brace expansion, tilde expansion, parame-
- ter, variable and arithmetic expansion and command substitution (done
+ The order of expansions is: brace expansion, tilde expansion, parame-
+ ter, variable and arithmetic expansion and command substitution (done
in a left-to-right fashion), word splitting, and pathname expansion.
On systems that can support it, there is an additional expansion avail-
able: _\bp_\br_\bo_\bc_\be_\bs_\bs _\bs_\bu_\bb_\bs_\bt_\bi_\bt_\bu_\bt_\bi_\bo_\bn.
Only brace expansion, word splitting, and pathname expansion can change
- the number of words of the expansion; other expansions expand a single
- word to a single word. The only exceptions to this are the expansions
+ the number of words of the expansion; other expansions expand a single
+ word to a single word. The only exceptions to this are the expansions
of "$\b$@\b@" and "$\b${\b{_\bn_\ba_\bm_\be[\b[@\b@]\b]}\b}" as explained above (see P\bPA\bAR\bRA\bAM\bME\bET\bTE\bER\bRS\bS).
B\bBr\bra\bac\bce\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
_\bB_\br_\ba_\bc_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn is a mechanism by which arbitrary strings may be gener-
- ated. This mechanism is similar to _\bp_\ba_\bt_\bh_\bn_\ba_\bm_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn, but the file-
+ ated. This mechanism is similar to _\bp_\ba_\bt_\bh_\bn_\ba_\bm_\be _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn, but the file-
names generated need not exist. Patterns to be brace expanded take the
form of an optional _\bp_\br_\be_\ba_\bm_\bb_\bl_\be, followed by either a series of comma-sep-
- arated strings or a sequence expression between a pair of braces, fol-
- lowed by an optional _\bp_\bo_\bs_\bt_\bs_\bc_\br_\bi_\bp_\bt. The preamble is prefixed to each
+ arated strings or a sequence expression between a pair of braces, fol-
+ lowed by an optional _\bp_\bo_\bs_\bt_\bs_\bc_\br_\bi_\bp_\bt. The preamble is prefixed to each
string contained within the braces, and the postscript is then appended
to each resulting string, expanding left to right.
- Brace expansions may be nested. The results of each expanded string
- are not sorted; left to right order is preserved. For example,
+ Brace expansions may be nested. The results of each expanded string
+ are not sorted; left to right order is preserved. For example,
a{\b{d,c,b}\b}e expands into `ade ace abe'.
- A sequence expression takes the form {\b{_\bx.\b..\b._\by}\b}, where _\bx and _\by are either
+ A sequence expression takes the form {\b{_\bx.\b..\b._\by}\b}, where _\bx and _\by are either
integers or single characters. When integers are supplied, the expres-
- sion expands to each number between _\bx and _\by, inclusive. When charac-
- ters are supplied, the expression expands to each character lexico-
+ sion expands to each number between _\bx and _\by, inclusive. When charac-
+ ters are supplied, the expression expands to each character lexico-
graphically between _\bx and _\by, inclusive. Note that both _\bx and _\by must be
of the same type.
Brace expansion is performed before any other expansions, and any char-
- acters special to other expansions are preserved in the result. It is
- strictly textual. B\bBa\bas\bsh\bh does not apply any syntactic interpretation to
+ acters special to other expansions are preserved in the result. It is
+ strictly textual. B\bBa\bas\bsh\bh does not apply any syntactic interpretation to
the context of the expansion or the text between the braces.
- A correctly-formed brace expansion must contain unquoted opening and
- closing braces, and at least one unquoted comma or a valid sequence
- expression. Any incorrectly formed brace expansion is left unchanged.
+ A correctly-formed brace expansion must contain unquoted opening and
+ closing braces, and at least one unquoted comma or a valid sequence
+ expression. Any incorrectly formed brace expansion is left unchanged.
A {\b{ or ,\b, may be quoted with a backslash to prevent its being considered
- part of a brace expression. To avoid conflicts with parameter expan-
+ part of a brace expression. To avoid conflicts with parameter expan-
sion, the string $\b${\b{ is not considered eligible for brace expansion.
This construct is typically used as shorthand when the common prefix of
or
chown root /usr/{ucb/{ex,edit},lib/{ex?.?*,how_ex}}
- Brace expansion introduces a slight incompatibility with historical
- versions of s\bsh\bh. s\bsh\bh does not treat opening or closing braces specially
- when they appear as part of a word, and preserves them in the output.
- B\bBa\bas\bsh\bh removes braces from words as a consequence of brace expansion.
- For example, a word entered to s\bsh\bh as _\bf_\bi_\bl_\be_\b{_\b1_\b,_\b2_\b} appears identically in
- the output. The same word is output as _\bf_\bi_\bl_\be_\b1 _\bf_\bi_\bl_\be_\b2 after expansion by
- b\bba\bas\bsh\bh. If strict compatibility with s\bsh\bh is desired, start b\bba\bas\bsh\bh with the
+ Brace expansion introduces a slight incompatibility with historical
+ versions of s\bsh\bh. s\bsh\bh does not treat opening or closing braces specially
+ when they appear as part of a word, and preserves them in the output.
+ B\bBa\bas\bsh\bh removes braces from words as a consequence of brace expansion.
+ For example, a word entered to s\bsh\bh as _\bf_\bi_\bl_\be_\b{_\b1_\b,_\b2_\b} appears identically in
+ the output. The same word is output as _\bf_\bi_\bl_\be_\b1 _\bf_\bi_\bl_\be_\b2 after expansion by
+ b\bba\bas\bsh\bh. If strict compatibility with s\bsh\bh is desired, start b\bba\bas\bsh\bh with the
+\b+B\bB option or disable brace expansion with the +\b+B\bB option to the s\bse\bet\bt com-
mand (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below).
T\bTi\bil\bld\bde\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
- If a word begins with an unquoted tilde character (`~\b~'), all of the
- characters preceding the first unquoted slash (or all characters, if
- there is no unquoted slash) are considered a _\bt_\bi_\bl_\bd_\be_\b-_\bp_\br_\be_\bf_\bi_\bx. If none of
- the characters in the tilde-prefix are quoted, the characters in the
- tilde-prefix following the tilde are treated as a possible _\bl_\bo_\bg_\bi_\bn _\bn_\ba_\bm_\be.
- If this login name is the null string, the tilde is replaced with the
- value of the shell parameter H\bHO\bOM\bME\bE. If H\bHO\bOM\bME\bE is unset, the home direc-
- tory of the user executing the shell is substituted instead. Other-
- wise, the tilde-prefix is replaced with the home directory associated
+ If a word begins with an unquoted tilde character (`~\b~'), all of the
+ characters preceding the first unquoted slash (or all characters, if
+ there is no unquoted slash) are considered a _\bt_\bi_\bl_\bd_\be_\b-_\bp_\br_\be_\bf_\bi_\bx. If none of
+ the characters in the tilde-prefix are quoted, the characters in the
+ tilde-prefix following the tilde are treated as a possible _\bl_\bo_\bg_\bi_\bn _\bn_\ba_\bm_\be.
+ If this login name is the null string, the tilde is replaced with the
+ value of the shell parameter H\bHO\bOM\bME\bE. If H\bHO\bOM\bME\bE is unset, the home direc-
+ tory of the user executing the shell is substituted instead. Other-
+ wise, the tilde-prefix is replaced with the home directory associated
with the specified login name.
- If the tilde-prefix is a `~+', the value of the shell variable P\bPW\bWD\bD
+ If the tilde-prefix is a `~+', the value of the shell variable P\bPW\bWD\bD
replaces the tilde-prefix. If the tilde-prefix is a `~-', the value of
- the shell variable O\bOL\bLD\bDP\bPW\bWD\bD, if it is set, is substituted. If the char-
- acters following the tilde in the tilde-prefix consist of a number _\bN,
- optionally prefixed by a `+' or a `-', the tilde-prefix is replaced
+ the shell variable O\bOL\bLD\bDP\bPW\bWD\bD, if it is set, is substituted. If the char-
+ acters following the tilde in the tilde-prefix consist of a number _\bN,
+ optionally prefixed by a `+' or a `-', the tilde-prefix is replaced
with the corresponding element from the directory stack, as it would be
displayed by the d\bdi\bir\brs\bs builtin invoked with the tilde-prefix as an argu-
- ment. If the characters following the tilde in the tilde-prefix con-
+ ment. If the characters following the tilde in the tilde-prefix con-
sist of a number without a leading `+' or `-', `+' is assumed.
If the login name is invalid, or the tilde expansion fails, the word is
Each variable assignment is checked for unquoted tilde-prefixes immedi-
ately following a :\b: or the first =\b=. In these cases, tilde expansion is
- also performed. Consequently, one may use file names with tildes in
- assignments to P\bPA\bAT\bTH\bH, M\bMA\bAI\bIL\bLP\bPA\bAT\bTH\bH, and C\bCD\bDP\bPA\bAT\bTH\bH, and the shell assigns the
+ also performed. Consequently, one may use file names with tildes in
+ assignments to P\bPA\bAT\bTH\bH, M\bMA\bAI\bIL\bLP\bPA\bAT\bTH\bH, and C\bCD\bDP\bPA\bAT\bTH\bH, and the shell assigns the
expanded value.
P\bPa\bar\bra\bam\bme\bet\bte\ber\br E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
The `$\b$' character introduces parameter expansion, command substitution,
- or arithmetic expansion. The parameter name or symbol to be expanded
- may be enclosed in braces, which are optional but serve to protect the
- variable to be expanded from characters immediately following it which
+ or arithmetic expansion. The parameter name or symbol to be expanded
+ may be enclosed in braces, which are optional but serve to protect the
+ variable to be expanded from characters immediately following it which
could be interpreted as part of the name.
- When braces are used, the matching ending brace is the first `}\b}' not
- escaped by a backslash or within a quoted string, and not within an
+ When braces are used, the matching ending brace is the first `}\b}' not
+ escaped by a backslash or within a quoted string, and not within an
embedded arithmetic expansion, command substitution, or parameter
expansion.
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br}
- The value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is substituted. The braces are required
- when _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is a positional parameter with more than one
+ The value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is substituted. The braces are required
+ when _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is a positional parameter with more than one
digit, or when _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is followed by a character which is not
to be interpreted as part of its name.
If the first character of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is an exclamation point, a level of
- variable indirection is introduced. B\bBa\bas\bsh\bh uses the value of the vari-
- able formed from the rest of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br as the name of the variable;
- this variable is then expanded and that value is used in the rest of
- the substitution, rather than the value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br itself. This is
+ variable indirection is introduced. B\bBa\bas\bsh\bh uses the value of the vari-
+ able formed from the rest of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br as the name of the variable;
+ this variable is then expanded and that value is used in the rest of
+ the substitution, rather than the value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br itself. This is
known as _\bi_\bn_\bd_\bi_\br_\be_\bc_\bt _\be_\bx_\bp_\ba_\bn_\bs_\bi_\bo_\bn. The exceptions to this are the expansions
- of ${!_\bp_\br_\be_\bf_\bi_\bx*} and ${!\b!_\bn_\ba_\bm_\be[_\b@]} described below. The exclamation point
- must immediately follow the left brace in order to introduce indirec-
+ of ${!_\bp_\br_\be_\bf_\bi_\bx*} and ${!\b!_\bn_\ba_\bm_\be[_\b@]} described below. The exclamation point
+ must immediately follow the left brace in order to introduce indirec-
tion.
In each of the cases below, _\bw_\bo_\br_\bd is subject to tilde expansion, parame-
- ter expansion, command substitution, and arithmetic expansion. When
- not performing substring expansion, b\bba\bas\bsh\bh tests for a parameter that is
- unset or null; omitting the colon results in a test only for a parame-
+ ter expansion, command substitution, and arithmetic expansion. When
+ not performing substring expansion, b\bba\bas\bsh\bh tests for a parameter that is
+ unset or null; omitting the colon results in a test only for a parame-
ter that is unset.
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br:\b:-\b-_\bw_\bo_\br_\bd}
- U\bUs\bse\be D\bDe\bef\bfa\bau\bul\blt\bt V\bVa\bal\blu\bue\bes\bs. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is unset or null, the expan-
- sion of _\bw_\bo_\br_\bd is substituted. Otherwise, the value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br
+ U\bUs\bse\be D\bDe\bef\bfa\bau\bul\blt\bt V\bVa\bal\blu\bue\bes\bs. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is unset or null, the expan-
+ sion of _\bw_\bo_\br_\bd is substituted. Otherwise, the value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br
is substituted.
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br:\b:=\b=_\bw_\bo_\br_\bd}
- A\bAs\bss\bsi\big\bgn\bn D\bDe\bef\bfa\bau\bul\blt\bt V\bVa\bal\blu\bue\bes\bs. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is unset or null, the
+ A\bAs\bss\bsi\big\bgn\bn D\bDe\bef\bfa\bau\bul\blt\bt V\bVa\bal\blu\bue\bes\bs. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is unset or null, the
expansion of _\bw_\bo_\br_\bd is assigned to _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br. The value of _\bp_\ba_\br_\ba_\bm_\b-
- _\be_\bt_\be_\br is then substituted. Positional parameters and special
+ _\be_\bt_\be_\br is then substituted. Positional parameters and special
parameters may not be assigned to in this way.
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br:\b:?\b?_\bw_\bo_\br_\bd}
- D\bDi\bis\bsp\bpl\bla\bay\by E\bEr\brr\bro\bor\br i\bif\bf N\bNu\bul\bll\bl o\bor\br U\bUn\bns\bse\bet\bt. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is null or unset,
- the expansion of _\bw_\bo_\br_\bd (or a message to that effect if _\bw_\bo_\br_\bd is
- not present) is written to the standard error and the shell, if
+ D\bDi\bis\bsp\bpl\bla\bay\by E\bEr\brr\bro\bor\br i\bif\bf N\bNu\bul\bll\bl o\bor\br U\bUn\bns\bse\bet\bt. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is null or unset,
+ the expansion of _\bw_\bo_\br_\bd (or a message to that effect if _\bw_\bo_\br_\bd is
+ not present) is written to the standard error and the shell, if
it is not interactive, exits. Otherwise, the value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br
is substituted.
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br:\b:+\b+_\bw_\bo_\br_\bd}
- U\bUs\bse\be A\bAl\blt\bte\ber\brn\bna\bat\bte\be V\bVa\bal\blu\bue\be. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is null or unset, nothing is
+ U\bUs\bse\be A\bAl\blt\bte\ber\brn\bna\bat\bte\be V\bVa\bal\blu\bue\be. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is null or unset, nothing is
substituted, otherwise the expansion of _\bw_\bo_\br_\bd is substituted.
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br:\b:_\bo_\bf_\bf_\bs_\be_\bt}
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br:\b:_\bo_\bf_\bf_\bs_\be_\bt:\b:_\bl_\be_\bn_\bg_\bt_\bh}
- S\bSu\bub\bbs\bst\btr\bri\bin\bng\bg E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn.\b. Expands to up to _\bl_\be_\bn_\bg_\bt_\bh characters of
- _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br starting at the character specified by _\bo_\bf_\bf_\bs_\be_\bt. If
- _\bl_\be_\bn_\bg_\bt_\bh is omitted, expands to the substring of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br start-
+ S\bSu\bub\bbs\bst\btr\bri\bin\bng\bg E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn.\b. Expands to up to _\bl_\be_\bn_\bg_\bt_\bh characters of
+ _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br starting at the character specified by _\bo_\bf_\bf_\bs_\be_\bt. If
+ _\bl_\be_\bn_\bg_\bt_\bh is omitted, expands to the substring of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br start-
ing at the character specified by _\bo_\bf_\bf_\bs_\be_\bt. _\bl_\be_\bn_\bg_\bt_\bh and _\bo_\bf_\bf_\bs_\be_\bt are
- arithmetic expressions (see A\bAR\bRI\bIT\bTH\bHM\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN below).
- _\bl_\be_\bn_\bg_\bt_\bh must evaluate to a number greater than or equal to zero.
- If _\bo_\bf_\bf_\bs_\be_\bt evaluates to a number less than zero, the value is
- used as an offset from the end of the value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br. If
- _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is @\b@, the result is _\bl_\be_\bn_\bg_\bt_\bh positional parameters
+ arithmetic expressions (see A\bAR\bRI\bIT\bTH\bHM\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN below).
+ _\bl_\be_\bn_\bg_\bt_\bh must evaluate to a number greater than or equal to zero.
+ If _\bo_\bf_\bf_\bs_\be_\bt evaluates to a number less than zero, the value is
+ used as an offset from the end of the value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br. If
+ _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is @\b@, the result is _\bl_\be_\bn_\bg_\bt_\bh positional parameters
beginning at _\bo_\bf_\bf_\bs_\be_\bt. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is an array name indexed by @
- or *, the result is the _\bl_\be_\bn_\bg_\bt_\bh members of the array beginning
- with ${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br[_\bo_\bf_\bf_\bs_\be_\bt]}. A negative _\bo_\bf_\bf_\bs_\be_\bt is taken relative
- to one greater than the maximum index of the specified array.
- Note that a negative offset must be separated from the colon by
- at least one space to avoid being confused with the :- expan-
- sion. Substring indexing is zero-based unless the positional
+ or *, the result is the _\bl_\be_\bn_\bg_\bt_\bh members of the array beginning
+ with ${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br[_\bo_\bf_\bf_\bs_\be_\bt]}. A negative _\bo_\bf_\bf_\bs_\be_\bt is taken relative
+ to one greater than the maximum index of the specified array.
+ Note that a negative offset must be separated from the colon by
+ at least one space to avoid being confused with the :- expan-
+ sion. Substring indexing is zero-based unless the positional
parameters are used, in which case the indexing starts at 1.
${!\b!_\bp_\br_\be_\bf_\bi_\bx*\b*}
${!\b!_\bn_\ba_\bm_\be[_\b@]}
${!\b!_\bn_\ba_\bm_\be[_\b*]}
- If _\bn_\ba_\bm_\be is an array variable, expands to the list of array
- indices (keys) assigned in _\bn_\ba_\bm_\be. If _\bn_\ba_\bm_\be is not an array,
- expands to 0 if _\bn_\ba_\bm_\be is set and null otherwise. When _\b@ is used
+ If _\bn_\ba_\bm_\be is an array variable, expands to the list of array
+ indices (keys) assigned in _\bn_\ba_\bm_\be. If _\bn_\ba_\bm_\be is not an array,
+ expands to 0 if _\bn_\ba_\bm_\be is set and null otherwise. When _\b@ is used
and the expansion appears within double quotes, each key expands
to a separate word.
${#\b#_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br}
- The length in characters of the value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is substi-
- tuted. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is *\b* or @\b@, the value substituted is the
- number of positional parameters. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is an array name
- subscripted by *\b* or @\b@, the value substituted is the number of
+ The length in characters of the value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is substi-
+ tuted. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is *\b* or @\b@, the value substituted is the
+ number of positional parameters. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is an array name
+ subscripted by *\b* or @\b@, the value substituted is the number of
elements in the array.
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br#\b#_\bw_\bo_\br_\bd}
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br#\b##\b#_\bw_\bo_\br_\bd}
- The _\bw_\bo_\br_\bd is expanded to produce a pattern just as in pathname
+ The _\bw_\bo_\br_\bd is expanded to produce a pattern just as in pathname
expansion. If the pattern matches the beginning of the value of
- _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br, then the result of the expansion is the expanded
+ _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br, then the result of the expansion is the expanded
value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br with the shortest matching pattern (the ``#\b#''
case) or the longest matching pattern (the ``#\b##\b#'' case) deleted.
If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is @\b@ or *\b*, the pattern removal operation is applied
- to each positional parameter in turn, and the expansion is the
- resultant list. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is an array variable subscripted
- with @\b@ or *\b*, the pattern removal operation is applied to each
- member of the array in turn, and the expansion is the resultant
+ to each positional parameter in turn, and the expansion is the
+ resultant list. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is an array variable subscripted
+ with @\b@ or *\b*, the pattern removal operation is applied to each
+ member of the array in turn, and the expansion is the resultant
list.
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br%\b%_\bw_\bo_\br_\bd}
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br%\b%%\b%_\bw_\bo_\br_\bd}
- The _\bw_\bo_\br_\bd is expanded to produce a pattern just as in pathname
- expansion. If the pattern matches a trailing portion of the
+ The _\bw_\bo_\br_\bd is expanded to produce a pattern just as in pathname
+ expansion. If the pattern matches a trailing portion of the
expanded value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br, then the result of the expansion is
- the expanded value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br with the shortest matching pat-
- tern (the ``%\b%'' case) or the longest matching pattern (the
- ``%\b%%\b%'' case) deleted. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is @\b@ or *\b*, the pattern
- removal operation is applied to each positional parameter in
- turn, and the expansion is the resultant list. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is
- an array variable subscripted with @\b@ or *\b*, the pattern removal
- operation is applied to each member of the array in turn, and
+ the expanded value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br with the shortest matching pat-
+ tern (the ``%\b%'' case) or the longest matching pattern (the
+ ``%\b%%\b%'' case) deleted. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is @\b@ or *\b*, the pattern
+ removal operation is applied to each positional parameter in
+ turn, and the expansion is the resultant list. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is
+ an array variable subscripted with @\b@ or *\b*, the pattern removal
+ operation is applied to each member of the array in turn, and
the expansion is the resultant list.
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br/\b/_\bp_\ba_\bt_\bt_\be_\br_\bn/\b/_\bs_\bt_\br_\bi_\bn_\bg}
${_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br/\b//\b/_\bp_\ba_\bt_\bt_\be_\br_\bn/\b/_\bs_\bt_\br_\bi_\bn_\bg}
The _\bp_\ba_\bt_\bt_\be_\br_\bn is expanded to produce a pattern just as in pathname
- expansion. _\bP_\ba_\br_\ba_\bm_\be_\bt_\be_\br is expanded and the longest match of
- _\bp_\ba_\bt_\bt_\be_\br_\bn against its value is replaced with _\bs_\bt_\br_\bi_\bn_\bg. In the first
- form, only the first match is replaced. The second form causes
- all matches of _\bp_\ba_\bt_\bt_\be_\br_\bn to be replaced with _\bs_\bt_\br_\bi_\bn_\bg. If _\bp_\ba_\bt_\bt_\be_\br_\bn
- begins with #\b#, it must match at the beginning of the expanded
- value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br. If _\bp_\ba_\bt_\bt_\be_\br_\bn begins with %\b%, it must match at
- the end of the expanded value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br. If _\bs_\bt_\br_\bi_\bn_\bg is null,
- matches of _\bp_\ba_\bt_\bt_\be_\br_\bn are deleted and the /\b/ following _\bp_\ba_\bt_\bt_\be_\br_\bn may
- be omitted. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is @\b@ or *\b*, the substitution operation
- is applied to each positional parameter in turn, and the expan-
- sion is the resultant list. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is an array variable
- subscripted with @\b@ or *\b*, the substitution operation is applied
- to each member of the array in turn, and the expansion is the
+ expansion. _\bP_\ba_\br_\ba_\bm_\be_\bt_\be_\br is expanded and the longest match of _\bp_\ba_\bt_\b-
+ _\bt_\be_\br_\bn against its value is replaced with _\bs_\bt_\br_\bi_\bn_\bg. In the first
+ form, only the first match is replaced. The second form causes
+ all matches of _\bp_\ba_\bt_\bt_\be_\br_\bn to be replaced with _\bs_\bt_\br_\bi_\bn_\bg. If _\bp_\ba_\bt_\bt_\be_\br_\bn
+ begins with #\b#, it must match at the beginning of the expanded
+ value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br. If _\bp_\ba_\bt_\bt_\be_\br_\bn begins with %\b%, it must match at
+ the end of the expanded value of _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br. If _\bs_\bt_\br_\bi_\bn_\bg is null,
+ matches of _\bp_\ba_\bt_\bt_\be_\br_\bn are deleted and the /\b/ following _\bp_\ba_\bt_\bt_\be_\br_\bn may
+ be omitted. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is @\b@ or *\b*, the substitution operation
+ is applied to each positional parameter in turn, and the expan-
+ sion is the resultant list. If _\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br is an array variable
+ subscripted with @\b@ or *\b*, the substitution operation is applied
+ to each member of the array in turn, and the expansion is the
resultant list.
C\bCo\bom\bmm\bma\ban\bnd\bd S\bSu\bub\bbs\bst\bti\bit\btu\but\bti\bio\bon\bn
`\b`_\bc_\bo_\bm_\bm_\ba_\bn_\bd`\b`
B\bBa\bas\bsh\bh performs the expansion by executing _\bc_\bo_\bm_\bm_\ba_\bn_\bd and replacing the com-
- mand substitution with the standard output of the command, with any
+ mand substitution with the standard output of the command, with any
trailing newlines deleted. Embedded newlines are not deleted, but they
- may be removed during word splitting. The command substitution $\b$(\b(c\bca\bat\bt
+ may be removed during word splitting. The command substitution $\b$(\b(c\bca\bat\bt
_\bf_\bi_\bl_\be)\b) can be replaced by the equivalent but faster $\b$(\b(<\b< _\bf_\bi_\bl_\be)\b).
- When the old-style backquote form of substitution is used, backslash
- retains its literal meaning except when followed by $\b$, `\b`, or \\b\. The
+ When the old-style backquote form of substitution is used, backslash
+ retains its literal meaning except when followed by $\b$, `\b`, or \\b\. The
first backquote not preceded by a backslash terminates the command sub-
- stitution. When using the $(_\bc_\bo_\bm_\bm_\ba_\bn_\bd) form, all characters between the
+ stitution. When using the $(_\bc_\bo_\bm_\bm_\ba_\bn_\bd) form, all characters between the
parentheses make up the command; none are treated specially.
Command substitutions may be nested. To nest when using the backquoted
form, escape the inner backquotes with backslashes.
- If the substitution appears within double quotes, word splitting and
+ If the substitution appears within double quotes, word splitting and
pathname expansion are not performed on the results.
A\bAr\bri\bit\bth\bhm\bme\bet\bti\bic\bc E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
- Arithmetic expansion allows the evaluation of an arithmetic expression
- and the substitution of the result. The format for arithmetic expan-
+ Arithmetic expansion allows the evaluation of an arithmetic expression
+ and the substitution of the result. The format for arithmetic expan-
sion is:
$\b$(\b((\b(_\be_\bx_\bp_\br_\be_\bs_\bs_\bi_\bo_\bn)\b))\b)
- The _\be_\bx_\bp_\br_\be_\bs_\bs_\bi_\bo_\bn is treated as if it were within double quotes, but a
- double quote inside the parentheses is not treated specially. All
+ The _\be_\bx_\bp_\br_\be_\bs_\bs_\bi_\bo_\bn is treated as if it were within double quotes, but a
+ double quote inside the parentheses is not treated specially. All
tokens in the expression undergo parameter expansion, string expansion,
- command substitution, and quote removal. Arithmetic expansions may be
+ command substitution, and quote removal. Arithmetic expansions may be
nested.
- The evaluation is performed according to the rules listed below under
+ The evaluation is performed according to the rules listed below under
A\bAR\bRI\bIT\bTH\bHM\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN. If _\be_\bx_\bp_\br_\be_\bs_\bs_\bi_\bo_\bn is invalid, b\bba\bas\bsh\bh prints a message
indicating failure and no substitution occurs.
P\bPr\bro\boc\bce\bes\bss\bs S\bSu\bub\bbs\bst\bti\bit\btu\but\bti\bio\bon\bn
- _\bP_\br_\bo_\bc_\be_\bs_\bs _\bs_\bu_\bb_\bs_\bt_\bi_\bt_\bu_\bt_\bi_\bo_\bn is supported on systems that support named pipes
- (_\bF_\bI_\bF_\bO_\bs) or the /\b/d\bde\bev\bv/\b/f\bfd\bd method of naming open files. It takes the form
- of <\b<(\b(_\bl_\bi_\bs_\bt)\b) or >\b>(\b(_\bl_\bi_\bs_\bt)\b). The process _\bl_\bi_\bs_\bt is run with its input or out-
+ _\bP_\br_\bo_\bc_\be_\bs_\bs _\bs_\bu_\bb_\bs_\bt_\bi_\bt_\bu_\bt_\bi_\bo_\bn is supported on systems that support named pipes
+ (_\bF_\bI_\bF_\bO_\bs) or the /\b/d\bde\bev\bv/\b/f\bfd\bd method of naming open files. It takes the form
+ of <\b<(\b(_\bl_\bi_\bs_\bt)\b) or >\b>(\b(_\bl_\bi_\bs_\bt)\b). The process _\bl_\bi_\bs_\bt is run with its input or out-
put connected to a _\bF_\bI_\bF_\bO or some file in /\b/d\bde\bev\bv/\b/f\bfd\bd. The name of this file
- is passed as an argument to the current command as the result of the
- expansion. If the >\b>(\b(_\bl_\bi_\bs_\bt)\b) form is used, writing to the file will pro-
- vide input for _\bl_\bi_\bs_\bt. If the <\b<(\b(_\bl_\bi_\bs_\bt)\b) form is used, the file passed as
+ is passed as an argument to the current command as the result of the
+ expansion. If the >\b>(\b(_\bl_\bi_\bs_\bt)\b) form is used, writing to the file will pro-
+ vide input for _\bl_\bi_\bs_\bt. If the <\b<(\b(_\bl_\bi_\bs_\bt)\b) form is used, the file passed as
an argument should be read to obtain the output of _\bl_\bi_\bs_\bt.
- When available, process substitution is performed simultaneously with
- parameter and variable expansion, command substitution, and arithmetic
+ When available, process substitution is performed simultaneously with
+ parameter and variable expansion, command substitution, and arithmetic
expansion.
W\bWo\bor\brd\bd S\bSp\bpl\bli\bit\btt\bti\bin\bng\bg
- The shell scans the results of parameter expansion, command substitu-
- tion, and arithmetic expansion that did not occur within double quotes
+ The shell scans the results of parameter expansion, command substitu-
+ tion, and arithmetic expansion that did not occur within double quotes
for _\bw_\bo_\br_\bd _\bs_\bp_\bl_\bi_\bt_\bt_\bi_\bn_\bg.
- The shell treats each character of I\bIF\bFS\bS as a delimiter, and splits the
+ The shell treats each character of I\bIF\bFS\bS as a delimiter, and splits the
results of the other expansions into words on these characters. If I\bIF\bFS\bS
- is unset, or its value is exactly <\b<s\bsp\bpa\bac\bce\be>\b><\b<t\bta\bab\bb>\b><\b<n\bne\bew\bwl\bli\bin\bne\be>\b>, the default,
- then any sequence of I\bIF\bFS\bS characters serves to delimit words. If I\bIF\bFS\bS
- has a value other than the default, then sequences of the whitespace
- characters s\bsp\bpa\bac\bce\be and t\bta\bab\bb are ignored at the beginning and end of the
- word, as long as the whitespace character is in the value of I\bIF\bFS\bS (an
- I\bIF\bFS\bS whitespace character). Any character in I\bIF\bFS\bS that is not I\bIF\bFS\bS
+ is unset, or its value is exactly <\b<s\bsp\bpa\bac\bce\be>\b><\b<t\bta\bab\bb>\b><\b<n\bne\bew\bwl\bli\bin\bne\be>\b>, the default,
+ then any sequence of I\bIF\bFS\bS characters serves to delimit words. If I\bIF\bFS\bS
+ has a value other than the default, then sequences of the whitespace
+ characters s\bsp\bpa\bac\bce\be and t\bta\bab\bb are ignored at the beginning and end of the
+ word, as long as the whitespace character is in the value of I\bIF\bFS\bS (an
+ I\bIF\bFS\bS whitespace character). Any character in I\bIF\bFS\bS that is not I\bIF\bFS\bS
whitespace, along with any adjacent I\bIF\bFS\bS whitespace characters, delimits
- a field. A sequence of I\bIF\bFS\bS whitespace characters is also treated as a
+ a field. A sequence of I\bIF\bFS\bS whitespace characters is also treated as a
delimiter. If the value of I\bIF\bFS\bS is null, no word splitting occurs.
- Explicit null arguments ("\b""\b" or '\b''\b') are retained. Unquoted implicit
+ Explicit null arguments ("\b""\b" or '\b''\b') are retained. Unquoted implicit
null arguments, resulting from the expansion of parameters that have no
- values, are removed. If a parameter with no value is expanded within
+ values, are removed. If a parameter with no value is expanded within
double quotes, a null argument results and is retained.
Note that if no expansion occurs, no splitting is performed.
P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
- After word splitting, unless the -\b-f\bf option has been set, b\bba\bas\bsh\bh scans
- each word for the characters *\b*, ?\b?, and [\b[. If one of these characters
- appears, then the word is regarded as a _\bp_\ba_\bt_\bt_\be_\br_\bn, and replaced with an
- alphabetically sorted list of file names matching the pattern. If no
- matching file names are found, and the shell option n\bnu\bul\bll\blg\bgl\blo\bob\bb is dis-
- abled, the word is left unchanged. If the n\bnu\bul\bll\blg\bgl\blo\bob\bb option is set, and
- no matches are found, the word is removed. If the f\bfa\bai\bil\blg\bgl\blo\bob\bb shell
- option is set, and no matches are found, an error message is printed
- and the command is not executed. If the shell option n\bno\boc\bca\bas\bse\beg\bgl\blo\bob\bb is
- enabled, the match is performed without regard to the case of alpha-
- betic characters. When a pattern is used for pathname expansion, the
- character `\b``\b`.\b.'\b''\b' at the start of a name or immediately following a
- slash must be matched explicitly, unless the shell option d\bdo\bot\btg\bgl\blo\bob\bb is
- set. When matching a pathname, the slash character must always be
- matched explicitly. In other cases, the `\b``\b`.\b.'\b''\b' character is not
- treated specially. See the description of s\bsh\bho\bop\bpt\bt below under S\bSH\bHE\bEL\bLL\bL
- B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS for a description of the n\bno\boc\bca\bas\bse\beg\bgl\blo\bob\bb, n\bnu\bul\bll\blg\bgl\blo\bob\bb, f\bfa\bai\bil\bl-\b-
+ After word splitting, unless the -\b-f\bf option has been set, b\bba\bas\bsh\bh scans
+ each word for the characters *\b*, ?\b?, and [\b[. If one of these characters
+ appears, then the word is regarded as a _\bp_\ba_\bt_\bt_\be_\br_\bn, and replaced with an
+ alphabetically sorted list of file names matching the pattern. If no
+ matching file names are found, and the shell option n\bnu\bul\bll\blg\bgl\blo\bob\bb is dis-
+ abled, the word is left unchanged. If the n\bnu\bul\bll\blg\bgl\blo\bob\bb option is set, and
+ no matches are found, the word is removed. If the f\bfa\bai\bil\blg\bgl\blo\bob\bb shell
+ option is set, and no matches are found, an error message is printed
+ and the command is not executed. If the shell option n\bno\boc\bca\bas\bse\beg\bgl\blo\bob\bb is
+ enabled, the match is performed without regard to the case of alpha-
+ betic characters. When a pattern is used for pathname expansion, the
+ character `\b``\b`.\b.'\b''\b' at the start of a name or immediately following a
+ slash must be matched explicitly, unless the shell option d\bdo\bot\btg\bgl\blo\bob\bb is
+ set. When matching a pathname, the slash character must always be
+ matched explicitly. In other cases, the `\b``\b`.\b.'\b''\b' character is not
+ treated specially. See the description of s\bsh\bho\bop\bpt\bt below under S\bSH\bHE\bEL\bLL\bL
+ B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS for a description of the n\bno\boc\bca\bas\bse\beg\bgl\blo\bob\bb, n\bnu\bul\bll\blg\bgl\blo\bob\bb, f\bfa\bai\bil\bl-\b-
g\bgl\blo\bob\bb, and d\bdo\bot\btg\bgl\blo\bob\bb shell options.
- The G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE shell variable may be used to restrict the set of file
- names matching a _\bp_\ba_\bt_\bt_\be_\br_\bn. If G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE is set, each matching file
- name that also matches one of the patterns in G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE is removed
+ The G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE shell variable may be used to restrict the set of file
+ names matching a _\bp_\ba_\bt_\bt_\be_\br_\bn. If G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE is set, each matching file
+ name that also matches one of the patterns in G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE is removed
from the list of matches. The file names `\b``\b`.\b.'\b''\b' and `\b``\b`.\b..\b.'\b''\b' are always
- ignored when G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE is set and not null. However, setting G\bGL\bLO\bOB\bBI\bIG\bG-\b-
- N\bNO\bOR\bRE\bE to a non-null value has the effect of enabling the d\bdo\bot\btg\bgl\blo\bob\bb shell
+ ignored when G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE is set and not null. However, setting G\bGL\bLO\bOB\bBI\bIG\bG-\b-
+ N\bNO\bOR\bRE\bE to a non-null value has the effect of enabling the d\bdo\bot\btg\bgl\blo\bob\bb shell
option, so all other file names beginning with a `\b``\b`.\b.'\b''\b' will match. To
- get the old behavior of ignoring file names beginning with a `\b``\b`.\b.'\b''\b',
- make `\b``\b`.\b.*\b*'\b''\b' one of the patterns in G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE. The d\bdo\bot\btg\bgl\blo\bob\bb option is
+ get the old behavior of ignoring file names beginning with a `\b``\b`.\b.'\b''\b',
+ make `\b``\b`.\b.*\b*'\b''\b' one of the patterns in G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE. The d\bdo\bot\btg\bgl\blo\bob\bb option is
disabled when G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE is unset.
P\bPa\bat\btt\bte\ber\brn\bn M\bMa\bat\btc\bch\bhi\bin\bng\bg
Any character that appears in a pattern, other than the special pattern
- characters described below, matches itself. The NUL character may not
- occur in a pattern. A backslash escapes the following character; the
- escaping backslash is discarded when matching. The special pattern
+ characters described below, matches itself. The NUL character may not
+ occur in a pattern. A backslash escapes the following character; the
+ escaping backslash is discarded when matching. The special pattern
characters must be quoted if they are to be matched literally.
The special pattern characters have the following meanings:
*\b* Matches any string, including the null string.
?\b? Matches any single character.
- [\b[.\b..\b..\b.]\b] Matches any one of the enclosed characters. A pair of charac-
+ [\b[.\b..\b..\b.]\b] Matches any one of the enclosed characters. A pair of charac-
ters separated by a hyphen denotes a _\br_\ba_\bn_\bg_\be _\be_\bx_\bp_\br_\be_\bs_\bs_\bi_\bo_\bn; any char-
- acter that sorts between those two characters, inclusive, using
- the current locale's collating sequence and character set, is
- matched. If the first character following the [\b[ is a !\b! or a ^\b^
- then any character not enclosed is matched. The sorting order
- of characters in range expressions is determined by the current
- locale and the value of the L\bLC\bC_\b_C\bCO\bOL\bLL\bLA\bAT\bTE\bE shell variable, if set.
- A -\b- may be matched by including it as the first or last charac-
+ acter that sorts between those two characters, inclusive, using
+ the current locale's collating sequence and character set, is
+ matched. If the first character following the [\b[ is a !\b! or a ^\b^
+ then any character not enclosed is matched. The sorting order
+ of characters in range expressions is determined by the current
+ locale and the value of the L\bLC\bC_\b_C\bCO\bOL\bLL\bLA\bAT\bTE\bE shell variable, if set.
+ A -\b- may be matched by including it as the first or last charac-
ter in the set. A ]\b] may be matched by including it as the first
character in the set.
- Within [\b[ and ]\b], _\bc_\bh_\ba_\br_\ba_\bc_\bt_\be_\br _\bc_\bl_\ba_\bs_\bs_\be_\bs can be specified using the
- syntax [\b[:\b:_\bc_\bl_\ba_\bs_\bs:\b:]\b], where _\bc_\bl_\ba_\bs_\bs is one of the following classes
+ Within [\b[ and ]\b], _\bc_\bh_\ba_\br_\ba_\bc_\bt_\be_\br _\bc_\bl_\ba_\bs_\bs_\be_\bs can be specified using the
+ syntax [\b[:\b:_\bc_\bl_\ba_\bs_\bs:\b:]\b], where _\bc_\bl_\ba_\bs_\bs is one of the following classes
defined in the POSIX.2 standard:
- a\bal\bln\bnu\bum\bm a\bal\blp\bph\bha\ba a\bas\bsc\bci\bii\bi b\bbl\bla\ban\bnk\bk c\bcn\bnt\btr\brl\bl d\bdi\big\bgi\bit\bt g\bgr\bra\bap\bph\bh l\blo\bow\bwe\ber\br p\bpr\bri\bin\bnt\bt p\bpu\bun\bnc\bct\bt
+ a\bal\bln\bnu\bum\bm a\bal\blp\bph\bha\ba a\bas\bsc\bci\bii\bi b\bbl\bla\ban\bnk\bk c\bcn\bnt\btr\brl\bl d\bdi\big\bgi\bit\bt g\bgr\bra\bap\bph\bh l\blo\bow\bwe\ber\br p\bpr\bri\bin\bnt\bt p\bpu\bun\bnc\bct\bt
s\bsp\bpa\bac\bce\be u\bup\bpp\bpe\ber\br w\bwo\bor\brd\bd x\bxd\bdi\big\bgi\bit\bt
A character class matches any character belonging to that class.
- The w\bwo\bor\brd\bd character class matches letters, digits, and the char-
+ The w\bwo\bor\brd\bd character class matches letters, digits, and the char-
acter _.
- Within [\b[ and ]\b], an _\be_\bq_\bu_\bi_\bv_\ba_\bl_\be_\bn_\bc_\be _\bc_\bl_\ba_\bs_\bs can be specified using the
- syntax [\b[=\b=_\bc=\b=]\b], which matches all characters with the same colla-
- tion weight (as defined by the current locale) as the character
+ Within [\b[ and ]\b], an _\be_\bq_\bu_\bi_\bv_\ba_\bl_\be_\bn_\bc_\be _\bc_\bl_\ba_\bs_\bs can be specified using the
+ syntax [\b[=\b=_\bc=\b=]\b], which matches all characters with the same colla-
+ tion weight (as defined by the current locale) as the character
_\bc.
Within [\b[ and ]\b], the syntax [\b[.\b._\bs_\by_\bm_\bb_\bo_\bl.\b.]\b] matches the collating sym-
bol _\bs_\by_\bm_\bb_\bo_\bl.
If the e\bex\bxt\btg\bgl\blo\bob\bb shell option is enabled using the s\bsh\bho\bop\bpt\bt builtin, several
- extended pattern matching operators are recognized. In the following
+ extended pattern matching operators are recognized. In the following
description, a _\bp_\ba_\bt_\bt_\be_\br_\bn_\b-_\bl_\bi_\bs_\bt is a list of one or more patterns separated
by a |\b|. Composite patterns may be formed using one or more of the fol-
lowing sub-patterns:
Q\bQu\buo\bot\bte\be R\bRe\bem\bmo\bov\bva\bal\bl
After the preceding expansions, all unquoted occurrences of the charac-
- ters \\b\, '\b', and "\b" that did not result from one of the above expansions
+ ters \\b\, '\b', and "\b" that did not result from one of the above expansions
are removed.
R\bRE\bED\bDI\bIR\bRE\bEC\bCT\bTI\bIO\bON\bN
- Before a command is executed, its input and output may be _\br_\be_\bd_\bi_\br_\be_\bc_\bt_\be_\bd
- using a special notation interpreted by the shell. Redirection may
- also be used to open and close files for the current shell execution
+ Before a command is executed, its input and output may be _\br_\be_\bd_\bi_\br_\be_\bc_\bt_\be_\bd
+ using a special notation interpreted by the shell. Redirection may
+ also be used to open and close files for the current shell execution
environment. The following redirection operators may precede or appear
anywhere within a _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd or may follow a _\bc_\bo_\bm_\bm_\ba_\bn_\bd. Redirections
are processed in the order they appear, from left to right.
- In the following descriptions, if the file descriptor number is omit-
- ted, and the first character of the redirection operator is <\b<, the
- redirection refers to the standard input (file descriptor 0). If the
- first character of the redirection operator is >\b>, the redirection
+ In the following descriptions, if the file descriptor number is omit-
+ ted, and the first character of the redirection operator is <\b<, the
+ redirection refers to the standard input (file descriptor 0). If the
+ first character of the redirection operator is >\b>, the redirection
refers to the standard output (file descriptor 1).
- The word following the redirection operator in the following descrip-
- tions, unless otherwise noted, is subjected to brace expansion, tilde
+ The word following the redirection operator in the following descrip-
+ tions, unless otherwise noted, is subjected to brace expansion, tilde
expansion, parameter expansion, command substitution, arithmetic expan-
- sion, quote removal, pathname expansion, and word splitting. If it
+ sion, quote removal, pathname expansion, and word splitting. If it
expands to more than one word, b\bba\bas\bsh\bh reports an error.
- Note that the order of redirections is significant. For example, the
+ Note that the order of redirections is significant. For example, the
command
ls >\b> dirlist 2>\b>&\b&1
- directs both standard output and standard error to the file _\bd_\bi_\br_\bl_\bi_\bs_\bt,
+ directs both standard output and standard error to the file _\bd_\bi_\br_\bl_\bi_\bs_\bt,
while the command
ls 2>\b>&\b&1 >\b> dirlist
- directs only the standard output to file _\bd_\bi_\br_\bl_\bi_\bs_\bt, because the standard
- error was duplicated as standard output before the standard output was
+ directs only the standard output to file _\bd_\bi_\br_\bl_\bi_\bs_\bt, because the standard
+ error was duplicated as standard output before the standard output was
redirected to _\bd_\bi_\br_\bl_\bi_\bs_\bt.
B\bBa\bas\bsh\bh handles several filenames specially when they are used in redirec-
tions, as described in the following table:
/\b/d\bde\bev\bv/\b/f\bfd\bd/\b/_\bf_\bd
- If _\bf_\bd is a valid integer, file descriptor _\bf_\bd is dupli-
+ If _\bf_\bd is a valid integer, file descriptor _\bf_\bd is dupli-
cated.
/\b/d\bde\bev\bv/\b/s\bst\btd\bdi\bin\bn
File descriptor 0 is duplicated.
File descriptor 2 is duplicated.
/\b/d\bde\bev\bv/\b/t\btc\bcp\bp/\b/_\bh_\bo_\bs_\bt/\b/_\bp_\bo_\br_\bt
If _\bh_\bo_\bs_\bt is a valid hostname or Internet address, and _\bp_\bo_\br_\bt
- is an integer port number or service name, b\bba\bas\bsh\bh attempts
+ is an integer port number or service name, b\bba\bas\bsh\bh attempts
to open a TCP connection to the corresponding socket.
/\b/d\bde\bev\bv/\b/u\bud\bdp\bp/\b/_\bh_\bo_\bs_\bt/\b/_\bp_\bo_\br_\bt
If _\bh_\bo_\bs_\bt is a valid hostname or Internet address, and _\bp_\bo_\br_\bt
- is an integer port number or service name, b\bba\bas\bsh\bh attempts
+ is an integer port number or service name, b\bba\bas\bsh\bh attempts
to open a UDP connection to the corresponding socket.
A failure to open or create a file causes the redirection to fail.
- Redirections using file descriptors greater than 9 should be used with
- care, as they may conflict with file descriptors the shell uses inter-
+ Redirections using file descriptors greater than 9 should be used with
+ care, as they may conflict with file descriptors the shell uses inter-
nally.
R\bRe\bed\bdi\bir\bre\bec\bct\bti\bin\bng\bg I\bIn\bnp\bpu\but\bt
Redirection of input causes the file whose name results from the expan-
- sion of _\bw_\bo_\br_\bd to be opened for reading on file descriptor _\bn, or the
+ sion of _\bw_\bo_\br_\bd to be opened for reading on file descriptor _\bn, or the
standard input (file descriptor 0) if _\bn is not specified.
The general format for redirecting input is:
[_\bn]<\b<_\bw_\bo_\br_\bd
R\bRe\bed\bdi\bir\bre\bec\bct\bti\bin\bng\bg O\bOu\but\btp\bpu\but\bt
- Redirection of output causes the file whose name results from the
+ Redirection of output causes the file whose name results from the
expansion of _\bw_\bo_\br_\bd to be opened for writing on file descriptor _\bn, or the
standard output (file descriptor 1) if _\bn is not specified. If the file
- does not exist it is created; if it does exist it is truncated to zero
+ does not exist it is created; if it does exist it is truncated to zero
size.
The general format for redirecting output is:
[_\bn]>\b>_\bw_\bo_\br_\bd
- If the redirection operator is >\b>, and the n\bno\boc\bcl\blo\bob\bbb\bbe\ber\br option to the s\bse\bet\bt
- builtin has been enabled, the redirection will fail if the file whose
- name results from the expansion of _\bw_\bo_\br_\bd exists and is a regular file.
+ If the redirection operator is >\b>, and the n\bno\boc\bcl\blo\bob\bbb\bbe\ber\br option to the s\bse\bet\bt
+ builtin has been enabled, the redirection will fail if the file whose
+ name results from the expansion of _\bw_\bo_\br_\bd exists and is a regular file.
If the redirection operator is >\b>|\b|, or the redirection operator is >\b> and
- the n\bno\boc\bcl\blo\bob\bbb\bbe\ber\br option to the s\bse\bet\bt builtin command is not enabled, the
+ the n\bno\boc\bcl\blo\bob\bbb\bbe\ber\br option to the s\bse\bet\bt builtin command is not enabled, the
redirection is attempted even if the file named by _\bw_\bo_\br_\bd exists.
A\bAp\bpp\bpe\ben\bnd\bdi\bin\bng\bg R\bRe\bed\bdi\bir\bre\bec\bct\bte\bed\bd O\bOu\but\btp\bpu\but\bt
- Redirection of output in this fashion causes the file whose name
- results from the expansion of _\bw_\bo_\br_\bd to be opened for appending on file
- descriptor _\bn, or the standard output (file descriptor 1) if _\bn is not
+ Redirection of output in this fashion causes the file whose name
+ results from the expansion of _\bw_\bo_\br_\bd to be opened for appending on file
+ descriptor _\bn, or the standard output (file descriptor 1) if _\bn is not
specified. If the file does not exist it is created.
The general format for appending output is:
R\bRe\bed\bdi\bir\bre\bec\bct\bti\bin\bng\bg S\bSt\bta\ban\bnd\bda\bar\brd\bd O\bOu\but\btp\bpu\but\bt a\ban\bnd\bd S\bSt\bta\ban\bnd\bda\bar\brd\bd E\bEr\brr\bro\bor\br
- B\bBa\bas\bsh\bh allows both the standard output (file descriptor 1) and the stan-
- dard error output (file descriptor 2) to be redirected to the file
+ B\bBa\bas\bsh\bh allows both the standard output (file descriptor 1) and the stan-
+ dard error output (file descriptor 2) to be redirected to the file
whose name is the expansion of _\bw_\bo_\br_\bd with this construct.
- There are two formats for redirecting standard output and standard
+ There are two formats for redirecting standard output and standard
error:
&\b&>\b>_\bw_\bo_\br_\bd
>\b>_\bw_\bo_\br_\bd 2>\b>&\b&1
H\bHe\ber\bre\be D\bDo\boc\bcu\bum\bme\ben\bnt\bts\bs
- This type of redirection instructs the shell to read input from the
- current source until a line containing only _\bw_\bo_\br_\bd (with no trailing
- blanks) is seen. All of the lines read up to that point are then used
+ This type of redirection instructs the shell to read input from the
+ current source until a line containing only _\bw_\bo_\br_\bd (with no trailing
+ blanks) is seen. All of the lines read up to that point are then used
as the standard input for a command.
The format of here-documents is:
_\bh_\be_\br_\be_\b-_\bd_\bo_\bc_\bu_\bm_\be_\bn_\bt
_\bd_\be_\bl_\bi_\bm_\bi_\bt_\be_\br
- No parameter expansion, command substitution, arithmetic expansion, or
+ No parameter expansion, command substitution, arithmetic expansion, or
pathname expansion is performed on _\bw_\bo_\br_\bd. If any characters in _\bw_\bo_\br_\bd are
- quoted, the _\bd_\be_\bl_\bi_\bm_\bi_\bt_\be_\br is the result of quote removal on _\bw_\bo_\br_\bd, and the
- lines in the here-document are not expanded. If _\bw_\bo_\br_\bd is unquoted, all
- lines of the here-document are subjected to parameter expansion, com-
- mand substitution, and arithmetic expansion. In the latter case, the
- character sequence \\b\<\b<n\bne\bew\bwl\bli\bin\bne\be>\b> is ignored, and \\b\ must be used to quote
+ quoted, the _\bd_\be_\bl_\bi_\bm_\bi_\bt_\be_\br is the result of quote removal on _\bw_\bo_\br_\bd, and the
+ lines in the here-document are not expanded. If _\bw_\bo_\br_\bd is unquoted, all
+ lines of the here-document are subjected to parameter expansion, com-
+ mand substitution, and arithmetic expansion. In the latter case, the
+ character sequence \\b\<\b<n\bne\bew\bwl\bli\bin\bne\be>\b> is ignored, and \\b\ must be used to quote
the characters \\b\, $\b$, and `\b`.
If the redirection operator is <\b<<\b<-\b-, then all leading tab characters are
- stripped from input lines and the line containing _\bd_\be_\bl_\bi_\bm_\bi_\bt_\be_\br. This
- allows here-documents within shell scripts to be indented in a natural
+ stripped from input lines and the line containing _\bd_\be_\bl_\bi_\bm_\bi_\bt_\be_\br. This
+ allows here-documents within shell scripts to be indented in a natural
fashion.
H\bHe\ber\bre\be S\bSt\btr\bri\bin\bng\bgs\bs
[_\bn]<\b<&\b&_\bw_\bo_\br_\bd
is used to duplicate input file descriptors. If _\bw_\bo_\br_\bd expands to one or
- more digits, the file descriptor denoted by _\bn is made to be a copy of
- that file descriptor. If the digits in _\bw_\bo_\br_\bd do not specify a file
- descriptor open for input, a redirection error occurs. If _\bw_\bo_\br_\bd evalu-
- ates to -\b-, file descriptor _\bn is closed. If _\bn is not specified, the
+ more digits, the file descriptor denoted by _\bn is made to be a copy of
+ that file descriptor. If the digits in _\bw_\bo_\br_\bd do not specify a file
+ descriptor open for input, a redirection error occurs. If _\bw_\bo_\br_\bd evalu-
+ ates to -\b-, file descriptor _\bn is closed. If _\bn is not specified, the
standard input (file descriptor 0) is used.
The operator
[_\bn]>\b>&\b&_\bw_\bo_\br_\bd
- is used similarly to duplicate output file descriptors. If _\bn is not
- specified, the standard output (file descriptor 1) is used. If the
- digits in _\bw_\bo_\br_\bd do not specify a file descriptor open for output, a
+ is used similarly to duplicate output file descriptors. If _\bn is not
+ specified, the standard output (file descriptor 1) is used. If the
+ digits in _\bw_\bo_\br_\bd do not specify a file descriptor open for output, a
redirection error occurs. As a special case, if _\bn is omitted, and _\bw_\bo_\br_\bd
does not expand to one or more digits, the standard output and standard
error are redirected as described previously.
[_\bn]<\b<&\b&_\bd_\bi_\bg_\bi_\bt-\b-
- moves the file descriptor _\bd_\bi_\bg_\bi_\bt to file descriptor _\bn, or the standard
+ moves the file descriptor _\bd_\bi_\bg_\bi_\bt to file descriptor _\bn, or the standard
input (file descriptor 0) if _\bn is not specified. _\bd_\bi_\bg_\bi_\bt is closed after
being duplicated to _\bn.
[_\bn]>\b>&\b&_\bd_\bi_\bg_\bi_\bt-\b-
- moves the file descriptor _\bd_\bi_\bg_\bi_\bt to file descriptor _\bn, or the standard
+ moves the file descriptor _\bd_\bi_\bg_\bi_\bt to file descriptor _\bn, or the standard
output (file descriptor 1) if _\bn is not specified.
O\bOp\bpe\ben\bni\bin\bng\bg F\bFi\bil\ble\be D\bDe\bes\bsc\bcr\bri\bip\bpt\bto\bor\brs\bs f\bfo\bor\br R\bRe\bea\bad\bdi\bin\bng\bg a\ban\bnd\bd W\bWr\bri\bit\bti\bin\bng\bg
[_\bn]<\b<>\b>_\bw_\bo_\br_\bd
- causes the file whose name is the expansion of _\bw_\bo_\br_\bd to be opened for
- both reading and writing on file descriptor _\bn, or on file descriptor 0
+ causes the file whose name is the expansion of _\bw_\bo_\br_\bd to be opened for
+ both reading and writing on file descriptor _\bn, or on file descriptor 0
if _\bn is not specified. If the file does not exist, it is created.
A\bAL\bLI\bIA\bAS\bSE\bES\bS
- _\bA_\bl_\bi_\ba_\bs_\be_\bs allow a string to be substituted for a word when it is used as
- the first word of a simple command. The shell maintains a list of
- aliases that may be set and unset with the a\bal\bli\bia\bas\bs and u\bun\bna\bal\bli\bia\bas\bs builtin
- commands (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below). The first word of each
- simple command, if unquoted, is checked to see if it has an alias. If
- so, that word is replaced by the text of the alias. The characters /\b/,
- $\b$, `\b`, and =\b= and any of the shell _\bm_\be_\bt_\ba_\bc_\bh_\ba_\br_\ba_\bc_\bt_\be_\br_\bs or quoting characters
+ _\bA_\bl_\bi_\ba_\bs_\be_\bs allow a string to be substituted for a word when it is used as
+ the first word of a simple command. The shell maintains a list of
+ aliases that may be set and unset with the a\bal\bli\bia\bas\bs and u\bun\bna\bal\bli\bia\bas\bs builtin
+ commands (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below). The first word of each
+ simple command, if unquoted, is checked to see if it has an alias. If
+ so, that word is replaced by the text of the alias. The characters /\b/,
+ $\b$, `\b`, and =\b= and any of the shell _\bm_\be_\bt_\ba_\bc_\bh_\ba_\br_\ba_\bc_\bt_\be_\br_\bs or quoting characters
listed above may not appear in an alias name. The replacement text may
- contain any valid shell input, including shell metacharacters. The
- first word of the replacement text is tested for aliases, but a word
- that is identical to an alias being expanded is not expanded a second
- time. This means that one may alias l\bls\bs to l\bls\bs -\b-F\bF, for instance, and
- b\bba\bas\bsh\bh does not try to recursively expand the replacement text. If the
- last character of the alias value is a _\bb_\bl_\ba_\bn_\bk, then the next command
+ contain any valid shell input, including shell metacharacters. The
+ first word of the replacement text is tested for aliases, but a word
+ that is identical to an alias being expanded is not expanded a second
+ time. This means that one may alias l\bls\bs to l\bls\bs -\b-F\bF, for instance, and
+ b\bba\bas\bsh\bh does not try to recursively expand the replacement text. If the
+ last character of the alias value is a _\bb_\bl_\ba_\bn_\bk, then the next command
word following the alias is also checked for alias expansion.
Aliases are created and listed with the a\bal\bli\bia\bas\bs command, and removed with
the u\bun\bna\bal\bli\bia\bas\bs command.
- There is no mechanism for using arguments in the replacement text. If
- arguments are needed, a shell function should be used (see F\bFU\bUN\bNC\bCT\bTI\bIO\bON\bNS\bS
+ There is no mechanism for using arguments in the replacement text. If
+ arguments are needed, a shell function should be used (see F\bFU\bUN\bNC\bCT\bTI\bIO\bON\bNS\bS
below).
- Aliases are not expanded when the shell is not interactive, unless the
- e\bex\bxp\bpa\ban\bnd\bd_\b_a\bal\bli\bia\bas\bse\bes\bs shell option is set using s\bsh\bho\bop\bpt\bt (see the description of
+ Aliases are not expanded when the shell is not interactive, unless the
+ e\bex\bxp\bpa\ban\bnd\bd_\b_a\bal\bli\bia\bas\bse\bes\bs shell option is set using s\bsh\bho\bop\bpt\bt (see the description of
s\bsh\bho\bop\bpt\bt under S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below).
- The rules concerning the definition and use of aliases are somewhat
- confusing. B\bBa\bas\bsh\bh always reads at least one complete line of input
- before executing any of the commands on that line. Aliases are
- expanded when a command is read, not when it is executed. Therefore,
- an alias definition appearing on the same line as another command does
- not take effect until the next line of input is read. The commands
+ The rules concerning the definition and use of aliases are somewhat
+ confusing. B\bBa\bas\bsh\bh always reads at least one complete line of input
+ before executing any of the commands on that line. Aliases are
+ expanded when a command is read, not when it is executed. Therefore,
+ an alias definition appearing on the same line as another command does
+ not take effect until the next line of input is read. The commands
following the alias definition on that line are not affected by the new
- alias. This behavior is also an issue when functions are executed.
- Aliases are expanded when a function definition is read, not when the
- function is executed, because a function definition is itself a com-
+ alias. This behavior is also an issue when functions are executed.
+ Aliases are expanded when a function definition is read, not when the
+ function is executed, because a function definition is itself a com-
pound command. As a consequence, aliases defined in a function are not
- available until after that function is executed. To be safe, always
- put alias definitions on a separate line, and do not use a\bal\bli\bia\bas\bs in com-
+ available until after that function is executed. To be safe, always
+ put alias definitions on a separate line, and do not use a\bal\bli\bia\bas\bs in com-
pound commands.
For almost every purpose, aliases are superseded by shell functions.
F\bFU\bUN\bNC\bCT\bTI\bIO\bON\bNS\bS
- A shell function, defined as described above under S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR,
- stores a series of commands for later execution. When the name of a
- shell function is used as a simple command name, the list of commands
+ A shell function, defined as described above under S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR,
+ stores a series of commands for later execution. When the name of a
+ shell function is used as a simple command name, the list of commands
associated with that function name is executed. Functions are executed
- in the context of the current shell; no new process is created to
- interpret them (contrast this with the execution of a shell script).
- When a function is executed, the arguments to the function become the
+ in the context of the current shell; no new process is created to
+ interpret them (contrast this with the execution of a shell script).
+ When a function is executed, the arguments to the function become the
positional parameters during its execution. The special parameter #\b# is
- updated to reflect the change. Special parameter 0 is unchanged. The
- first element of the F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE variable is set to the name of the func-
- tion while the function is executing. All other aspects of the shell
- execution environment are identical between a function and its caller
+ updated to reflect the change. Special parameter 0 is unchanged. The
+ first element of the F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE variable is set to the name of the func-
+ tion while the function is executing. All other aspects of the shell
+ execution environment are identical between a function and its caller
with the exception that the D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN traps (see the description
- of the t\btr\bra\bap\bp builtin under S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below) are not inher-
- ited unless the function has been given the t\btr\bra\bac\bce\be attribute (see the
- description of the d\bde\bec\bcl\bla\bar\bre\be builtin below) or the -\b-o\bo f\bfu\bun\bnc\bct\btr\bra\bac\bce\be shell
- option has been enabled with the s\bse\bet\bt builtin (in which case all func-
+ of the t\btr\bra\bap\bp builtin under S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below) are not inher-
+ ited unless the function has been given the t\btr\bra\bac\bce\be attribute (see the
+ description of the d\bde\bec\bcl\bla\bar\bre\be builtin below) or the -\b-o\bo f\bfu\bun\bnc\bct\btr\bra\bac\bce\be shell
+ option has been enabled with the s\bse\bet\bt builtin (in which case all func-
tions inherit the D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN traps).
- Variables local to the function may be declared with the l\blo\boc\bca\bal\bl builtin
+ Variables local to the function may be declared with the l\blo\boc\bca\bal\bl builtin
command. Ordinarily, variables and their values are shared between the
function and its caller.
- If the builtin command r\bre\bet\btu\bur\brn\bn is executed in a function, the function
- completes and execution resumes with the next command after the func-
- tion call. Any command associated with the R\bRE\bET\bTU\bUR\bRN\bN trap is executed
+ If the builtin command r\bre\bet\btu\bur\brn\bn is executed in a function, the function
+ completes and execution resumes with the next command after the
+ function call. Any command associated with the R\bRE\bET\bTU\bUR\bRN\bN trap is executed
before execution resumes. When a function completes, the values of the
- positional parameters and the special parameter #\b# are restored to the
+ positional parameters and the special parameter #\b# are restored to the
values they had prior to the function's execution.
- Function names and definitions may be listed with the -\b-f\bf option to the
+ Function names and definitions may be listed with the -\b-f\bf option to the
d\bde\bec\bcl\bla\bar\bre\be or t\bty\byp\bpe\bes\bse\bet\bt builtin commands. The -\b-F\bF option to d\bde\bec\bcl\bla\bar\bre\be or t\bty\byp\bpe\be-\b-
- s\bse\bet\bt will list the function names only (and optionally the source file
- and line number, if the e\bex\bxt\btd\bde\beb\bbu\bug\bg shell option is enabled). Functions
- may be exported so that subshells automatically have them defined with
- the -\b-f\bf option to the e\bex\bxp\bpo\bor\brt\bt builtin. Note that shell functions and
- variables with the same name may result in multiple identically-named
+ s\bse\bet\bt will list the function names only (and optionally the source file
+ and line number, if the e\bex\bxt\btd\bde\beb\bbu\bug\bg shell option is enabled). Functions
+ may be exported so that subshells automatically have them defined with
+ the -\b-f\bf option to the e\bex\bxp\bpo\bor\brt\bt builtin. Note that shell functions and
+ variables with the same name may result in multiple identically-named
entries in the environment passed to the shell's children. Care should
be taken in cases where this may cause a problem.
- Functions may be recursive. No limit is imposed on the number of
+ Functions may be recursive. No limit is imposed on the number of
recursive calls.
A\bAR\bRI\bIT\bTH\bHM\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN
- The shell allows arithmetic expressions to be evaluated, under certain
- circumstances (see the l\ble\bet\bt and d\bde\bec\bcl\bla\bar\bre\be builtin commands and A\bAr\bri\bit\bth\bhm\bme\bet\bti\bic\bc
- E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn). Evaluation is done in fixed-width integers with no check
- for overflow, though division by 0 is trapped and flagged as an error.
- The operators and their precedence, associativity, and values are the
- same as in the C language. The following list of operators is grouped
- into levels of equal-precedence operators. The levels are listed in
+ The shell allows arithmetic expressions to be evaluated, under certain
+ circumstances (see the l\ble\bet\bt and d\bde\bec\bcl\bla\bar\bre\be builtin commands and A\bAr\bri\bit\bth\bhm\bme\bet\bti\bic\bc
+ E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn). Evaluation is done in fixed-width integers with no check
+ for overflow, though division by 0 is trapped and flagged as an error.
+ The operators and their precedence, associativity, and values are the
+ same as in the C language. The following list of operators is grouped
+ into levels of equal-precedence operators. The levels are listed in
order of decreasing precedence.
_\bi_\bd+\b++\b+ _\bi_\bd-\b--\b-
_\be_\bx_\bp_\br_\b1 ,\b, _\be_\bx_\bp_\br_\b2
comma
- Shell variables are allowed as operands; parameter expansion is per-
+ Shell variables are allowed as operands; parameter expansion is per-
formed before the expression is evaluated. Within an expression, shell
- variables may also be referenced by name without using the parameter
- expansion syntax. A shell variable that is null or unset evaluates to
+ variables may also be referenced by name without using the parameter
+ expansion syntax. A shell variable that is null or unset evaluates to
0 when referenced by name without using the parameter expansion syntax.
- The value of a variable is evaluated as an arithmetic expression when
- it is referenced, or when a variable which has been given the _\bi_\bn_\bt_\be_\bg_\be_\br
+ The value of a variable is evaluated as an arithmetic expression when
+ it is referenced, or when a variable which has been given the _\bi_\bn_\bt_\be_\bg_\be_\br
attribute using d\bde\bec\bcl\bla\bar\bre\be -\b-i\bi is assigned a value. A null value evaluates
- to 0. A shell variable need not have its integer attribute turned on
+ to 0. A shell variable need not have its integer attribute turned on
to be used in an expression.
Constants with a leading 0 are interpreted as octal numbers. A leading
- 0x or 0X denotes hexadecimal. Otherwise, numbers take the form
- [_\bb_\ba_\bs_\be_\b#]n, where _\bb_\ba_\bs_\be is a decimal number between 2 and 64 representing
+ 0x or 0X denotes hexadecimal. Otherwise, numbers take the form
+ [_\bb_\ba_\bs_\be_\b#]n, where _\bb_\ba_\bs_\be is a decimal number between 2 and 64 representing
the arithmetic base, and _\bn is a number in that base. If _\bb_\ba_\bs_\be_\b# is omit-
- ted, then base 10 is used. The digits greater than 9 are represented
- by the lowercase letters, the uppercase letters, @, and _, in that
- order. If _\bb_\ba_\bs_\be is less than or equal to 36, lowercase and uppercase
+ ted, then base 10 is used. The digits greater than 9 are represented
+ by the lowercase letters, the uppercase letters, @, and _, in that
+ order. If _\bb_\ba_\bs_\be is less than or equal to 36, lowercase and uppercase
letters may be used interchangeably to represent numbers between 10 and
35.
- Operators are evaluated in order of precedence. Sub-expressions in
- parentheses are evaluated first and may override the precedence rules
+ Operators are evaluated in order of precedence. Sub-expressions in
+ parentheses are evaluated first and may override the precedence rules
above.
C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS
- Conditional expressions are used by the [\b[[\b[ compound command and the
- t\bte\bes\bst\bt and [\b[ builtin commands to test file attributes and perform string
- and arithmetic comparisons. Expressions are formed from the following
- unary or binary primaries. If any _\bf_\bi_\bl_\be argument to one of the pri-
+ Conditional expressions are used by the [\b[[\b[ compound command and the
+ t\bte\bes\bst\bt and [\b[ builtin commands to test file attributes and perform string
+ and arithmetic comparisons. Expressions are formed from the following
+ unary or binary primaries. If any _\bf_\bi_\bl_\be argument to one of the pri-
maries is of the form _\b/_\bd_\be_\bv_\b/_\bf_\bd_\b/_\bn, then file descriptor _\bn is checked. If
- the _\bf_\bi_\bl_\be argument to one of the primaries is one of _\b/_\bd_\be_\bv_\b/_\bs_\bt_\bd_\bi_\bn,
- _\b/_\bd_\be_\bv_\b/_\bs_\bt_\bd_\bo_\bu_\bt, or _\b/_\bd_\be_\bv_\b/_\bs_\bt_\bd_\be_\br_\br, file descriptor 0, 1, or 2, respectively,
+ the _\bf_\bi_\bl_\be argument to one of the primaries is one of _\b/_\bd_\be_\bv_\b/_\bs_\bt_\bd_\bi_\bn,
+ _\b/_\bd_\be_\bv_\b/_\bs_\bt_\bd_\bo_\bu_\bt, or _\b/_\bd_\be_\bv_\b/_\bs_\bt_\bd_\be_\br_\br, file descriptor 0, 1, or 2, respectively,
is checked.
Unless otherwise specified, primaries that operate on files follow sym-
-\b-S\bS _\bf_\bi_\bl_\be
True if _\bf_\bi_\bl_\be exists and is a socket.
-\b-N\bN _\bf_\bi_\bl_\be
- True if _\bf_\bi_\bl_\be exists and has been modified since it was last
+ True if _\bf_\bi_\bl_\be exists and has been modified since it was last
read.
_\bf_\bi_\bl_\be_\b1 -n\bnt\bt _\bf_\bi_\bl_\be_\b2
- True if _\bf_\bi_\bl_\be_\b1 is newer (according to modification date) than
+ True if _\bf_\bi_\bl_\be_\b1 is newer (according to modification date) than
_\bf_\bi_\bl_\be_\b2, or if _\bf_\bi_\bl_\be_\b1 exists and _\bf_\bi_\bl_\be_\b2 does not.
_\bf_\bi_\bl_\be_\b1 -o\bot\bt _\bf_\bi_\bl_\be_\b2
- True if _\bf_\bi_\bl_\be_\b1 is older than _\bf_\bi_\bl_\be_\b2, or if _\bf_\bi_\bl_\be_\b2 exists and _\bf_\bi_\bl_\be_\b1
+ True if _\bf_\bi_\bl_\be_\b1 is older than _\bf_\bi_\bl_\be_\b2, or if _\bf_\bi_\bl_\be_\b2 exists and _\bf_\bi_\bl_\be_\b1
does not.
_\bf_\bi_\bl_\be_\b1 -\b-e\bef\bf _\bf_\bi_\bl_\be_\b2
- True if _\bf_\bi_\bl_\be_\b1 and _\bf_\bi_\bl_\be_\b2 refer to the same device and inode num-
+ True if _\bf_\bi_\bl_\be_\b1 and _\bf_\bi_\bl_\be_\b2 refer to the same device and inode num-
bers.
-\b-o\bo _\bo_\bp_\bt_\bn_\ba_\bm_\be
- True if shell option _\bo_\bp_\bt_\bn_\ba_\bm_\be is enabled. See the list of
- options under the description of the -\b-o\bo option to the s\bse\bet\bt
+ True if shell option _\bo_\bp_\bt_\bn_\ba_\bm_\be is enabled. See the list of
+ options under the description of the -\b-o\bo option to the s\bse\bet\bt
builtin below.
-\b-z\bz _\bs_\bt_\br_\bi_\bn_\bg
True if the length of _\bs_\bt_\br_\bi_\bn_\bg is zero.
True if the strings are not equal.
_\bs_\bt_\br_\bi_\bn_\bg_\b1 <\b< _\bs_\bt_\br_\bi_\bn_\bg_\b2
- True if _\bs_\bt_\br_\bi_\bn_\bg_\b1 sorts before _\bs_\bt_\br_\bi_\bn_\bg_\b2 lexicographically in the
+ True if _\bs_\bt_\br_\bi_\bn_\bg_\b1 sorts before _\bs_\bt_\br_\bi_\bn_\bg_\b2 lexicographically in the
current locale.
_\bs_\bt_\br_\bi_\bn_\bg_\b1 >\b> _\bs_\bt_\br_\bi_\bn_\bg_\b2
- True if _\bs_\bt_\br_\bi_\bn_\bg_\b1 sorts after _\bs_\bt_\br_\bi_\bn_\bg_\b2 lexicographically in the
+ True if _\bs_\bt_\br_\bi_\bn_\bg_\b1 sorts after _\bs_\bt_\br_\bi_\bn_\bg_\b2 lexicographically in the
current locale.
_\ba_\br_\bg_\b1 O\bOP\bP _\ba_\br_\bg_\b2
- O\bOP\bP is one of -\b-e\beq\bq, -\b-n\bne\be, -\b-l\blt\bt, -\b-l\ble\be, -\b-g\bgt\bt, or -\b-g\bge\be. These arithmetic
- binary operators return true if _\ba_\br_\bg_\b1 is equal to, not equal to,
- less than, less than or equal to, greater than, or greater than
- or equal to _\ba_\br_\bg_\b2, respectively. _\bA_\br_\bg_\b1 and _\ba_\br_\bg_\b2 may be positive
+ O\bOP\bP is one of -\b-e\beq\bq, -\b-n\bne\be, -\b-l\blt\bt, -\b-l\ble\be, -\b-g\bgt\bt, or -\b-g\bge\be. These arithmetic
+ binary operators return true if _\ba_\br_\bg_\b1 is equal to, not equal to,
+ less than, less than or equal to, greater than, or greater than
+ or equal to _\ba_\br_\bg_\b2, respectively. _\bA_\br_\bg_\b1 and _\ba_\br_\bg_\b2 may be positive
or negative integers.
S\bSI\bIM\bMP\bPL\bLE\bE C\bCO\bOM\bMM\bMA\bAN\bND\bD E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN
- When a simple command is executed, the shell performs the following
+ When a simple command is executed, the shell performs the following
expansions, assignments, and redirections, from left to right.
- 1. The words that the parser has marked as variable assignments
- (those preceding the command name) and redirections are saved
+ 1. The words that the parser has marked as variable assignments
+ (those preceding the command name) and redirections are saved
for later processing.
- 2. The words that are not variable assignments or redirections are
- expanded. If any words remain after expansion, the first word
- is taken to be the name of the command and the remaining words
+ 2. The words that are not variable assignments or redirections are
+ expanded. If any words remain after expansion, the first word
+ is taken to be the name of the command and the remaining words
are the arguments.
3. Redirections are performed as described above under R\bRE\bED\bDI\bIR\bRE\bEC\bCT\bTI\bIO\bON\bN.
4. The text after the =\b= in each variable assignment undergoes tilde
expansion, parameter expansion, command substitution, arithmetic
- expansion, and quote removal before being assigned to the vari-
+ expansion, and quote removal before being assigned to the vari-
able.
If no command name results, the variable assignments affect the current
- shell environment. Otherwise, the variables are added to the environ-
- ment of the executed command and do not affect the current shell envi-
- ronment. If any of the assignments attempts to assign a value to a
- readonly variable, an error occurs, and the command exits with a non-
+ shell environment. Otherwise, the variables are added to the environ-
+ ment of the executed command and do not affect the current shell envi-
+ ronment. If any of the assignments attempts to assign a value to a
+ readonly variable, an error occurs, and the command exits with a non-
zero status.
- If no command name results, redirections are performed, but do not
- affect the current shell environment. A redirection error causes the
+ If no command name results, redirections are performed, but do not
+ affect the current shell environment. A redirection error causes the
command to exit with a non-zero status.
- If there is a command name left after expansion, execution proceeds as
- described below. Otherwise, the command exits. If one of the expan-
- sions contained a command substitution, the exit status of the command
- is the exit status of the last command substitution performed. If
+ If there is a command name left after expansion, execution proceeds as
+ described below. Otherwise, the command exits. If one of the expan-
+ sions contained a command substitution, the exit status of the command
+ is the exit status of the last command substitution performed. If
there were no command substitutions, the command exits with a status of
zero.
C\bCO\bOM\bMM\bMA\bAN\bND\bD E\bEX\bXE\bEC\bCU\bUT\bTI\bIO\bON\bN
- After a command has been split into words, if it results in a simple
- command and an optional list of arguments, the following actions are
+ After a command has been split into words, if it results in a simple
+ command and an optional list of arguments, the following actions are
taken.
- If the command name contains no slashes, the shell attempts to locate
- it. If there exists a shell function by that name, that function is
- invoked as described above in F\bFU\bUN\bNC\bCT\bTI\bIO\bON\bNS\bS. If the name does not match a
- function, the shell searches for it in the list of shell builtins. If
+ If the command name contains no slashes, the shell attempts to locate
+ it. If there exists a shell function by that name, that function is
+ invoked as described above in F\bFU\bUN\bNC\bCT\bTI\bIO\bON\bNS\bS. If the name does not match a
+ function, the shell searches for it in the list of shell builtins. If
a match is found, that builtin is invoked.
- If the name is neither a shell function nor a builtin, and contains no
- slashes, b\bba\bas\bsh\bh searches each element of the P\bPA\bAT\bTH\bH for a directory con-
- taining an executable file by that name. B\bBa\bas\bsh\bh uses a hash table to
- remember the full pathnames of executable files (see h\bha\bas\bsh\bh under S\bSH\bHE\bEL\bLL\bL
- B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below). A full search of the directories in P\bPA\bAT\bTH\bH is
- performed only if the command is not found in the hash table. If the
- search is unsuccessful, the shell prints an error message and returns
+ If the name is neither a shell function nor a builtin, and contains no
+ slashes, b\bba\bas\bsh\bh searches each element of the P\bPA\bAT\bTH\bH for a directory con-
+ taining an executable file by that name. B\bBa\bas\bsh\bh uses a hash table to
+ remember the full pathnames of executable files (see h\bha\bas\bsh\bh under S\bSH\bHE\bEL\bLL\bL
+ B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below). A full search of the directories in P\bPA\bAT\bTH\bH is
+ performed only if the command is not found in the hash table. If the
+ search is unsuccessful, the shell prints an error message and returns
an exit status of 127.
- If the search is successful, or if the command name contains one or
+ If the search is successful, or if the command name contains one or
more slashes, the shell executes the named program in a separate execu-
tion environment. Argument 0 is set to the name given, and the remain-
ing arguments to the command are set to the arguments given, if any.
- If this execution fails because the file is not in executable format,
- and the file is not a directory, it is assumed to be a _\bs_\bh_\be_\bl_\bl _\bs_\bc_\br_\bi_\bp_\bt, a
- file containing shell commands. A subshell is spawned to execute it.
- This subshell reinitializes itself, so that the effect is as if a new
- shell had been invoked to handle the script, with the exception that
- the locations of commands remembered by the parent (see h\bha\bas\bsh\bh below
+ If this execution fails because the file is not in executable format,
+ and the file is not a directory, it is assumed to be a _\bs_\bh_\be_\bl_\bl _\bs_\bc_\br_\bi_\bp_\bt, a
+ file containing shell commands. A subshell is spawned to execute it.
+ This subshell reinitializes itself, so that the effect is as if a new
+ shell had been invoked to handle the script, with the exception that
+ the locations of commands remembered by the parent (see h\bha\bas\bsh\bh below
under S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS) are retained by the child.
- If the program is a file beginning with #\b#!\b!, the remainder of the first
- line specifies an interpreter for the program. The shell executes the
+ If the program is a file beginning with #\b#!\b!, the remainder of the first
+ line specifies an interpreter for the program. The shell executes the
specified interpreter on operating systems that do not handle this exe-
cutable format themselves. The arguments to the interpreter consist of
- a single optional argument following the interpreter name on the first
- line of the program, followed by the name of the program, followed by
+ a single optional argument following the interpreter name on the first
+ line of the program, followed by the name of the program, followed by
the command arguments, if any.
C\bCO\bOM\bMM\bMA\bAN\bND\bD E\bEX\bXE\bEC\bCU\bUT\bTI\bIO\bON\bN E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
- The shell has an _\be_\bx_\be_\bc_\bu_\bt_\bi_\bo_\bn _\be_\bn_\bv_\bi_\br_\bo_\bn_\bm_\be_\bn_\bt, which consists of the follow-
+ The shell has an _\be_\bx_\be_\bc_\bu_\bt_\bi_\bo_\bn _\be_\bn_\bv_\bi_\br_\bo_\bn_\bm_\be_\bn_\bt, which consists of the follow-
ing:
- +\bo open files inherited by the shell at invocation, as modified by
+ +\bo open files inherited by the shell at invocation, as modified by
redirections supplied to the e\bex\bxe\bec\bc builtin
- +\bo the current working directory as set by c\bcd\bd, p\bpu\bus\bsh\bhd\bd, or p\bpo\bop\bpd\bd, or
+ +\bo the current working directory as set by c\bcd\bd, p\bpu\bus\bsh\bhd\bd, or p\bpo\bop\bpd\bd, or
inherited by the shell at invocation
- +\bo the file creation mode mask as set by u\bum\bma\bas\bsk\bk or inherited from
+ +\bo the file creation mode mask as set by u\bum\bma\bas\bsk\bk or inherited from
the shell's parent
+\bo current traps set by t\btr\bra\bap\bp
+\bo shell parameters that are set by variable assignment or with s\bse\bet\bt
or inherited from the shell's parent in the environment
- +\bo shell functions defined during execution or inherited from the
+ +\bo shell functions defined during execution or inherited from the
shell's parent in the environment
- +\bo options enabled at invocation (either by default or with com-
+ +\bo options enabled at invocation (either by default or with com-
mand-line arguments) or by s\bse\bet\bt
+\bo options enabled by s\bsh\bho\bop\bpt\bt
+\bo shell aliases defined with a\bal\bli\bia\bas\bs
- +\bo various process IDs, including those of background jobs, the
+ +\bo various process IDs, including those of background jobs, the
value of $\b$$\b$, and the value of $\b$P\bPP\bPI\bID\bD
- When a simple command other than a builtin or shell function is to be
- executed, it is invoked in a separate execution environment that con-
- sists of the following. Unless otherwise noted, the values are inher-
+ When a simple command other than a builtin or shell function is to be
+ executed, it is invoked in a separate execution environment that con-
+ sists of the following. Unless otherwise noted, the values are inher-
ited from the shell.
- +\bo the shell's open files, plus any modifications and additions
+ +\bo the shell's open files, plus any modifications and additions
specified by redirections to the command
+\bo the current working directory
+\bo the file creation mode mask
- +\bo shell variables and functions marked for export, along with
+ +\bo shell variables and functions marked for export, along with
variables exported for the command, passed in the environment
+\bo traps caught by the shell are reset to the values inherited from
the shell's parent, and traps ignored by the shell are ignored
- A command invoked in this separate environment cannot affect the
+ A command invoked in this separate environment cannot affect the
shell's execution environment.
- Command substitution, commands grouped with parentheses, and asyn-
- chronous commands are invoked in a subshell environment that is a
- duplicate of the shell environment, except that traps caught by the
- shell are reset to the values that the shell inherited from its parent
+ Command substitution, commands grouped with parentheses, and asyn-
+ chronous commands are invoked in a subshell environment that is a
+ duplicate of the shell environment, except that traps caught by the
+ shell are reset to the values that the shell inherited from its parent
at invocation. Builtin commands that are invoked as part of a pipeline
- are also executed in a subshell environment. Changes made to the sub-
+ are also executed in a subshell environment. Changes made to the sub-
shell environment cannot affect the shell's execution environment.
- If a command is followed by a &\b& and job control is not active, the
- default standard input for the command is the empty file _\b/_\bd_\be_\bv_\b/_\bn_\bu_\bl_\bl.
- Otherwise, the invoked command inherits the file descriptors of the
+ If a command is followed by a &\b& and job control is not active, the
+ default standard input for the command is the empty file _\b/_\bd_\be_\bv_\b/_\bn_\bu_\bl_\bl.
+ Otherwise, the invoked command inherits the file descriptors of the
calling shell as modified by redirections.
E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
- When a program is invoked it is given an array of strings called the
+ When a program is invoked it is given an array of strings called the
_\be_\bn_\bv_\bi_\br_\bo_\bn_\bm_\be_\bn_\bt. This is a list of _\bn_\ba_\bm_\be-_\bv_\ba_\bl_\bu_\be pairs, of the form
_\bn_\ba_\bm_\be=_\bv_\ba_\bl_\bu_\be.
- The shell provides several ways to manipulate the environment. On
+ The shell provides several ways to manipulate the environment. On
invocation, the shell scans its own environment and creates a parameter
- for each name found, automatically marking it for _\be_\bx_\bp_\bo_\br_\bt to child pro-
- cesses. Executed commands inherit the environment. The e\bex\bxp\bpo\bor\brt\bt and
- d\bde\bec\bcl\bla\bar\bre\be -\b-x\bx commands allow parameters and functions to be added to and
+ for each name found, automatically marking it for _\be_\bx_\bp_\bo_\br_\bt to child pro-
+ cesses. Executed commands inherit the environment. The e\bex\bxp\bpo\bor\brt\bt and
+ d\bde\bec\bcl\bla\bar\bre\be -\b-x\bx commands allow parameters and functions to be added to and
deleted from the environment. If the value of a parameter in the envi-
- ronment is modified, the new value becomes part of the environment,
- replacing the old. The environment inherited by any executed command
- consists of the shell's initial environment, whose values may be modi-
- fied in the shell, less any pairs removed by the u\bun\bns\bse\bet\bt command, plus
+ ronment is modified, the new value becomes part of the environment,
+ replacing the old. The environment inherited by any executed command
+ consists of the shell's initial environment, whose values may be modi-
+ fied in the shell, less any pairs removed by the u\bun\bns\bse\bet\bt command, plus
any additions via the e\bex\bxp\bpo\bor\brt\bt and d\bde\bec\bcl\bla\bar\bre\be -\b-x\bx commands.
- The environment for any _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd or function may be augmented
- temporarily by prefixing it with parameter assignments, as described
+ The environment for any _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd or function may be augmented
+ temporarily by prefixing it with parameter assignments, as described
above in P\bPA\bAR\bRA\bAM\bME\bET\bTE\bER\bRS\bS. These assignment statements affect only the envi-
ronment seen by that command.
- If the -\b-k\bk option is set (see the s\bse\bet\bt builtin command below), then _\ba_\bl_\bl
- parameter assignments are placed in the environment for a command, not
+ If the -\b-k\bk option is set (see the s\bse\bet\bt builtin command below), then _\ba_\bl_\bl
+ parameter assignments are placed in the environment for a command, not
just those that precede the command name.
- When b\bba\bas\bsh\bh invokes an external command, the variable _\b_ is set to the
- full file name of the command and passed to that command in its envi-
+ When b\bba\bas\bsh\bh invokes an external command, the variable _\b_ is set to the
+ full file name of the command and passed to that command in its envi-
ronment.
E\bEX\bXI\bIT\bT S\bST\bTA\bAT\bTU\bUS\bS
For the shell's purposes, a command which exits with a zero exit status
- has succeeded. An exit status of zero indicates success. A non-zero
- exit status indicates failure. When a command terminates on a fatal
+ has succeeded. An exit status of zero indicates success. A non-zero
+ exit status indicates failure. When a command terminates on a fatal
signal _\bN, b\bba\bas\bsh\bh uses the value of 128+_\bN as the exit status.
- If a command is not found, the child process created to execute it
- returns a status of 127. If a command is found but is not executable,
+ If a command is not found, the child process created to execute it
+ returns a status of 127. If a command is found but is not executable,
the return status is 126.
If a command fails because of an error during expansion or redirection,
the exit status is greater than zero.
- Shell builtin commands return a status of 0 (_\bt_\br_\bu_\be) if successful, and
- non-zero (_\bf_\ba_\bl_\bs_\be) if an error occurs while they execute. All builtins
+ Shell builtin commands return a status of 0 (_\bt_\br_\bu_\be) if successful, and
+ non-zero (_\bf_\ba_\bl_\bs_\be) if an error occurs while they execute. All builtins
return an exit status of 2 to indicate incorrect usage.
- B\bBa\bas\bsh\bh itself returns the exit status of the last command executed,
- unless a syntax error occurs, in which case it exits with a non-zero
+ B\bBa\bas\bsh\bh itself returns the exit status of the last command executed,
+ unless a syntax error occurs, in which case it exits with a non-zero
value. See also the e\bex\bxi\bit\bt builtin command below.
S\bSI\bIG\bGN\bNA\bAL\bLS\bS
- When b\bba\bas\bsh\bh is interactive, in the absence of any traps, it ignores
+ When b\bba\bas\bsh\bh is interactive, in the absence of any traps, it ignores
S\bSI\bIG\bGT\bTE\bER\bRM\bM (so that k\bki\bil\bll\bl 0\b0 does not kill an interactive shell), and S\bSI\bIG\bGI\bIN\bNT\bT
- is caught and handled (so that the w\bwa\bai\bit\bt builtin is interruptible). In
- all cases, b\bba\bas\bsh\bh ignores S\bSI\bIG\bGQ\bQU\bUI\bIT\bT. If job control is in effect, b\bba\bas\bsh\bh
+ is caught and handled (so that the w\bwa\bai\bit\bt builtin is interruptible). In
+ all cases, b\bba\bas\bsh\bh ignores S\bSI\bIG\bGQ\bQU\bUI\bIT\bT. If job control is in effect, b\bba\bas\bsh\bh
ignores S\bSI\bIG\bGT\bTT\bTI\bIN\bN, S\bSI\bIG\bGT\bTT\bTO\bOU\bU, and S\bSI\bIG\bGT\bTS\bST\bTP\bP.
Non-builtin commands run by b\bba\bas\bsh\bh have signal handlers set to the values
- inherited by the shell from its parent. When job control is not in
- effect, asynchronous commands ignore S\bSI\bIG\bGI\bIN\bNT\bT and S\bSI\bIG\bGQ\bQU\bUI\bIT\bT in addition to
- these inherited handlers. Commands run as a result of command substi-
- tution ignore the keyboard-generated job control signals S\bSI\bIG\bGT\bTT\bTI\bIN\bN, S\bSI\bIG\bGT\bT-\b-
- T\bTO\bOU\bU, and S\bSI\bIG\bGT\bTS\bST\bTP\bP.
-
- The shell exits by default upon receipt of a S\bSI\bIG\bGH\bHU\bUP\bP. Before exiting,
- an interactive shell resends the S\bSI\bIG\bGH\bHU\bUP\bP to all jobs, running or
+ inherited by the shell from its parent. When job control is not in
+ effect, asynchronous commands ignore S\bSI\bIG\bGI\bIN\bNT\bT and S\bSI\bIG\bGQ\bQU\bUI\bIT\bT in addition to
+ these inherited handlers. Commands run as a result of command substi-
+ tution ignore the keyboard-generated job control signals S\bSI\bIG\bGT\bTT\bTI\bIN\bN,
+ S\bSI\bIG\bGT\bTT\bTO\bOU\bU, and S\bSI\bIG\bGT\bTS\bST\bTP\bP.
+
+ The shell exits by default upon receipt of a S\bSI\bIG\bGH\bHU\bUP\bP. Before exiting,
+ an interactive shell resends the S\bSI\bIG\bGH\bHU\bUP\bP to all jobs, running or
stopped. Stopped jobs are sent S\bSI\bIG\bGC\bCO\bON\bNT\bT to ensure that they receive the
- S\bSI\bIG\bGH\bHU\bUP\bP. To prevent the shell from sending the signal to a particular
- job, it should be removed from the jobs table with the d\bdi\bis\bso\bow\bwn\bn builtin
- (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below) or marked to not receive S\bSI\bIG\bGH\bHU\bUP\bP
+ S\bSI\bIG\bGH\bHU\bUP\bP. To prevent the shell from sending the signal to a particular
+ job, it should be removed from the jobs table with the d\bdi\bis\bso\bow\bwn\bn builtin
+ (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below) or marked to not receive S\bSI\bIG\bGH\bHU\bUP\bP
using d\bdi\bis\bso\bow\bwn\bn -\b-h\bh.
- If the h\bhu\bup\bpo\bon\bne\bex\bxi\bit\bt shell option has been set with s\bsh\bho\bop\bpt\bt, b\bba\bas\bsh\bh sends a
+ If the h\bhu\bup\bpo\bon\bne\bex\bxi\bit\bt shell option has been set with s\bsh\bho\bop\bpt\bt, b\bba\bas\bsh\bh sends a
S\bSI\bIG\bGH\bHU\bUP\bP to all jobs when an interactive login shell exits.
- If b\bba\bas\bsh\bh is waiting for a command to complete and receives a signal for
+ If b\bba\bas\bsh\bh is waiting for a command to complete and receives a signal for
which a trap has been set, the trap will not be executed until the com-
- mand completes. When b\bba\bas\bsh\bh is waiting for an asynchronous command via
- the w\bwa\bai\bit\bt builtin, the reception of a signal for which a trap has been
+ mand completes. When b\bba\bas\bsh\bh is waiting for an asynchronous command via
+ the w\bwa\bai\bit\bt builtin, the reception of a signal for which a trap has been
set will cause the w\bwa\bai\bit\bt builtin to return immediately with an exit sta-
tus greater than 128, immediately after which the trap is executed.
J\bJO\bOB\bB C\bCO\bON\bNT\bTR\bRO\bOL\bL
- _\bJ_\bo_\bb _\bc_\bo_\bn_\bt_\br_\bo_\bl refers to the ability to selectively stop (_\bs_\bu_\bs_\bp_\be_\bn_\bd) the
+ _\bJ_\bo_\bb _\bc_\bo_\bn_\bt_\br_\bo_\bl refers to the ability to selectively stop (_\bs_\bu_\bs_\bp_\be_\bn_\bd) the
execution of processes and continue (_\br_\be_\bs_\bu_\bm_\be) their execution at a later
- point. A user typically employs this facility via an interactive
+ point. A user typically employs this facility via an interactive
interface supplied jointly by the system's terminal driver and b\bba\bas\bsh\bh.
- The shell associates a _\bj_\bo_\bb with each pipeline. It keeps a table of
- currently executing jobs, which may be listed with the j\bjo\bob\bbs\bs command.
- When b\bba\bas\bsh\bh starts a job asynchronously (in the _\bb_\ba_\bc_\bk_\bg_\br_\bo_\bu_\bn_\bd), it prints a
+ The shell associates a _\bj_\bo_\bb with each pipeline. It keeps a table of
+ currently executing jobs, which may be listed with the j\bjo\bob\bbs\bs command.
+ When b\bba\bas\bsh\bh starts a job asynchronously (in the _\bb_\ba_\bc_\bk_\bg_\br_\bo_\bu_\bn_\bd), it prints a
line that looks like:
[1] 25647
indicating that this job is job number 1 and that the process ID of the
last process in the pipeline associated with this job is 25647. All of
- the processes in a single pipeline are members of the same job. B\bBa\bas\bsh\bh
+ the processes in a single pipeline are members of the same job. B\bBa\bas\bsh\bh
uses the _\bj_\bo_\bb abstraction as the basis for job control.
- To facilitate the implementation of the user interface to job control,
+ To facilitate the implementation of the user interface to job control,
the operating system maintains the notion of a _\bc_\bu_\br_\br_\be_\bn_\bt _\bt_\be_\br_\bm_\bi_\bn_\ba_\bl _\bp_\br_\bo_\bc_\be_\bs_\bs
_\bg_\br_\bo_\bu_\bp _\bI_\bD. Members of this process group (processes whose process group
ID is equal to the current terminal process group ID) receive keyboard-
- generated signals such as S\bSI\bIG\bGI\bIN\bNT\bT. These processes are said to be in
- the _\bf_\bo_\br_\be_\bg_\br_\bo_\bu_\bn_\bd. _\bB_\ba_\bc_\bk_\bg_\br_\bo_\bu_\bn_\bd processes are those whose process group ID
+ generated signals such as S\bSI\bIG\bGI\bIN\bNT\bT. These processes are said to be in
+ the _\bf_\bo_\br_\be_\bg_\br_\bo_\bu_\bn_\bd. _\bB_\ba_\bc_\bk_\bg_\br_\bo_\bu_\bn_\bd processes are those whose process group ID
differs from the terminal's; such processes are immune to keyboard-gen-
- erated signals. Only foreground processes are allowed to read from or
+ erated signals. Only foreground processes are allowed to read from or
write to the terminal. Background processes which attempt to read from
(write to) the terminal are sent a S\bSI\bIG\bGT\bTT\bTI\bIN\bN (\b(S\bSI\bIG\bGT\bTT\bTO\bOU\bU)\b) signal by the ter-
minal driver, which, unless caught, suspends the process.
- If the operating system on which b\bba\bas\bsh\bh is running supports job control,
+ If the operating system on which b\bba\bas\bsh\bh is running supports job control,
b\bba\bas\bsh\bh contains facilities to use it. Typing the _\bs_\bu_\bs_\bp_\be_\bn_\bd character (typ-
ically ^\b^Z\bZ, Control-Z) while a process is running causes that process to
- be stopped and returns control to b\bba\bas\bsh\bh. Typing the _\bd_\be_\bl_\ba_\by_\be_\bd _\bs_\bu_\bs_\bp_\be_\bn_\bd
- character (typically ^\b^Y\bY, Control-Y) causes the process to be stopped
- when it attempts to read input from the terminal, and control to be
- returned to b\bba\bas\bsh\bh. The user may then manipulate the state of this job,
- using the b\bbg\bg command to continue it in the background, the f\bfg\bg command
+ be stopped and returns control to b\bba\bas\bsh\bh. Typing the _\bd_\be_\bl_\ba_\by_\be_\bd _\bs_\bu_\bs_\bp_\be_\bn_\bd
+ character (typically ^\b^Y\bY, Control-Y) causes the process to be stopped
+ when it attempts to read input from the terminal, and control to be
+ returned to b\bba\bas\bsh\bh. The user may then manipulate the state of this job,
+ using the b\bbg\bg command to continue it in the background, the f\bfg\bg command
to continue it in the foreground, or the k\bki\bil\bll\bl command to kill it. A ^\b^Z\bZ
takes effect immediately, and has the additional side effect of causing
pending output and typeahead to be discarded.
There are a number of ways to refer to a job in the shell. The charac-
ter %\b% introduces a job name. Job number _\bn may be referred to as %\b%n\bn. A
- job may also be referred to using a prefix of the name used to start
- it, or using a substring that appears in its command line. For exam-
+ job may also be referred to using a prefix of the name used to start
+ it, or using a substring that appears in its command line. For exam-
ple, %\b%c\bce\be refers to a stopped c\bce\be job. If a prefix matches more than one
- job, b\bba\bas\bsh\bh reports an error. Using %\b%?\b?c\bce\be, on the other hand, refers to
+ job, b\bba\bas\bsh\bh reports an error. Using %\b%?\b?c\bce\be, on the other hand, refers to
any job containing the string c\bce\be in its command line. If the substring
- matches more than one job, b\bba\bas\bsh\bh reports an error. The symbols %\b%%\b% and
- %\b%+\b+ refer to the shell's notion of the _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb, which is the last
- job stopped while it was in the foreground or started in the back-
- ground. The _\bp_\br_\be_\bv_\bi_\bo_\bu_\bs _\bj_\bo_\bb may be referenced using %\b%-\b-. In output per-
+ matches more than one job, b\bba\bas\bsh\bh reports an error. The symbols %\b%%\b% and
+ %\b%+\b+ refer to the shell's notion of the _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb, which is the last
+ job stopped while it was in the foreground or started in the back-
+ ground. The _\bp_\br_\be_\bv_\bi_\bo_\bu_\bs _\bj_\bo_\bb may be referenced using %\b%-\b-. In output per-
taining to jobs (e.g., the output of the j\bjo\bob\bbs\bs command), the current job
- is always flagged with a +\b+, and the previous job with a -\b-. A single %
- (with no accompanying job specification) also refers to the current
+ is always flagged with a +\b+, and the previous job with a -\b-. A single %
+ (with no accompanying job specification) also refers to the current
job.
- Simply naming a job can be used to bring it into the foreground: %\b%1\b1 is
- a synonym for `\b``\b`f\bfg\bg %\b%1\b1'\b''\b', bringing job 1 from the background into the
- foreground. Similarly, `\b``\b`%\b%1\b1 &\b&'\b''\b' resumes job 1 in the background,
+ Simply naming a job can be used to bring it into the foreground: %\b%1\b1 is
+ a synonym for `\b``\b`f\bfg\bg %\b%1\b1'\b''\b', bringing job 1 from the background into the
+ foreground. Similarly, `\b``\b`%\b%1\b1 &\b&'\b''\b' resumes job 1 in the background,
equivalent to `\b``\b`b\bbg\bg %\b%1\b1'\b''\b'.
- The shell learns immediately whenever a job changes state. Normally,
+ The shell learns immediately whenever a job changes state. Normally,
b\bba\bas\bsh\bh waits until it is about to print a prompt before reporting changes
- in a job's status so as to not interrupt any other output. If the -\b-b\bb
+ in a job's status so as to not interrupt any other output. If the -\b-b\bb
option to the s\bse\bet\bt builtin command is enabled, b\bba\bas\bsh\bh reports such changes
- immediately. Any trap on S\bSI\bIG\bGC\bCH\bHL\bLD\bD is executed for each child that
+ immediately. Any trap on S\bSI\bIG\bGC\bCH\bHL\bLD\bD is executed for each child that
exits.
- If an attempt to exit b\bba\bas\bsh\bh is made while jobs are stopped, the shell
+ If an attempt to exit b\bba\bas\bsh\bh is made while jobs are stopped, the shell
prints a warning message. The j\bjo\bob\bbs\bs command may then be used to inspect
their status. If a second attempt to exit is made without an interven-
- ing command, the shell does not print another warning, and the stopped
+ ing command, the shell does not print another warning, and the stopped
jobs are terminated.
P\bPR\bRO\bOM\bMP\bPT\bTI\bIN\bNG\bG
When executing interactively, b\bba\bas\bsh\bh displays the primary prompt P\bPS\bS1\b1 when
- it is ready to read a command, and the secondary prompt P\bPS\bS2\b2 when it
- needs more input to complete a command. B\bBa\bas\bsh\bh allows these prompt
- strings to be customized by inserting a number of backslash-escaped
+ it is ready to read a command, and the secondary prompt P\bPS\bS2\b2 when it
+ needs more input to complete a command. B\bBa\bas\bsh\bh allows these prompt
+ strings to be customized by inserting a number of backslash-escaped
special characters that are decoded as follows:
\\b\a\ba an ASCII bell character (07)
- \\b\d\bd the date in "Weekday Month Date" format (e.g., "Tue May
+ \\b\d\bd the date in "Weekday Month Date" format (e.g., "Tue May
26")
\\b\D\bD{\b{_\bf_\bo_\br_\bm_\ba_\bt}\b}
- the _\bf_\bo_\br_\bm_\ba_\bt is passed to _\bs_\bt_\br_\bf_\bt_\bi_\bm_\be(3) and the result is
- inserted into the prompt string; an empty _\bf_\bo_\br_\bm_\ba_\bt results
+ the _\bf_\bo_\br_\bm_\ba_\bt is passed to _\bs_\bt_\br_\bf_\bt_\bi_\bm_\be(3) and the result is
+ inserted into the prompt string; an empty _\bf_\bo_\br_\bm_\ba_\bt results
in a locale-specific time representation. The braces are
required
\\b\e\be an ASCII escape character (033)
\\b\l\bl the basename of the shell's terminal device name
\\b\n\bn newline
\\b\r\br carriage return
- \\b\s\bs the name of the shell, the basename of $\b$0\b0 (the portion
+ \\b\s\bs the name of the shell, the basename of $\b$0\b0 (the portion
following the final slash)
\\b\t\bt the current time in 24-hour HH:MM:SS format
\\b\T\bT the current time in 12-hour HH:MM:SS format
\\b\u\bu the username of the current user
\\b\v\bv the version of b\bba\bas\bsh\bh (e.g., 2.00)
\\b\V\bV the release of b\bba\bas\bsh\bh, version + patch level (e.g., 2.00.0)
- \\b\w\bw the current working directory, with $\b$H\bHO\bOM\bME\bE abbreviated
+ \\b\w\bw the current working directory, with $\b$H\bHO\bOM\bME\bE abbreviated
with a tilde
\\b\W\bW the basename of the current working directory, with $\b$H\bHO\bOM\bME\bE
abbreviated with a tilde
\\b\$\b$ if the effective UID is 0, a #\b#, otherwise a $\b$
\\b\_\bn_\bn_\bn the character corresponding to the octal number _\bn_\bn_\bn
\\b\\\b\ a backslash
- \\b\[\b[ begin a sequence of non-printing characters, which could
- be used to embed a terminal control sequence into the
+ \\b\[\b[ begin a sequence of non-printing characters, which could
+ be used to embed a terminal control sequence into the
prompt
\\b\]\b] end a sequence of non-printing characters
- The command number and the history number are usually different: the
- history number of a command is its position in the history list, which
- may include commands restored from the history file (see H\bHI\bIS\bST\bTO\bOR\bRY\bY
- below), while the command number is the position in the sequence of
- commands executed during the current shell session. After the string
- is decoded, it is expanded via parameter expansion, command substitu-
- tion, arithmetic expansion, and quote removal, subject to the value of
- the p\bpr\bro\bom\bmp\bpt\btv\bva\bar\brs\bs shell option (see the description of the s\bsh\bho\bop\bpt\bt command
+ The command number and the history number are usually different: the
+ history number of a command is its position in the history list, which
+ may include commands restored from the history file (see H\bHI\bIS\bST\bTO\bOR\bRY\bY
+ below), while the command number is the position in the sequence of
+ commands executed during the current shell session. After the string
+ is decoded, it is expanded via parameter expansion, command substitu-
+ tion, arithmetic expansion, and quote removal, subject to the value of
+ the p\bpr\bro\bom\bmp\bpt\btv\bva\bar\brs\bs shell option (see the description of the s\bsh\bho\bop\bpt\bt command
under S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below).
R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE
- This is the library that handles reading input when using an interac-
+ This is the library that handles reading input when using an interac-
tive shell, unless the -\b--\b-n\bno\boe\bed\bdi\bit\bti\bin\bng\bg option is given at shell invocation.
By default, the line editing commands are similar to those of emacs. A
- vi-style line editing interface is also available. To turn off line
- editing after the shell is running, use the +\b+o\bo e\bem\bma\bac\bcs\bs or +\b+o\bo v\bvi\bi options
+ vi-style line editing interface is also available. To turn off line
+ editing after the shell is running, use the +\b+o\bo e\bem\bma\bac\bcs\bs or +\b+o\bo v\bvi\bi options
to the s\bse\bet\bt builtin (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below).
R\bRe\bea\bad\bdl\bli\bin\bne\be N\bNo\bot\bta\bat\bti\bio\bon\bn
In this section, the emacs-style notation is used to denote keystrokes.
- Control keys are denoted by C-_\bk_\be_\by, e.g., C-n means Control-N. Simi-
- larly, _\bm_\be_\bt_\ba keys are denoted by M-_\bk_\be_\by, so M-x means Meta-X. (On key-
- boards without a _\bm_\be_\bt_\ba key, M-_\bx means ESC _\bx, i.e., press the Escape key
+ Control keys are denoted by C-_\bk_\be_\by, e.g., C-n means Control-N. Simi-
+ larly, _\bm_\be_\bt_\ba keys are denoted by M-_\bk_\be_\by, so M-x means Meta-X. (On key-
+ boards without a _\bm_\be_\bt_\ba key, M-_\bx means ESC _\bx, i.e., press the Escape key
then the _\bx key. This makes ESC the _\bm_\be_\bt_\ba _\bp_\br_\be_\bf_\bi_\bx. The combination M-C-_\bx
- means ESC-Control-_\bx, or press the Escape key then hold the Control key
+ means ESC-Control-_\bx, or press the Escape key then hold the Control key
while pressing the _\bx key.)
Readline commands may be given numeric _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs, which normally act as
- a repeat count. Sometimes, however, it is the sign of the argument
- that is significant. Passing a negative argument to a command that
- acts in the forward direction (e.g., k\bki\bil\bll\bl-\b-l\bli\bin\bne\be) causes that command to
- act in a backward direction. Commands whose behavior with arguments
+ a repeat count. Sometimes, however, it is the sign of the argument
+ that is significant. Passing a negative argument to a command that
+ acts in the forward direction (e.g., k\bki\bil\bll\bl-\b-l\bli\bin\bne\be) causes that command to
+ act in a backward direction. Commands whose behavior with arguments
deviates from this are noted below.
- When a command is described as _\bk_\bi_\bl_\bl_\bi_\bn_\bg text, the text deleted is saved
+ When a command is described as _\bk_\bi_\bl_\bl_\bi_\bn_\bg text, the text deleted is saved
for possible future retrieval (_\by_\ba_\bn_\bk_\bi_\bn_\bg). The killed text is saved in a
_\bk_\bi_\bl_\bl _\br_\bi_\bn_\bg. Consecutive kills cause the text to be accumulated into one
unit, which can be yanked all at once. Commands which do not kill text
separate the chunks of text on the kill ring.
R\bRe\bea\bad\bdl\bli\bin\bne\be I\bIn\bni\bit\bti\bia\bal\bli\biz\bza\bat\bti\bio\bon\bn
- Readline is customized by putting commands in an initialization file
- (the _\bi_\bn_\bp_\bu_\bt_\br_\bc file). The name of this file is taken from the value of
- the I\bIN\bNP\bPU\bUT\bTR\bRC\bC variable. If that variable is unset, the default is
- _\b~_\b/_\b._\bi_\bn_\bp_\bu_\bt_\br_\bc. When a program which uses the readline library starts up,
+ Readline is customized by putting commands in an initialization file
+ (the _\bi_\bn_\bp_\bu_\bt_\br_\bc file). The name of this file is taken from the value of
+ the I\bIN\bNP\bPU\bUT\bTR\bRC\bC variable. If that variable is unset, the default is
+ _\b~_\b/_\b._\bi_\bn_\bp_\bu_\bt_\br_\bc. When a program which uses the readline library starts up,
the initialization file is read, and the key bindings and variables are
- set. There are only a few basic constructs allowed in the readline
- initialization file. Blank lines are ignored. Lines beginning with a
- #\b# are comments. Lines beginning with a $\b$ indicate conditional con-
+ set. There are only a few basic constructs allowed in the readline
+ initialization file. Blank lines are ignored. Lines beginning with a
+ #\b# are comments. Lines beginning with a $\b$ indicate conditional con-
structs. Other lines denote key bindings and variable settings.
- The default key-bindings may be changed with an _\bi_\bn_\bp_\bu_\bt_\br_\bc file. Other
+ The default key-bindings may be changed with an _\bi_\bn_\bp_\bu_\bt_\br_\bc file. Other
programs that use this library may add their own commands and bindings.
For example, placing
M-Control-u: universal-argument
or
C-Meta-u: universal-argument
- into the _\bi_\bn_\bp_\bu_\bt_\br_\bc would make M-C-u execute the readline command _\bu_\bn_\bi_\bv_\be_\br_\b-
+ into the _\bi_\bn_\bp_\bu_\bt_\br_\bc would make M-C-u execute the readline command _\bu_\bn_\bi_\bv_\be_\br_\b-
_\bs_\ba_\bl_\b-_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt.
- The following symbolic character names are recognized: _\bR_\bU_\bB_\bO_\bU_\bT, _\bD_\bE_\bL,
+ The following symbolic character names are recognized: _\bR_\bU_\bB_\bO_\bU_\bT, _\bD_\bE_\bL,
_\bE_\bS_\bC, _\bL_\bF_\bD, _\bN_\bE_\bW_\bL_\bI_\bN_\bE, _\bR_\bE_\bT, _\bR_\bE_\bT_\bU_\bR_\bN, _\bS_\bP_\bC, _\bS_\bP_\bA_\bC_\bE, and _\bT_\bA_\bB.
- In addition to command names, readline allows keys to be bound to a
+ In addition to command names, readline allows keys to be bound to a
string that is inserted when the key is pressed (a _\bm_\ba_\bc_\br_\bo).
R\bRe\bea\bad\bdl\bli\bin\bne\be K\bKe\bey\by B\bBi\bin\bnd\bdi\bin\bng\bgs\bs
- The syntax for controlling key bindings in the _\bi_\bn_\bp_\bu_\bt_\br_\bc file is simple.
- All that is required is the name of the command or the text of a macro
- and a key sequence to which it should be bound. The name may be speci-
+ The syntax for controlling key bindings in the _\bi_\bn_\bp_\bu_\bt_\br_\bc file is simple.
+ All that is required is the name of the command or the text of a macro
+ and a key sequence to which it should be bound. The name may be speci-
fied in one of two ways: as a symbolic key name, possibly with _\bM_\be_\bt_\ba_\b- or
_\bC_\bo_\bn_\bt_\br_\bo_\bl_\b- prefixes, or as a key sequence.
Meta-Rubout: backward-kill-word
Control-o: "> output"
- In the above example, _\bC_\b-_\bu is bound to the function u\bun\bni\biv\bve\ber\brs\bsa\bal\bl-\b-a\bar\brg\bgu\bum\bme\ben\bnt\bt,
- _\bM_\b-_\bD_\bE_\bL is bound to the function b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-k\bki\bil\bll\bl-\b-w\bwo\bor\brd\bd, and _\bC_\b-_\bo is bound to
- run the macro expressed on the right hand side (that is, to insert the
+ In the above example, _\bC_\b-_\bu is bound to the function u\bun\bni\biv\bve\ber\brs\bsa\bal\bl-\b-a\bar\brg\bgu\bum\bme\ben\bnt\bt,
+ _\bM_\b-_\bD_\bE_\bL is bound to the function b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-k\bki\bil\bll\bl-\b-w\bwo\bor\brd\bd, and _\bC_\b-_\bo is bound to
+ run the macro expressed on the right hand side (that is, to insert the
text ``> output'' into the line).
- In the second form, "\b"k\bke\bey\bys\bse\beq\bq"\b":_\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be or _\bm_\ba_\bc_\br_\bo, k\bke\bey\bys\bse\beq\bq differs
- from k\bke\bey\byn\bna\bam\bme\be above in that strings denoting an entire key sequence may
- be specified by placing the sequence within double quotes. Some GNU
- Emacs style key escapes can be used, as in the following example, but
+ In the second form, "\b"k\bke\bey\bys\bse\beq\bq"\b":_\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be or _\bm_\ba_\bc_\br_\bo, k\bke\bey\bys\bse\beq\bq differs
+ from k\bke\bey\byn\bna\bam\bme\be above in that strings denoting an entire key sequence may
+ be specified by placing the sequence within double quotes. Some GNU
+ Emacs style key escapes can be used, as in the following example, but
the symbolic character names are not recognized.
"\C-u": universal-argument
"\e[11~": "Function Key 1"
In this example, _\bC_\b-_\bu is again bound to the function u\bun\bni\biv\bve\ber\brs\bsa\bal\bl-\b-a\bar\brg\bgu\bum\bme\ben\bnt\bt.
- _\bC_\b-_\bx _\bC_\b-_\br is bound to the function r\bre\be-\b-r\bre\bea\bad\bd-\b-i\bin\bni\bit\bt-\b-f\bfi\bil\ble\be, and _\bE_\bS_\bC _\b[ _\b1 _\b1 _\b~ is
+ _\bC_\b-_\bx _\bC_\b-_\br is bound to the function r\bre\be-\b-r\bre\bea\bad\bd-\b-i\bin\bni\bit\bt-\b-f\bfi\bil\ble\be, and _\bE_\bS_\bC _\b[ _\b1 _\b1 _\b~ is
bound to insert the text ``Function Key 1''.
The full set of GNU Emacs style escape sequences is
\\b\"\b" literal "
\\b\'\b' literal '
- In addition to the GNU Emacs style escape sequences, a second set of
+ In addition to the GNU Emacs style escape sequences, a second set of
backslash escapes is available:
\\b\a\ba alert (bell)
\\b\b\bb backspace
\\b\r\br carriage return
\\b\t\bt horizontal tab
\\b\v\bv vertical tab
- \\b\_\bn_\bn_\bn the eight-bit character whose value is the octal value
+ \\b\_\bn_\bn_\bn the eight-bit character whose value is the octal value
_\bn_\bn_\bn (one to three digits)
- \\b\x\bx_\bH_\bH the eight-bit character whose value is the hexadecimal
+ \\b\x\bx_\bH_\bH the eight-bit character whose value is the hexadecimal
value _\bH_\bH (one or two hex digits)
When entering the text of a macro, single or double quotes must be used
to indicate a macro definition. Unquoted text is assumed to be a func-
- tion name. In the macro body, the backslash escapes described above
- are expanded. Backslash will quote any other character in the macro
+ tion name. In the macro body, the backslash escapes described above
+ are expanded. Backslash will quote any other character in the macro
text, including " and '.
- B\bBa\bas\bsh\bh allows the current readline key bindings to be displayed or modi-
- fied with the b\bbi\bin\bnd\bd builtin command. The editing mode may be switched
- during interactive use by using the -\b-o\bo option to the s\bse\bet\bt builtin com-
+ B\bBa\bas\bsh\bh allows the current readline key bindings to be displayed or modi-
+ fied with the b\bbi\bin\bnd\bd builtin command. The editing mode may be switched
+ during interactive use by using the -\b-o\bo option to the s\bse\bet\bt builtin com-
mand (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below).
R\bRe\bea\bad\bdl\bli\bin\bne\be V\bVa\bar\bri\bia\bab\bbl\ble\bes\bs
s\bse\bet\bt _\bv_\ba_\br_\bi_\ba_\bb_\bl_\be_\b-_\bn_\ba_\bm_\be _\bv_\ba_\bl_\bu_\be
- Except where noted, readline variables can take the values O\bOn\bn or O\bOf\bff\bf.
+ Except where noted, readline variables can take the values O\bOn\bn or O\bOf\bff\bf.
The variables and their default values are:
b\bbe\bel\bll\bl-\b-s\bst\bty\byl\ble\be (\b(a\bau\bud\bdi\bib\bbl\ble\be)\b)
- Controls what happens when readline wants to ring the terminal
+ Controls what happens when readline wants to ring the terminal
bell. If set to n\bno\bon\bne\be, readline never rings the bell. If set to
- v\bvi\bis\bsi\bib\bbl\ble\be, readline uses a visible bell if one is available. If
+ v\bvi\bis\bsi\bib\bbl\ble\be, readline uses a visible bell if one is available. If
set to a\bau\bud\bdi\bib\bbl\ble\be, readline attempts to ring the terminal's bell.
b\bbi\bin\bnd\bd-\b-t\btt\bty\by-\b-s\bsp\bpe\bec\bci\bia\bal\bl-\b-c\bch\bha\bar\brs\bs (\b(O\bOn\bn)\b)
- If set to O\bOn\bn, readline attempts to bind the control characters
+ If set to O\bOn\bn, readline attempts to bind the control characters
treated specially by the kernel's terminal driver to their read-
line equivalents.
c\bco\bom\bmm\bme\ben\bnt\bt-\b-b\bbe\beg\bgi\bin\bn (\b(`\b``\b`#\b#'\b''\b')\b)
- The string that is inserted when the readline i\bin\bns\bse\ber\brt\bt-\b-c\bco\bom\bmm\bme\ben\bnt\bt
+ The string that is inserted when the readline i\bin\bns\bse\ber\brt\bt-\b-c\bco\bom\bmm\bme\ben\bnt\bt
command is executed. This command is bound to M\bM-\b-#\b# in emacs mode
and to #\b# in vi command mode.
c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bn-\b-i\big\bgn\bno\bor\bre\be-\b-c\bca\bas\bse\be (\b(O\bOf\bff\bf)\b)
If set to O\bOn\bn, readline performs filename matching and completion
in a case-insensitive fashion.
c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bn-\b-q\bqu\bue\ber\bry\by-\b-i\bit\bte\bem\bms\bs (\b(1\b10\b00\b0)\b)
- This determines when the user is queried about viewing the num-
- ber of possible completions generated by the p\bpo\bos\bss\bsi\bib\bbl\ble\be-\b-c\bco\bom\bmp\bpl\ble\be-\b-
- t\bti\bio\bon\bns\bs command. It may be set to any integer value greater than
- or equal to zero. If the number of possible completions is
+ This determines when the user is queried about viewing the num-
+ ber of possible completions generated by the p\bpo\bos\bss\bsi\bib\bbl\ble\be-\b-c\bco\bom\bmp\bpl\ble\be-\b-
+ t\bti\bio\bon\bns\bs command. It may be set to any integer value greater than
+ or equal to zero. If the number of possible completions is
greater than or equal to the value of this variable, the user is
- asked whether or not he wishes to view them; otherwise they are
+ asked whether or not he wishes to view them; otherwise they are
simply listed on the terminal.
c\bco\bon\bnv\bve\ber\brt\bt-\b-m\bme\bet\bta\ba (\b(O\bOn\bn)\b)
- If set to O\bOn\bn, readline will convert characters with the eighth
+ If set to O\bOn\bn, readline will convert characters with the eighth
bit set to an ASCII key sequence by stripping the eighth bit and
- prefixing an escape character (in effect, using escape as the
+ prefixing an escape character (in effect, using escape as the
_\bm_\be_\bt_\ba _\bp_\br_\be_\bf_\bi_\bx).
d\bdi\bis\bsa\bab\bbl\ble\be-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bn (\b(O\bOf\bff\bf)\b)
If set to O\bOn\bn, readline will inhibit word completion. Completion
- characters will be inserted into the line as if they had been
+ characters will be inserted into the line as if they had been
mapped to s\bse\bel\blf\bf-\b-i\bin\bns\bse\ber\brt\bt.
e\bed\bdi\bit\bti\bin\bng\bg-\b-m\bmo\bod\bde\be (\b(e\bem\bma\bac\bcs\bs)\b)
Controls whether readline begins with a set of key bindings sim-
v\bvi\bi.
e\ben\bna\bab\bbl\ble\be-\b-k\bke\bey\byp\bpa\bad\bd (\b(O\bOf\bff\bf)\b)
When set to O\bOn\bn, readline will try to enable the application key-
- pad when it is called. Some systems need this to enable the
+ pad when it is called. Some systems need this to enable the
arrow keys.
e\bex\bxp\bpa\ban\bnd\bd-\b-t\bti\bil\bld\bde\be (\b(O\bOf\bff\bf)\b)
- If set to o\bon\bn, tilde expansion is performed when readline
+ If set to o\bon\bn, tilde expansion is performed when readline
attempts word completion.
h\bhi\bis\bst\bto\bor\bry\by-\b-p\bpr\bre\bes\bse\ber\brv\bve\be-\b-p\bpo\boi\bin\bnt\bt
- If set to o\bon\bn, the history code attempts to place point at the
- same location on each history line retrieved with p\bpr\bre\bev\bvi\bio\bou\bus\bs-\b-h\bhi\bis\bs-\b-
+ If set to o\bon\bn, the history code attempts to place point at the
+ same location on each history line retrieved with p\bpr\bre\bev\bvi\bio\bou\bus\bs-\b-h\bhi\bis\bs-\b-
t\bto\bor\bry\by or n\bne\bex\bxt\bt-\b-h\bhi\bis\bst\bto\bor\bry\by.
h\bho\bor\bri\biz\bzo\bon\bnt\bta\bal\bl-\b-s\bsc\bcr\bro\bol\bll\bl-\b-m\bmo\bod\bde\be (\b(O\bOf\bff\bf)\b)
- When set to O\bOn\bn, makes readline use a single line for display,
+ When set to O\bOn\bn, makes readline use a single line for display,
scrolling the input horizontally on a single screen line when it
- becomes longer than the screen width rather than wrapping to a
+ becomes longer than the screen width rather than wrapping to a
new line.
i\bin\bnp\bpu\but\bt-\b-m\bme\bet\bta\ba (\b(O\bOf\bff\bf)\b)
- If set to O\bOn\bn, readline will enable eight-bit input (that is, it
- will not strip the high bit from the characters it reads),
+ If set to O\bOn\bn, readline will enable eight-bit input (that is, it
+ will not strip the high bit from the characters it reads),
regardless of what the terminal claims it can support. The name
m\bme\bet\bta\ba-\b-f\bfl\bla\bag\bg is a synonym for this variable.
i\bis\bse\bea\bar\brc\bch\bh-\b-t\bte\ber\brm\bmi\bin\bna\bat\bto\bor\brs\bs (\b(`\b``\b`C\bC-\b-[\b[C\bC-\b-J\bJ'\b''\b')\b)
- The string of characters that should terminate an incremental
- search without subsequently executing the character as a com-
- mand. If this variable has not been given a value, the charac-
+ The string of characters that should terminate an incremental
+ search without subsequently executing the character as a com-
+ mand. If this variable has not been given a value, the charac-
ters _\bE_\bS_\bC and _\bC_\b-_\bJ will terminate an incremental search.
k\bke\bey\bym\bma\bap\bp (\b(e\bem\bma\bac\bcs\bs)\b)
- Set the current readline keymap. The set of valid keymap names
- is _\be_\bm_\ba_\bc_\bs_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bs_\bt_\ba_\bn_\bd_\ba_\br_\bd_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bm_\be_\bt_\ba_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bc_\bt_\bl_\bx_\b, _\bv_\bi_\b, _\bv_\bi_\b-_\bc_\bo_\bm_\b-
- _\bm_\ba_\bn_\bd, and _\bv_\bi_\b-_\bi_\bn_\bs_\be_\br_\bt. _\bv_\bi is equivalent to _\bv_\bi_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd; _\be_\bm_\ba_\bc_\bs is
- equivalent to _\be_\bm_\ba_\bc_\bs_\b-_\bs_\bt_\ba_\bn_\bd_\ba_\br_\bd. The default value is _\be_\bm_\ba_\bc_\bs; the
+ Set the current readline keymap. The set of valid keymap names
+ is _\be_\bm_\ba_\bc_\bs_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bs_\bt_\ba_\bn_\bd_\ba_\br_\bd_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bm_\be_\bt_\ba_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bc_\bt_\bl_\bx_\b, _\bv_\bi_\b, _\bv_\bi_\b-_\bc_\bo_\bm_\b-
+ _\bm_\ba_\bn_\bd, and _\bv_\bi_\b-_\bi_\bn_\bs_\be_\br_\bt. _\bv_\bi is equivalent to _\bv_\bi_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd; _\be_\bm_\ba_\bc_\bs is
+ equivalent to _\be_\bm_\ba_\bc_\bs_\b-_\bs_\bt_\ba_\bn_\bd_\ba_\br_\bd. The default value is _\be_\bm_\ba_\bc_\bs; the
value of e\bed\bdi\bit\bti\bin\bng\bg-\b-m\bmo\bod\bde\be also affects the default keymap.
m\bma\bar\brk\bk-\b-d\bdi\bir\bre\bec\bct\bto\bor\bri\bie\bes\bs (\b(O\bOn\bn)\b)
If set to O\bOn\bn, completed directory names have a slash appended.
m\bma\bar\brk\bk-\b-m\bmo\bod\bdi\bif\bfi\bie\bed\bd-\b-l\bli\bin\bne\bes\bs (\b(O\bOf\bff\bf)\b)
- If set to O\bOn\bn, history lines that have been modified are dis-
+ If set to O\bOn\bn, history lines that have been modified are dis-
played with a preceding asterisk (*\b*).
m\bma\bar\brk\bk-\b-s\bsy\bym\bml\bli\bin\bnk\bke\bed\bd-\b-d\bdi\bir\bre\bec\bct\bto\bor\bri\bie\bes\bs (\b(O\bOf\bff\bf)\b)
If set to O\bOn\bn, completed names which are symbolic links to direc-
- tories have a slash appended (subject to the value of
+ tories have a slash appended (subject to the value of
m\bma\bar\brk\bk-\b-d\bdi\bir\bre\bec\bct\bto\bor\bri\bie\bes\bs).
m\bma\bat\btc\bch\bh-\b-h\bhi\bid\bdd\bde\ben\bn-\b-f\bfi\bil\ble\bes\bs (\b(O\bOn\bn)\b)
- This variable, when set to O\bOn\bn, causes readline to match files
- whose names begin with a `.' (hidden files) when performing
- filename completion, unless the leading `.' is supplied by the
+ This variable, when set to O\bOn\bn, 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.
o\bou\but\btp\bpu\but\bt-\b-m\bme\bet\bta\ba (\b(O\bOf\bff\bf)\b)
- If set to O\bOn\bn, readline will display characters with the eighth
+ If set to O\bOn\bn, readline will display characters with the eighth
bit set directly rather than as a meta-prefixed escape sequence.
p\bpa\bag\bge\be-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs (\b(O\bOn\bn)\b)
- If set to O\bOn\bn, readline uses an internal _\bm_\bo_\br_\be-like pager to dis-
+ If set to O\bOn\bn, readline uses an internal _\bm_\bo_\br_\be-like pager to dis-
play a screenful of possible completions at a time.
p\bpr\bri\bin\bnt\bt-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs-\b-h\bho\bor\bri\biz\bzo\bon\bnt\bta\bal\bll\bly\by (\b(O\bOf\bff\bf)\b)
- If set to O\bOn\bn, readline will display completions with matches
- sorted horizontally in alphabetical order, rather than down the
+ If set to O\bOn\bn, readline will display completions with matches
+ sorted horizontally in alphabetical order, rather than down the
screen.
s\bsh\bho\bow\bw-\b-a\bal\bll\bl-\b-i\bif\bf-\b-a\bam\bmb\bbi\big\bgu\buo\bou\bus\bs (\b(O\bOf\bff\bf)\b)
- This alters the default behavior of the completion functions.
+ This alters the default behavior of the completion functions.
If set to o\bon\bn, words which have more than one possible completion
- cause the matches to be listed immediately instead of ringing
+ cause the matches to be listed immediately instead of ringing
the bell.
s\bsh\bho\bow\bw-\b-a\bal\bll\bl-\b-i\bif\bf-\b-u\bun\bnm\bmo\bod\bdi\bif\bfi\bie\bed\bd (\b(O\bOf\bff\bf)\b)
- This alters the default behavior of the completion functions in
+ This alters the default behavior of the completion functions in
a fashion similar to s\bsh\bho\bow\bw-\b-a\bal\bll\bl-\b-i\bif\bf-\b-a\bam\bmb\bbi\big\bgu\buo\bou\bus\bs. If set to o\bon\bn, words
- which have more than one possible completion without any possi-
- ble partial completion (the possible completions don't share a
- common prefix) cause the matches to be listed immediately
+ which have more than one possible completion without any possi-
+ ble partial completion (the possible completions don't share a
+ common prefix) cause the matches to be listed immediately
instead of ringing the bell.
v\bvi\bis\bsi\bib\bbl\ble\be-\b-s\bst\bta\bat\bts\bs (\b(O\bOf\bff\bf)\b)
- If set to O\bOn\bn, a character denoting a file's type as reported by
- _\bs_\bt_\ba_\bt(2) is appended to the filename when listing possible com-
+ If set to O\bOn\bn, a character denoting a file's type as reported by
+ _\bs_\bt_\ba_\bt(2) is appended to the filename when listing possible com-
pletions.
R\bRe\bea\bad\bdl\bli\bin\bne\be C\bCo\bon\bnd\bdi\bit\bti\bio\bon\bna\bal\bl C\bCo\bon\bns\bst\btr\bru\buc\bct\bts\bs
- Readline implements a facility similar in spirit to the conditional
- compilation features of the C preprocessor which allows key bindings
- and variable settings to be performed as the result of tests. There
+ Readline implements a facility similar in spirit to the conditional
+ compilation features of the C preprocessor which allows key bindings
+ and variable settings to be performed as the result of tests. There
are four parser directives used.
- $\b$i\bif\bf The $\b$i\bif\bf construct allows bindings to be made based on the edit-
- ing mode, the terminal being used, or the application using
- readline. The text of the test extends to the end of the line;
+ $\b$i\bif\bf The $\b$i\bif\bf construct allows bindings to be made based on the edit-
+ ing mode, the terminal being used, or the application using
+ readline. The text of the test extends to the end of the line;
no characters are required to isolate it.
- m\bmo\bod\bde\be The m\bmo\bod\bde\be=\b= form of the $\b$i\bif\bf directive is used to test
- whether readline is in emacs or vi mode. This may be
- used in conjunction with the s\bse\bet\bt k\bke\bey\bym\bma\bap\bp command, for
- instance, to set bindings in the _\be_\bm_\ba_\bc_\bs_\b-_\bs_\bt_\ba_\bn_\bd_\ba_\br_\bd and
- _\be_\bm_\ba_\bc_\bs_\b-_\bc_\bt_\bl_\bx keymaps only if readline is starting out in
+ m\bmo\bod\bde\be The m\bmo\bod\bde\be=\b= form of the $\b$i\bif\bf directive is used to test
+ whether readline is in emacs or vi mode. This may be
+ used in conjunction with the s\bse\bet\bt k\bke\bey\bym\bma\bap\bp command, for
+ instance, to set bindings in the _\be_\bm_\ba_\bc_\bs_\b-_\bs_\bt_\ba_\bn_\bd_\ba_\br_\bd and
+ _\be_\bm_\ba_\bc_\bs_\b-_\bc_\bt_\bl_\bx keymaps only if readline is starting out in
emacs mode.
- t\bte\ber\brm\bm The t\bte\ber\brm\bm=\b= form may be used to include terminal-specific
+ t\bte\ber\brm\bm The t\bte\ber\brm\bm=\b= form may be used to include terminal-specific
key bindings, perhaps to bind the key sequences output by
the terminal's function keys. The word on the right side
of the =\b= is tested against the both full name of the ter-
- minal and the portion of the terminal name before the
- first -\b-. This allows _\bs_\bu_\bn to match both _\bs_\bu_\bn and _\bs_\bu_\bn_\b-_\bc_\bm_\bd,
+ minal and the portion of the terminal name before the
+ first -\b-. This allows _\bs_\bu_\bn to match both _\bs_\bu_\bn and _\bs_\bu_\bn_\b-_\bc_\bm_\bd,
for instance.
a\bap\bpp\bpl\bli\bic\bca\bat\bti\bio\bon\bn
The a\bap\bpp\bpl\bli\bic\bca\bat\bti\bio\bon\bn construct is used to include application-
specific settings. Each program using the readline
- library sets the _\ba_\bp_\bp_\bl_\bi_\bc_\ba_\bt_\bi_\bo_\bn _\bn_\ba_\bm_\be, and an initialization
+ library sets the _\ba_\bp_\bp_\bl_\bi_\bc_\ba_\bt_\bi_\bo_\bn _\bn_\ba_\bm_\be, and an initialization
file can test for a particular value. This could be used
- to bind key sequences to functions useful for a specific
- program. For instance, the following command adds a key
- sequence that quotes the current or previous word in
+ to bind key sequences to functions useful for a specific
+ program. For instance, the following command adds a key
+ sequence that quotes the current or previous word in
Bash:
$\b$i\bif\bf Bash
test fails.
$\b$i\bin\bnc\bcl\blu\bud\bde\be
- This directive takes a single filename as an argument and reads
- commands and bindings from that file. For example, the follow-
+ This directive takes a single filename as an argument and reads
+ commands and bindings from that file. For example, the follow-
ing directive would read _\b/_\be_\bt_\bc_\b/_\bi_\bn_\bp_\bu_\bt_\br_\bc:
$\b$i\bin\bnc\bcl\blu\bud\bde\be _\b/_\be_\bt_\bc_\b/_\bi_\bn_\bp_\bu_\bt_\br_\bc
S\bSe\bea\bar\brc\bch\bhi\bin\bng\bg
- Readline provides commands for searching through the command history
+ Readline provides commands for searching through the command history
(see H\bHI\bIS\bST\bTO\bOR\bRY\bY below) for lines containing a specified string. There are
two search modes: _\bi_\bn_\bc_\br_\be_\bm_\be_\bn_\bt_\ba_\bl and _\bn_\bo_\bn_\b-_\bi_\bn_\bc_\br_\be_\bm_\be_\bn_\bt_\ba_\bl.
- Incremental searches begin before the user has finished typing the
- search string. As each character of the search string is typed, read-
+ Incremental searches begin before the user has finished typing the
+ search string. As each character of the search string is typed, read-
line displays the next entry from the history matching the string typed
- so far. An incremental search requires only as many characters as
- needed to find the desired history entry. The characters present in
- the value of the i\bis\bse\bea\bar\brc\bch\bh-\b-t\bte\ber\brm\bmi\bin\bna\bat\bto\bor\brs\bs variable are used to terminate an
+ so far. An incremental search requires only as many characters as
+ needed to find the desired history entry. The characters present in
+ the value of the i\bis\bse\bea\bar\brc\bch\bh-\b-t\bte\ber\brm\bmi\bin\bna\bat\bto\bor\brs\bs variable are used to terminate an
incremental search. If that variable has not been assigned a value the
- Escape and Control-J characters will terminate an incremental search.
- Control-G will abort an incremental search and restore the original
- line. When the search is terminated, the history entry containing the
+ Escape and Control-J characters will terminate an incremental search.
+ Control-G will abort an incremental search and restore the original
+ line. When the search is terminated, the history entry containing the
search string becomes the current line.
- To find other matching entries in the history list, type Control-S or
- Control-R as appropriate. This will search backward or forward in the
- history for the next entry matching the search string typed so far.
- Any other key sequence bound to a readline command will terminate the
- search and execute that command. For instance, a _\bn_\be_\bw_\bl_\bi_\bn_\be will termi-
+ To find other matching entries in the history list, type Control-S or
+ Control-R as appropriate. This will search backward or forward in the
+ history for the next entry matching the search string typed so far.
+ Any other key sequence bound to a readline command will terminate the
+ search and execute that command. For instance, a _\bn_\be_\bw_\bl_\bi_\bn_\be will termi-
nate the search and accept the line, thereby executing the command from
the history list.
Readline remembers the last incremental search string. If two Control-
- Rs are typed without any intervening characters defining a new search
+ Rs are typed without any intervening characters defining a new search
string, any remembered search string is used.
- Non-incremental searches read the entire search string before starting
- to search for matching history lines. The search string may be typed
+ Non-incremental searches read the entire search string before starting
+ to search for matching history lines. The search string may be typed
by the user or be part of the contents of the current line.
R\bRe\bea\bad\bdl\bli\bin\bne\be C\bCo\bom\bmm\bma\ban\bnd\bd N\bNa\bam\bme\bes\bs
- The following is a list of the names of the commands and the default
+ The following is a list of the names of the commands and the default
key sequences to which they are bound. Command names without an accom-
panying key sequence are unbound by default. In the following descrip-
- tions, _\bp_\bo_\bi_\bn_\bt refers to the current cursor position, and _\bm_\ba_\br_\bk refers to
- a cursor position saved by the s\bse\bet\bt-\b-m\bma\bar\brk\bk command. The text between the
+ tions, _\bp_\bo_\bi_\bn_\bt refers to the current cursor position, and _\bm_\ba_\br_\bk refers to
+ a cursor position saved by the s\bse\bet\bt-\b-m\bma\bar\brk\bk command. The text between the
point and mark is referred to as the _\br_\be_\bg_\bi_\bo_\bn.
C\bCo\bom\bmm\bma\ban\bnd\bds\bs f\bfo\bor\br M\bMo\bov\bvi\bin\bng\bg
Move forward to the end of the next word. Words are composed of
alphanumeric characters (letters and digits).
b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-w\bwo\bor\brd\bd (\b(M\bM-\b-b\bb)\b)
- Move back to the start of the current or previous word. Words
+ Move back to the start of the current or previous word. Words
are composed of alphanumeric characters (letters and digits).
c\bcl\ble\bea\bar\br-\b-s\bsc\bcr\bre\bee\ben\bn (\b(C\bC-\b-l\bl)\b)
- Clear the screen leaving the current line at the top of the
- screen. With an argument, refresh the current line without
+ Clear the screen leaving the current line at the top of the
+ screen. With an argument, refresh the current line without
clearing the screen.
r\bre\bed\bdr\bra\baw\bw-\b-c\bcu\bur\brr\bre\ben\bnt\bt-\b-l\bli\bin\bne\be
Refresh the current line.
C\bCo\bom\bmm\bma\ban\bnd\bds\bs f\bfo\bor\br M\bMa\ban\bni\bip\bpu\bul\bla\bat\bti\bin\bng\bg t\bth\bhe\be H\bHi\bis\bst\bto\bor\bry\by
a\bac\bcc\bce\bep\bpt\bt-\b-l\bli\bin\bne\be (\b(N\bNe\bew\bwl\bli\bin\bne\be,\b, R\bRe\bet\btu\bur\brn\bn)\b)
Accept the line regardless of where the cursor is. If this line
- is non-empty, add it to the history list according to the state
- of the H\bHI\bIS\bST\bTC\bCO\bON\bNT\bTR\bRO\bOL\bL variable. If the line is a modified history
+ is non-empty, add it to the history list according to the state
+ of the H\bHI\bIS\bST\bTC\bCO\bON\bNT\bTR\bRO\bOL\bL variable. If the line is a modified history
line, then restore the history line to its original state.
p\bpr\bre\bev\bvi\bio\bou\bus\bs-\b-h\bhi\bis\bst\bto\bor\bry\by (\b(C\bC-\b-p\bp)\b)
Fetch the previous command from the history list, moving back in
the list.
n\bne\bex\bxt\bt-\b-h\bhi\bis\bst\bto\bor\bry\by (\b(C\bC-\b-n\bn)\b)
- Fetch the next command from the history list, moving forward in
+ Fetch the next command from the history list, moving forward in
the list.
b\bbe\beg\bgi\bin\bnn\bni\bin\bng\bg-\b-o\bof\bf-\b-h\bhi\bis\bst\bto\bor\bry\by (\b(M\bM-\b-<\b<)\b)
Move to the first line in the history.
e\ben\bnd\bd-\b-o\bof\bf-\b-h\bhi\bis\bst\bto\bor\bry\by (\b(M\bM-\b->\b>)\b)
- Move to the end of the input history, i.e., the line currently
+ Move to the end of the input history, i.e., the line currently
being entered.
r\bre\bev\bve\ber\brs\bse\be-\b-s\bse\bea\bar\brc\bch\bh-\b-h\bhi\bis\bst\bto\bor\bry\by (\b(C\bC-\b-r\br)\b)
- Search backward starting at the current line and moving `up'
- through the history as necessary. This is an incremental
+ Search backward starting at the current line and moving `up'
+ through the history as necessary. This is an incremental
search.
f\bfo\bor\brw\bwa\bar\brd\bd-\b-s\bse\bea\bar\brc\bch\bh-\b-h\bhi\bis\bst\bto\bor\bry\by (\b(C\bC-\b-s\bs)\b)
- Search forward starting at the current line and moving `down'
- through the history as necessary. This is an incremental
+ Search forward starting at the current line and moving `down'
+ through the history as necessary. This is an incremental
search.
n\bno\bon\bn-\b-i\bin\bnc\bcr\bre\bem\bme\ben\bnt\bta\bal\bl-\b-r\bre\bev\bve\ber\brs\bse\be-\b-s\bse\bea\bar\brc\bch\bh-\b-h\bhi\bis\bst\bto\bor\bry\by (\b(M\bM-\b-p\bp)\b)
Search backward through the history starting at the current line
- using a non-incremental search for a string supplied by the
+ using a non-incremental search for a string supplied by the
user.
n\bno\bon\bn-\b-i\bin\bnc\bcr\bre\bem\bme\ben\bnt\bta\bal\bl-\b-f\bfo\bor\brw\bwa\bar\brd\bd-\b-s\bse\bea\bar\brc\bch\bh-\b-h\bhi\bis\bst\bto\bor\bry\by (\b(M\bM-\b-n\bn)\b)
- Search forward through the history using a non-incremental
+ Search forward through the history using a non-incremental
search for a string supplied by the user.
h\bhi\bis\bst\bto\bor\bry\by-\b-s\bse\bea\bar\brc\bch\bh-\b-f\bfo\bor\brw\bwa\bar\brd\bd
- Search forward through the history for the string of characters
- between the start of the current line and the point. This is a
+ Search forward through the history for the string of characters
+ between the start of the current line and the point. This is a
non-incremental search.
h\bhi\bis\bst\bto\bor\bry\by-\b-s\bse\bea\bar\brc\bch\bh-\b-b\bba\bac\bck\bkw\bwa\bar\brd\bd
Search backward through the history for the string of characters
- between the start of the current line and the point. This is a
+ between the start of the current line and the point. This is a
non-incremental search.
y\bya\ban\bnk\bk-\b-n\bnt\bth\bh-\b-a\bar\brg\bg (\b(M\bM-\b-C\bC-\b-y\by)\b)
- Insert the first argument to the previous command (usually the
+ Insert the first argument to the previous command (usually the
second word on the previous line) at point. With an argument _\bn,
- insert the _\bnth word from the previous command (the words in the
- previous command begin with word 0). A negative argument
+ insert the _\bnth word from the previous command (the words in the
+ previous command begin with word 0). A negative argument
inserts the _\bnth word from the end of the previous command. Once
- the argument _\bn is computed, the argument is extracted as if the
+ the argument _\bn is computed, the argument is extracted as if the
"!_\bn" history expansion had been specified.
y\bya\ban\bnk\bk-\b-l\bla\bas\bst\bt-\b-a\bar\brg\bg (\b(M\bM-\b-.\b.,\b, M\bM-\b-_\b_)\b)
- Insert the last argument to the previous command (the last word
- of the previous history entry). With an argument, behave
- exactly like y\bya\ban\bnk\bk-\b-n\bnt\bth\bh-\b-a\bar\brg\bg. Successive calls to y\bya\ban\bnk\bk-\b-l\bla\bas\bst\bt-\b-a\bar\brg\bg
- move back through the history list, inserting the last argument
+ Insert the last argument to the previous command (the last word
+ of the previous history entry). With an argument, behave
+ exactly like y\bya\ban\bnk\bk-\b-n\bnt\bth\bh-\b-a\bar\brg\bg. Successive calls to y\bya\ban\bnk\bk-\b-l\bla\bas\bst\bt-\b-a\bar\brg\bg
+ 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
+ to extract the last argument, as if the "!$" history expansion
had been specified.
s\bsh\bhe\bel\bll\bl-\b-e\bex\bxp\bpa\ban\bnd\bd-\b-l\bli\bin\bne\be (\b(M\bM-\b-C\bC-\b-e\be)\b)
Expand the line as the shell does. This performs alias and his-
tory expansion as well as all of the shell word expansions. See
- H\bHI\bIS\bST\bTO\bOR\bRY\bY E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN below for a description of history expansion.
+ H\bHI\bIS\bST\bTO\bOR\bRY\bY E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN below for a description of history expansion.
h\bhi\bis\bst\bto\bor\bry\by-\b-e\bex\bxp\bpa\ban\bnd\bd-\b-l\bli\bin\bne\be (\b(M\bM-\b-^\b^)\b)
- Perform history expansion on the current line. See H\bHI\bIS\bST\bTO\bOR\bRY\bY
+ Perform history expansion on the current line. See H\bHI\bIS\bST\bTO\bOR\bRY\bY
E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN below for a description of history expansion.
m\bma\bag\bgi\bic\bc-\b-s\bsp\bpa\bac\bce\be
- Perform history expansion on the current line and insert a
+ Perform history expansion on the current line and insert a
space. See H\bHI\bIS\bST\bTO\bOR\bRY\bY E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN below for a description of history
expansion.
a\bal\bli\bia\bas\bs-\b-e\bex\bxp\bpa\ban\bnd\bd-\b-l\bli\bin\bne\be
- Perform alias expansion on the current line. See A\bAL\bLI\bIA\bAS\bSE\bES\bS above
+ Perform alias expansion on the current line. See A\bAL\bLI\bIA\bAS\bSE\bES\bS above
for a description of alias expansion.
h\bhi\bis\bst\bto\bor\bry\by-\b-a\ban\bnd\bd-\b-a\bal\bli\bia\bas\bs-\b-e\bex\bxp\bpa\ban\bnd\bd-\b-l\bli\bin\bne\be
Perform history and alias expansion on the current line.
i\bin\bns\bse\ber\brt\bt-\b-l\bla\bas\bst\bt-\b-a\bar\brg\bgu\bum\bme\ben\bnt\bt (\b(M\bM-\b-.\b.,\b, M\bM-\b-_\b_)\b)
A synonym for y\bya\ban\bnk\bk-\b-l\bla\bas\bst\bt-\b-a\bar\brg\bg.
o\bop\bpe\ber\bra\bat\bte\be-\b-a\ban\bnd\bd-\b-g\bge\bet\bt-\b-n\bne\bex\bxt\bt (\b(C\bC-\b-o\bo)\b)
- Accept the current line for execution and fetch the next line
- relative to the current line from the history for editing. Any
+ Accept the current line for execution and fetch the next line
+ relative to the current line from the history for editing. Any
argument is ignored.
e\bed\bdi\bit\bt-\b-a\ban\bnd\bd-\b-e\bex\bxe\bec\bcu\but\bte\be-\b-c\bco\bom\bmm\bma\ban\bnd\bd (\b(C\bC-\b-x\bxC\bC-\b-e\be)\b)
- Invoke an editor on the current command line, and execute the
- result as shell commands. B\bBa\bas\bsh\bh attempts to invoke $\b$F\bFC\bCE\bED\bDI\bIT\bT,
+ Invoke an editor on the current command line, and execute the
+ result as shell commands. B\bBa\bas\bsh\bh attempts to invoke $\b$F\bFC\bCE\bED\bDI\bIT\bT,
$\b$E\bED\bDI\bIT\bTO\bOR\bR, and _\be_\bm_\ba_\bc_\bs as the editor, in that order.
C\bCo\bom\bmm\bma\ban\bnd\bds\bs f\bfo\bor\br C\bCh\bha\ban\bng\bgi\bin\bng\bg T\bTe\bex\bxt\bt
d\bde\bel\ble\bet\bte\be-\b-c\bch\bha\bar\br (\b(C\bC-\b-d\bd)\b)
- Delete the character at point. If point is at the beginning of
- the line, there are no characters in the line, and the last
+ Delete the character at point. If point is at the beginning of
+ the line, there are no characters in the line, and the last
character typed was not bound to d\bde\bel\ble\bet\bte\be-\b-c\bch\bha\bar\br, then return E\bEO\bOF\bF.
b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-d\bde\bel\ble\bet\bte\be-\b-c\bch\bha\bar\br (\b(R\bRu\bub\bbo\bou\but\bt)\b)
- Delete the character behind the cursor. When given a numeric
+ Delete the character behind the cursor. When given a numeric
argument, save the deleted text on the kill ring.
f\bfo\bor\brw\bwa\bar\brd\bd-\b-b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-d\bde\bel\ble\bet\bte\be-\b-c\bch\bha\bar\br
- Delete the character under the cursor, unless the cursor is at
+ Delete the character under the cursor, unless the cursor is at
the end of the line, in which case the character behind the cur-
sor is deleted.
q\bqu\buo\bot\bte\bed\bd-\b-i\bin\bns\bse\ber\brt\bt (\b(C\bC-\b-q\bq,\b, C\bC-\b-v\bv)\b)
- Add the next character typed to the line verbatim. This is how
+ Add the next character typed to the line verbatim. This is how
to insert characters like C\bC-\b-q\bq, for example.
t\bta\bab\bb-\b-i\bin\bns\bse\ber\brt\bt (\b(C\bC-\b-v\bv T\bTA\bAB\bB)\b)
Insert a tab character.
s\bse\bel\blf\bf-\b-i\bin\bns\bse\ber\brt\bt (\b(a\ba,\b, b\bb,\b, A\bA,\b, 1\b1,\b, !\b!,\b, .\b..\b..\b.)\b)
Insert the character typed.
t\btr\bra\ban\bns\bsp\bpo\bos\bse\be-\b-c\bch\bha\bar\brs\bs (\b(C\bC-\b-t\bt)\b)
- Drag the character before point forward over the character at
- point, moving point forward as well. If point is at the end of
- the line, then this transposes the two characters before point.
+ Drag the character before point forward over the character at
+ point, moving point forward as well. If point is at the end of
+ the line, then this transposes the two characters before point.
Negative arguments have no effect.
t\btr\bra\ban\bns\bsp\bpo\bos\bse\be-\b-w\bwo\bor\brd\bds\bs (\b(M\bM-\b-t\bt)\b)
- Drag the word before point past the word after point, moving
- point over that word as well. If point is at the end of the
+ Drag the word before point past the word after point, moving
+ point over that word as well. If point is at the end of the
line, this transposes the last two words on the line.
u\bup\bpc\bca\bas\bse\be-\b-w\bwo\bor\brd\bd (\b(M\bM-\b-u\bu)\b)
- Uppercase the current (or following) word. With a negative
+ Uppercase the current (or following) word. With a negative
argument, uppercase the previous word, but do not move point.
d\bdo\bow\bwn\bnc\bca\bas\bse\be-\b-w\bwo\bor\brd\bd (\b(M\bM-\b-l\bl)\b)
- Lowercase the current (or following) word. With a negative
+ Lowercase the current (or following) word. With a negative
argument, lowercase the previous word, but do not move point.
c\bca\bap\bpi\bit\bta\bal\bli\biz\bze\be-\b-w\bwo\bor\brd\bd (\b(M\bM-\b-c\bc)\b)
- Capitalize the current (or following) word. With a negative
+ Capitalize the current (or following) word. With a negative
argument, capitalize the previous word, but do not move point.
o\bov\bve\ber\brw\bwr\bri\bit\bte\be-\b-m\bmo\bod\bde\be
- Toggle overwrite mode. With an explicit positive numeric argu-
+ Toggle overwrite mode. With an explicit positive numeric argu-
ment, switches to overwrite mode. With an explicit non-positive
numeric argument, switches to insert mode. This command affects
- only e\bem\bma\bac\bcs\bs mode; v\bvi\bi mode does overwrite differently. Each call
+ only e\bem\bma\bac\bcs\bs mode; v\bvi\bi mode does overwrite differently. Each call
to _\br_\be_\ba_\bd_\bl_\bi_\bn_\be_\b(_\b) starts in insert mode. In overwrite mode, charac-
- ters bound to s\bse\bel\blf\bf-\b-i\bin\bns\bse\ber\brt\bt replace the text at point rather than
- pushing the text to the right. Characters bound to b\bba\bac\bck\bk-\b-
- w\bwa\bar\brd\bd-\b-d\bde\bel\ble\bet\bte\be-\b-c\bch\bha\bar\br replace the character before point with a
+ ters bound to s\bse\bel\blf\bf-\b-i\bin\bns\bse\ber\brt\bt replace the text at point rather than
+ pushing the text to the right. Characters bound to b\bba\bac\bck\bk-\b-
+ w\bwa\bar\brd\bd-\b-d\bde\bel\ble\bet\bte\be-\b-c\bch\bha\bar\br replace the character before point with a
space. By default, this command is unbound.
K\bKi\bil\bll\bli\bin\bng\bg a\ban\bnd\bd Y\bYa\ban\bnk\bki\bin\bng\bg
b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-k\bki\bil\bll\bl-\b-l\bli\bin\bne\be (\b(C\bC-\b-x\bx R\bRu\bub\bbo\bou\but\bt)\b)
Kill backward to the beginning of the line.
u\bun\bni\bix\bx-\b-l\bli\bin\bne\be-\b-d\bdi\bis\bsc\bca\bar\brd\bd (\b(C\bC-\b-u\bu)\b)
- Kill backward from point to the beginning of the line. The
+ Kill backward from point to the beginning of the line. The
killed text is saved on the kill-ring.
k\bki\bil\bll\bl-\b-w\bwh\bho\bol\ble\be-\b-l\bli\bin\bne\be
- Kill all characters on the current line, no matter where point
+ Kill all characters on the current line, no matter where point
is.
k\bki\bil\bll\bl-\b-w\bwo\bor\brd\bd (\b(M\bM-\b-d\bd)\b)
- Kill from point to the end of the current word, or if between
- words, to the end of the next word. Word boundaries are the
+ Kill from point to the end of the current word, or if between
+ words, to the end of the next word. Word boundaries are the
same as those used by f\bfo\bor\brw\bwa\bar\brd\bd-\b-w\bwo\bor\brd\bd.
b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-k\bki\bil\bll\bl-\b-w\bwo\bor\brd\bd (\b(M\bM-\b-R\bRu\bub\bbo\bou\but\bt)\b)
- Kill the word behind point. Word boundaries are the same as
+ Kill the word behind point. Word boundaries are the same as
those used by b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-w\bwo\bor\brd\bd.
u\bun\bni\bix\bx-\b-w\bwo\bor\brd\bd-\b-r\bru\bub\bbo\bou\but\bt (\b(C\bC-\b-w\bw)\b)
- Kill the word behind point, using white space as a word bound-
+ Kill the word behind point, using white space as a word bound-
ary. The killed text is saved on the kill-ring.
u\bun\bni\bix\bx-\b-f\bfi\bil\ble\ben\bna\bam\bme\be-\b-r\bru\bub\bbo\bou\but\bt
- Kill the word behind point, using white space and the slash
- character as the word boundaries. The killed text is saved on
+ Kill the word behind point, using white space and the slash
+ character as the word boundaries. The killed text is saved on
the kill-ring.
d\bde\bel\ble\bet\bte\be-\b-h\bho\bor\bri\biz\bzo\bon\bnt\bta\bal\bl-\b-s\bsp\bpa\bac\bce\be (\b(M\bM-\b-\\b\)\b)
Delete all spaces and tabs around point.
c\bco\bop\bpy\by-\b-r\bre\beg\bgi\bio\bon\bn-\b-a\bas\bs-\b-k\bki\bil\bll\bl
Copy the text in the region to the kill buffer.
c\bco\bop\bpy\by-\b-b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-w\bwo\bor\brd\bd
- Copy the word before point to the kill buffer. The word bound-
+ Copy the word before point to the kill buffer. The word bound-
aries are the same as b\bba\bac\bck\bkw\bwa\bar\brd\bd-\b-w\bwo\bor\brd\bd.
c\bco\bop\bpy\by-\b-f\bfo\bor\brw\bwa\bar\brd\bd-\b-w\bwo\bor\brd\bd
- Copy the word following point to the kill buffer. The word
+ Copy the word following point to the kill buffer. The word
boundaries are the same as f\bfo\bor\brw\bwa\bar\brd\bd-\b-w\bwo\bor\brd\bd.
y\bya\ban\bnk\bk (\b(C\bC-\b-y\by)\b)
Yank the top of the kill ring into the buffer at point.
y\bya\ban\bnk\bk-\b-p\bpo\bop\bp (\b(M\bM-\b-y\by)\b)
- Rotate the kill ring, and yank the new top. Only works follow-
+ Rotate the kill ring, and yank the new top. Only works follow-
ing y\bya\ban\bnk\bk or y\bya\ban\bnk\bk-\b-p\bpo\bop\bp.
N\bNu\bum\bme\ber\bri\bic\bc A\bAr\brg\bgu\bum\bme\ben\bnt\bts\bs
d\bdi\big\bgi\bit\bt-\b-a\bar\brg\bgu\bum\bme\ben\bnt\bt (\b(M\bM-\b-0\b0,\b, M\bM-\b-1\b1,\b, .\b..\b..\b.,\b, M\bM-\b--\b-)\b)
- Add this digit to the argument already accumulating, or start a
+ Add this digit to the argument already accumulating, or start a
new argument. M-- starts a negative argument.
u\bun\bni\biv\bve\ber\brs\bsa\bal\bl-\b-a\bar\brg\bgu\bum\bme\ben\bnt\bt
- This is another way to specify an argument. If this command is
- followed by one or more digits, optionally with a leading minus
- sign, those digits define the argument. If the command is fol-
- lowed by digits, executing u\bun\bni\biv\bve\ber\brs\bsa\bal\bl-\b-a\bar\brg\bgu\bum\bme\ben\bnt\bt again ends the
- numeric argument, but is otherwise ignored. As a special case,
- if this command is immediately followed by a character that is
- neither a digit or minus sign, the argument count for the next
- command is multiplied by four. The argument count is initially
- one, so executing this function the first time makes the argu-
+ This is another way to specify an argument. If this command is
+ followed by one or more digits, optionally with a leading minus
+ sign, those digits define the argument. If the command is fol-
+ lowed by digits, executing u\bun\bni\biv\bve\ber\brs\bsa\bal\bl-\b-a\bar\brg\bgu\bum\bme\ben\bnt\bt again ends the
+ numeric argument, but is otherwise ignored. As a special case,
+ if this command is immediately followed by a character that is
+ neither a digit or minus sign, the argument count for the next
+ command is multiplied by four. The argument count is initially
+ one, so executing this function the first time makes the argu-
ment count four, a second time makes the argument count sixteen,
and so on.
C\bCo\bom\bmp\bpl\ble\bet\bti\bin\bng\bg
c\bco\bom\bmp\bpl\ble\bet\bte\be (\b(T\bTA\bAB\bB)\b)
- Attempt to perform completion on the text before point. B\bBa\bas\bsh\bh
+ Attempt to perform completion on the text before point. B\bBa\bas\bsh\bh
attempts completion treating the text as a variable (if the text
- begins with $\b$), username (if the text begins with ~\b~), hostname
- (if the text begins with @\b@), or command (including aliases and
+ begins with $\b$), username (if the text begins with ~\b~), hostname
+ (if the text begins with @\b@), or command (including aliases and
functions) in turn. If none of these produces a match, filename
completion is attempted.
p\bpo\bos\bss\bsi\bib\bbl\ble\be-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs (\b(M\bM-\b-?\b?)\b)
List the possible completions of the text before point.
i\bin\bns\bse\ber\brt\bt-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs (\b(M\bM-\b-*\b*)\b)
- Insert all completions of the text before point that would have
+ Insert all completions of the text before point that would have
been generated by p\bpo\bos\bss\bsi\bib\bbl\ble\be-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs.
m\bme\ben\bnu\bu-\b-c\bco\bom\bmp\bpl\ble\bet\bte\be
- Similar to c\bco\bom\bmp\bpl\ble\bet\bte\be, but replaces the word to be completed with
- a single match from the list of possible completions. Repeated
- execution of m\bme\ben\bnu\bu-\b-c\bco\bom\bmp\bpl\ble\bet\bte\be steps through the list of possible
- completions, inserting each match in turn. At the end of the
+ Similar to c\bco\bom\bmp\bpl\ble\bet\bte\be, but replaces the word to be completed with
+ a single match from the list of possible completions. Repeated
+ execution of m\bme\ben\bnu\bu-\b-c\bco\bom\bmp\bpl\ble\bet\bte\be steps through the list of possible
+ completions, inserting each match in turn. At the end of the
list of completions, the bell is rung (subject to the setting of
b\bbe\bel\bll\bl-\b-s\bst\bty\byl\ble\be) and the original text is restored. An argument of _\bn
- moves _\bn positions forward in the list of matches; a negative
- argument may be used to move backward through the list. This
- command is intended to be bound to T\bTA\bAB\bB, but is unbound by
+ moves _\bn positions forward in the list of matches; a negative
+ argument may be used to move backward through the list. This
+ command is intended to be bound to T\bTA\bAB\bB, but is unbound by
default.
d\bde\bel\ble\bet\bte\be-\b-c\bch\bha\bar\br-\b-o\bor\br-\b-l\bli\bis\bst\bt
- Deletes the character under the cursor if not at the beginning
- or end of the line (like d\bde\bel\ble\bet\bte\be-\b-c\bch\bha\bar\br). If at the end of the
+ Deletes the character under the cursor if not at the beginning
+ or end of the line (like d\bde\bel\ble\bet\bte\be-\b-c\bch\bha\bar\br). If at the end of the
line, behaves identically to p\bpo\bos\bss\bsi\bib\bbl\ble\be-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs. This command
is unbound by default.
c\bco\bom\bmp\bpl\ble\bet\bte\be-\b-f\bfi\bil\ble\ben\bna\bam\bme\be (\b(M\bM-\b-/\b/)\b)
List the possible completions of the text before point, treating
it as a filename.
c\bco\bom\bmp\bpl\ble\bet\bte\be-\b-u\bus\bse\ber\brn\bna\bam\bme\be (\b(M\bM-\b-~\b~)\b)
- Attempt completion on the text before point, treating it as a
+ Attempt completion on the text before point, treating it as a
username.
p\bpo\bos\bss\bsi\bib\bbl\ble\be-\b-u\bus\bse\ber\brn\bna\bam\bme\be-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs (\b(C\bC-\b-x\bx ~\b~)\b)
List the possible completions of the text before point, treating
it as a username.
c\bco\bom\bmp\bpl\ble\bet\bte\be-\b-v\bva\bar\bri\bia\bab\bbl\ble\be (\b(M\bM-\b-$\b$)\b)
- Attempt completion on the text before point, treating it as a
+ Attempt completion on the text before point, treating it as a
shell variable.
p\bpo\bos\bss\bsi\bib\bbl\ble\be-\b-v\bva\bar\bri\bia\bab\bbl\ble\be-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs (\b(C\bC-\b-x\bx $\b$)\b)
List the possible completions of the text before point, treating
it as a shell variable.
c\bco\bom\bmp\bpl\ble\bet\bte\be-\b-h\bho\bos\bst\btn\bna\bam\bme\be (\b(M\bM-\b-@\b@)\b)
- Attempt completion on the text before point, treating it as a
+ Attempt completion on the text before point, treating it as a
hostname.
p\bpo\bos\bss\bsi\bib\bbl\ble\be-\b-h\bho\bos\bst\btn\bna\bam\bme\be-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs (\b(C\bC-\b-x\bx @\b@)\b)
List the possible completions of the text before point, treating
it as a hostname.
c\bco\bom\bmp\bpl\ble\bet\bte\be-\b-c\bco\bom\bmm\bma\ban\bnd\bd (\b(M\bM-\b-!\b!)\b)
- Attempt completion on the text before point, treating it as a
- command name. Command completion attempts to match the text
- against aliases, reserved words, shell functions, shell
+ Attempt completion on the text before point, treating it as a
+ command name. Command completion attempts to match the text
+ against aliases, reserved words, shell functions, shell
builtins, and finally executable filenames, in that order.
p\bpo\bos\bss\bsi\bib\bbl\ble\be-\b-c\bco\bom\bmm\bma\ban\bnd\bd-\b-c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bns\bs (\b(C\bC-\b-x\bx !\b!)\b)
List the possible completions of the text before point, treating
it as a command name.
d\bdy\byn\bna\bam\bmi\bic\bc-\b-c\bco\bom\bmp\bpl\ble\bet\bte\be-\b-h\bhi\bis\bst\bto\bor\bry\by (\b(M\bM-\b-T\bTA\bAB\bB)\b)
- Attempt completion on the text before point, comparing the text
- against lines from the history list for possible completion
+ Attempt completion on the text before point, comparing the text
+ against lines from the history list for possible completion
matches.
c\bco\bom\bmp\bpl\ble\bet\bte\be-\b-i\bin\bnt\bto\bo-\b-b\bbr\bra\bac\bce\bes\bs (\b(M\bM-\b-{\b{)\b)
Perform filename completion and insert the list of possible com-
- pletions enclosed within braces so the list is available to the
+ pletions enclosed within braces so the list is available to the
shell (see B\bBr\bra\bac\bce\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn above).
K\bKe\bey\byb\bbo\boa\bar\brd\bd M\bMa\bac\bcr\bro\bos\bs
s\bst\bta\bar\brt\bt-\b-k\bkb\bbd\bd-\b-m\bma\bac\bcr\bro\bo (\b(C\bC-\b-x\bx (\b()\b)
- Begin saving the characters typed into the current keyboard
+ Begin saving the characters typed into the current keyboard
macro.
e\ben\bnd\bd-\b-k\bkb\bbd\bd-\b-m\bma\bac\bcr\bro\bo (\b(C\bC-\b-x\bx )\b))\b)
Stop saving the characters typed into the current keyboard macro
and store the definition.
c\bca\bal\bll\bl-\b-l\bla\bas\bst\bt-\b-k\bkb\bbd\bd-\b-m\bma\bac\bcr\bro\bo (\b(C\bC-\b-x\bx e\be)\b)
- Re-execute the last keyboard macro defined, by making the char-
+ Re-execute the last keyboard macro defined, by making the char-
acters in the macro appear as if typed at the keyboard.
M\bMi\bis\bsc\bce\bel\bll\bla\ban\bne\beo\bou\bus\bs
r\bre\be-\b-r\bre\bea\bad\bd-\b-i\bin\bni\bit\bt-\b-f\bfi\bil\ble\be (\b(C\bC-\b-x\bx C\bC-\b-r\br)\b)
- Read in the contents of the _\bi_\bn_\bp_\bu_\bt_\br_\bc file, and incorporate any
+ Read in the contents of the _\bi_\bn_\bp_\bu_\bt_\br_\bc file, and incorporate any
bindings or variable assignments found there.
a\bab\bbo\bor\brt\bt (\b(C\bC-\b-g\bg)\b)
- Abort the current editing command and ring the terminal's bell
+ Abort the current editing command and ring the terminal's bell
(subject to the setting of b\bbe\bel\bll\bl-\b-s\bst\bty\byl\ble\be).
d\bdo\bo-\b-u\bup\bpp\bpe\ber\brc\bca\bas\bse\be-\b-v\bve\ber\brs\bsi\bio\bon\bn (\b(M\bM-\b-a\ba,\b, M\bM-\b-b\bb,\b, M\bM-\b-_\bx,\b, .\b..\b..\b.)\b)
- If the metafied character _\bx is lowercase, run the command that
+ If the metafied character _\bx is lowercase, run the command that
is bound to the corresponding uppercase character.
p\bpr\bre\bef\bfi\bix\bx-\b-m\bme\bet\bta\ba (\b(E\bES\bSC\bC)\b)
Metafy the next character typed. E\bES\bSC\bC f\bf is equivalent to M\bMe\bet\bta\ba-\b-f\bf.
u\bun\bnd\bdo\bo (\b(C\bC-\b-_\b_,\b, C\bC-\b-x\bx C\bC-\b-u\bu)\b)
Incremental undo, separately remembered for each line.
r\bre\bev\bve\ber\brt\bt-\b-l\bli\bin\bne\be (\b(M\bM-\b-r\br)\b)
- Undo all changes made to this line. This is like executing the
- u\bun\bnd\bdo\bo command enough times to return the line to its initial
+ Undo all changes made to this line. This is like executing the
+ u\bun\bnd\bdo\bo command enough times to return the line to its initial
state.
t\bti\bil\bld\bde\be-\b-e\bex\bxp\bpa\ban\bnd\bd (\b(M\bM-\b-&\b&)\b)
Perform tilde expansion on the current word.
s\bse\bet\bt-\b-m\bma\bar\brk\bk (\b(C\bC-\b-@\b@,\b, M\bM-\b-<\b<s\bsp\bpa\bac\bce\be>\b>)\b)
- Set the mark to the point. If a numeric argument is supplied,
+ Set the mark to the point. If a numeric argument is supplied,
the mark is set to that position.
e\bex\bxc\bch\bha\ban\bng\bge\be-\b-p\bpo\boi\bin\bnt\bt-\b-a\ban\bnd\bd-\b-m\bma\bar\brk\bk (\b(C\bC-\b-x\bx C\bC-\b-x\bx)\b)
- Swap the point with the mark. The current cursor position is
- set to the saved position, and the old cursor position is saved
+ Swap the point with the mark. The current cursor position is
+ set to the saved position, and the old cursor position is saved
as the mark.
c\bch\bha\bar\bra\bac\bct\bte\ber\br-\b-s\bse\bea\bar\brc\bch\bh (\b(C\bC-\b-]\b])\b)
A character is read and point is moved to the next occurrence of
- that character. A negative count searches for previous occur-
+ that character. A negative count searches for previous occur-
rences.
c\bch\bha\bar\bra\bac\bct\bte\ber\br-\b-s\bse\bea\bar\brc\bch\bh-\b-b\bba\bac\bck\bkw\bwa\bar\brd\bd (\b(M\bM-\b-C\bC-\b-]\b])\b)
- A character is read and point is moved to the previous occur-
- rence of that character. A negative count searches for subse-
+ A character is read and point is moved to the previous occur-
+ rence of that character. A negative count searches for subse-
quent occurrences.
i\bin\bns\bse\ber\brt\bt-\b-c\bco\bom\bmm\bme\ben\bnt\bt (\b(M\bM-\b-#\b#)\b)
- Without a numeric argument, the value of the readline c\bco\bom\bm-\b-
- m\bme\ben\bnt\bt-\b-b\bbe\beg\bgi\bin\bn variable is inserted at the beginning of the current
+ Without a numeric argument, the value of the readline c\bco\bom\bm-\b-
+ m\bme\ben\bnt\bt-\b-b\bbe\beg\bgi\bin\bn variable is inserted at the beginning of the current
line. If a numeric argument is supplied, this command acts as a
- toggle: if the characters at the beginning of the line do not
- match the value of c\bco\bom\bmm\bme\ben\bnt\bt-\b-b\bbe\beg\bgi\bin\bn, the value is inserted, other-
+ toggle: if the characters at the beginning of the line do not
+ match the value of c\bco\bom\bmm\bme\ben\bnt\bt-\b-b\bbe\beg\bgi\bin\bn, the value is inserted, other-
wise the characters in c\bco\bom\bmm\bme\ben\bnt\bt-\b-b\bbe\beg\bgi\bin\bn are deleted from the begin-
- ning of the line. In either case, the line is accepted as if a
- newline had been typed. The default value of c\bco\bom\bmm\bme\ben\bnt\bt-\b-b\bbe\beg\bgi\bin\bn
- causes this command to make the current line a shell comment.
- If a numeric argument causes the comment character to be
+ ning of the line. In either case, the line is accepted as if a
+ newline had been typed. The default value of c\bco\bom\bmm\bme\ben\bnt\bt-\b-b\bbe\beg\bgi\bin\bn
+ causes this command to make the current line a shell comment.
+ If a numeric argument causes the comment character to be
removed, the line will be executed by the shell.
g\bgl\blo\bob\bb-\b-c\bco\bom\bmp\bpl\ble\bet\bte\be-\b-w\bwo\bor\brd\bd (\b(M\bM-\b-g\bg)\b)
- The word before point is treated as a pattern for pathname
- expansion, with an asterisk implicitly appended. This pattern
- is used to generate a list of matching file names for possible
+ The word before point is treated as a pattern for pathname
+ expansion, with an asterisk implicitly appended. This pattern
+ is used to generate a list of matching file names for possible
completions.
g\bgl\blo\bob\bb-\b-e\bex\bxp\bpa\ban\bnd\bd-\b-w\bwo\bor\brd\bd (\b(C\bC-\b-x\bx *\b*)\b)
- The word before point is treated as a pattern for pathname
- expansion, and the list of matching file names is inserted,
- replacing the word. If a numeric argument is supplied, an
+ The word before point is treated as a pattern for pathname
+ expansion, and the list of matching file names is inserted,
+ replacing the word. If a numeric argument is supplied, an
asterisk is appended before pathname expansion.
g\bgl\blo\bob\bb-\b-l\bli\bis\bst\bt-\b-e\bex\bxp\bpa\ban\bns\bsi\bio\bon\bns\bs (\b(C\bC-\b-x\bx g\bg)\b)
- The list of expansions that would have been generated by
- g\bgl\blo\bob\bb-\b-e\bex\bxp\bpa\ban\bnd\bd-\b-w\bwo\bor\brd\bd is displayed, and the line is redrawn. If a
- numeric argument is supplied, an asterisk is appended before
+ The list of expansions that would have been generated by
+ g\bgl\blo\bob\bb-\b-e\bex\bxp\bpa\ban\bnd\bd-\b-w\bwo\bor\brd\bd is displayed, and the line is redrawn. If a
+ numeric argument is supplied, an asterisk is appended before
pathname expansion.
d\bdu\bum\bmp\bp-\b-f\bfu\bun\bnc\bct\bti\bio\bon\bns\bs
- Print all of the functions and their key bindings to the read-
+ Print all of the functions and their key bindings to the read-
line output stream. If a numeric argument is supplied, the out-
- put is formatted in such a way that it can be made part of an
+ put is formatted in such a way that it can be made part of an
_\bi_\bn_\bp_\bu_\bt_\br_\bc file.
d\bdu\bum\bmp\bp-\b-v\bva\bar\bri\bia\bab\bbl\ble\bes\bs
Print all of the settable readline variables and their values to
- the readline output stream. If a numeric argument is supplied,
- the output is formatted in such a way that it can be made part
+ the readline output stream. If a numeric argument is supplied,
+ the output is formatted in such a way that it can be made part
of an _\bi_\bn_\bp_\bu_\bt_\br_\bc file.
d\bdu\bum\bmp\bp-\b-m\bma\bac\bcr\bro\bos\bs
- Print all of the readline key sequences bound to macros and the
- strings they output. If a numeric argument is supplied, the
+ Print all of the readline key sequences bound to macros and the
+ strings they output. If a numeric argument is supplied, the
output is formatted in such a way that it can be made part of an
_\bi_\bn_\bp_\bu_\bt_\br_\bc file.
d\bdi\bis\bsp\bpl\bla\bay\by-\b-s\bsh\bhe\bel\bll\bl-\b-v\bve\ber\brs\bsi\bio\bon\bn (\b(C\bC-\b-x\bx C\bC-\b-v\bv)\b)
- Display version information about the current instance of b\bba\bas\bsh\bh.
+ Display version information about the current instance of b\bba\bas\bsh\bh.
P\bPr\bro\bog\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn
- When word completion is attempted for an argument to a command for
- which a completion specification (a _\bc_\bo_\bm_\bp_\bs_\bp_\be_\bc) has been defined using
- the c\bco\bom\bmp\bpl\ble\bet\bte\be builtin (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below), the pro-
+ When word completion is attempted for an argument to a command for
+ which a completion specification (a _\bc_\bo_\bm_\bp_\bs_\bp_\be_\bc) has been defined using
+ the c\bco\bom\bmp\bpl\ble\bet\bte\be builtin (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below), the pro-
grammable completion facilities are invoked.
- First, the command name is identified. If a compspec has been defined
+ First, the command name is identified. If a compspec has been defined
for that command, the compspec is used to generate the list of possible
- completions for the word. If the command word is a full pathname, a
- compspec for the full pathname is searched for first. If no compspec
- is found for the full pathname, an attempt is made to find a compspec
+ completions for the word. If the command word is a full pathname, a
+ compspec for the full pathname is searched for first. If no compspec
+ is found for the full pathname, an attempt is made to find a compspec
for the portion following the final slash.
- Once a compspec has been found, it is used to generate the list of
- matching words. If a compspec is not found, the default b\bba\bas\bsh\bh comple-
+ Once a compspec has been found, it is used to generate the list of
+ matching words. If a compspec is not found, the default b\bba\bas\bsh\bh comple-
tion as described above under C\bCo\bom\bmp\bpl\ble\bet\bti\bin\bng\bg is performed.
- First, the actions specified by the compspec are used. Only matches
- which are prefixed by the word being completed are returned. When the
- -\b-f\bf or -\b-d\bd option is used for filename or directory name completion, the
+ First, the actions specified by the compspec are used. Only matches
+ which are prefixed by the word being completed are returned. When the
+ -\b-f\bf or -\b-d\bd option is used for filename or directory name completion, the
shell variable F\bFI\bIG\bGN\bNO\bOR\bRE\bE is used to filter the matches.
- Any completions specified by a filename expansion pattern to the -\b-G\bG
+ Any completions specified by a filename expansion pattern to the -\b-G\bG
option are generated next. The words generated by the pattern need not
- match the word being completed. The G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE shell variable is not
+ match the word being completed. The G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE shell variable is not
used to filter the matches, but the F\bFI\bIG\bGN\bNO\bOR\bRE\bE variable is used.
- Next, the string specified as the argument to the -\b-W\bW option is consid-
- ered. The string is first split using the characters in the I\bIF\bFS\bS spe-
- cial variable as delimiters. Shell quoting is honored. Each word is
- then expanded using brace expansion, tilde expansion, parameter and
- variable expansion, command substitution, and arithmetic expansion, as
+ Next, the string specified as the argument to the -\b-W\bW option is consid-
+ ered. The string is first split using the characters in the I\bIF\bFS\bS spe-
+ cial variable as delimiters. Shell quoting is honored. Each word is
+ then expanded using brace expansion, tilde expansion, parameter and
+ variable expansion, command substitution, and arithmetic expansion, as
described above under E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN. The results are split using the rules
described above under W\bWo\bor\brd\bd S\bSp\bpl\bli\bit\btt\bti\bin\bng\bg. The results of the expansion are
prefix-matched against the word being completed, and the matching words
become the possible completions.
- After these matches have been generated, any shell function or command
- specified with the -\b-F\bF and -\b-C\bC options is invoked. When the command or
+ After these matches have been generated, any shell function or command
+ specified with the -\b-F\bF and -\b-C\bC options is invoked. When the command or
function is invoked, the C\bCO\bOM\bMP\bP_\b_L\bLI\bIN\bNE\bE and C\bCO\bOM\bMP\bP_\b_P\bPO\bOI\bIN\bNT\bT variables are
- assigned values as described above under S\bSh\bhe\bel\bll\bl V\bVa\bar\bri\bia\bab\bbl\ble\bes\bs. If a shell
- function is being invoked, the C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDS\bS and C\bCO\bOM\bMP\bP_\b_C\bCW\bWO\bOR\bRD\bD variables are
- also set. When the function or command is invoked, the first argument
- is the name of the command whose arguments are being completed, the
- second argument is the word being completed, and the third argument is
- the word preceding the word being completed on the current command
+ assigned values as described above under S\bSh\bhe\bel\bll\bl V\bVa\bar\bri\bia\bab\bbl\ble\bes\bs. If a shell
+ function is being invoked, the C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDS\bS and C\bCO\bOM\bMP\bP_\b_C\bCW\bWO\bOR\bRD\bD variables are
+ also set. When the function or command is invoked, the first argument
+ is the name of the command whose arguments are being completed, the
+ second argument is the word being completed, and the third argument is
+ the word preceding the word being completed on the current command
line. No filtering of the generated completions against the word being
completed is performed; the function or command has complete freedom in
generating the matches.
- Any function specified with -\b-F\bF is invoked first. The function may use
- any of the shell facilities, including the c\bco\bom\bmp\bpg\bge\ben\bn builtin described
- below, to generate the matches. It must put the possible completions
+ Any function specified with -\b-F\bF is invoked first. The function may use
+ any of the shell facilities, including the c\bco\bom\bmp\bpg\bge\ben\bn builtin described
+ below, to generate the matches. It must put the possible completions
in the C\bCO\bOM\bMP\bPR\bRE\bEP\bPL\bLY\bY array variable.
- Next, any command specified with the -\b-C\bC option is invoked in an envi-
- ronment equivalent to command substitution. It should print a list of
- completions, one per line, to the standard output. Backslash may be
+ Next, any command specified with the -\b-C\bC option is invoked in an envi-
+ ronment equivalent to command substitution. It should print a list of
+ completions, one per line, to the standard output. Backslash may be
used to escape a newline, if necessary.
- After all of the possible completions are generated, any filter speci-
- fied with the -\b-X\bX option is applied to the list. The filter is a pat-
- tern as used for pathname expansion; a &\b& in the pattern is replaced
- with the text of the word being completed. A literal &\b& may be escaped
- with a backslash; the backslash is removed before attempting a match.
- Any completion that matches the pattern will be removed from the list.
+ After all of the possible completions are generated, any filter speci-
+ fied with the -\b-X\bX option is applied to the list. The filter is a pat-
+ tern as used for pathname expansion; a &\b& in the pattern is replaced
+ with the text of the word being completed. A literal &\b& may be escaped
+ with a backslash; the backslash is removed before attempting a match.
+ Any completion that matches the pattern will be removed from the list.
A leading !\b! negates the pattern; in this case any completion not match-
ing the pattern will be removed.
added to each member of the completion list, and the result is returned
to the readline completion code as the list of possible completions.
- If the previously-applied actions do not generate any matches, and the
- -\b-o\bo d\bdi\bir\brn\bna\bam\bme\bes\bs option was supplied to c\bco\bom\bmp\bpl\ble\bet\bte\be when the compspec was
+ If the previously-applied actions do not generate any matches, and the
+ -\b-o\bo d\bdi\bir\brn\bna\bam\bme\bes\bs option was supplied to c\bco\bom\bmp\bpl\ble\bet\bte\be when the compspec was
defined, directory name completion is attempted.
- If the -\b-o\bo p\bpl\blu\bus\bsd\bdi\bir\brs\bs option was supplied to c\bco\bom\bmp\bpl\ble\bet\bte\be when the compspec
+ If the -\b-o\bo p\bpl\blu\bus\bsd\bdi\bir\brs\bs option was supplied to c\bco\bom\bmp\bpl\ble\bet\bte\be when the compspec
was defined, directory name completion is attempted and any matches are
added to the results of the other actions.
- By default, if a compspec is found, whatever it generates is returned
- to the completion code as the full set of possible completions. The
+ By default, if a compspec is found, whatever it generates is returned
+ to the completion code as the full set of possible completions. The
default b\bba\bas\bsh\bh completions are not attempted, and the readline default of
filename completion is disabled. If the -\b-o\bo b\bba\bas\bsh\bhd\bde\bef\bfa\bau\bul\blt\bt option was sup-
- plied to c\bco\bom\bmp\bpl\ble\bet\bte\be when the compspec was defined, the b\bba\bas\bsh\bh default com-
+ plied to c\bco\bom\bmp\bpl\ble\bet\bte\be when the compspec was defined, the b\bba\bas\bsh\bh default com-
pletions are attempted if the compspec generates no matches. If the -\b-o\bo
- d\bde\bef\bfa\bau\bul\blt\bt option was supplied to c\bco\bom\bmp\bpl\ble\bet\bte\be when the compspec was defined,
- readline's default completion will be performed if the compspec (and,
+ d\bde\bef\bfa\bau\bul\blt\bt option was supplied to c\bco\bom\bmp\bpl\ble\bet\bte\be when the compspec was defined,
+ readline's default completion will be performed if the compspec (and,
if attempted, the default b\bba\bas\bsh\bh completions) generate no matches.
- When a compspec indicates that directory name completion is desired,
- the programmable completion functions force readline to append a slash
- to completed names which are symbolic links to directories, subject to
- the value of the m\bma\bar\brk\bk-\b-d\bdi\bir\bre\bec\bct\bto\bor\bri\bie\bes\bs readline variable, regardless of the
+ When a compspec indicates that directory name completion is desired,
+ the programmable completion functions force readline to append a slash
+ to completed names which are symbolic links to directories, subject to
+ the value of the m\bma\bar\brk\bk-\b-d\bdi\bir\bre\bec\bct\bto\bor\bri\bie\bes\bs readline variable, regardless of the
setting of the m\bma\bar\brk\bk-\b-s\bsy\bym\bml\bli\bin\bnk\bke\bed\bd-\b-d\bdi\bir\bre\bec\bct\bto\bor\bri\bie\bes\bs readline variable.
H\bHI\bIS\bST\bTO\bOR\bRY\bY
- When the -\b-o\bo h\bhi\bis\bst\bto\bor\bry\by option to the s\bse\bet\bt builtin is enabled, the shell
+ When the -\b-o\bo h\bhi\bis\bst\bto\bor\bry\by option to the s\bse\bet\bt builtin is enabled, the shell
provides access to the _\bc_\bo_\bm_\bm_\ba_\bn_\bd _\bh_\bi_\bs_\bt_\bo_\br_\by, the list of commands previously
- typed. The value of the H\bHI\bIS\bST\bTS\bSI\bIZ\bZE\bE variable is used as the number of
+ typed. The value of the H\bHI\bIS\bST\bTS\bSI\bIZ\bZE\bE variable is used as the number of
commands to save in a history list. The text of the last H\bHI\bIS\bST\bTS\bSI\bIZ\bZE\bE com-
- mands (default 500) is saved. The shell stores each command in the
- history list prior to parameter and variable expansion (see E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN
- above) but after history expansion is performed, subject to the values
+ mands (default 500) is saved. The shell stores each command in the
+ history list prior to parameter and variable expansion (see E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN
+ above) but after history expansion is performed, subject to the values
of the shell variables H\bHI\bIS\bST\bTI\bIG\bGN\bNO\bOR\bRE\bE and H\bHI\bIS\bST\bTC\bCO\bON\bNT\bTR\bRO\bOL\bL.
On startup, the history is initialized from the file named by the vari-
- able H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE (default _\b~_\b/_\b._\bb_\ba_\bs_\bh_\b__\bh_\bi_\bs_\bt_\bo_\br_\by). The file named by the value
- of H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE is truncated, if necessary, to contain no more than the
+ able H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE (default _\b~_\b/_\b._\bb_\ba_\bs_\bh_\b__\bh_\bi_\bs_\bt_\bo_\br_\by). The file named by the value
+ of H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE is truncated, if necessary, to contain no more than the
number of lines specified by the value of H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bES\bSI\bIZ\bZE\bE. When an inter-
- active shell exits, the last $\b$H\bHI\bIS\bST\bTS\bSI\bIZ\bZE\bE lines are copied from the his-
+ active shell exits, the last $\b$H\bHI\bIS\bST\bTS\bSI\bIZ\bZE\bE lines are copied from the his-
tory list to $\b$H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE. If the h\bhi\bis\bst\bta\bap\bpp\bpe\ben\bnd\bd shell option is enabled (see
the description of s\bsh\bho\bop\bpt\bt under S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below), the lines
- are appended to the history file, otherwise the history file is over-
- written. If H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE is unset, or if the history file is unwritable,
- the history is not saved. After saving the history, the history file
- is truncated to contain no more than H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bES\bSI\bIZ\bZE\bE lines. If H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE-\b-
+ are appended to the history file, otherwise the history file is over-
+ written. If H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE is unset, or if the history file is unwritable,
+ the history is not saved. After saving the history, the history file
+ is truncated to contain no more than H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bES\bSI\bIZ\bZE\bE lines. If H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE-\b-
S\bSI\bIZ\bZE\bE is not set, no truncation is performed.
- The builtin command f\bfc\bc (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below) may be used
+ The builtin command f\bfc\bc (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below) may be used
to list or edit and re-execute a portion of the history list. The h\bhi\bis\bs-\b-
- t\bto\bor\bry\by builtin may be used to display or modify the history list and
- manipulate the history file. When using command-line editing, search
- commands are available in each editing mode that provide access to the
+ t\bto\bor\bry\by builtin may be used to display or modify the history list and
+ manipulate the history file. When using command-line editing, search
+ commands are available in each editing mode that provide access to the
history list.
- The shell allows control over which commands are saved on the history
+ The shell allows control over which commands are saved on the history
list. The H\bHI\bIS\bST\bTC\bCO\bON\bNT\bTR\bRO\bOL\bL and H\bHI\bIS\bST\bTI\bIG\bGN\bNO\bOR\bRE\bE variables may be set to cause the
shell to save only a subset of the commands entered. The c\bcm\bmd\bdh\bhi\bis\bst\bt shell
- option, if enabled, causes the shell to attempt to save each line of a
- multi-line command in the same history entry, adding semicolons where
- necessary to preserve syntactic correctness. The l\bli\bit\bth\bhi\bis\bst\bt shell option
- causes the shell to save the command with embedded newlines instead of
+ option, if enabled, causes the shell to attempt to save each line of a
+ multi-line command in the same history entry, adding semicolons where
+ necessary to preserve syntactic correctness. The l\bli\bit\bth\bhi\bis\bst\bt shell option
+ causes the shell to save the command with embedded newlines instead of
semicolons. See the description of the s\bsh\bho\bop\bpt\bt builtin below under S\bSH\bHE\bEL\bLL\bL
B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS for information on setting and unsetting shell
options.
H\bHI\bIS\bST\bTO\bOR\bRY\bY E\bEX\bXP\bPA\bAN\bNS\bSI\bIO\bON\bN
- The shell supports a history expansion feature that is similar to the
- history expansion in c\bcs\bsh\bh.\b. This section describes what syntax features
- are available. This feature is enabled by default for interactive
+ The shell supports a history expansion feature that is similar to the
+ history expansion in c\bcs\bsh\bh.\b. This section describes what syntax features
+ are available. This feature is enabled by default for interactive
shells, and can be disabled using the +\b+H\bH option to the s\bse\bet\bt builtin com-
mand (see S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS below). Non-interactive shells do not
perform history expansion by default.
History expansions introduce words from the history list into the input
- stream, making it easy to repeat commands, insert the arguments to a
+ stream, making it easy to repeat commands, insert the arguments to a
previous command into the current input line, or fix errors in previous
commands quickly.
- History expansion is performed immediately after a complete line is
- read, before the shell breaks it into words. It takes place in two
- parts. The first is to determine which line from the history list to
+ History expansion is performed immediately after a complete line is
+ read, before the shell breaks it into words. It takes place in two
+ parts. The first is to determine which line from the history list to
use during substitution. The second is to select portions of that line
for inclusion into the current one. The line selected from the history
- is the _\be_\bv_\be_\bn_\bt, and the portions of that line that are acted upon are
- _\bw_\bo_\br_\bd_\bs. Various _\bm_\bo_\bd_\bi_\bf_\bi_\be_\br_\bs are available to manipulate the selected
+ is the _\be_\bv_\be_\bn_\bt, and the portions of that line that are acted upon are
+ _\bw_\bo_\br_\bd_\bs. Various _\bm_\bo_\bd_\bi_\bf_\bi_\be_\br_\bs are available to manipulate the selected
words. The line is broken into words in the same fashion as when read-
- ing input, so that several _\bm_\be_\bt_\ba_\bc_\bh_\ba_\br_\ba_\bc_\bt_\be_\br-separated words surrounded by
- quotes are considered one word. History expansions are introduced by
- the appearance of the history expansion character, which is !\b! by
- default. Only backslash (\\b\) and single quotes can quote the history
+ ing input, so that several _\bm_\be_\bt_\ba_\bc_\bh_\ba_\br_\ba_\bc_\bt_\be_\br-separated words surrounded by
+ quotes are considered one word. History expansions are introduced by
+ the appearance of the history expansion character, which is !\b! by
+ default. Only backslash (\\b\) and single quotes can quote the history
expansion character.
- Several characters inhibit history expansion if found immediately fol-
- lowing the history expansion character, even if it is unquoted: space,
- tab, newline, carriage return, and =\b=. If the e\bex\bxt\btg\bgl\blo\bob\bb shell option is
+ Several characters inhibit history expansion if found immediately fol-
+ lowing the history expansion character, even if it is unquoted: space,
+ tab, newline, carriage return, and =\b=. If the e\bex\bxt\btg\bgl\blo\bob\bb shell option is
enabled, (\b( will also inhibit expansion.
- Several shell options settable with the s\bsh\bho\bop\bpt\bt builtin may be used to
- tailor the behavior of history expansion. If the h\bhi\bis\bst\btv\bve\ber\bri\bif\bfy\by shell
- option is enabled (see the description of the s\bsh\bho\bop\bpt\bt builtin), and r\bre\bea\bad\bd-\b-
- l\bli\bin\bne\be is being used, history substitutions are not immediately passed to
- the shell parser. Instead, the expanded line is reloaded into the
- r\bre\bea\bad\bdl\bli\bin\bne\be editing buffer for further modification. If r\bre\bea\bad\bdl\bli\bin\bne\be is being
- used, and the h\bhi\bis\bst\btr\bre\bee\bed\bdi\bit\bt shell option is enabled, a failed history sub-
- stitution will be reloaded into the r\bre\bea\bad\bdl\bli\bin\bne\be editing buffer for correc-
- tion. The -\b-p\bp option to the h\bhi\bis\bst\bto\bor\bry\by builtin command may be used to see
- what a history expansion will do before using it. The -\b-s\bs option to the
- h\bhi\bis\bst\bto\bor\bry\by builtin may be used to add commands to the end of the history
- list without actually executing them, so that they are available for
- subsequent recall.
-
- The shell allows control of the various characters used by the history
+ Several shell options settable with the s\bsh\bho\bop\bpt\bt builtin may be used to
+ tailor the behavior of history expansion. If the h\bhi\bis\bst\btv\bve\ber\bri\bif\bfy\by shell
+ option is enabled (see the description of the s\bsh\bho\bop\bpt\bt builtin), and
+ r\bre\bea\bad\bdl\bli\bin\bne\be is being used, history substitutions are not immediately
+ passed to the shell parser. Instead, the expanded line is reloaded
+ into the r\bre\bea\bad\bdl\bli\bin\bne\be editing buffer for further modification. If r\bre\bea\bad\bdl\bli\bin\bne\be
+ is being used, and the h\bhi\bis\bst\btr\bre\bee\bed\bdi\bit\bt shell option is enabled, a failed
+ history substitution will be reloaded into the r\bre\bea\bad\bdl\bli\bin\bne\be editing buffer
+ for correction. The -\b-p\bp option to the h\bhi\bis\bst\bto\bor\bry\by builtin command may be
+ used to see what a history expansion will do before using it. The -\b-s\bs
+ option to the h\bhi\bis\bst\bto\bor\bry\by builtin may be used to add commands to the end of
+ the history list without actually executing them, so that they are
+ available for subsequent recall.
+
+ The shell allows control of the various characters used by the history
expansion mechanism (see the description of h\bhi\bis\bst\btc\bch\bha\bar\brs\bs above under S\bSh\bhe\bel\bll\bl
V\bVa\bar\bri\bia\bab\bbl\ble\bes\bs).
E\bEv\bve\ben\bnt\bt D\bDe\bes\bsi\big\bgn\bna\bat\bto\bor\brs\bs
- An event designator is a reference to a command line entry in the his-
+ An event designator is a reference to a command line entry in the his-
tory list.
- !\b! Start a history substitution, except when followed by a b\bbl\bla\ban\bnk\bk,
- newline, carriage return, = or ( (when the e\bex\bxt\btg\bgl\blo\bob\bb shell option
+ !\b! Start a history substitution, except when followed by a b\bbl\bla\ban\bnk\bk,
+ newline, carriage return, = or ( (when the e\bex\bxt\btg\bgl\blo\bob\bb shell option
is enabled using the s\bsh\bho\bop\bpt\bt builtin).
!\b!_\bn Refer to command line _\bn.
!\b!-\b-_\bn Refer to the current command line minus _\bn.
!\b!_\bs_\bt_\br_\bi_\bn_\bg
Refer to the most recent command starting with _\bs_\bt_\br_\bi_\bn_\bg.
!\b!?\b?_\bs_\bt_\br_\bi_\bn_\bg[\b[?\b?]\b]
- Refer to the most recent command containing _\bs_\bt_\br_\bi_\bn_\bg. The trail-
+ Refer to the most recent command containing _\bs_\bt_\br_\bi_\bn_\bg. The trail-
ing ?\b? may be omitted if _\bs_\bt_\br_\bi_\bn_\bg is followed immediately by a new-
line.
^\b^_\bs_\bt_\br_\bi_\bn_\bg_\b1^\b^_\bs_\bt_\br_\bi_\bn_\bg_\b2^\b^
- Quick substitution. Repeat the last command, replacing _\bs_\bt_\br_\bi_\bn_\bg_\b1
+ Quick substitution. Repeat the last command, replacing _\bs_\bt_\br_\bi_\bn_\bg_\b1
with _\bs_\bt_\br_\bi_\bn_\bg_\b2. Equivalent to ``!!:s/_\bs_\bt_\br_\bi_\bn_\bg_\b1/_\bs_\bt_\br_\bi_\bn_\bg_\b2/'' (see M\bMo\bod\bd-\b-
i\bif\bfi\bie\ber\brs\bs below).
!\b!#\b# The entire command line typed so far.
W\bWo\bor\brd\bd D\bDe\bes\bsi\big\bgn\bna\bat\bto\bor\brs\bs
- Word designators are used to select desired words from the event. A :\b:
- separates the event specification from the word designator. It may be
- omitted if the word designator begins with a ^\b^, $\b$, *\b*, -\b-, or %\b%. Words
- are numbered from the beginning of the line, with the first word being
- denoted by 0 (zero). Words are inserted into the current line sepa-
+ Word designators are used to select desired words from the event. A :\b:
+ separates the event specification from the word designator. It may be
+ omitted if the word designator begins with a ^\b^, $\b$, *\b*, -\b-, or %\b%. Words
+ are numbered from the beginning of the line, with the first word being
+ denoted by 0 (zero). Words are inserted into the current line sepa-
rated by single spaces.
0\b0 (\b(z\bze\ber\bro\bo)\b)
$\b$ The last argument.
%\b% The word matched by the most recent `?_\bs_\bt_\br_\bi_\bn_\bg?' search.
_\bx-\b-_\by A range of words; `-_\by' abbreviates `0-_\by'.
- *\b* All of the words but the zeroth. This is a synonym for `_\b1_\b-_\b$'.
- It is not an error to use *\b* if there is just one word in the
+ *\b* All of the words but the zeroth. This is a synonym for `_\b1_\b-_\b$'.
+ It is not an error to use *\b* if there is just one word in the
event; the empty string is returned in that case.
x\bx*\b* Abbreviates _\bx_\b-_\b$.
x\bx-\b- Abbreviates _\bx_\b-_\b$ like x\bx*\b*, but omits the last word.
- If a word designator is supplied without an event specification, the
+ If a word designator is supplied without an event specification, the
previous command is used as the event.
M\bMo\bod\bdi\bif\bfi\bie\ber\brs\bs
- After the optional word designator, there may appear a sequence of one
+ After the optional word designator, there may appear a sequence of one
or more of the following modifiers, each preceded by a `:'.
h\bh Remove a trailing file name component, leaving only the head.
e\be Remove all but the trailing suffix.
p\bp Print the new command but do not execute it.
q\bq Quote the substituted words, escaping further substitutions.
- x\bx Quote the substituted words as with q\bq, but break into words at
+ x\bx Quote the substituted words as with q\bq, but break into words at
b\bbl\bla\ban\bnk\bks\bs and newlines.
s\bs/\b/_\bo_\bl_\bd/\b/_\bn_\be_\bw/\b/
- Substitute _\bn_\be_\bw for the first occurrence of _\bo_\bl_\bd in the event
- line. Any delimiter can be used in place of /. The final
- delimiter is optional if it is the last character of the event
- line. The delimiter may be quoted in _\bo_\bl_\bd and _\bn_\be_\bw with a single
- backslash. If & appears in _\bn_\be_\bw, it is replaced by _\bo_\bl_\bd. A sin-
- gle backslash will quote the &. If _\bo_\bl_\bd is null, it is set to
- the last _\bo_\bl_\bd substituted, or, if no previous history substitu-
+ Substitute _\bn_\be_\bw for the first occurrence of _\bo_\bl_\bd in the event
+ line. Any delimiter can be used in place of /. The final
+ delimiter is optional if it is the last character of the event
+ line. The delimiter may be quoted in _\bo_\bl_\bd and _\bn_\be_\bw with a single
+ backslash. If & appears in _\bn_\be_\bw, it is replaced by _\bo_\bl_\bd. A sin-
+ gle backslash will quote the &. If _\bo_\bl_\bd is null, it is set to
+ the last _\bo_\bl_\bd substituted, or, if no previous history substitu-
tions took place, the last _\bs_\bt_\br_\bi_\bn_\bg in a !\b!?\b?_\bs_\bt_\br_\bi_\bn_\bg[\b[?\b?]\b] search.
&\b& Repeat the previous substitution.
g\bg Cause changes to be applied over the entire event line. This is
- used in conjunction with `:\b:s\bs' (e.g., `:\b:g\bgs\bs/\b/_\bo_\bl_\bd/\b/_\bn_\be_\bw/\b/') or `:\b:&\b&'.
- If used with `:\b:s\bs', any delimiter can be used in place of /, and
- the final delimiter is optional if it is the last character of
+ used in conjunction with `:\b:s\bs' (e.g., `:\b:g\bgs\bs/\b/_\bo_\bl_\bd/\b/_\bn_\be_\bw/\b/') or `:\b:&\b&'.
+ If used with `:\b:s\bs', any delimiter can be used in place of /, and
+ the final delimiter is optional if it is the last character of
the event line. An a\ba may be used as a synonym for g\bg.
- G\bG Apply the following `s\bs' modifier once to each word in the event
+ G\bG Apply the following `s\bs' modifier once to each word in the event
line.
S\bSH\bHE\bEL\bLL\bL B\bBU\bUI\bIL\bLT\bTI\bIN\bN C\bCO\bOM\bMM\bMA\bAN\bND\bDS\bS
as accepting options preceded by -\b- accepts -\b--\b- to signify the end of the
options.
:\b: [_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs]
- No effect; the command does nothing beyond expanding _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs
- and performing any specified redirections. A zero exit code is
+ No effect; the command does nothing beyond expanding _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs
+ and performing any specified redirections. A zero exit code is
returned.
.\b. _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be [_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs]
s\bso\bou\bur\brc\bce\be _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be [_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs]
- Read and execute commands from _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be in the current shell
- environment and return the exit status of the last command exe-
+ Read and execute commands from _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be in the current shell
+ environment and return the exit status of the last command exe-
cuted from _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be. If _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be does not contain a slash, file
- names in P\bPA\bAT\bTH\bH are used to find the directory containing _\bf_\bi_\bl_\be_\b-
- _\bn_\ba_\bm_\be. The file searched for in P\bPA\bAT\bTH\bH need not be executable.
- When b\bba\bas\bsh\bh is not in _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be, the current directory is
- searched if no file is found in P\bPA\bAT\bTH\bH. If the s\bso\bou\bur\brc\bce\bep\bpa\bat\bth\bh option
- to the s\bsh\bho\bop\bpt\bt builtin command is turned off, the P\bPA\bAT\bTH\bH is not
- searched. If any _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs are supplied, they become the posi-
- tional parameters when _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be is executed. Otherwise the
- positional parameters are unchanged. The return status is the
- status of the last command exited within the script (0 if no
- commands are executed), and false if _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be is not found or
+ names in P\bPA\bAT\bTH\bH are used to find the directory containing _\bf_\bi_\bl_\be_\b-
+ _\bn_\ba_\bm_\be. The file searched for in P\bPA\bAT\bTH\bH need not be executable.
+ When b\bba\bas\bsh\bh is not in _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be, the current directory is
+ searched if no file is found in P\bPA\bAT\bTH\bH. If the s\bso\bou\bur\brc\bce\bep\bpa\bat\bth\bh option
+ to the s\bsh\bho\bop\bpt\bt builtin command is turned off, the P\bPA\bAT\bTH\bH is not
+ searched. If any _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs are supplied, they become the posi-
+ tional parameters when _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be is executed. Otherwise the
+ positional parameters are unchanged. The return status is the
+ status of the last command exited within the script (0 if no
+ commands are executed), and false if _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be is not found or
cannot be read.
a\bal\bli\bia\bas\bs [-\b-p\bp] [_\bn_\ba_\bm_\be[=_\bv_\ba_\bl_\bu_\be] ...]
A\bAl\bli\bia\bas\bs with no arguments or with the -\b-p\bp option prints the list of
- aliases in the form a\bal\bli\bia\bas\bs _\bn_\ba_\bm_\be=_\bv_\ba_\bl_\bu_\be on standard output. When
- arguments are supplied, an alias is defined for each _\bn_\ba_\bm_\be whose
+ aliases in the form a\bal\bli\bia\bas\bs _\bn_\ba_\bm_\be=_\bv_\ba_\bl_\bu_\be on standard output. When
+ arguments are supplied, an alias is defined for each _\bn_\ba_\bm_\be whose
_\bv_\ba_\bl_\bu_\be is given. A trailing space in _\bv_\ba_\bl_\bu_\be causes the next word
to be checked for alias substitution when the alias is expanded.
- For each _\bn_\ba_\bm_\be in the argument list for which no _\bv_\ba_\bl_\bu_\be is sup-
- plied, the name and value of the alias is printed. A\bAl\bli\bia\bas\bs
- returns true unless a _\bn_\ba_\bm_\be is given for which no alias has been
+ For each _\bn_\ba_\bm_\be in the argument list for which no _\bv_\ba_\bl_\bu_\be is sup-
+ plied, the name and value of the alias is printed. A\bAl\bli\bia\bas\bs
+ returns true unless a _\bn_\ba_\bm_\be is given for which no alias has been
defined.
b\bbg\bg [_\bj_\bo_\bb_\bs_\bp_\be_\bc ...]
- Resume each suspended job _\bj_\bo_\bb_\bs_\bp_\be_\bc in the background, as if it
+ Resume each suspended job _\bj_\bo_\bb_\bs_\bp_\be_\bc in the background, as if it
had been started with &\b&. If _\bj_\bo_\bb_\bs_\bp_\be_\bc is not present, the shell's
- notion of the _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb is used. b\bbg\bg _\bj_\bo_\bb_\bs_\bp_\be_\bc returns 0 unless
- run when job control is disabled or, when run with job control
- enabled, if the last _\bj_\bo_\bb_\bs_\bp_\be_\bc was not found or was started with-
+ notion of the _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb is used. b\bbg\bg _\bj_\bo_\bb_\bs_\bp_\be_\bc returns 0 unless
+ run when job control is disabled or, when run with job control
+ enabled, if the last _\bj_\bo_\bb_\bs_\bp_\be_\bc was not found or was started with-
out job control.
b\bbi\bin\bnd\bd [-\b-m\bm _\bk_\be_\by_\bm_\ba_\bp] [-\b-l\blp\bps\bsv\bvP\bPS\bSV\bV]
b\bbi\bin\bnd\bd [-\b-m\bm _\bk_\be_\by_\bm_\ba_\bp] -\b-x\bx _\bk_\be_\by_\bs_\be_\bq:_\bs_\bh_\be_\bl_\bl_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd
b\bbi\bin\bnd\bd [-\b-m\bm _\bk_\be_\by_\bm_\ba_\bp] _\bk_\be_\by_\bs_\be_\bq:_\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be
b\bbi\bin\bnd\bd _\br_\be_\ba_\bd_\bl_\bi_\bn_\be_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd
- Display current r\bre\bea\bad\bdl\bli\bin\bne\be key and function bindings, bind a key
- sequence to a r\bre\bea\bad\bdl\bli\bin\bne\be function or macro, or set a r\bre\bea\bad\bdl\bli\bin\bne\be
- variable. Each non-option argument is a command as it would
- appear in _\b._\bi_\bn_\bp_\bu_\bt_\br_\bc, but each binding or command must be passed
- as a separate argument; e.g., '"\C-x\C-r": re-read-init-file'.
+ Display current r\bre\bea\bad\bdl\bli\bin\bne\be key and function bindings, bind a key
+ sequence to a r\bre\bea\bad\bdl\bli\bin\bne\be function or macro, or set a r\bre\bea\bad\bdl\bli\bin\bne\be
+ variable. Each non-option argument is a command as it would
+ appear in _\b._\bi_\bn_\bp_\bu_\bt_\br_\bc, but each binding or command must be passed
+ as a separate argument; e.g., '"\C-x\C-r": re-read-init-file'.
Options, if supplied, have the following meanings:
-\b-m\bm _\bk_\be_\by_\bm_\ba_\bp
Use _\bk_\be_\by_\bm_\ba_\bp as the keymap to be affected by the subsequent
bindings. Acceptable _\bk_\be_\by_\bm_\ba_\bp names are _\be_\bm_\ba_\bc_\bs_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bs_\bt_\ba_\bn_\b-
- _\bd_\ba_\br_\bd_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bm_\be_\bt_\ba_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bc_\bt_\bl_\bx_\b, _\bv_\bi_\b, _\bv_\bi_\b-_\bm_\bo_\bv_\be_\b, _\bv_\bi_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd,
- and _\bv_\bi_\b-_\bi_\bn_\bs_\be_\br_\bt. _\bv_\bi is equivalent to _\bv_\bi_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd; _\be_\bm_\ba_\bc_\bs is
+ _\bd_\ba_\br_\bd_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bm_\be_\bt_\ba_\b, _\be_\bm_\ba_\bc_\bs_\b-_\bc_\bt_\bl_\bx_\b, _\bv_\bi_\b, _\bv_\bi_\b-_\bm_\bo_\bv_\be_\b, _\bv_\bi_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd,
+ and _\bv_\bi_\b-_\bi_\bn_\bs_\be_\br_\bt. _\bv_\bi is equivalent to _\bv_\bi_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd; _\be_\bm_\ba_\bc_\bs is
equivalent to _\be_\bm_\ba_\bc_\bs_\b-_\bs_\bt_\ba_\bn_\bd_\ba_\br_\bd.
-\b-l\bl List the names of all r\bre\bea\bad\bdl\bli\bin\bne\be functions.
- -\b-p\bp Display r\bre\bea\bad\bdl\bli\bin\bne\be function names and bindings in such a
+ -\b-p\bp Display r\bre\bea\bad\bdl\bli\bin\bne\be function names and bindings in such a
way that they can be re-read.
-\b-P\bP List current r\bre\bea\bad\bdl\bli\bin\bne\be function names and bindings.
- -\b-v\bv Display r\bre\bea\bad\bdl\bli\bin\bne\be variable names and values in such a way
+ -\b-v\bv Display r\bre\bea\bad\bdl\bli\bin\bne\be variable names and values in such a way
that they can be re-read.
-\b-V\bV List current r\bre\bea\bad\bdl\bli\bin\bne\be variable names and values.
- -\b-s\bs Display r\bre\bea\bad\bdl\bli\bin\bne\be key sequences bound to macros and the
- strings they output in such a way that they can be re-
+ -\b-s\bs Display r\bre\bea\bad\bdl\bli\bin\bne\be key sequences bound to macros and the
+ strings they output in such a way that they can be re-
read.
- -\b-S\bS Display r\bre\bea\bad\bdl\bli\bin\bne\be key sequences bound to macros and the
+ -\b-S\bS Display r\bre\bea\bad\bdl\bli\bin\bne\be key sequences bound to macros and the
strings they output.
-\b-f\bf _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be
Read key bindings from _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be.
-\b-r\br _\bk_\be_\by_\bs_\be_\bq
Remove any current binding for _\bk_\be_\by_\bs_\be_\bq.
-\b-x\bx _\bk_\be_\by_\bs_\be_\bq:\b:_\bs_\bh_\be_\bl_\bl_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd
- Cause _\bs_\bh_\be_\bl_\bl_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd to be executed whenever _\bk_\be_\by_\bs_\be_\bq is
+ Cause _\bs_\bh_\be_\bl_\bl_\b-_\bc_\bo_\bm_\bm_\ba_\bn_\bd to be executed whenever _\bk_\be_\by_\bs_\be_\bq is
entered.
- The return value is 0 unless an unrecognized option is given or
+ The return value is 0 unless an unrecognized option is given or
an error occurred.
b\bbr\bre\bea\bak\bk [_\bn]
- Exit from within a f\bfo\bor\br, w\bwh\bhi\bil\ble\be, u\bun\bnt\bti\bil\bl, or s\bse\bel\ble\bec\bct\bt loop. If _\bn is
- specified, break _\bn levels. _\bn must be >= 1. If _\bn is greater
- than the number of enclosing loops, all enclosing loops are
+ Exit from within a f\bfo\bor\br, w\bwh\bhi\bil\ble\be, u\bun\bnt\bti\bil\bl, or s\bse\bel\ble\bec\bct\bt loop. If _\bn is
+ specified, break _\bn levels. _\bn must be >= 1. If _\bn is greater
+ than the number of enclosing loops, all enclosing loops are
exited. The return value is 0 unless the shell is not executing
a loop when b\bbr\bre\bea\bak\bk is executed.
b\bbu\bui\bil\blt\bti\bin\bn _\bs_\bh_\be_\bl_\bl_\b-_\bb_\bu_\bi_\bl_\bt_\bi_\bn [_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs]
- Execute the specified shell builtin, passing it _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs, and
+ Execute the specified shell builtin, passing it _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs, and
return its exit status. This is useful when defining a function
- whose name is the same as a shell builtin, retaining the func-
+ whose name is the same as a shell builtin, retaining the func-
tionality of the builtin within the function. The c\bcd\bd builtin is
- commonly redefined this way. The return status is false if
+ commonly redefined this way. The return status is false if
_\bs_\bh_\be_\bl_\bl_\b-_\bb_\bu_\bi_\bl_\bt_\bi_\bn is not a shell builtin command.
c\bcd\bd [-\b-L\bL|\b|-\b-P\bP] [_\bd_\bi_\br]
- Change the current directory to _\bd_\bi_\br. The variable H\bHO\bOM\bME\bE is the
- default _\bd_\bi_\br. The variable C\bCD\bDP\bPA\bAT\bTH\bH defines the search path for
- the directory containing _\bd_\bi_\br. Alternative directory names in
- C\bCD\bDP\bPA\bAT\bTH\bH are separated by a colon (:). A null directory name in
- C\bCD\bDP\bPA\bAT\bTH\bH is the same as the current directory, i.e., ``.\b.''. If
- _\bd_\bi_\br begins with a slash (/), then C\bCD\bDP\bPA\bAT\bTH\bH is not used. The -\b-P\bP
- option says to use the physical directory structure instead of
- following symbolic links (see also the -\b-P\bP option to the s\bse\bet\bt
- builtin command); the -\b-L\bL option forces symbolic links to be
- followed. An argument of -\b- is equivalent to $\b$O\bOL\bLD\bDP\bPW\bWD\bD. If a non-
- empty directory name from C\bCD\bDP\bPA\bAT\bTH\bH is used, or if -\b- is the first
- argument, and the directory change is successful, the absolute
+ Change the current directory to _\bd_\bi_\br. The variable H\bHO\bOM\bME\bE is the
+ default _\bd_\bi_\br. The variable C\bCD\bDP\bPA\bAT\bTH\bH defines the search path for
+ the directory containing _\bd_\bi_\br. Alternative directory names in
+ C\bCD\bDP\bPA\bAT\bTH\bH are separated by a colon (:). A null directory name in
+ C\bCD\bDP\bPA\bAT\bTH\bH is the same as the current directory, i.e., ``.\b.''. If
+ _\bd_\bi_\br begins with a slash (/), then C\bCD\bDP\bPA\bAT\bTH\bH is not used. The -\b-P\bP
+ option says to use the physical directory structure instead of
+ following symbolic links (see also the -\b-P\bP option to the s\bse\bet\bt
+ builtin command); the -\b-L\bL option forces symbolic links to be fol-
+ lowed. An argument of -\b- is equivalent to $\b$O\bOL\bLD\bDP\bPW\bWD\bD. If a non-
+ empty directory name from C\bCD\bDP\bPA\bAT\bTH\bH is used, or if -\b- is the first
+ argument, and the directory change is successful, the absolute
pathname of the new working directory is written to the standard
- output. The return value is true if the directory was success-
+ output. The return value is true if the directory was success-
fully changed; false otherwise.
c\bca\bal\bll\ble\ber\br [_\be_\bx_\bp_\br]
Returns the context of any active subroutine call (a shell func-
- tion or a script executed with the .\b. or s\bso\bou\bur\brc\bce\be builtins. With-
+ tion or a script executed with the .\b. or s\bso\bou\bur\brc\bce\be builtins. With-
out _\be_\bx_\bp_\br, c\bca\bal\bll\ble\ber\br displays the line number and source filename of
- the current subroutine call. If a non-negative integer is sup-
+ the current subroutine call. If a non-negative integer is sup-
plied as _\be_\bx_\bp_\br, c\bca\bal\bll\ble\ber\br displays the line number, subroutine name,
- and source file corresponding to that position in the current
- execution call stack. This extra information may be used, for
- example, to print a stack trace. The current frame is frame 0.
- The return value is 0 unless the shell is not executing a sub-
- routine call or _\be_\bx_\bp_\br does not correspond to a valid position in
+ and source file corresponding to that position in the current
+ execution call stack. This extra information may be used, for
+ example, to print a stack trace. The current frame is frame 0.
+ The return value is 0 unless the shell is not executing a sub-
+ routine call or _\be_\bx_\bp_\br does not correspond to a valid position in
the call stack.
c\bco\bom\bmm\bma\ban\bnd\bd [-\b-p\bpV\bVv\bv] _\bc_\bo_\bm_\bm_\ba_\bn_\bd [_\ba_\br_\bg ...]
- Run _\bc_\bo_\bm_\bm_\ba_\bn_\bd with _\ba_\br_\bg_\bs suppressing the normal shell function
- lookup. Only builtin commands or commands found in the P\bPA\bAT\bTH\bH are
- executed. If the -\b-p\bp option is given, the search for _\bc_\bo_\bm_\bm_\ba_\bn_\bd is
- performed using a default value for P\bPA\bAT\bTH\bH that is guaranteed to
- find all of the standard utilities. If either the -\b-V\bV or -\b-v\bv
+ Run _\bc_\bo_\bm_\bm_\ba_\bn_\bd with _\ba_\br_\bg_\bs suppressing the normal shell function
+ lookup. Only builtin commands or commands found in the P\bPA\bAT\bTH\bH are
+ executed. If the -\b-p\bp option is given, the search for _\bc_\bo_\bm_\bm_\ba_\bn_\bd is
+ performed using a default value for P\bPA\bAT\bTH\bH that is guaranteed to
+ find all of the standard utilities. If either the -\b-V\bV or -\b-v\bv
option is supplied, a description of _\bc_\bo_\bm_\bm_\ba_\bn_\bd is printed. The -\b-v\bv
- option causes a single word indicating the command or file name
+ option causes a single word indicating the command or file name
used to invoke _\bc_\bo_\bm_\bm_\ba_\bn_\bd to be displayed; the -\b-V\bV option produces a
- more verbose description. If the -\b-V\bV or -\b-v\bv option is supplied,
- the exit status is 0 if _\bc_\bo_\bm_\bm_\ba_\bn_\bd was found, and 1 if not. If
+ more verbose description. If the -\b-V\bV or -\b-v\bv option is supplied,
+ the exit status is 0 if _\bc_\bo_\bm_\bm_\ba_\bn_\bd was found, and 1 if not. If
neither option is supplied and an error occurred or _\bc_\bo_\bm_\bm_\ba_\bn_\bd can-
- not be found, the exit status is 127. Otherwise, the exit sta-
+ not be found, the exit status is 127. Otherwise, the exit sta-
tus of the c\bco\bom\bmm\bma\ban\bnd\bd builtin is the exit status of _\bc_\bo_\bm_\bm_\ba_\bn_\bd.
c\bco\bom\bmp\bpg\bge\ben\bn [_\bo_\bp_\bt_\bi_\bo_\bn] [_\bw_\bo_\br_\bd]
- Generate possible completion matches for _\bw_\bo_\br_\bd according to the
- _\bo_\bp_\bt_\bi_\bo_\bns, which may be any option accepted by the c\bco\bom\bmp\bpl\ble\bet\bte\be
- builtin with the exception of -\b-p\bp and -\b-r\br, and write the matches
- to the standard output. When using the -\b-F\bF or -\b-C\bC options, the
- various shell variables set by the programmable completion
+ Generate possible completion matches for _\bw_\bo_\br_\bd according to the
+ _\bo_\bp_\bt_\bi_\bo_\bns, which may be any option accepted by the c\bco\bom\bmp\bpl\ble\bet\bte\be
+ builtin with the exception of -\b-p\bp and -\b-r\br, and write the matches
+ to the standard output. When using the -\b-F\bF or -\b-C\bC options, the
+ various shell variables set by the programmable completion
facilities, while available, will not have useful values.
- The matches will be generated in the same way as if the pro-
- grammable completion code had generated them directly from a
+ The matches will be generated in the same way as if the pro-
+ grammable completion code had generated them directly from a
completion specification with the same flags. If _\bw_\bo_\br_\bd is speci-
fied, only those completions matching _\bw_\bo_\br_\bd will be displayed.
- The return value is true unless an invalid option is supplied,
+ The return value is true unless an invalid option is supplied,
or no matches were generated.
- c\bco\bom\bmp\bpl\ble\bet\bte\be [-\b-a\bab\bbc\bcd\bde\bef\bfg\bgj\bjk\bks\bsu\buv\bv] [-\b-o\bo _\bc_\bo_\bm_\bp_\b-_\bo_\bp_\bt_\bi_\bo_\bn] [-\b-A\bA _\ba_\bc_\bt_\bi_\bo_\bn] [-\b-G\bG _\bg_\bl_\bo_\bb_\bp_\ba_\bt] [-\b-W\bW
+ c\bco\bom\bmp\bpl\ble\bet\bte\be [-\b-a\bab\bbc\bcd\bde\bef\bfg\bgj\bjk\bks\bsu\buv\bv] [-\b-o\bo _\bc_\bo_\bm_\bp_\b-_\bo_\bp_\bt_\bi_\bo_\bn] [-\b-A\bA _\ba_\bc_\bt_\bi_\bo_\bn] [-\b-G\bG _\bg_\bl_\bo_\bb_\bp_\ba_\bt] [-\b-W\bW
_\bw_\bo_\br_\bd_\bl_\bi_\bs_\bt] [-\b-P\bP _\bp_\br_\be_\bf_\bi_\bx] [-\b-S\bS _\bs_\bu_\bf_\bf_\bi_\bx]
[-\b-X\bX _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt] [-\b-F\bF _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn] [-\b-C\bC _\bc_\bo_\bm_\bm_\ba_\bn_\bd] _\bn_\ba_\bm_\be [_\bn_\ba_\bm_\be _\b._\b._\b.]
c\bco\bom\bmp\bpl\ble\bet\bte\be -\b-p\bpr\br [_\bn_\ba_\bm_\be ...]
- Specify how arguments to each _\bn_\ba_\bm_\be should be completed. If the
- -\b-p\bp option is supplied, or if no options are supplied, existing
- completion specifications are printed in a way that allows them
+ Specify how arguments to each _\bn_\ba_\bm_\be should be completed. If the
+ -\b-p\bp option is supplied, or if no options are supplied, existing
+ completion specifications are printed in a way that allows them
to be reused as input. The -\b-r\br option removes a completion spec-
- ification for each _\bn_\ba_\bm_\be, or, if no _\bn_\ba_\bm_\bes are supplied, all com-
+ ification for each _\bn_\ba_\bm_\be, or, if no _\bn_\ba_\bm_\bes are supplied, all com-
pletion specifications.
- The process of applying these completion specifications when
- word completion is attempted is described above under P\bPr\bro\bo-\b-
+ The process of applying these completion specifications when
+ word completion is attempted is described above under P\bPr\bro\bo-\b-
g\bgr\bra\bam\bmm\bma\bab\bbl\ble\be C\bCo\bom\bmp\bpl\ble\bet\bti\bio\bon\bn.
- Other options, if specified, have the following meanings. The
- arguments to the -\b-G\bG, -\b-W\bW, and -\b-X\bX options (and, if necessary, the
- -\b-P\bP and -\b-S\bS options) should be quoted to protect them from expan-
+ Other options, if specified, have the following meanings. The
+ arguments to the -\b-G\bG, -\b-W\bW, and -\b-X\bX options (and, if necessary, the
+ -\b-P\bP and -\b-S\bS options) should be quoted to protect them from expan-
sion before the c\bco\bom\bmp\bpl\ble\bet\bte\be builtin is invoked.
-\b-o\bo _\bc_\bo_\bm_\bp_\b-_\bo_\bp_\bt_\bi_\bo_\bn
- The _\bc_\bo_\bm_\bp_\b-_\bo_\bp_\bt_\bi_\bo_\bn controls several aspects of the comp-
- spec's behavior beyond the simple generation of comple-
+ The _\bc_\bo_\bm_\bp_\b-_\bo_\bp_\bt_\bi_\bo_\bn controls several aspects of the comp-
+ spec's behavior beyond the simple generation of comple-
tions. _\bc_\bo_\bm_\bp_\b-_\bo_\bp_\bt_\bi_\bo_\bn may be one of:
b\bba\bas\bsh\bhd\bde\bef\bfa\bau\bul\blt\bt
Perform the rest of the default b\bba\bas\bsh\bh completions
if the compspec generates no matches.
- d\bde\bef\bfa\bau\bul\blt\bt Use readline's default filename completion if
+ d\bde\bef\bfa\bau\bul\blt\bt Use readline's default filename completion if
the compspec generates no matches.
d\bdi\bir\brn\bna\bam\bme\bes\bs
- Perform directory name completion if the comp-
+ Perform directory name completion if the comp-
spec generates no matches.
f\bfi\bil\ble\ben\bna\bam\bme\bes\bs
- Tell readline that the compspec generates file-
- names, so it can perform any filename-specific
- processing (like adding a slash to directory
+ Tell readline that the compspec generates file-
+ names, so it can perform any filename-specific
+ processing (like adding a slash to directory
names or suppressing trailing spaces). Intended
to be used with shell functions.
- n\bno\bos\bsp\bpa\bac\bce\be Tell readline not to append a space (the
- default) to words completed at the end of the
+ n\bno\bos\bsp\bpa\bac\bce\be Tell readline not to append a space (the
+ default) to words completed at the end of the
line.
p\bpl\blu\bus\bsd\bdi\bir\brs\bs
- After any matches defined by the compspec are
- generated, directory name completion is
- attempted and any matches are added to the
+ After any matches defined by the compspec are
+ generated, directory name completion is
+ attempted and any matches are added to the
results of the other actions.
-\b-A\bA _\ba_\bc_\bt_\bi_\bo_\bn
- The _\ba_\bc_\bt_\bi_\bo_\bn may be one of the following to generate a
+ The _\ba_\bc_\bt_\bi_\bo_\bn may be one of the following to generate a
list of possible completions:
a\bal\bli\bia\bas\bs Alias names. May also be specified as -\b-a\ba.
a\bar\brr\bra\bay\byv\bva\bar\br
Array variable names.
b\bbi\bin\bnd\bdi\bin\bng\bg R\bRe\bea\bad\bdl\bli\bin\bne\be key binding names.
- b\bbu\bui\bil\blt\bti\bin\bn Names of shell builtin commands. May also be
+ b\bbu\bui\bil\blt\bti\bin\bn Names of shell builtin commands. May also be
specified as -\b-b\bb.
c\bco\bom\bmm\bma\ban\bnd\bd Command names. May also be specified as -\b-c\bc.
d\bdi\bir\bre\bec\bct\bto\bor\bry\by
d\bdi\bis\bsa\bab\bbl\ble\bed\bd
Names of disabled shell builtins.
e\ben\bna\bab\bbl\ble\bed\bd Names of enabled shell builtins.
- e\bex\bxp\bpo\bor\brt\bt Names of exported shell variables. May also be
+ e\bex\bxp\bpo\bor\brt\bt Names of exported shell variables. May also be
specified as -\b-e\be.
f\bfi\bil\ble\be File names. May also be specified as -\b-f\bf.
f\bfu\bun\bnc\bct\bti\bio\bon\bn
h\bhe\bel\blp\bpt\bto\bop\bpi\bic\bc
Help topics as accepted by the h\bhe\bel\blp\bp builtin.
h\bho\bos\bst\btn\bna\bam\bme\be
- Hostnames, as taken from the file specified by
+ Hostnames, as taken from the file specified by
the H\bHO\bOS\bST\bTF\bFI\bIL\bLE\bE shell variable.
- j\bjo\bob\bb Job names, if job control is active. May also
+ j\bjo\bob\bb Job names, if job control is active. May also
be specified as -\b-j\bj.
- k\bke\bey\byw\bwo\bor\brd\bd Shell reserved words. May also be specified as
+ k\bke\bey\byw\bwo\bor\brd\bd Shell reserved words. May also be specified as
-\b-k\bk.
r\bru\bun\bnn\bni\bin\bng\bg Names of running jobs, if job control is active.
s\bse\ber\brv\bvi\bic\bce\be Service names. May also be specified as -\b-s\bs.
- s\bse\bet\bto\bop\bpt\bt Valid arguments for the -\b-o\bo option to the s\bse\bet\bt
+ s\bse\bet\bto\bop\bpt\bt Valid arguments for the -\b-o\bo option to the s\bse\bet\bt
builtin.
- s\bsh\bho\bop\bpt\bt Shell option names as accepted by the s\bsh\bho\bop\bpt\bt
+ s\bsh\bho\bop\bpt\bt Shell option names as accepted by the s\bsh\bho\bop\bpt\bt
builtin.
s\bsi\big\bgn\bna\bal\bl Signal names.
s\bst\bto\bop\bpp\bpe\bed\bd Names of stopped jobs, if job control is active.
Names of all shell variables. May also be spec-
ified as -\b-v\bv.
-\b-G\bG _\bg_\bl_\bo_\bb_\bp_\ba_\bt
- The filename expansion pattern _\bg_\bl_\bo_\bb_\bp_\ba_\bt is expanded to
+ The filename expansion pattern _\bg_\bl_\bo_\bb_\bp_\ba_\bt is expanded to
generate the possible completions.
-\b-W\bW _\bw_\bo_\br_\bd_\bl_\bi_\bs_\bt
- The _\bw_\bo_\br_\bd_\bl_\bi_\bs_\bt is split using the characters in the I\bIF\bFS\bS
- special variable as delimiters, and each resultant word
- is expanded. The possible completions are the members
- of the resultant list which match the word being com-
+ The _\bw_\bo_\br_\bd_\bl_\bi_\bs_\bt is split using the characters in the I\bIF\bFS\bS
+ special variable as delimiters, and each resultant word
+ is expanded. The possible completions are the members
+ of the resultant list which match the word being com-
pleted.
-\b-C\bC _\bc_\bo_\bm_\bm_\ba_\bn_\bd
- _\bc_\bo_\bm_\bm_\ba_\bn_\bd is executed in a subshell environment, and its
+ _\bc_\bo_\bm_\bm_\ba_\bn_\bd is executed in a subshell environment, and its
output is used as the possible completions.
-\b-F\bF _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn
- The shell function _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn is executed in the current
- shell environment. When it finishes, the possible com-
- pletions are retrieved from the value of the C\bCO\bOM\bMP\bPR\bRE\bEP\bPL\bLY\bY
+ The shell function _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn is executed in the current
+ shell environment. When it finishes, the possible com-
+ pletions are retrieved from the value of the C\bCO\bOM\bMP\bPR\bRE\bEP\bPL\bLY\bY
array variable.
-\b-X\bX _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt
- _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is a pattern as used for filename expansion.
+ _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is a pattern as used for filename expansion.
It is applied to the list of possible completions gener-
- ated by the preceding options and arguments, and each
- completion matching _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is removed from the list.
- A leading !\b! in _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt negates the pattern; in this
- case, any completion not matching _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is removed.
+ ated by the preceding options and arguments, and each
+ completion matching _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is removed from the list.
+ A leading !\b! in _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt negates the pattern; in this
+ case, any completion not matching _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is removed.
-\b-P\bP _\bp_\br_\be_\bf_\bi_\bx
- _\bp_\br_\be_\bf_\bi_\bx is added at the beginning of each possible com-
+ _\bp_\br_\be_\bf_\bi_\bx is added at the beginning of each possible com-
pletion after all other options have been applied.
-\b-S\bS _\bs_\bu_\bf_\bf_\bi_\bx
_\bs_\bu_\bf_\bf_\bi_\bx is appended to each possible completion after all
other options have been applied.
- The return value is true unless an invalid option is supplied,
- an option other than -\b-p\bp or -\b-r\br is supplied without a _\bn_\ba_\bm_\be argu-
- ment, an attempt is made to remove a completion specification
+ The return value is true unless an invalid option is supplied,
+ an option other than -\b-p\bp or -\b-r\br is supplied without a _\bn_\ba_\bm_\be argu-
+ ment, an attempt is made to remove a completion specification
for a _\bn_\ba_\bm_\be for which no specification exists, or an error occurs
adding a completion specification.
c\bco\bon\bnt\bti\bin\bnu\bue\be [_\bn]
Resume the next iteration of the enclosing f\bfo\bor\br, w\bwh\bhi\bil\ble\be, u\bun\bnt\bti\bil\bl, or
- s\bse\bel\ble\bec\bct\bt loop. If _\bn is specified, resume at the _\bnth enclosing
- loop. _\bn must be >= 1. If _\bn is greater than the number of
- enclosing loops, the last enclosing loop (the ``top-level''
+ s\bse\bel\ble\bec\bct\bt loop. If _\bn is specified, resume at the _\bnth enclosing
+ loop. _\bn must be >= 1. If _\bn is greater than the number of
+ enclosing loops, the last enclosing loop (the ``top-level''
loop) is resumed. The return value is 0 unless the shell is not
executing a loop when c\bco\bon\bnt\bti\bin\bnu\bue\be is executed.
d\bde\bec\bcl\bla\bar\bre\be [-\b-a\baf\bfF\bFi\bir\brt\btx\bx] [-\b-p\bp] [_\bn_\ba_\bm_\be[=_\bv_\ba_\bl_\bu_\be] ...]
t\bty\byp\bpe\bes\bse\bet\bt [-\b-a\baf\bfF\bFi\bir\brt\btx\bx] [-\b-p\bp] [_\bn_\ba_\bm_\be[=_\bv_\ba_\bl_\bu_\be] ...]
- Declare variables and/or give them attributes. If no _\bn_\ba_\bm_\bes are
- given then display the values of variables. The -\b-p\bp option will
- display the attributes and values of each _\bn_\ba_\bm_\be. When -\b-p\bp is
- used, additional options are ignored. The -\b-F\bF option inhibits
- the display of function definitions; only the function name and
+ Declare variables and/or give them attributes. If no _\bn_\ba_\bm_\bes are
+ given then display the values of variables. The -\b-p\bp option will
+ display the attributes and values of each _\bn_\ba_\bm_\be. When -\b-p\bp is
+ used, additional options are ignored. The -\b-F\bF option inhibits
+ the display of function definitions; only the function name and
attributes are printed. If the e\bex\bxt\btd\bde\beb\bbu\bug\bg shell option is enabled
- using s\bsh\bho\bop\bpt\bt, the source file name and line number where the
- function is defined are displayed as well. The -\b-F\bF option
- implies -\b-f\bf. The following options can be used to restrict out-
- put to variables with the specified attribute or to give vari-
+ using s\bsh\bho\bop\bpt\bt, the source file name and line number where the
+ function is defined are displayed as well. The -\b-F\bF option
+ implies -\b-f\bf. The following options can be used to restrict out-
+ put to variables with the specified attribute or to give vari-
ables attributes:
-\b-a\ba Each _\bn_\ba_\bm_\be is an array variable (see A\bAr\brr\bra\bay\bys\bs above).
-\b-f\bf Use function names only.
-\b-i\bi The variable is treated as an integer; arithmetic evalua-
- tion (see A\bAR\bRI\bIT\bTH\bHM\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN )\b) is performed when the
+ tion (see A\bAR\bRI\bIT\bTH\bHM\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN )\b) is performed when the
variable is assigned a value.
-\b-r\br Make _\bn_\ba_\bm_\bes readonly. These names cannot then be assigned
values by subsequent assignment statements or unset.
- -\b-t\bt Give each _\bn_\ba_\bm_\be the _\bt_\br_\ba_\bc_\be attribute. Traced functions
- inherit the D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN traps from the calling
- shell. The trace attribute has no special meaning for
+ -\b-t\bt Give each _\bn_\ba_\bm_\be the _\bt_\br_\ba_\bc_\be attribute. Traced functions
+ inherit the D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN traps from the calling
+ shell. The trace attribute has no special meaning for
variables.
- -\b-x\bx Mark _\bn_\ba_\bm_\bes for export to subsequent commands via the
+ -\b-x\bx Mark _\bn_\ba_\bm_\bes for export to subsequent commands via the
environment.
- Using `+' instead of `-' turns off the attribute instead, with
- the exception that +\b+a\ba may not be used to destroy an array vari-
- able. When used in a function, makes each _\bn_\ba_\bm_\be local, as with
- the l\blo\boc\bca\bal\bl command. If a variable name is followed by =_\bv_\ba_\bl_\bu_\be,
- the value of the variable is set to _\bv_\ba_\bl_\bu_\be. The return value is
+ Using `+' instead of `-' turns off the attribute instead, with
+ the exception that +\b+a\ba may not be used to destroy an array vari-
+ able. When used in a function, makes each _\bn_\ba_\bm_\be local, as with
+ the l\blo\boc\bca\bal\bl command. If a variable name is followed by =_\bv_\ba_\bl_\bu_\be,
+ the value of the variable is set to _\bv_\ba_\bl_\bu_\be. The return value is
0 unless an invalid option is encountered, an attempt is made to
- define a function using ``-f foo=bar'', an attempt is made to
- assign a value to a readonly variable, an attempt is made to
- assign a value to an array variable without using the compound
- assignment syntax (see A\bAr\brr\bra\bay\bys\bs above), one of the _\bn_\ba_\bm_\be_\bs is not a
- valid shell variable name, an attempt is made to turn off read-
- only status for a readonly variable, an attempt is made to turn
+ define a function using ``-f foo=bar'', an attempt is made to
+ assign a value to a readonly variable, an attempt is made to
+ assign a value to an array variable without using the compound
+ assignment syntax (see A\bAr\brr\bra\bay\bys\bs above), one of the _\bn_\ba_\bm_\be_\bs is not a
+ valid shell variable name, an attempt is made to turn off read-
+ only status for a readonly variable, an attempt is made to turn
off array status for an array variable, or an attempt is made to
display a non-existent function with -\b-f\bf.
d\bdi\bir\brs\bs [\b[-\b-c\bcl\blp\bpv\bv]\b] [\b[+\b+_\bn]\b] [\b[-\b-_\bn]\b]
- Without options, displays the list of currently remembered
- directories. The default display is on a single line with
- directory names separated by spaces. Directories are added to
- the list with the p\bpu\bus\bsh\bhd\bd command; the p\bpo\bop\bpd\bd command removes
+ Without options, displays the list of currently remembered
+ directories. The default display is on a single line with
+ directory names separated by spaces. Directories are added to
+ the list with the p\bpu\bus\bsh\bhd\bd command; the p\bpo\bop\bpd\bd command removes
entries from the list.
+\b+_\bn Displays the _\bnth entry counting from the left of the list
shown by d\bdi\bir\brs\bs when invoked without options, starting with
zero.
- -\b-_\bn Displays the _\bnth entry counting from the right of the
+ -\b-_\bn Displays the _\bnth entry counting from the right of the
list shown by d\bdi\bir\brs\bs when invoked without options, starting
with zero.
-\b-c\bc Clears the directory stack by deleting all of the
entries.
- -\b-l\bl Produces a longer listing; the default listing format
+ -\b-l\bl Produces a longer listing; the default listing format
uses a tilde to denote the home directory.
-\b-p\bp Print the directory stack with one entry per line.
- -\b-v\bv Print the directory stack with one entry per line, pre-
+ -\b-v\bv Print the directory stack with one entry per line, pre-
fixing each entry with its index in the stack.
- The return value is 0 unless an invalid option is supplied or _\bn
+ The return value is 0 unless an invalid option is supplied or _\bn
indexes beyond the end of the directory stack.
d\bdi\bis\bso\bow\bwn\bn [-\b-a\bar\br] [-\b-h\bh] [_\bj_\bo_\bb_\bs_\bp_\be_\bc ...]
- Without options, each _\bj_\bo_\bb_\bs_\bp_\be_\bc is removed from the table of
- active jobs. If the -\b-h\bh option is given, each _\bj_\bo_\bb_\bs_\bp_\be_\bc is not
+ Without options, each _\bj_\bo_\bb_\bs_\bp_\be_\bc is removed from the table of
+ active jobs. If the -\b-h\bh option is given, each _\bj_\bo_\bb_\bs_\bp_\be_\bc is not
removed from the table, but is marked so that S\bSI\bIG\bGH\bHU\bUP\bP is not sent
- to the job if the shell receives a S\bSI\bIG\bGH\bHU\bUP\bP. If no _\bj_\bo_\bb_\bs_\bp_\be_\bc is
- present, and neither the -\b-a\ba nor the -\b-r\br option is supplied, the
- _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb is used. If no _\bj_\bo_\bb_\bs_\bp_\be_\bc is supplied, the -\b-a\ba option
- means to remove or mark all jobs; the -\b-r\br option without a _\bj_\bo_\bb_\b-
- _\bs_\bp_\be_\bc argument restricts operation to running jobs. The return
+ to the job if the shell receives a S\bSI\bIG\bGH\bHU\bUP\bP. If no _\bj_\bo_\bb_\bs_\bp_\be_\bc is
+ present, and neither the -\b-a\ba nor the -\b-r\br option is supplied, the
+ _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb is used. If no _\bj_\bo_\bb_\bs_\bp_\be_\bc is supplied, the -\b-a\ba option
+ means to remove or mark all jobs; the -\b-r\br option without a _\bj_\bo_\bb_\b-
+ _\bs_\bp_\be_\bc argument restricts operation to running jobs. The return
value is 0 unless a _\bj_\bo_\bb_\bs_\bp_\be_\bc does not specify a valid job.
e\bec\bch\bho\bo [-\b-n\bne\beE\bE] [_\ba_\br_\bg ...]
- Output the _\ba_\br_\bgs, separated by spaces, followed by a newline.
+ Output the _\ba_\br_\bgs, separated by spaces, followed by a newline.
The return status is always 0. If -\b-n\bn is specified, the trailing
- newline is suppressed. If the -\b-e\be option is given, interpreta-
- tion of the following backslash-escaped characters is enabled.
- The -\b-E\bE option disables the interpretation of these escape char-
- acters, even on systems where they are interpreted by default.
- The x\bxp\bpg\bg_\b_e\bec\bch\bho\bo shell option may be used to dynamically determine
- whether or not e\bec\bch\bho\bo expands these escape characters by default.
- e\bec\bch\bho\bo does not interpret -\b--\b- to mean the end of options. e\bec\bch\bho\bo
+ newline is suppressed. If the -\b-e\be option is given, interpreta-
+ tion of the following backslash-escaped characters is enabled.
+ The -\b-E\bE option disables the interpretation of these escape char-
+ acters, even on systems where they are interpreted by default.
+ The x\bxp\bpg\bg_\b_e\bec\bch\bho\bo shell option may be used to dynamically determine
+ whether or not e\bec\bch\bho\bo expands these escape characters by default.
+ e\bec\bch\bho\bo does not interpret -\b--\b- to mean the end of options. e\bec\bch\bho\bo
interprets the following escape sequences:
\\b\a\ba alert (bell)
\\b\b\bb backspace
\\b\t\bt horizontal tab
\\b\v\bv vertical tab
\\b\\\b\ backslash
- \\b\0\b0_\bn_\bn_\bn the eight-bit character whose value is the octal value
+ \\b\0\b0_\bn_\bn_\bn the eight-bit character whose value is the octal value
_\bn_\bn_\bn (zero to three octal digits)
- \\b\_\bn_\bn_\bn the eight-bit character whose value is the octal value
+ \\b\_\bn_\bn_\bn the eight-bit character whose value is the octal value
_\bn_\bn_\bn (one to three octal digits)
- \\b\x\bx_\bH_\bH the eight-bit character whose value is the hexadecimal
+ \\b\x\bx_\bH_\bH the eight-bit character whose value is the hexadecimal
value _\bH_\bH (one or two hex digits)
e\ben\bna\bab\bbl\ble\be [-\b-a\bad\bdn\bnp\bps\bs] [-\b-f\bf _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be] [_\bn_\ba_\bm_\be ...]
- Enable and disable builtin shell commands. Disabling a builtin
+ Enable and disable builtin shell commands. Disabling a builtin
allows a disk command which has the same name as a shell builtin
- to be executed without specifying a full pathname, even though
- the shell normally searches for builtins before disk commands.
- If -\b-n\bn is used, each _\bn_\ba_\bm_\be is disabled; otherwise, _\bn_\ba_\bm_\be_\bs are
+ to be executed without specifying a full pathname, even though
+ the shell normally searches for builtins before disk commands.
+ If -\b-n\bn is used, each _\bn_\ba_\bm_\be is disabled; otherwise, _\bn_\ba_\bm_\be_\bs are
enabled. For example, to use the t\bte\bes\bst\bt binary found via the P\bPA\bAT\bTH\bH
- instead of the shell builtin version, run ``enable -n test''.
- The -\b-f\bf option means to load the new builtin command _\bn_\ba_\bm_\be from
+ instead of the shell builtin version, run ``enable -n test''.
+ The -\b-f\bf option means to load the new builtin command _\bn_\ba_\bm_\be from
shared object _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be, on systems that support dynamic loading.
- The -\b-d\bd option will delete a builtin previously loaded with -\b-f\bf.
+ The -\b-d\bd option will delete a builtin previously loaded with -\b-f\bf.
If no _\bn_\ba_\bm_\be arguments are given, or if the -\b-p\bp option is supplied,
a list of shell builtins is printed. With no other option argu-
- ments, the list consists of all enabled shell builtins. If -\b-n\bn
- is supplied, only disabled builtins are printed. If -\b-a\ba is sup-
- plied, the list printed includes all builtins, with an indica-
- tion of whether or not each is enabled. If -\b-s\bs is supplied, the
- output is restricted to the POSIX _\bs_\bp_\be_\bc_\bi_\ba_\bl builtins. The return
- value is 0 unless a _\bn_\ba_\bm_\be is not a shell builtin or there is an
+ ments, the list consists of all enabled shell builtins. If -\b-n\bn
+ is supplied, only disabled builtins are printed. If -\b-a\ba is sup-
+ plied, the list printed includes all builtins, with an indica-
+ tion of whether or not each is enabled. If -\b-s\bs is supplied, the
+ output is restricted to the POSIX _\bs_\bp_\be_\bc_\bi_\ba_\bl builtins. The return
+ value is 0 unless a _\bn_\ba_\bm_\be is not a shell builtin or there is an
error loading a new builtin from a shared object.
e\bev\bva\bal\bl [_\ba_\br_\bg ...]
- The _\ba_\br_\bgs are read and concatenated together into a single com-
- mand. This command is then read and executed by the shell, and
- its exit status is returned as the value of e\bev\bva\bal\bl. If there are
+ The _\ba_\br_\bgs are read and concatenated together into a single com-
+ mand. This command is then read and executed by the shell, and
+ its exit status is returned as the value of e\bev\bva\bal\bl. If there are
no _\ba_\br_\bg_\bs, or only null arguments, e\bev\bva\bal\bl returns 0.
e\bex\bxe\bec\bc [-\b-c\bcl\bl] [-\b-a\ba _\bn_\ba_\bm_\be] [_\bc_\bo_\bm_\bm_\ba_\bn_\bd [_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs]]
- If _\bc_\bo_\bm_\bm_\ba_\bn_\bd is specified, it replaces the shell. No new process
- is created. The _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs become the arguments to _\bc_\bo_\bm_\bm_\ba_\bn_\bd. If
+ If _\bc_\bo_\bm_\bm_\ba_\bn_\bd is specified, it replaces the shell. No new process
+ is created. The _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs become the arguments to _\bc_\bo_\bm_\bm_\ba_\bn_\bd. If
the -\b-l\bl option is supplied, the shell places a dash at the begin-
ning of the zeroth arg passed to _\bc_\bo_\bm_\bm_\ba_\bn_\bd. This is what _\bl_\bo_\bg_\bi_\bn(1)
does. The -\b-c\bc option causes _\bc_\bo_\bm_\bm_\ba_\bn_\bd to be executed with an empty
- environment. If -\b-a\ba is supplied, the shell passes _\bn_\ba_\bm_\be as the
- zeroth argument to the executed command. If _\bc_\bo_\bm_\bm_\ba_\bn_\bd cannot be
- executed for some reason, a non-interactive shell exits, unless
- the shell option e\bex\bxe\bec\bcf\bfa\bai\bil\bl is enabled, in which case it returns
- failure. An interactive shell returns failure if the file can-
- not be executed. If _\bc_\bo_\bm_\bm_\ba_\bn_\bd is not specified, any redirections
- take effect in the current shell, and the return status is 0.
+ environment. If -\b-a\ba is supplied, the shell passes _\bn_\ba_\bm_\be as the
+ zeroth argument to the executed command. If _\bc_\bo_\bm_\bm_\ba_\bn_\bd cannot be
+ executed for some reason, a non-interactive shell exits, unless
+ the shell option e\bex\bxe\bec\bcf\bfa\bai\bil\bl is enabled, in which case it returns
+ failure. An interactive shell returns failure if the file can-
+ not be executed. If _\bc_\bo_\bm_\bm_\ba_\bn_\bd is not specified, any redirections
+ take effect in the current shell, and the return status is 0.
If there is a redirection error, the return status is 1.
e\bex\bxi\bit\bt [_\bn]
- Cause the shell to exit with a status of _\bn. If _\bn is omitted,
+ Cause the shell to exit with a status of _\bn. If _\bn is omitted,
the exit status is that of the last command executed. A trap on
E\bEX\bXI\bIT\bT is executed before the shell terminates.
e\bex\bxp\bpo\bor\brt\bt [-\b-f\bfn\bn] [_\bn_\ba_\bm_\be[=_\bw_\bo_\br_\bd]] ...
e\bex\bxp\bpo\bor\brt\bt -\b-p\bp
- The supplied _\bn_\ba_\bm_\be_\bs are marked for automatic export to the envi-
- ronment of subsequently executed commands. If the -\b-f\bf option is
- given, the _\bn_\ba_\bm_\be_\bs refer to functions. If no _\bn_\ba_\bm_\be_\bs are given, or
- if the -\b-p\bp option is supplied, a list of all names that are
- exported in this shell is printed. The -\b-n\bn option causes the
- export property to be removed from each _\bn_\ba_\bm_\be. If a variable
- name is followed by =_\bw_\bo_\br_\bd, the value of the variable is set to
- _\bw_\bo_\br_\bd. e\bex\bxp\bpo\bor\brt\bt returns an exit status of 0 unless an invalid
- option is encountered, one of the _\bn_\ba_\bm_\be_\bs is not a valid shell
+ The supplied _\bn_\ba_\bm_\be_\bs are marked for automatic export to the envi-
+ ronment of subsequently executed commands. If the -\b-f\bf option is
+ given, the _\bn_\ba_\bm_\be_\bs refer to functions. If no _\bn_\ba_\bm_\be_\bs are given, or
+ if the -\b-p\bp option is supplied, a list of all names that are
+ exported in this shell is printed. The -\b-n\bn option causes the
+ export property to be removed from each _\bn_\ba_\bm_\be. If a variable
+ name is followed by =_\bw_\bo_\br_\bd, the value of the variable is set to
+ _\bw_\bo_\br_\bd. e\bex\bxp\bpo\bor\brt\bt returns an exit status of 0 unless an invalid
+ option is encountered, one of the _\bn_\ba_\bm_\be_\bs is not a valid shell
variable name, or -\b-f\bf is supplied with a _\bn_\ba_\bm_\be that is not a func-
tion.
f\bfc\bc [-\b-e\be _\be_\bn_\ba_\bm_\be] [-\b-n\bnl\blr\br] [_\bf_\bi_\br_\bs_\bt] [_\bl_\ba_\bs_\bt]
f\bfc\bc -\b-s\bs [_\bp_\ba_\bt=_\br_\be_\bp] [_\bc_\bm_\bd]
- Fix Command. In the first form, a range of commands from _\bf_\bi_\br_\bs_\bt
- to _\bl_\ba_\bs_\bt is selected from the history list. _\bF_\bi_\br_\bs_\bt and _\bl_\ba_\bs_\bt may
- be specified as a string (to locate the last command beginning
- with that string) or as a number (an index into the history
+ Fix Command. In the first form, a range of commands from _\bf_\bi_\br_\bs_\bt
+ to _\bl_\ba_\bs_\bt is selected from the history list. _\bF_\bi_\br_\bs_\bt and _\bl_\ba_\bs_\bt may
+ be specified as a string (to locate the last command beginning
+ with that string) or as a number (an index into the history
list, where a negative number is used as an offset from the cur-
rent command number). If _\bl_\ba_\bs_\bt is not specified it is set to the
- current command for listing (so that ``fc -l -10'' prints the
+ current command for listing (so that ``fc -l -10'' prints the
last 10 commands) and to _\bf_\bi_\br_\bs_\bt otherwise. If _\bf_\bi_\br_\bs_\bt is not spec-
- ified it is set to the previous command for editing and -16 for
+ ified it is set to the previous command for editing and -16 for
listing.
- The -\b-n\bn option suppresses the command numbers when listing. The
- -\b-r\br option reverses the order of the commands. If the -\b-l\bl option
- is given, the commands are listed on standard output. Other-
- wise, the editor given by _\be_\bn_\ba_\bm_\be is invoked on a file containing
- those commands. If _\be_\bn_\ba_\bm_\be is not given, the value of the F\bFC\bCE\bED\bDI\bIT\bT
- variable is used, and the value of E\bED\bDI\bIT\bTO\bOR\bR if F\bFC\bCE\bED\bDI\bIT\bT is not set.
- If neither variable is set, _\bv_\bi is used. When editing is com-
+ The -\b-n\bn option suppresses the command numbers when listing. The
+ -\b-r\br option reverses the order of the commands. If the -\b-l\bl option
+ is given, the commands are listed on standard output. Other-
+ wise, the editor given by _\be_\bn_\ba_\bm_\be is invoked on a file containing
+ those commands. If _\be_\bn_\ba_\bm_\be is not given, the value of the F\bFC\bCE\bED\bDI\bIT\bT
+ variable is used, and the value of E\bED\bDI\bIT\bTO\bOR\bR if F\bFC\bCE\bED\bDI\bIT\bT is not set.
+ If neither variable is set, _\bv_\bi is used. When editing is com-
plete, the edited commands are echoed and executed.
- In the second form, _\bc_\bo_\bm_\bm_\ba_\bn_\bd is re-executed after each instance
- of _\bp_\ba_\bt is replaced by _\br_\be_\bp. A useful alias to use with this is
- ``r="fc -s"'', so that typing ``r cc'' runs the last command
+ In the second form, _\bc_\bo_\bm_\bm_\ba_\bn_\bd is re-executed after each instance
+ of _\bp_\ba_\bt is replaced by _\br_\be_\bp. A useful alias to use with this is
+ ``r="fc -s"'', so that typing ``r cc'' runs the last command
beginning with ``cc'' and typing ``r'' re-executes the last com-
mand.
- If the first form is used, the return value is 0 unless an
- invalid option is encountered or _\bf_\bi_\br_\bs_\bt or _\bl_\ba_\bs_\bt specify history
- lines out of range. If the -\b-e\be option is supplied, the return
+ If the first form is used, the return value is 0 unless an
+ invalid option is encountered or _\bf_\bi_\br_\bs_\bt or _\bl_\ba_\bs_\bt specify history
+ lines out of range. If the -\b-e\be option is supplied, the return
value is the value of the last command executed or failure if an
error occurs with the temporary file of commands. If the second
- form is used, the return status is that of the command re-exe-
- cuted, unless _\bc_\bm_\bd does not specify a valid history line, in
+ form is used, the return status is that of the command re-exe-
+ cuted, unless _\bc_\bm_\bd does not specify a valid history line, in
which case f\bfc\bc returns failure.
f\bfg\bg [_\bj_\bo_\bb_\bs_\bp_\be_\bc]
- Resume _\bj_\bo_\bb_\bs_\bp_\be_\bc in the foreground, and make it the current job.
+ Resume _\bj_\bo_\bb_\bs_\bp_\be_\bc in the foreground, and make it the current job.
If _\bj_\bo_\bb_\bs_\bp_\be_\bc is not present, the shell's notion of the _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb
- is used. The return value is that of the command placed into
- the foreground, or failure if run when job control is disabled
+ is used. The return value is that of the command placed into
+ the foreground, or failure if run when job control is disabled
or, when run with job control enabled, if _\bj_\bo_\bb_\bs_\bp_\be_\bc does not spec-
- ify a valid job or _\bj_\bo_\bb_\bs_\bp_\be_\bc specifies a job that was started
+ ify a valid job or _\bj_\bo_\bb_\bs_\bp_\be_\bc specifies a job that was started
without job control.
g\bge\bet\bto\bop\bpt\bts\bs _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg _\bn_\ba_\bm_\be [_\ba_\br_\bg_\bs]
- g\bge\bet\bto\bop\bpt\bts\bs is used by shell procedures to parse positional parame-
- ters. _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg contains the option characters to be recog-
- nized; if a character is followed by a colon, the option is
- expected to have an argument, which should be separated from it
- by white space. The colon and question mark characters may not
- be used as option characters. Each time it is invoked, g\bge\bet\bto\bop\bpt\bts\bs
- places the next option in the shell variable _\bn_\ba_\bm_\be, initializing
+ g\bge\bet\bto\bop\bpt\bts\bs is used by shell procedures to parse positional parame-
+ ters. _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg contains the option characters to be recog-
+ nized; if a character is followed by a colon, the option is
+ expected to have an argument, which should be separated from it
+ by white space. The colon and question mark characters may not
+ be used as option characters. Each time it is invoked, g\bge\bet\bto\bop\bpt\bts\bs
+ places the next option in the shell variable _\bn_\ba_\bm_\be, initializing
_\bn_\ba_\bm_\be if it does not exist, and the index of the next argument to
be processed into the variable O\bOP\bPT\bTI\bIN\bND\bD. O\bOP\bPT\bTI\bIN\bND\bD is initialized to
- 1 each time the shell or a shell script is invoked. When an
- option requires an argument, g\bge\bet\bto\bop\bpt\bts\bs places that argument into
- the variable O\bOP\bPT\bTA\bAR\bRG\bG. The shell does not reset O\bOP\bPT\bTI\bIN\bND\bD automati-
- cally; it must be manually reset between multiple calls to
+ 1 each time the shell or a shell script is invoked. When an
+ option requires an argument, g\bge\bet\bto\bop\bpt\bts\bs places that argument into
+ the variable O\bOP\bPT\bTA\bAR\bRG\bG. The shell does not reset O\bOP\bPT\bTI\bIN\bND\bD automati-
+ cally; it must be manually reset between multiple calls to
g\bge\bet\bto\bop\bpt\bts\bs within the same shell invocation if a new set of parame-
ters is to be used.
- When the end of options is encountered, g\bge\bet\bto\bop\bpt\bts\bs exits with a
- return value greater than zero. O\bOP\bPT\bTI\bIN\bND\bD is set to the index of
+ When the end of options is encountered, g\bge\bet\bto\bop\bpt\bts\bs exits with a
+ return value greater than zero. O\bOP\bPT\bTI\bIN\bND\bD is set to the index of
the first non-option argument, and n\bna\bam\bme\be is set to ?.
- g\bge\bet\bto\bop\bpt\bts\bs normally parses the positional parameters, but if more
+ g\bge\bet\bto\bop\bpt\bts\bs normally parses the positional parameters, but if more
arguments are given in _\ba_\br_\bg_\bs, g\bge\bet\bto\bop\bpt\bts\bs parses those instead.
- g\bge\bet\bto\bop\bpt\bts\bs can report errors in two ways. If the first character
- of _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg is a colon, _\bs_\bi_\bl_\be_\bn_\bt error reporting is used. In
- normal operation diagnostic messages are printed when invalid
- options or missing option arguments are encountered. If the
- variable O\bOP\bPT\bTE\bER\bRR\bR is set to 0, no error messages will be dis-
+ g\bge\bet\bto\bop\bpt\bts\bs can report errors in two ways. If the first character
+ of _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg is a colon, _\bs_\bi_\bl_\be_\bn_\bt error reporting is used. In
+ normal operation diagnostic messages are printed when invalid
+ options or missing option arguments are encountered. If the
+ variable O\bOP\bPT\bTE\bER\bRR\bR is set to 0, no error messages will be dis-
played, even if the first character of _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg is not a colon.
If an invalid option is seen, g\bge\bet\bto\bop\bpt\bts\bs places ? into _\bn_\ba_\bm_\be and, if
- not silent, prints an error message and unsets O\bOP\bPT\bTA\bAR\bRG\bG. If
- g\bge\bet\bto\bop\bpt\bts\bs is silent, the option character found is placed in
+ not silent, prints an error message and unsets O\bOP\bPT\bTA\bAR\bRG\bG. If
+ g\bge\bet\bto\bop\bpt\bts\bs is silent, the option character found is placed in
O\bOP\bPT\bTA\bAR\bRG\bG and no diagnostic message is printed.
- If a required argument is not found, and g\bge\bet\bto\bop\bpt\bts\bs is not silent,
- a question mark (?\b?) is placed in _\bn_\ba_\bm_\be, O\bOP\bPT\bTA\bAR\bRG\bG is unset, and a
- diagnostic message is printed. If g\bge\bet\bto\bop\bpt\bts\bs is silent, then a
- colon (:\b:) is placed in _\bn_\ba_\bm_\be and O\bOP\bPT\bTA\bAR\bRG\bG is set to the option
+ If a required argument is not found, and g\bge\bet\bto\bop\bpt\bts\bs is not silent,
+ a question mark (?\b?) is placed in _\bn_\ba_\bm_\be, O\bOP\bPT\bTA\bAR\bRG\bG is unset, and a
+ diagnostic message is printed. If g\bge\bet\bto\bop\bpt\bts\bs is silent, then a
+ colon (:\b:) is placed in _\bn_\ba_\bm_\be and O\bOP\bPT\bTA\bAR\bRG\bG is set to the option
character found.
- g\bge\bet\bto\bop\bpt\bts\bs returns true if an option, specified or unspecified, is
+ g\bge\bet\bto\bop\bpt\bts\bs returns true if an option, specified or unspecified, is
found. It returns false if the end of options is encountered or
an error occurs.
h\bha\bas\bsh\bh [-\b-l\blr\br] [-\b-p\bp _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be] [-\b-d\bdt\bt] [_\bn_\ba_\bm_\be]
- For each _\bn_\ba_\bm_\be, the full file name of the command is determined
+ For each _\bn_\ba_\bm_\be, the full file name of the command is determined
by searching the directories in $\b$P\bPA\bAT\bTH\bH and remembered. If the -\b-p\bp
option is supplied, no path search is performed, and _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be is
used as the full file name of the command. The -\b-r\br option causes
- the shell to forget all remembered locations. The -\b-d\bd option
+ the shell to forget all remembered locations. The -\b-d\bd option
causes the shell to forget the remembered location of each _\bn_\ba_\bm_\be.
- If the -\b-t\bt option is supplied, the full pathname to which each
- _\bn_\ba_\bm_\be corresponds is printed. If multiple _\bn_\ba_\bm_\be arguments are
- supplied with -\b-t\bt, the _\bn_\ba_\bm_\be is printed before the hashed full
+ If the -\b-t\bt option is supplied, the full pathname to which each
+ _\bn_\ba_\bm_\be corresponds is printed. If multiple _\bn_\ba_\bm_\be arguments are
+ supplied with -\b-t\bt, the _\bn_\ba_\bm_\be is printed before the hashed full
pathname. The -\b-l\bl option causes output to be displayed in a for-
- mat that may be reused as input. If no arguments are given, or
+ mat that may be reused as input. If no arguments are given, or
if only -\b-l\bl is supplied, information about remembered commands is
- printed. The return status is true unless a _\bn_\ba_\bm_\be is not found
+ printed. The return status is true unless a _\bn_\ba_\bm_\be is not found
or an invalid option is supplied.
h\bhe\bel\blp\bp [-\b-s\bs] [_\bp_\ba_\bt_\bt_\be_\br_\bn]
- Display helpful information about builtin commands. If _\bp_\ba_\bt_\bt_\be_\br_\bn
- is specified, h\bhe\bel\blp\bp gives detailed help on all commands matching
- _\bp_\ba_\bt_\bt_\be_\br_\bn; otherwise help for all the builtins and shell control
- structures is printed. The -\b-s\bs option restricts the information
- displayed to a short usage synopsis. The return status is 0
+ Display helpful information about builtin commands. If _\bp_\ba_\bt_\bt_\be_\br_\bn
+ is specified, h\bhe\bel\blp\bp gives detailed help on all commands matching
+ _\bp_\ba_\bt_\bt_\be_\br_\bn; otherwise help for all the builtins and shell control
+ structures is printed. The -\b-s\bs option restricts the information
+ displayed to a short usage synopsis. The return status is 0
unless no command matches _\bp_\ba_\bt_\bt_\be_\br_\bn.
h\bhi\bis\bst\bto\bor\bry\by [\b[_\bn]\b]
h\bhi\bis\bst\bto\bor\bry\by -\b-s\bs _\ba_\br_\bg [_\ba_\br_\bg _\b._\b._\b.]
With no options, display the command history list with line num-
bers. Lines listed with a *\b* have been modified. An argument of
- _\bn lists only the last _\bn lines. If the shell variable H\bHI\bIS\bST\bTT\bTI\bIM\bME\bE-\b-
- F\bFO\bOR\bRM\bMA\bAT\bT is set and not null, it is used as a format string for
- _\bs_\bt_\br_\bf_\bt_\bi_\bm_\be(3) to display the time stamp associated with each dis-
- played history entry. No intervening blank is printed between
- the formatted time stamp and the history line. If _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be is
- supplied, it is used as the name of the history file; if not,
- the value of H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE is used. Options, if supplied, have the
+ _\bn lists only the last _\bn lines. If the shell variable H\bHI\bIS\bST\bTT\bTI\bIM\bME\bE-\b-
+ F\bFO\bOR\bRM\bMA\bAT\bT is set and not null, it is used as a format string for
+ _\bs_\bt_\br_\bf_\bt_\bi_\bm_\be(3) to display the time stamp associated with each dis-
+ played history entry. No intervening blank is printed between
+ the formatted time stamp and the history line. If _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be is
+ supplied, it is used as the name of the history file; if not,
+ the value of H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE is used. Options, if supplied, have the
following meanings:
-\b-c\bc Clear the history list by deleting all the entries.
-\b-d\bd _\bo_\bf_\bf_\bs_\be_\bt
Delete the history entry at position _\bo_\bf_\bf_\bs_\be_\bt.
- -\b-a\ba Append the ``new'' history lines (history lines entered
- since the beginning of the current b\bba\bas\bsh\bh session) to the
+ -\b-a\ba Append the ``new'' history lines (history lines entered
+ since the beginning of the current b\bba\bas\bsh\bh session) to the
history file.
- -\b-n\bn Read the history lines not already read from the history
- file into the current history list. These are lines
- appended to the history file since the beginning of the
+ -\b-n\bn Read the history lines not already read from the history
+ file into the current history list. These are lines
+ appended to the history file since the beginning of the
current b\bba\bas\bsh\bh session.
-\b-r\br Read the contents of the history file and use them as the
current history.
- -\b-w\bw Write the current history to the history file, overwrit-
+ -\b-w\bw Write the current history to the history file, overwrit-
ing the history file's contents.
- -\b-p\bp Perform history substitution on the following _\ba_\br_\bg_\bs and
- display the result on the standard output. Does not
- store the results in the history list. Each _\ba_\br_\bg must be
+ -\b-p\bp Perform history substitution on the following _\ba_\br_\bg_\bs and
+ display the result on the standard output. Does not
+ store the results in the history list. Each _\ba_\br_\bg must be
quoted to disable normal history expansion.
- -\b-s\bs Store the _\ba_\br_\bg_\bs in the history list as a single entry.
- The last command in the history list is removed before
+ -\b-s\bs Store the _\ba_\br_\bg_\bs in the history list as a single entry.
+ The last command in the history list is removed before
the _\ba_\br_\bg_\bs are added.
If the H\bHI\bIS\bST\bTT\bTI\bIM\bME\bEF\bFO\bOR\bRM\bMA\bAT\bT is set, the time stamp information associ-
- ated with each history entry is written to the history file.
- The return value is 0 unless an invalid option is encountered,
- an error occurs while reading or writing the history file, an
- invalid _\bo_\bf_\bf_\bs_\be_\bt is supplied as an argument to -\b-d\bd, or the history
+ ated with each history entry is written to the history file.
+ The return value is 0 unless an invalid option is encountered,
+ an error occurs while reading or writing the history file, an
+ invalid _\bo_\bf_\bf_\bs_\be_\bt is supplied as an argument to -\b-d\bd, or the history
expansion supplied as an argument to -\b-p\bp fails.
j\bjo\bob\bbs\bs [-\b-l\bln\bnp\bpr\brs\bs] [ _\bj_\bo_\bb_\bs_\bp_\be_\bc ... ]
The first form lists the active jobs. The options have the fol-
lowing meanings:
-\b-l\bl List process IDs in addition to the normal information.
- -\b-p\bp List only the process ID of the job's process group
+ -\b-p\bp List only the process ID of the job's process group
leader.
- -\b-n\bn Display information only about jobs that have changed
- status since the user was last notified of their status.
+ -\b-n\bn Display information only about jobs that have changed
+ status since the user was last notified of their status.
-\b-r\br Restrict output to running jobs.
-\b-s\bs Restrict output to stopped jobs.
- If _\bj_\bo_\bb_\bs_\bp_\be_\bc is given, output is restricted to information about
- that job. The return status is 0 unless an invalid option is
+ If _\bj_\bo_\bb_\bs_\bp_\be_\bc is given, output is restricted to information about
+ that job. The return status is 0 unless an invalid option is
encountered or an invalid _\bj_\bo_\bb_\bs_\bp_\be_\bc is supplied.
If the -\b-x\bx option is supplied, j\bjo\bob\bbs\bs replaces any _\bj_\bo_\bb_\bs_\bp_\be_\bc found in
- _\bc_\bo_\bm_\bm_\ba_\bn_\bd or _\ba_\br_\bg_\bs with the corresponding process group ID, and
+ _\bc_\bo_\bm_\bm_\ba_\bn_\bd or _\ba_\br_\bg_\bs with the corresponding process group ID, and
executes _\bc_\bo_\bm_\bm_\ba_\bn_\bd passing it _\ba_\br_\bg_\bs, returning its exit status.
k\bki\bil\bll\bl [-\b-s\bs _\bs_\bi_\bg_\bs_\bp_\be_\bc | -\b-n\bn _\bs_\bi_\bg_\bn_\bu_\bm | -\b-_\bs_\bi_\bg_\bs_\bp_\be_\bc] [_\bp_\bi_\bd | _\bj_\bo_\bb_\bs_\bp_\be_\bc] ...
k\bki\bil\bll\bl -\b-l\bl [_\bs_\bi_\bg_\bs_\bp_\be_\bc | _\be_\bx_\bi_\bt_\b__\bs_\bt_\ba_\bt_\bu_\bs]
- Send the signal named by _\bs_\bi_\bg_\bs_\bp_\be_\bc or _\bs_\bi_\bg_\bn_\bu_\bm to the processes
- named by _\bp_\bi_\bd or _\bj_\bo_\bb_\bs_\bp_\be_\bc. _\bs_\bi_\bg_\bs_\bp_\be_\bc is either a case-insensitive
- signal name such as S\bSI\bIG\bGK\bKI\bIL\bLL\bL (with or without the S\bSI\bIG\bG prefix) or
- a signal number; _\bs_\bi_\bg_\bn_\bu_\bm is a signal number. If _\bs_\bi_\bg_\bs_\bp_\be_\bc is not
- present, then S\bSI\bIG\bGT\bTE\bER\bRM\bM is assumed. An argument of -\b-l\bl lists the
- signal names. If any arguments are supplied when -\b-l\bl is given,
- the names of the signals corresponding to the arguments are
+ Send the signal named by _\bs_\bi_\bg_\bs_\bp_\be_\bc or _\bs_\bi_\bg_\bn_\bu_\bm to the processes
+ named by _\bp_\bi_\bd or _\bj_\bo_\bb_\bs_\bp_\be_\bc. _\bs_\bi_\bg_\bs_\bp_\be_\bc is either a case-insensitive
+ signal name such as S\bSI\bIG\bGK\bKI\bIL\bLL\bL (with or without the S\bSI\bIG\bG prefix) or
+ a signal number; _\bs_\bi_\bg_\bn_\bu_\bm is a signal number. If _\bs_\bi_\bg_\bs_\bp_\be_\bc is not
+ present, then S\bSI\bIG\bGT\bTE\bER\bRM\bM is assumed. An argument of -\b-l\bl lists the
+ signal names. If any arguments are supplied when -\b-l\bl is given,
+ the names of the signals corresponding to the arguments are
listed, and the return status is 0. The _\be_\bx_\bi_\bt_\b__\bs_\bt_\ba_\bt_\bu_\bs argument to
- -\b-l\bl is a number specifying either a signal number or the exit
- status of a process terminated by a signal. k\bki\bil\bll\bl returns true
- if at least one signal was successfully sent, or false if an
+ -\b-l\bl is a number specifying either a signal number or the exit
+ status of a process terminated by a signal. k\bki\bil\bll\bl returns true
+ if at least one signal was successfully sent, or false if an
error occurs or an invalid option is encountered.
l\ble\bet\bt _\ba_\br_\bg [_\ba_\br_\bg ...]
Each _\ba_\br_\bg is an arithmetic expression to be evaluated (see A\bAR\bRI\bIT\bTH\bH-\b-
- M\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN). If the last _\ba_\br_\bg evaluates to 0, l\ble\bet\bt returns
+ M\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN). If the last _\ba_\br_\bg evaluates to 0, l\ble\bet\bt returns
1; 0 is returned otherwise.
l\blo\boc\bca\bal\bl [_\bo_\bp_\bt_\bi_\bo_\bn] [_\bn_\ba_\bm_\be[=_\bv_\ba_\bl_\bu_\be] ...]
- For each argument, a local variable named _\bn_\ba_\bm_\be is created, and
- assigned _\bv_\ba_\bl_\bu_\be. The _\bo_\bp_\bt_\bi_\bo_\bn can be any of the options accepted
+ For each argument, a local variable named _\bn_\ba_\bm_\be is created, and
+ assigned _\bv_\ba_\bl_\bu_\be. The _\bo_\bp_\bt_\bi_\bo_\bn can be any of the options accepted
by d\bde\bec\bcl\bla\bar\bre\be. When l\blo\boc\bca\bal\bl is used within a function, it causes the
- variable _\bn_\ba_\bm_\be to have a visible scope restricted to that func-
+ variable _\bn_\ba_\bm_\be to have a visible scope restricted to that func-
tion and its children. With no operands, l\blo\boc\bca\bal\bl writes a list of
- local variables to the standard output. It is an error to use
+ local variables to the standard output. It is an error to use
l\blo\boc\bca\bal\bl when not within a function. The return status is 0 unless
- l\blo\boc\bca\bal\bl is used outside a function, an invalid _\bn_\ba_\bm_\be is supplied,
+ l\blo\boc\bca\bal\bl is used outside a function, an invalid _\bn_\ba_\bm_\be is supplied,
or _\bn_\ba_\bm_\be is a readonly variable.
l\blo\bog\bgo\bou\but\bt Exit a login shell.
p\bpo\bop\bpd\bd [-n\bn] [+_\bn] [-_\bn]
- Removes entries from the directory stack. With no arguments,
- removes the top directory from the stack, and performs a c\bcd\bd to
+ Removes entries from the directory stack. With no arguments,
+ removes the top directory from the stack, and performs a c\bcd\bd to
the new top directory. Arguments, if supplied, have the follow-
ing meanings:
- +\b+_\bn Removes the _\bnth entry counting from the left of the list
- shown by d\bdi\bir\brs\bs, starting with zero. For example: ``popd
+ +\b+_\bn Removes the _\bnth entry counting from the left of the list
+ shown by d\bdi\bir\brs\bs, starting with zero. For example: ``popd
+0'' removes the first directory, ``popd +1'' the second.
-\b-_\bn Removes the _\bnth entry counting from the right of the list
- shown by d\bdi\bir\brs\bs, starting with zero. For example: ``popd
- -0'' removes the last directory, ``popd -1'' the next to
+ shown by d\bdi\bir\brs\bs, starting with zero. For example: ``popd
+ -0'' removes the last directory, ``popd -1'' the next to
last.
- -\b-n\bn Suppresses the normal change of directory when removing
- directories from the stack, so that only the stack is
+ -\b-n\bn Suppresses the normal change of directory when removing
+ directories from the stack, so that only the stack is
manipulated.
- If the p\bpo\bop\bpd\bd command is successful, a d\bdi\bir\brs\bs is performed as well,
- and the return status is 0. p\bpo\bop\bpd\bd returns false if an invalid
+ If the p\bpo\bop\bpd\bd command is successful, a d\bdi\bir\brs\bs is performed as well,
+ and the return status is 0. p\bpo\bop\bpd\bd returns false if an invalid
option is encountered, the directory stack is empty, a non-exis-
tent directory stack entry is specified, or the directory change
fails.
p\bpr\bri\bin\bnt\btf\bf _\bf_\bo_\br_\bm_\ba_\bt [_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs]
- Write the formatted _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs to the standard output under the
- control of the _\bf_\bo_\br_\bm_\ba_\bt. The _\bf_\bo_\br_\bm_\ba_\bt is a character string which
- contains three types of objects: plain characters, which are
- simply copied to standard output, character escape sequences,
- which are converted and copied to the standard output, and for-
- mat specifications, each of which causes printing of the next
+ Write the formatted _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs to the standard output under the
+ control of the _\bf_\bo_\br_\bm_\ba_\bt. The _\bf_\bo_\br_\bm_\ba_\bt is a character string which
+ contains three types of objects: plain characters, which are
+ simply copied to standard output, character escape sequences,
+ which are converted and copied to the standard output, and for-
+ mat specifications, each of which causes printing of the next
successive _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt. In addition to the standard _\bp_\br_\bi_\bn_\bt_\bf(1) for-
- mats, %\b%b\bb causes p\bpr\bri\bin\bnt\btf\bf to expand backslash escape sequences in
- the corresponding _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt (except that \\b\c\bc terminates output,
+ mats, %\b%b\bb causes p\bpr\bri\bin\bnt\btf\bf to expand backslash escape sequences in
+ the corresponding _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt (except that \\b\c\bc terminates output,
backslashes in \\b\'\b', \\b\"\b", and \\b\?\b? are not removed, and octal escapes
- beginning with \\b\0\b0 may contain up to four digits), and %\b%q\bq causes
+ beginning with \\b\0\b0 may contain up to four digits), and %\b%q\bq causes
p\bpr\bri\bin\bnt\btf\bf to output the corresponding _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt in a format that can
be reused as shell input.
- The _\bf_\bo_\br_\bm_\ba_\bt is reused as necessary to consume all of the _\ba_\br_\bg_\bu_\b-
+ The _\bf_\bo_\br_\bm_\ba_\bt is reused as necessary to consume all of the _\ba_\br_\bg_\bu_\b-
_\bm_\be_\bn_\bt_\bs. If the _\bf_\bo_\br_\bm_\ba_\bt requires more _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs than are supplied,
- the extra format specifications behave as if a zero value or
- null string, as appropriate, had been supplied. The return
+ the extra format specifications behave as if a zero value or
+ null string, as appropriate, had been supplied. The return
value is zero on success, non-zero on failure.
p\bpu\bus\bsh\bhd\bd [-\b-n\bn] [_\bd_\bi_\br]
p\bpu\bus\bsh\bhd\bd [-\b-n\bn] [+_\bn] [-_\bn]
- Adds a directory to the top of the directory stack, or rotates
- the stack, making the new top of the stack the current working
+ Adds a directory to the top of the directory stack, or rotates
+ the stack, making the new top of the stack the current working
directory. With no arguments, exchanges the top two directories
- and returns 0, unless the directory stack is empty. Arguments,
+ and returns 0, unless the directory stack is empty. Arguments,
if supplied, have the following meanings:
- +\b+_\bn Rotates the stack so that the _\bnth directory (counting
- from the left of the list shown by d\bdi\bir\brs\bs, starting with
+ +\b+_\bn Rotates the stack so that the _\bnth directory (counting
+ from the left of the list shown by d\bdi\bir\brs\bs, starting with
zero) is at the top.
- -\b-_\bn Rotates the stack so that the _\bnth directory (counting
- from the right of the list shown by d\bdi\bir\brs\bs, starting with
+ -\b-_\bn Rotates the stack so that the _\bnth directory (counting
+ from the right of the list shown by d\bdi\bir\brs\bs, starting with
zero) is at the top.
- -\b-n\bn Suppresses the normal change of directory when adding
- directories to the stack, so that only the stack is
+ -\b-n\bn Suppresses the normal change of directory when adding
+ directories to the stack, so that only the stack is
manipulated.
_\bd_\bi_\br Adds _\bd_\bi_\br to the directory stack at the top, making it the
new current working directory.
If the p\bpu\bus\bsh\bhd\bd command is successful, a d\bdi\bir\brs\bs is performed as well.
- If the first form is used, p\bpu\bus\bsh\bhd\bd returns 0 unless the cd to _\bd_\bi_\br
- fails. With the second form, p\bpu\bus\bsh\bhd\bd returns 0 unless the direc-
- tory stack is empty, a non-existent directory stack element is
- specified, or the directory change to the specified new current
+ If the first form is used, p\bpu\bus\bsh\bhd\bd returns 0 unless the cd to _\bd_\bi_\br
+ fails. With the second form, p\bpu\bus\bsh\bhd\bd returns 0 unless the direc-
+ tory stack is empty, a non-existent directory stack element is
+ specified, or the directory change to the specified new current
directory fails.
p\bpw\bwd\bd [-\b-L\bLP\bP]
- Print the absolute pathname of the current working directory.
+ Print the absolute pathname of the current working directory.
The pathname printed contains no symbolic links if the -\b-P\bP option
is supplied or the -\b-o\bo p\bph\bhy\bys\bsi\bic\bca\bal\bl option to the s\bse\bet\bt builtin command
- is enabled. If the -\b-L\bL option is used, the pathname printed may
- contain symbolic links. The return status is 0 unless an error
- occurs while reading the name of the current directory or an
+ is enabled. If the -\b-L\bL option is used, the pathname printed may
+ contain symbolic links. The return status is 0 unless an error
+ occurs while reading the name of the current directory or an
invalid option is supplied.
r\bre\bea\bad\bd [-\b-e\ber\brs\bs] [-\b-u\bu _\bf_\bd] [-\b-t\bt _\bt_\bi_\bm_\be_\bo_\bu_\bt] [-\b-a\ba _\ba_\bn_\ba_\bm_\be] [-\b-p\bp _\bp_\br_\bo_\bm_\bp_\bt] [-\b-n\bn _\bn_\bc_\bh_\ba_\br_\bs] [-\b-d\bd
_\bd_\be_\bl_\bi_\bm] [_\bn_\ba_\bm_\be ...]
- One line is read from the standard input, or from the file
- descriptor _\bf_\bd supplied as an argument to the -\b-u\bu option, and the
+ One line is read from the standard input, or from the file
+ descriptor _\bf_\bd supplied as an argument to the -\b-u\bu option, and the
first word is assigned to the first _\bn_\ba_\bm_\be, the second word to the
- second _\bn_\ba_\bm_\be, and so on, with leftover words and their interven-
- ing separators assigned to the last _\bn_\ba_\bm_\be. If there are fewer
+ second _\bn_\ba_\bm_\be, and so on, with leftover words and their interven-
+ ing separators assigned to the last _\bn_\ba_\bm_\be. If there are fewer
words read from the input stream than names, the remaining names
- are assigned empty values. The characters in I\bIF\bFS\bS are used to
- split the line into words. The backslash character (\\b\) may be
- used to remove any special meaning for the next character read
- and for line continuation. Options, if supplied, have the fol-
+ are assigned empty values. The characters in I\bIF\bFS\bS are used to
+ split the line into words. The backslash character (\\b\) may be
+ used to remove any special meaning for the next character read
+ and for line continuation. Options, if supplied, have the fol-
lowing meanings:
-\b-a\ba _\ba_\bn_\ba_\bm_\be
The words are assigned to sequential indices of the array
new values are assigned. Other _\bn_\ba_\bm_\be arguments are
ignored.
-\b-d\bd _\bd_\be_\bl_\bi_\bm
- The first character of _\bd_\be_\bl_\bi_\bm is used to terminate the
+ The first character of _\bd_\be_\bl_\bi_\bm is used to terminate the
input line, rather than newline.
-\b-e\be If the standard input is coming from a terminal, r\bre\bea\bad\bdl\bli\bin\bne\be
(see R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE above) is used to obtain the line.
-\b-n\bn _\bn_\bc_\bh_\ba_\br_\bs
- r\bre\bea\bad\bd returns after reading _\bn_\bc_\bh_\ba_\br_\bs characters rather than
+ r\bre\bea\bad\bd returns after reading _\bn_\bc_\bh_\ba_\br_\bs characters rather than
waiting for a complete line of input.
-\b-p\bp _\bp_\br_\bo_\bm_\bp_\bt
Display _\bp_\br_\bo_\bm_\bp_\bt on standard error, without a trailing new-
line, before attempting to read any input. The prompt is
displayed only if input is coming from a terminal.
-\b-r\br Backslash does not act as an escape character. The back-
- slash is considered to be part of the line. In particu-
- lar, a backslash-newline pair may not be used as a line
+ slash is considered to be part of the line. In particu-
+ lar, a backslash-newline pair may not be used as a line
continuation.
-\b-s\bs Silent mode. If input is coming from a terminal, charac-
ters are not echoed.
-\b-t\bt _\bt_\bi_\bm_\be_\bo_\bu_\bt
- Cause r\bre\bea\bad\bd to time out and return failure if a complete
- line of input is not read within _\bt_\bi_\bm_\be_\bo_\bu_\bt seconds. This
- option has no effect if r\bre\bea\bad\bd is not reading input from
+ Cause r\bre\bea\bad\bd to time out and return failure if a complete
+ line of input is not read within _\bt_\bi_\bm_\be_\bo_\bu_\bt seconds. This
+ option has no effect if r\bre\bea\bad\bd is not reading input from
the terminal or a pipe.
-\b-u\bu _\bf_\bd Read input from file descriptor _\bf_\bd.
If no _\bn_\ba_\bm_\be_\bs are supplied, the line read is assigned to the vari-
- able R\bRE\bEP\bPL\bLY\bY. The return code is zero, unless end-of-file is
- encountered, r\bre\bea\bad\bd times out, or an invalid file descriptor is
+ able R\bRE\bEP\bPL\bLY\bY. The return code is zero, unless end-of-file is
+ encountered, r\bre\bea\bad\bd times out, or an invalid file descriptor is
supplied as the argument to -\b-u\bu.
r\bre\bea\bad\bdo\bon\bnl\bly\by [-\b-a\bap\bpf\bf] [_\bn_\ba_\bm_\be[=_\bw_\bo_\br_\bd] ...]
- The given _\bn_\ba_\bm_\be_\bs are marked readonly; the values of these _\bn_\ba_\bm_\be_\bs
- may not be changed by subsequent assignment. If the -\b-f\bf option
- is supplied, the functions corresponding to the _\bn_\ba_\bm_\be_\bs are so
+ The given _\bn_\ba_\bm_\be_\bs are marked readonly; the values of these _\bn_\ba_\bm_\be_\bs
+ may not be changed by subsequent assignment. If the -\b-f\bf option
+ is supplied, the functions corresponding to the _\bn_\ba_\bm_\be_\bs are so
marked. The -\b-a\ba option restricts the variables to arrays. If no
- _\bn_\ba_\bm_\be arguments are given, or if the -\b-p\bp option is supplied, a
- list of all readonly names is printed. The -\b-p\bp option causes
- output to be displayed in a format that may be reused as input.
- If a variable name is followed by =_\bw_\bo_\br_\bd, the value of the vari-
- able is set to _\bw_\bo_\br_\bd. The return status is 0 unless an invalid
- option is encountered, one of the _\bn_\ba_\bm_\be_\bs is not a valid shell
+ _\bn_\ba_\bm_\be arguments are given, or if the -\b-p\bp option is supplied, a
+ list of all readonly names is printed. The -\b-p\bp option causes
+ output to be displayed in a format that may be reused as input.
+ If a variable name is followed by =_\bw_\bo_\br_\bd, the value of the vari-
+ able is set to _\bw_\bo_\br_\bd. The return status is 0 unless an invalid
+ option is encountered, one of the _\bn_\ba_\bm_\be_\bs is not a valid shell
variable name, or -\b-f\bf is supplied with a _\bn_\ba_\bm_\be that is not a func-
tion.
r\bre\bet\btu\bur\brn\bn [_\bn]
- Causes a function to exit with the return value specified by _\bn.
- If _\bn is omitted, the return status is that of the last command
- executed in the function body. If used outside a function, but
- during execution of a script by the .\b. (s\bso\bou\bur\brc\bce\be) command, it
+ Causes a function to exit with the return value specified by _\bn.
+ If _\bn is omitted, the return status is that of the last command
+ executed in the function body. If used outside a function, but
+ during execution of a script by the .\b. (s\bso\bou\bur\brc\bce\be) command, it
causes the shell to stop executing that script and return either
- _\bn or the exit status of the last command executed within the
- script as the exit status of the script. If used outside a
- function and not during execution of a script by .\b., the return
+ _\bn or the exit status of the last command executed within the
+ script as the exit status of the script. If used outside a
+ function and not during execution of a script by .\b., the return
status is false. Any command associated with the R\bRE\bET\bTU\bUR\bRN\bN trap is
- executed before execution resumes after the function or script.
+ executed before execution resumes after the function or script.
s\bse\bet\bt [-\b--\b-a\bab\bbe\bef\bfh\bhk\bkm\bmn\bnp\bpt\btu\buv\bvx\bxB\bBC\bCH\bHP\bP] [-\b-o\bo _\bo_\bp_\bt_\bi_\bo_\bn] [_\ba_\br_\bg ...]
- Without options, the name and value of each shell variable are
+ Without options, the name and value of each shell variable are
displayed in a format that can be reused as input for setting or
resetting the currently-set variables. Read-only variables can-
- not be reset. In _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be, only shell variables are listed.
- The output is sorted according to the current locale. When
- options are specified, they set or unset shell attributes. Any
- arguments remaining after the options are processed are treated
- as values for the positional parameters and are assigned, in
+ not be reset. In _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be, only shell variables are listed.
+ The output is sorted according to the current locale. When
+ options are specified, they set or unset shell attributes. Any
+ arguments remaining after the options are processed are treated
+ as values for the positional parameters and are assigned, in
order, to $\b$1\b1, $\b$2\b2, .\b..\b..\b. $\b$_\bn. Options, if specified, have the fol-
lowing meanings:
- -\b-a\ba Automatically mark variables and functions which are
- modified or created for export to the environment of
+ -\b-a\ba Automatically mark variables and functions which are
+ modified or created for export to the environment of
subsequent commands.
- -\b-b\bb Report the status of terminated background jobs immedi-
+ -\b-b\bb Report the status of terminated background jobs immedi-
ately, rather than before the next primary prompt. This
is effective only when job control is enabled.
- -\b-e\be Exit immediately if a _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd (see S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR
+ -\b-e\be Exit immediately if a _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd (see S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR
above) exits with a non-zero status. The shell does not
- exit if the command that fails is part of the command
- list immediately following a w\bwh\bhi\bil\ble\be or u\bun\bnt\bti\bil\bl keyword,
- part of the test in an _\bi_\bf statement, part of a &\b&&\b& or |\b||\b|
+ exit if the command that fails is part of the command
+ list immediately following a w\bwh\bhi\bil\ble\be or u\bun\bnt\bti\bil\bl keyword,
+ part of the test in an _\bi_\bf statement, part of a &\b&&\b& or |\b||\b|
list, or if the command's return value is being inverted
- via !\b!. A trap on E\bER\bRR\bR, if set, is executed before the
+ via !\b!. A trap on E\bER\bRR\bR, if set, is executed before the
shell exits.
-\b-f\bf Disable pathname expansion.
- -\b-h\bh Remember the location of commands as they are looked up
+ -\b-h\bh Remember the location of commands as they are looked up
for execution. This is enabled by default.
- -\b-k\bk All arguments in the form of assignment statements are
- placed in the environment for a command, not just those
+ -\b-k\bk All arguments in the form of assignment statements are
+ placed in the environment for a command, not just those
that precede the command name.
- -\b-m\bm Monitor mode. Job control is enabled. This option is
- on by default for interactive shells on systems that
- support it (see J\bJO\bOB\bB C\bCO\bON\bNT\bTR\bRO\bOL\bL above). Background pro-
- cesses run in a separate process group and a line con-
- taining their exit status is printed upon their comple-
+ -\b-m\bm Monitor mode. Job control is enabled. This option is
+ on by default for interactive shells on systems that
+ support it (see J\bJO\bOB\bB C\bCO\bON\bNT\bTR\bRO\bOL\bL above). Background pro-
+ cesses run in a separate process group and a line con-
+ taining their exit status is printed upon their comple-
tion.
-\b-n\bn Read commands but do not execute them. This may be used
- to check a shell script for syntax errors. This is
+ to check a shell script for syntax errors. This is
ignored by interactive shells.
-\b-o\bo _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be
The _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be can be one of the following:
Same as -\b-a\ba.
b\bbr\bra\bac\bce\bee\bex\bxp\bpa\ban\bnd\bd
Same as -\b-B\bB.
- e\bem\bma\bac\bcs\bs Use an emacs-style command line editing inter-
+ e\bem\bma\bac\bcs\bs Use an emacs-style command line editing inter-
face. This is enabled by default when the shell
is interactive, unless the shell is started with
the -\b--\b-n\bno\boe\bed\bdi\bit\bti\bin\bng\bg option.
H\bHI\bIS\bST\bTO\bOR\bRY\bY. This option is on by default in inter-
active shells.
i\big\bgn\bno\bor\bre\bee\beo\bof\bf
- The effect is as if the shell command
- ``IGNOREEOF=10'' had been executed (see S\bSh\bhe\bel\bll\bl
+ The effect is as if the shell command
+ ``IGNOREEOF=10'' had been executed (see S\bSh\bhe\bel\bll\bl
V\bVa\bar\bri\bia\bab\bbl\ble\bes\bs above).
k\bke\bey\byw\bwo\bor\brd\bd Same as -\b-k\bk.
m\bmo\bon\bni\bit\bto\bor\br Same as -\b-m\bm.
p\bph\bhy\bys\bsi\bic\bca\bal\bl
Same as -\b-P\bP.
p\bpi\bip\bpe\bef\bfa\bai\bil\bl
- If set, the return value of a pipeline is the
- value of the last (rightmost) command to exit
- with a non-zero status, or zero if all commands
- in the pipeline exit successfully. This option
+ If set, the return value of a pipeline is the
+ value of the last (rightmost) command to exit
+ with a non-zero status, or zero if all commands
+ in the pipeline exit successfully. This option
is disabled by default.
- p\bpo\bos\bsi\bix\bx Change the behavior of b\bba\bas\bsh\bh where the default
+ p\bpo\bos\bsi\bix\bx Change the behavior of b\bba\bas\bsh\bh where the default
operation differs from the POSIX 1003.2 standard
to match the standard (_\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be).
p\bpr\bri\biv\bvi\bil\ble\beg\bge\bed\bd
v\bvi\bi Use a vi-style command line editing interface.
x\bxt\btr\bra\bac\bce\be Same as -\b-x\bx.
If -\b-o\bo is supplied with no _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be, the values of the
- current options are printed. If +\b+o\bo is supplied with no
- _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be, a series of s\bse\bet\bt commands to recreate the
- current option settings is displayed on the standard
+ current options are printed. If +\b+o\bo is supplied with no
+ _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be, a series of s\bse\bet\bt commands to recreate the
+ current option settings is displayed on the standard
output.
- -\b-p\bp Turn on _\bp_\br_\bi_\bv_\bi_\bl_\be_\bg_\be_\bd mode. In this mode, the $\b$E\bEN\bNV\bV and
- $\b$B\bBA\bAS\bSH\bH_\b_E\bEN\bNV\bV files are not processed, shell functions are
- not inherited from the environment, and the S\bSH\bHE\bEL\bLL\bLO\bOP\bPT\bTS\bS
- variable, if it appears in the environment, is ignored.
- If the shell is started with the effective user (group)
- id not equal to the real user (group) id, and the -\b-p\bp
- option is not supplied, these actions are taken and the
+ -\b-p\bp Turn on _\bp_\br_\bi_\bv_\bi_\bl_\be_\bg_\be_\bd mode. In this mode, the $\b$E\bEN\bNV\bV and
+ $\b$B\bBA\bAS\bSH\bH_\b_E\bEN\bNV\bV files are not processed, shell functions are
+ not inherited from the environment, and the S\bSH\bHE\bEL\bLL\bLO\bOP\bPT\bTS\bS
+ variable, if it appears in the environment, is ignored.
+ If the shell is started with the effective user (group)
+ id not equal to the real user (group) id, and the -\b-p\bp
+ option is not supplied, these actions are taken and the
effective user id is set to the real user id. If the -\b-p\bp
- option is supplied at startup, the effective user id is
+ option is supplied at startup, the effective user id is
not reset. Turning this option off causes the effective
- user and group ids to be set to the real user and group
+ user and group ids to be set to the real user and group
ids.
-\b-t\bt Exit after reading and executing one command.
-\b-u\bu Treat unset variables as an error when performing param-
- eter expansion. If expansion is attempted on an unset
+ eter expansion. If expansion is attempted on an unset
variable, the shell prints an error message, and, if not
interactive, exits with a non-zero status.
-\b-v\bv Print shell input lines as they are read.
- -\b-x\bx After expanding each _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd, f\bfo\bor\br command, c\bca\bas\bse\be
+ -\b-x\bx After expanding each _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd, f\bfo\bor\br command, c\bca\bas\bse\be
command, s\bse\bel\ble\bec\bct\bt command, or arithmetic f\bfo\bor\br command, dis-
- play the expanded value of P\bPS\bS4\b4, followed by the command
+ play the expanded value of P\bPS\bS4\b4, followed by the command
and its expanded arguments or associated word list.
- -\b-B\bB The shell performs brace expansion (see B\bBr\bra\bac\bce\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
+ -\b-B\bB The shell performs brace expansion (see B\bBr\bra\bac\bce\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
above). This is on by default.
- -\b-C\bC If set, b\bba\bas\bsh\bh does not overwrite an existing file with
- the >\b>, >\b>&\b&, and <\b<>\b> redirection operators. This may be
+ -\b-C\bC If set, b\bba\bas\bsh\bh does not overwrite an existing file with
+ the >\b>, >\b>&\b&, and <\b<>\b> redirection operators. This may be
overridden when creating output files by using the redi-
rection operator >\b>|\b| instead of >\b>.
-\b-E\bE If set, any trap on E\bER\bRR\bR is inherited by shell functions,
- command substitutions, and commands executed in a sub-
- shell environment. The E\bER\bRR\bR trap is normally not inher-
+ command substitutions, and commands executed in a sub-
+ shell environment. The E\bER\bRR\bR trap is normally not inher-
ited in such cases.
-\b-H\bH Enable !\b! style history substitution. This option is on
by default when the shell is interactive.
- -\b-P\bP If set, the shell does not follow symbolic links when
- executing commands such as c\bcd\bd that change the current
+ -\b-P\bP If set, the shell does not follow symbolic links when
+ executing commands such as c\bcd\bd that change the current
working directory. It uses the physical directory
structure instead. By default, b\bba\bas\bsh\bh follows the logical
- chain of directories when performing commands which
+ chain of directories when performing commands which
change the current directory.
- -\b-T\bT If set, any traps on D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN are inherited by
- shell functions, command substitutions, and commands
- executed in a subshell environment. The D\bDE\bEB\bBU\bUG\bG and
+ -\b-T\bT If set, any traps on D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN are inherited by
+ shell functions, command substitutions, and commands
+ executed in a subshell environment. The D\bDE\bEB\bBU\bUG\bG and
R\bRE\bET\bTU\bUR\bRN\bN traps are normally not inherited in such cases.
- -\b--\b- If no arguments follow this option, then the positional
+ -\b--\b- If no arguments follow this option, then the positional
parameters are unset. Otherwise, the positional parame-
- ters are set to the _\ba_\br_\bgs, even if some of them begin
+ ters are set to the _\ba_\br_\bgs, even if some of them begin
with a -\b-.
- -\b- Signal the end of options, cause all remaining _\ba_\br_\bgs to
+ -\b- Signal the end of options, cause all remaining _\ba_\br_\bgs to
be assigned to the positional parameters. The -\b-x\bx and -\b-v\bv
- options are turned off. If there are no _\ba_\br_\bgs, the
- positional parameters remain unchanged.
+ options are turned off. If there are no _\ba_\br_\bgs, the posi-
+ tional parameters remain unchanged.
- The options are off by default unless otherwise noted. Using +
- rather than - causes these options to be turned off. The
- options can also be specified as arguments to an invocation of
- the shell. The current set of options may be found in $\b$-\b-. The
+ The options are off by default unless otherwise noted. Using +
+ rather than - causes these options to be turned off. The
+ options can also be specified as arguments to an invocation of
+ the shell. The current set of options may be found in $\b$-\b-. The
return status is always true unless an invalid option is encoun-
tered.
s\bsh\bhi\bif\bft\bt [_\bn]
- The positional parameters from _\bn+1 ... are renamed to $\b$1\b1 .\b..\b..\b..\b.
- Parameters represented by the numbers $\b$#\b# down to $\b$#\b#-_\bn+1 are
- unset. _\bn must be a non-negative number less than or equal to
- $\b$#\b#. If _\bn is 0, no parameters are changed. If _\bn is not given,
- it is assumed to be 1. If _\bn is greater than $\b$#\b#, the positional
- parameters are not changed. The return status is greater than
+ The positional parameters from _\bn+1 ... are renamed to $\b$1\b1 .\b..\b..\b..\b.
+ Parameters represented by the numbers $\b$#\b# down to $\b$#\b#-_\bn+1 are
+ unset. _\bn must be a non-negative number less than or equal to
+ $\b$#\b#. If _\bn is 0, no parameters are changed. If _\bn is not given,
+ it is assumed to be 1. If _\bn is greater than $\b$#\b#, the positional
+ parameters are not changed. The return status is greater than
zero if _\bn is greater than $\b$#\b# or less than zero; otherwise 0.
s\bsh\bho\bop\bpt\bt [-\b-p\bpq\bqs\bsu\bu] [-\b-o\bo] [_\bo_\bp_\bt_\bn_\ba_\bm_\be ...]
Toggle the values of variables controlling optional shell behav-
ior. With no options, or with the -\b-p\bp option, a list of all set-
table options is displayed, with an indication of whether or not
- each is set. The -\b-p\bp option causes output to be displayed in a
- form that may be reused as input. Other options have the fol-
+ each is set. The -\b-p\bp option causes output to be displayed in a
+ form that may be reused as input. Other options have the fol-
lowing meanings:
-\b-s\bs Enable (set) each _\bo_\bp_\bt_\bn_\ba_\bm_\be.
-\b-u\bu Disable (unset) each _\bo_\bp_\bt_\bn_\ba_\bm_\be.
- -\b-q\bq Suppresses normal output (quiet mode); the return status
+ -\b-q\bq Suppresses normal output (quiet mode); the return status
indicates whether the _\bo_\bp_\bt_\bn_\ba_\bm_\be is set or unset. If multi-
- ple _\bo_\bp_\bt_\bn_\ba_\bm_\be arguments are given with -\b-q\bq, the return sta-
- tus is zero if all _\bo_\bp_\bt_\bn_\ba_\bm_\be_\bs are enabled; non-zero other-
+ ple _\bo_\bp_\bt_\bn_\ba_\bm_\be arguments are given with -\b-q\bq, the return sta-
+ tus is zero if all _\bo_\bp_\bt_\bn_\ba_\bm_\be_\bs are enabled; non-zero other-
wise.
- -\b-o\bo Restricts the values of _\bo_\bp_\bt_\bn_\ba_\bm_\be to be those defined for
+ -\b-o\bo Restricts the values of _\bo_\bp_\bt_\bn_\ba_\bm_\be to be those defined for
the -\b-o\bo option to the s\bse\bet\bt builtin.
- If either -\b-s\bs or -\b-u\bu is used with no _\bo_\bp_\bt_\bn_\ba_\bm_\be arguments, the dis-
+ If either -\b-s\bs or -\b-u\bu is used with no _\bo_\bp_\bt_\bn_\ba_\bm_\be arguments, the dis-
play is limited to those options which are set or unset, respec-
- tively. Unless otherwise noted, the s\bsh\bho\bop\bpt\bt options are disabled
+ tively. Unless otherwise noted, the s\bsh\bho\bop\bpt\bt options are disabled
(unset) by default.
- The return status when listing options is zero if all _\bo_\bp_\bt_\bn_\ba_\bm_\be_\bs
- are enabled, non-zero otherwise. When setting or unsetting
- options, the return status is zero unless an _\bo_\bp_\bt_\bn_\ba_\bm_\be is not a
+ The return status when listing options is zero if all _\bo_\bp_\bt_\bn_\ba_\bm_\be_\bs
+ are enabled, non-zero otherwise. When setting or unsetting
+ options, the return status is zero unless an _\bo_\bp_\bt_\bn_\ba_\bm_\be is not a
valid shell option.
The list of s\bsh\bho\bop\bpt\bt options is:
c\bcd\bda\bab\bbl\ble\be_\b_v\bva\bar\brs\bs
- If set, an argument to the c\bcd\bd builtin command that is
- not a directory is assumed to be the name of a variable
+ If set, an argument to the c\bcd\bd builtin command that is
+ not a directory is assumed to be the name of a variable
whose value is the directory to change to.
c\bcd\bds\bsp\bpe\bel\bll\bl If set, minor errors in the spelling of a directory com-
- ponent in a c\bcd\bd command will be corrected. The errors
+ ponent in a c\bcd\bd command will be corrected. The errors
checked for are transposed characters, a missing charac-
- ter, and one character too many. If a correction is
- found, the corrected file name is printed, and the com-
- mand proceeds. This option is only used by interactive
+ ter, and one character too many. If a correction is
+ found, the corrected file name is printed, and the com-
+ mand proceeds. This option is only used by interactive
shells.
c\bch\bhe\bec\bck\bkh\bha\bas\bsh\bh
If set, b\bba\bas\bsh\bh checks that a command found in the hash ta-
- ble exists before trying to execute it. If a hashed
- command no longer exists, a normal path search is per-
+ ble exists before trying to execute it. If a hashed
+ command no longer exists, a normal path search is per-
formed.
c\bch\bhe\bec\bck\bkw\bwi\bin\bns\bsi\biz\bze\be
- If set, b\bba\bas\bsh\bh checks the window size after each command
- and, if necessary, updates the values of L\bLI\bIN\bNE\bES\bS and
+ If set, b\bba\bas\bsh\bh checks the window size after each command
+ and, if necessary, updates the values of L\bLI\bIN\bNE\bES\bS and
C\bCO\bOL\bLU\bUM\bMN\bNS\bS.
- c\bcm\bmd\bdh\bhi\bis\bst\bt If set, b\bba\bas\bsh\bh attempts to save all lines of a multiple-
- line command in the same history entry. This allows
+ c\bcm\bmd\bdh\bhi\bis\bst\bt If set, b\bba\bas\bsh\bh attempts to save all lines of a multiple-
+ line command in the same history entry. This allows
easy re-editing of multi-line commands.
- d\bdo\bot\btg\bgl\blo\bob\bb If set, b\bba\bas\bsh\bh includes filenames beginning with a `.' in
+ d\bdo\bot\btg\bgl\blo\bob\bb If set, b\bba\bas\bsh\bh includes filenames beginning with a `.' in
the results of pathname expansion.
e\bex\bxe\bec\bcf\bfa\bai\bil\bl
If set, a non-interactive shell will not exit if it can-
- not execute the file specified as an argument to the
- e\bex\bxe\bec\bc builtin command. An interactive shell does not
+ not execute the file specified as an argument to the
+ e\bex\bxe\bec\bc builtin command. An interactive shell does not
exit if e\bex\bxe\bec\bc fails.
e\bex\bxp\bpa\ban\bnd\bd_\b_a\bal\bli\bia\bas\bse\bes\bs
- If set, aliases are expanded as described above under
+ If set, aliases are expanded as described above under
A\bAL\bLI\bIA\bAS\bSE\bES\bS. This option is enabled by default for interac-
tive shells.
e\bex\bxt\btd\bde\beb\bbu\bug\bg
- If set, behavior intended for use by debuggers is
+ If set, behavior intended for use by debuggers is
enabled:
1\b1.\b. The -\b-F\bF option to the d\bde\bec\bcl\bla\bar\bre\be builtin displays the
source file name and line number corresponding to
each function name supplied as an argument.
- 2\b2.\b. If the command run by the D\bDE\bEB\bBU\bUG\bG trap returns a
- non-zero value, the next command is skipped and
+ 2\b2.\b. If the command run by the D\bDE\bEB\bBU\bUG\bG trap returns a
+ non-zero value, the next command is skipped and
not executed.
- 3\b3.\b. If the command run by the D\bDE\bEB\bBU\bUG\bG trap returns a
- value of 2, and the shell is executing in a sub-
- routine (a shell function or a shell script exe-
- cuted by the .\b. or s\bso\bou\bur\brc\bce\be builtins), a call to
+ 3\b3.\b. If the command run by the D\bDE\bEB\bBU\bUG\bG trap returns a
+ value of 2, and the shell is executing in a sub-
+ routine (a shell function or a shell script exe-
+ cuted by the .\b. or s\bso\bou\bur\brc\bce\be builtins), a call to
r\bre\bet\btu\bur\brn\bn is simulated.
+ 4\b4.\b. B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGC\bC and B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV are updated as described
+ in their descriptions above.
+ 5\b5.\b. Function tracing is enabled: command substitu-
+ tion, shell functions, and subshells invoked with
+ (\b( _\bc_\bo_\bm_\bm_\ba_\bn_\bd )\b) inherit the D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN traps.
+ 6\b6.\b. Error tracing is enabled: command substitution,
+ shell functions, and subshells invoked with (\b(
+ _\bc_\bo_\bm_\bm_\ba_\bn_\bd )\b) inherit the E\bER\bRR\bRO\bOR\bR trap.
e\bex\bxt\btg\bgl\blo\bob\bb If set, the extended pattern matching features described
above under P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn are enabled.
e\bex\bxt\btq\bqu\buo\bot\bte\be
If set, b\bba\bas\bsh\bh matches filenames in a case-insensitive
fashion when performing pathname expansion (see P\bPa\bat\bth\bhn\bna\bam\bme\be
E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn above).
+ n\bno\boc\bca\bas\bse\bem\bma\bat\btc\bch\bh
+ If set, b\bba\bas\bsh\bh matches patterns in a case-insensitive
+ fashion when performing matching while executing c\bca\bas\bse\be or
+ [\b[[\b[ conditional commands.
n\bnu\bul\bll\blg\bgl\blo\bob\bb
If set, b\bba\bas\bsh\bh allows patterns which match no files (see
P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn above) to expand to a null string,
able or function is removed from the environment passed to sub-
sequent commands. If any of R\bRA\bAN\bND\bDO\bOM\bM, S\bSE\bEC\bCO\bON\bND\bDS\bS, L\bLI\bIN\bNE\bEN\bNO\bO, H\bHI\bIS\bST\bTC\bCM\bMD\bD,
F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE, G\bGR\bRO\bOU\bUP\bPS\bS, or D\bDI\bIR\bRS\bST\bTA\bAC\bCK\bK are unset, they lose their special
- properties, even if they are subsequently reset. The exit sta-
- tus is true unless a _\bn_\ba_\bm_\be is readonly.
+ properties, even if they are subsequently reset. The exit
+ status is true unless a _\bn_\ba_\bm_\be is readonly.
w\bwa\bai\bit\bt [_\bn _\b._\b._\b.]
Wait for each specified process and return its termination sta-
-GNU Bash-3.1-devel 2005 Feb 11 BASH(1)
+GNU Bash-3.1-devel 2005 Feb 19 BASH(1)
<TITLE>BASH(1) Manual Page</TITLE>
</HEAD>
<BODY><TABLE WIDTH=100%>
-<TH ALIGN=LEFT>BASH(1)<TH ALIGN=CENTER>2005 Feb 11<TH ALIGN=RIGHT>BASH(1)
+<TH ALIGN=LEFT>BASH(1)<TH ALIGN=CENTER>2005 Feb 19<TH ALIGN=RIGHT>BASH(1)
</TABLE>
<BR><A HREF="#index">Index</A>
<HR>
<DD>
Arrange for the debugger profile to be executed before the shell
-starts. Turns on extended debugging mode (see the description of the
+starts.
+Turns on extended debugging mode (see the description of the
<B>extdebug</B>
option to the
<B>shopt</B>
-builtin below) and shell function tracing (see the description of the
+builtin below)
+and shell function tracing (see the description of the
<B>-o functrace</B> option to the
<B>set</B>
When the <B>==</B> and <B>!=</B> operators are used, the string to the
right of the operator is considered a pattern and matched according
to the rules described below under <B>Pattern Matching</B>.
+If the shell option
+<B>nocasematch</B>
+
+is enabled, the match is performed without regard to the case
+of alphabetic characters.
The return value is 0 if the string matches or does not match
the pattern, respectively, and 1 otherwise.
Any part of the pattern may be quoted to force it to be matched as a
If the regular expression is syntactically incorrect, the conditional
expression's return value is 2.
If the shell option
-<B>nocaseglob</B>
+<B>nocasematch</B>
is enabled, the match is performed without regard to the case
of alphabetic characters.
as for pathname expansion (see
<B>Pathname Expansion</B>
-below). When a match is found, the
+below).
+If the shell option
+<B>nocasematch</B>
+
+is enabled, the match is performed without regard to the case
+of alphabetic characters.
+When a match is found, the
corresponding <I>list</I> is executed. After the first match, no
subsequent matches are attempted. The exit status is zero if no
pattern matches. Otherwise, it is the exit status of the
<DD>
An array variable whose values are the number of parameters in each
-frame of the current bash execution call stack. The number of
+frame of the current bash execution call stack.
+The number of
parameters to the current subroutine (shell function or script executed
-with <B>.</B> or <B>source</B>) is at the top of the stack. When a
-subroutine is executed, the number of parameters passed is pushed onto
+with <B>.</B> or <B>source</B>) is at the top of the stack.
+When a subroutine is executed, the number of parameters passed is pushed onto
<B>BASH_ARGC</B>.
+The shell sets <B>BASH_ARGC</B> only when in extended debugging mode
+(see the description of the
+<B>extdebug</B>
+
+option to the
+<B>shopt</B>
+
+builtin below)
<DT><B>BASH_ARGV</B>
<DD>
is at the top of the stack; the first parameter of the initial call is
at the bottom. When a subroutine is executed, the parameters supplied
are pushed onto <B>BASH_ARGV</B>.
+The shell sets <B>BASH_ARGV</B> only when in extended debugging mode
+(see the description of the
+<B>extdebug</B>
+
+option to the
+<B>shopt</B>
+
+builtin below)
<DT><B>BASH_COMMAND</B>
<DD>
shell is executing in a subroutine (a shell function or a shell script
executed by the <B>.</B> or <B>source</B> builtins), a call to
<B>return</B> is simulated.
+<DT><B>4.</B>
+
+<DD>
+<B>BASH_ARGC</B> and <B>BASH_ARGV</B> are updated as described in their
+descriptions above.
+<DT><B>5.</B>
+
+<DD>
+Function tracing is enabled: command substitution, shell functions, and
+subshells invoked with <B>(</B> <I>command</I> <B>)</B> inherit the
+<B>DEBUG</B> and <B>RETURN</B> traps.
+<DT><B>6.</B>
+
+<DD>
+Error tracing is enabled: command substitution, shell functions, and
+subshells invoked with <B>(</B> <I>command</I> <B>)</B> inherit the
+<B>ERROR</B> trap.
</DL></DL>
<DT><B>extglob</B>
<B>Pathname Expansion</B>
above).
+<DT><B>nocasematch</B>
+
+<DD>
+If set,
+<B>bash</B>
+
+matches patterns in a case-insensitive fashion when performing matching
+while executing <B>case</B> or <B>[[</B> conditional commands.
<DT><B>nullglob</B>
<DD>
</DL>
<HR>
This document was created by man2html from bash.1.<BR>
-Time: 14 February 2005 11:56:43 EST
+Time: 22 February 2005 13:44:29 EST
</BODY>
</HTML>
%!PS-Adobe-3.0
%%Creator: groff version 1.18.1
-%%CreationDate: Mon Feb 14 11:56:35 2005
+%%CreationDate: Tue Feb 22 13:37:34 2005
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
144 686.4 Q .3 -.15(ve \()-.25 H(see).15 E F4(INV)2.5 E(OCA)-.405 E
(TION)-.855 E F0(belo)2.25 E(w\).)-.25 E F2(\255\255login)108 703.2 Q F0
(Equi)144 715.2 Q -.25(va)-.25 G(lent to).25 E F2<ad6c>2.5 E F0(.)A
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(1)204 E 0 Cg EP
%%Page: 2 3
%%BeginPageSetup
108 727.2 S 2.5(tt).2 G(he v)-2.5 E(alue of the)-.25 E F3 -.666(PA)2.5 G
(TH)-.189 E F0 -.25(va)2.25 G
(riable is not used to search for the \214le name.).25 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(2)204 E 0 Cg EP
%%Page: 3 4
%%BeginPageSetup
F F1(|)2.92 E F0 5.42(.T)C .42(he format for a pipeline)-5.42 F(is:)108
703.2 Q([)144 720 Q F1(time)A F0([)2.5 E F1<ad70>A F0(]] [ ! ])A F2
(command)2.5 E F0([)2.5 E F1(|)2.5 E F2(command2)2.5 E F0(... ])2.5 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(3)204 E 0 Cg EP
%%Page: 4 5
%%BeginPageSetup
(rd splitting and pathname e).8 F 1.133
(xpansion are not performed on the w)-.15 F 1.133(ords between the)-.1 F
F3([[)3.632 E F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G
-(005 Feb 11)-124.42 E(4)204 E 0 Cg EP
+(005 Feb 19)-124.42 E(4)204 E 0 Cg EP
%%Page: 5 6
%%BeginPageSetup
BP
(must be unquoted to be recognized as primaries.)144 108 Q .502
(When the)144 126 R F1(==)3.002 E F0(and)3.002 E F1(!=)3.002 E F0 .502(\
operators are used, the string to the right of the operator is consider\
-ed a pat-)3.002 F 1.383
-(tern and matched according to the rules described belo)144 138 R 3.883
-(wu)-.25 G(nder)-3.883 E F1 -.1(Pa)3.883 G(tter).1 E 3.883(nM)-.15 G
-(atching)-3.883 E F0 6.383(.T)C 1.383(he return)-6.383 F -.25(va)144 150
-S .589
-(lue is 0 if the string matches or does not match the pattern, respecti)
-.25 F -.15(ve)-.25 G(ly).15 E 3.089(,a)-.65 G .589(nd 1 otherwise.)
--3.089 F(An)5.589 E(y)-.15 E(part of the pattern may be quoted to force\
- it to be matched as a string.)144 162 Q .243
-(An additional binary operator)144 180 R(,)-.4 E F1(=~)2.743 E F0 2.743
+ed a pat-)3.002 F 1.225
+(tern and matched according to the rules described belo)144 138 R 3.724
+(wu)-.25 G(nder)-3.724 E F1 -.1(Pa)3.724 G(tter).1 E 3.724(nM)-.15 G
+(atching)-3.724 E F0 6.224(.I)C 3.724(ft)-6.224 G 1.224(he shell)-3.724
+F(option)144 150 Q F1(nocasematch)3.404 E F0 .904
+(is enabled, the match is performed without re)3.404 F -.05(ga)-.15 G
+.905(rd to the case of alphabetic).05 F 2.997(characters. The)144 162 R
+.497(return v)2.997 F .496(alue is 0 if the string matches or does not \
+match the pattern, respecti)-.25 F -.15(ve)-.25 G(ly).15 E(,)-.65 E
+(and 1 otherwise.)144 174 Q(An)5 E 2.5(yp)-.15 G(art of the pattern may\
+ be quoted to force it to be matched as a string.)-2.5 E .243
+(An additional binary operator)144 192 R(,)-.4 E F1(=~)2.743 E F0 2.743
(,i)C 2.743(sa)-2.743 G -.25(va)-2.943 G .243
(ilable, with the same precedence as).25 F F1(==)2.743 E F0(and)2.743 E
F1(!=)2.743 E F0 5.243(.W)C .243(hen it is)-5.243 F 1.953
(used, the string to the right of the operator is considered an e)144
-192 R 1.954(xtended re)-.15 F 1.954(gular e)-.15 F 1.954(xpression and)
--.15 F .207(matched accordingly \(as in)144 204 R/F2 10/Times-Italic@0
+204 R 1.953(xtended re)-.15 F 1.953(gular e)-.15 F 1.953(xpression and)
+-.15 F .207(matched accordingly \(as in)144 216 R/F2 10/Times-Italic@0
SF -.37(re)2.707 G -.1(ge)-.03 G(x)-.1 E F0 2.707(\(3\)\). The)B .207
(return v)2.707 F .207
-(alue is 0 if the string matches the pattern, and 1)-.25 F 3.345
-(otherwise. If)144 216 R .845(the re)3.345 F .845(gular e)-.15 F .846
+(alue is 0 if the string matches the pattern, and 1)-.25 F 3.346
+(otherwise. If)144 228 R .846(the re)3.346 F .846(gular e)-.15 F .845
(xpression is syntactically incorrect, the conditional e)-.15 F
-(xpression')-.15 E 3.346(sr)-.55 G(eturn)-3.346 E -.25(va)144 228 S .252
-(lue is 2.).25 F .251(If the shell option)5.252 F F1(nocaseglob)2.751 E
-F0 .251(is enabled, the match is performed without re)2.751 F -.05(ga)
--.15 G .251(rd to the).05 F .101(case of alphabetic characters.)144 240
-R .101(Substrings matched by parenthesized sube)5.101 F .101
-(xpressions within the re)-.15 F(g-)-.15 E 5.406(ular e)144 252 R 5.406
-(xpression are sa)-.15 F -.15(ve)-.2 G 7.906(di).15 G 7.906(nt)-7.906 G
-5.405(he array v)-7.906 F(ariable)-.25 E F1 -.3(BA)7.905 G(SH_REMA).3 E
-(TCH)-.95 E F0 10.405(.T)C 5.405(he element of)-10.405 F F1 -.3(BA)144
-264 S(SH_REMA).3 E(TCH)-.95 E F0 .87(with inde)3.37 F 3.37(x0i)-.15 G
-3.37(st)-3.37 G .87(he portion of the string matching the entire re)
--3.37 F .87(gular e)-.15 F(xpres-)-.15 E 3.346(sion. The)144 276 R .846
+(xpression')-.15 E 3.345(sr)-.55 G(eturn)-3.345 E -.25(va)144 240 S .666
+(lue is 2.).25 F .667(If the shell option)5.667 F F1(nocasematch)3.167 E
+F0 .667(is enabled, the match is performed without re)3.167 F -.05(ga)
+-.15 G .667(rd to).05 F .44(the case of alphabetic characters.)144 252 R
+.44(Substrings matched by parenthesized sube)5.44 F .44
+(xpressions within the)-.15 F(re)144 264 Q 4.258(gular e)-.15 F 4.258
+(xpression are sa)-.15 F -.15(ve)-.2 G 6.758(di).15 G 6.758(nt)-6.758 G
+4.258(he array v)-6.758 F(ariable)-.25 E F1 -.3(BA)6.758 G(SH_REMA).3 E
+(TCH)-.95 E F0 9.258(.T)C 4.259(he element of)-9.258 F F1 -.3(BA)144 276
+S(SH_REMA).3 E(TCH)-.95 E F0 .87(with inde)3.37 F 3.37(x0i)-.15 G 3.37
+(st)-3.37 G .87(he portion of the string matching the entire re)-3.37 F
+.87(gular e)-.15 F(xpres-)-.15 E 3.346(sion. The)144 288 R .846
(element of)3.346 F F1 -.3(BA)3.346 G(SH_REMA).3 E(TCH)-.95 E F0 .846
(with inde)3.346 F(x)-.15 E F2(n)3.346 E F0 .846
-(is the portion of the string matching the)3.346 F F2(n)144 288 Q F0
-(th parenthesized sube)A(xpression.)-.15 E .785
-(Expressions may be combined using the follo)144 306 R .786
+(is the portion of the string matching the)3.346 F F2(n)144 300 Q F0
+(th parenthesized sube)A(xpression.)-.15 E .786
+(Expressions may be combined using the follo)144 318 R .785
(wing operators, listed in decreasing order of prece-)-.25 F(dence:)144
-318 Q F1(\()144 336 Q F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F1(\))2.5 E
-F0 .523(Returns the v)180 348 R .522(alue of)-.25 F F2 -.2(ex)3.022 G
+330 Q F1(\()144 348 Q F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F1(\))2.5 E
+F0 .522(Returns the v)180 360 R .522(alue of)-.25 F F2 -.2(ex)3.022 G
(pr).2 E(ession)-.37 E F0 5.522(.T)C .522(his may be used to o)-5.522 F
-.15(ve)-.15 G .522(rride the normal precedence of).15 F(operators.)180
-360 Q F1(!)144 372 Q F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F0 -.35(Tr)
-180 384 S(ue if).35 E F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F0(is f)2.74
-E(alse.)-.1 E F2 -.2(ex)144 396 S(pr).2 E(ession1)-.37 E F1(&&)2.5 E F2
--.2(ex)2.5 G(pr).2 E(ession2)-.37 E F0 -.35(Tr)180 408 S(ue if both).35
+372 Q F1(!)144 384 Q F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F0 -.35(Tr)
+180 396 S(ue if).35 E F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F0(is f)2.74
+E(alse.)-.1 E F2 -.2(ex)144 408 S(pr).2 E(ession1)-.37 E F1(&&)2.5 E F2
+-.2(ex)2.5 G(pr).2 E(ession2)-.37 E F0 -.35(Tr)180 420 S(ue if both).35
E F2 -.2(ex)2.5 G(pr).2 E(ession1)-.37 E F0(and)2.5 E F2 -.2(ex)2.5 G
-(pr).2 E(ession2)-.37 E F0(are true.)2.52 E F2 -.2(ex)144 420 S(pr).2 E
+(pr).2 E(ession2)-.37 E F0(are true.)2.52 E F2 -.2(ex)144 432 S(pr).2 E
(ession1)-.37 E/F3 10/Symbol SF<efef>2.5 E F2 -.2(ex)2.5 G(pr).2 E
-(ession2)-.37 E F0 -.35(Tr)180 432 S(ue if either).35 E F2 -.2(ex)2.5 G
+(ession2)-.37 E F0 -.35(Tr)180 444 S(ue if either).35 E F2 -.2(ex)2.5 G
(pr).2 E(ession1)-.37 E F0(or)2.5 E F2 -.2(ex)2.5 G(pr).2 E(ession2)-.37
-E F0(is true.)2.52 E(The)144 448.8 Q F1(&&)3.298 E F0(and)3.298 E F3
+E F0(is true.)2.52 E(The)144 460.8 Q F1(&&)3.299 E F0(and)3.299 E F3
<efef>3.298 E F0 .798(operators do not e)3.298 F -.25(va)-.25 G(luate)
.25 E F2 -.2(ex)3.298 G(pr).2 E(ession2)-.37 E F0 .798(if the v)3.298 F
-.798(alue of)-.25 F F2 -.2(ex)3.298 G(pr).2 E(ession1)-.37 E F0 .799
-(is suf)3.298 F .799(\214cient to)-.25 F(determine the return v)144
-460.8 Q(alue of the entire conditional e)-.25 E(xpression.)-.15 E F1
--.25(fo)108 477.6 S(r).25 E F2(name)2.5 E F0([)2.5 E F1(in)2.5 E F2(wor)
+.798(alue of)-.25 F F2 -.2(ex)3.298 G(pr).2 E(ession1)-.37 E F0 .798
+(is suf)3.298 F .798(\214cient to)-.25 F(determine the return v)144
+472.8 Q(alue of the entire conditional e)-.25 E(xpression.)-.15 E F1
+-.25(fo)108 489.6 S(r).25 E F2(name)2.5 E F0([)2.5 E F1(in)2.5 E F2(wor)
2.5 E(d)-.37 E F0 2.5(];)2.5 G F1(do)A F2(list)2.5 E F0(;)2.5 E F1(done)
-2.5 E F0 .424(The list of w)144 489.6 R .424(ords follo)-.1 F(wing)-.25
-E F1(in)2.924 E F0 .423(is e)2.924 F .423
-(xpanded, generating a list of items.)-.15 F .423(The v)5.423 F(ariable)
--.25 E F2(name)2.923 E F0 .423(is set to)2.923 F .653
-(each element of this list in turn, and)144 501.6 R F2(list)3.153 E F0
+2.5 E F0 .423(The list of w)144 501.6 R .423(ords follo)-.1 F(wing)-.25
+E F1(in)2.923 E F0 .423(is e)2.923 F .423
+(xpanded, generating a list of items.)-.15 F .424(The v)5.424 F(ariable)
+-.25 E F2(name)2.924 E F0 .424(is set to)2.924 F .653
+(each element of this list in turn, and)144 513.6 R F2(list)3.153 E F0
.653(is e)3.153 F -.15(xe)-.15 G .653(cuted each time.).15 F .653
(If the)5.653 F F1(in)3.153 E F2(wor)3.153 E(d)-.37 E F0 .653
-(is omitted, the)3.153 F F1 -.25(fo)3.153 G(r).25 E F0 .649(command e)
-144 513.6 R -.15(xe)-.15 G(cutes).15 E F2(list)3.149 E F0 .648
+(is omitted, the)3.153 F F1 -.25(fo)3.153 G(r).25 E F0 .648(command e)
+144 525.6 R -.15(xe)-.15 G(cutes).15 E F2(list)3.148 E F0 .648
(once for each positional parameter that is set \(see)3.148 F/F4 9
-/Times-Bold@0 SF -.666(PA)3.148 G(RAMETERS).666 E F0(belo)2.898 E(w\).)
--.25 E .153(The return status is the e)144 525.6 R .153
-(xit status of the last command that e)-.15 F -.15(xe)-.15 G 2.654
-(cutes. If).15 F .154(the e)2.654 F .154(xpansion of the items)-.15 F
-(follo)144 537.6 Q(wing)-.25 E F1(in)2.5 E F0
+/Times-Bold@0 SF -.666(PA)3.149 G(RAMETERS).666 E F0(belo)2.899 E(w\).)
+-.25 E .154(The return status is the e)144 537.6 R .153
+(xit status of the last command that e)-.15 F -.15(xe)-.15 G 2.653
+(cutes. If).15 F .153(the e)2.653 F .153(xpansion of the items)-.15 F
+(follo)144 549.6 Q(wing)-.25 E F1(in)2.5 E F0
(results in an empty list, no commands are e)2.5 E -.15(xe)-.15 G
-(cuted, and the return status is 0.).15 E F1 -.25(fo)108 554.4 S(r).25 E
+(cuted, and the return status is 0.).15 E F1 -.25(fo)108 566.4 S(r).25 E
F0(\(\()2.5 E F2 -.2(ex)2.5 G(pr1).2 E F0(;)2.5 E F2 -.2(ex)2.5 G(pr2).2
E F0(;)2.5 E F2 -.2(ex)2.5 G(pr3).2 E F0(\)\) ;)2.5 E F1(do)2.5 E F2
-(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 1.236(First, the arithmetic e)
-144 566.4 R(xpression)-.15 E F2 -.2(ex)3.736 G(pr1).2 E F0 1.235(is e)
-3.736 F -.25(va)-.25 G 1.235
-(luated according to the rules described belo).25 F 3.735(wu)-.25 G
-(nder)-3.735 E F4 .561(ARITHMETIC EV)144 578.4 R(ALU)-1.215 E -.855(AT)
--.54 G(ION).855 E/F5 9/Times-Roman@0 SF(.)A F0 .561(The arithmetic e)
-5.061 F(xpression)-.15 E F2 -.2(ex)3.061 G(pr2).2 E F0 .562(is then e)
-3.062 F -.25(va)-.25 G .562(luated repeatedly until).25 F .592(it e)144
-590.4 R -.25(va)-.25 G .592(luates to zero.).25 F .592(Each time)5.592 F
+(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 1.235(First, the arithmetic e)
+144 578.4 R(xpression)-.15 E F2 -.2(ex)3.735 G(pr1).2 E F0 1.235(is e)
+3.735 F -.25(va)-.25 G 1.236
+(luated according to the rules described belo).25 F 3.736(wu)-.25 G
+(nder)-3.736 E F4 .562(ARITHMETIC EV)144 590.4 R(ALU)-1.215 E -.855(AT)
+-.54 G(ION).855 E/F5 9/Times-Roman@0 SF(.)A F0 .562(The arithmetic e)
+5.062 F(xpression)-.15 E F2 -.2(ex)3.062 G(pr2).2 E F0 .561(is then e)
+3.061 F -.25(va)-.25 G .561(luated repeatedly until).25 F .591(it e)144
+602.4 R -.25(va)-.25 G .591(luates to zero.).25 F .592(Each time)5.591 F
F2 -.2(ex)3.092 G(pr2).2 E F0 -.25(eva)3.092 G .592
-(luates to a non-zero v).25 F(alue,)-.25 E F2(list)3.092 E F0 .591(is e)
-3.092 F -.15(xe)-.15 G .591(cuted and the arith-).15 F .228(metic e)144
-602.4 R(xpression)-.15 E F2 -.2(ex)2.728 G(pr3).2 E F0 .229(is e)2.728 F
+(luates to a non-zero v).25 F(alue,)-.25 E F2(list)3.092 E F0 .592(is e)
+3.092 F -.15(xe)-.15 G .592(cuted and the arith-).15 F .229(metic e)144
+614.4 R(xpression)-.15 E F2 -.2(ex)2.729 G(pr3).2 E F0 .229(is e)2.729 F
-.25(va)-.25 G 2.729(luated. If).25 F(an)2.729 E 2.729(ye)-.15 G .229
(xpression is omitted, it beha)-2.879 F -.15(ve)-.2 G 2.729(sa).15 G
-2.729(si)-2.729 G 2.729(fi)-2.729 G 2.729(te)-2.729 G -.25(va)-2.979 G
-.229(luates to 1.).25 F .228(The return v)144 614.4 R .228
-(alue is the e)-.25 F .228(xit status of the last command in)-.15 F F2
-(list)2.728 E F0 .227(that is e)2.728 F -.15(xe)-.15 G .227(cuted, or f)
-.15 F .227(alse if an)-.1 F 2.727(yo)-.15 G 2.727(ft)-2.727 G(he)-2.727
-E -.15(ex)144 626.4 S(pressions is in).15 E -.25(va)-.4 G(lid.).25 E F1
-(select)108 643.2 Q F2(name)2.5 E F0([)2.5 E F1(in)2.5 E F2(wor)2.5 E(d)
+2.729(si)-2.729 G 2.729(fi)-2.729 G 2.728(te)-2.729 G -.25(va)-2.978 G
+.228(luates to 1.).25 F .227(The return v)144 626.4 R .227
+(alue is the e)-.25 F .227(xit status of the last command in)-.15 F F2
+(list)2.728 E F0 .228(that is e)2.728 F -.15(xe)-.15 G .228(cuted, or f)
+.15 F .228(alse if an)-.1 F 2.728(yo)-.15 G 2.728(ft)-2.728 G(he)-2.728
+E -.15(ex)144 638.4 S(pressions is in).15 E -.25(va)-.4 G(lid.).25 E F1
+(select)108 655.2 Q F2(name)2.5 E F0([)2.5 E F1(in)2.5 E F2(wor)2.5 E(d)
-.37 E F0 2.5(];)2.5 G F1(do)A F2(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0
-.432(The list of w)144 655.2 R .432(ords follo)-.1 F(wing)-.25 E F1(in)
-2.932 E F0 .432(is e)2.932 F .432(xpanded, generating a list of items.)
--.15 F .433(The set of e)5.433 F .433(xpanded w)-.15 F(ords)-.1 E .843
-(is printed on the standard error)144 667.2 R 3.342(,e)-.4 G .842
+.433(The list of w)144 667.2 R .433(ords follo)-.1 F(wing)-.25 E F1(in)
+2.933 E F0 .432(is e)2.933 F .432(xpanded, generating a list of items.)
+-.15 F .432(The set of e)5.432 F .432(xpanded w)-.15 F(ords)-.1 E .842
+(is printed on the standard error)144 679.2 R 3.342(,e)-.4 G .842
(ach preceded by a number)-3.342 F 5.842(.I)-.55 G 3.342(ft)-5.842 G(he)
--3.342 E F1(in)3.342 E F2(wor)3.342 E(d)-.37 E F0 .842
-(is omitted, the posi-)3.342 F .064(tional parameters are printed \(see)
-144 679.2 R F4 -.666(PA)2.564 G(RAMETERS).666 E F0(belo)2.314 E 2.564
+-3.342 E F1(in)3.342 E F2(wor)3.342 E(d)-.37 E F0 .843
+(is omitted, the posi-)3.343 F .064(tional parameters are printed \(see)
+144 691.2 R F4 -.666(PA)2.564 G(RAMETERS).666 E F0(belo)2.314 E 2.564
(w\). The)-.25 F F1(PS3)2.564 E F0 .064(prompt is then displayed and a)
-2.564 F .214(line read from the standard input.)144 691.2 R .213
-(If the line consists of a number corresponding to one of the dis-)5.214
-F 1.537(played w)144 703.2 R 1.537(ords, then the v)-.1 F 1.537(alue of)
--.25 F F2(name)4.397 E F0 1.537(is set to that w)4.217 F 4.037(ord. If)
--.1 F 1.538(the line is empty)4.038 F 4.038(,t)-.65 G 1.538(he w)-4.038
-F 1.538(ords and)-.1 F .066(prompt are displayed ag)144 715.2 R 2.566
-(ain. If)-.05 F .065(EOF is read, the command completes.)2.566 F(An)
-5.065 E 2.565(yo)-.15 G .065(ther v)-2.565 F .065(alue read causes)-.25
-F F2(name)144 727.2 Q F0 .759(to be set to null.)3.439 F .759
-(The line read is sa)5.759 F -.15(ve)-.2 G 3.26(di).15 G 3.26(nt)-3.26 G
-.76(he v)-3.26 F(ariable)-.25 E F1(REPL)3.26 E(Y)-.92 E F0 5.76(.T)C(he)
--5.76 E F2(list)3.35 E F0 .76(is e)3.94 F -.15(xe)-.15 G .76
-(cuted after).15 F(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15
-G(005 Feb 11)-124.42 E(5)204 E 0 Cg EP
+2.564 F .213(line read from the standard input.)144 703.2 R .213
+(If the line consists of a number corresponding to one of the dis-)5.213
+F 1.538(played w)144 715.2 R 1.538(ords, then the v)-.1 F 1.538(alue of)
+-.25 F F2(name)4.398 E F0 1.537(is set to that w)4.218 F 4.037(ord. If)
+-.1 F 1.537(the line is empty)4.037 F 4.037(,t)-.65 G 1.537(he w)-4.037
+F 1.537(ords and)-.1 F .065(prompt are displayed ag)144 727.2 R 2.565
+(ain. If)-.05 F .065(EOF is read, the command completes.)2.565 F(An)
+5.066 E 2.566(yo)-.15 G .066(ther v)-2.566 F .066(alue read causes)-.25
+F(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
+-124.42 E(5)204 E 0 Cg EP
%%Page: 6 7
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E .072(each selection until a)144 84 R/F1 10/Times-Bold@0 SF(br)
-2.571 E(eak)-.18 E F0 .071(command is e)2.571 F -.15(xe)-.15 G 2.571
-(cuted. The).15 F -.15(ex)2.571 G .071(it status of).15 F F1(select)
-2.571 E F0 .071(is the e)2.571 F .071(xit status of the)-.15 F
-(last command e)144 96 Q -.15(xe)-.15 G(cuted in).15 E/F2 10
-/Times-Italic@0 SF(list)2.5 E F0 2.5(,o).68 G 2.5(rz)-2.5 G
-(ero if no commands were e)-2.5 E -.15(xe)-.15 G(cuted.).15 E F1(case)
-108 112.8 Q F2(wor)2.5 E(d)-.37 E F1(in)2.5 E F0 2.5([[)2.5 G(\(])-2.5 E
-F2(pattern)2.5 E F0([)2.5 E F1(|)2.5 E F2(pattern)2.5 E F0 2.5(].)2.5 G
-(.. \))-2.5 E F2(list)2.5 E F0(;; ] ...)2.5 E F1(esac)2.5 E F0(A)144
-124.8 Q F1(case)3.264 E F0 .764(command \214rst e)3.264 F(xpands)-.15 E
-F2(wor)3.264 E(d)-.37 E F0 3.264(,a)C .764(nd tries to match it ag)
--3.264 F .764(ainst each)-.05 F F2(pattern)3.264 E F0 .765
-(in turn, using the)3.264 F 2.028(same matching rules as for pathname e)
-144 136.8 R 2.027(xpansion \(see)-.15 F F1 -.1(Pa)4.527 G 2.027
-(thname Expansion).1 F F0(belo)4.527 E 4.527(w\). When)-.25 F(a)4.527 E
-.89(match is found, the corresponding)144 148.8 R F2(list)3.39 E F0 .89
-(is e)3.39 F -.15(xe)-.15 G 3.39(cuted. After).15 F .89
-(the \214rst match, no subsequent matches)3.39 F .523(are attempted.)144
-160.8 R .523(The e)5.523 F .523
-(xit status is zero if no pattern matches.)-.15 F .523
-(Otherwise, it is the e)5.523 F .522(xit status of the)-.15 F
-(last command e)144 172.8 Q -.15(xe)-.15 G(cuted in).15 E F2(list)2.5 E
-F0(.)A F1(if)108 189.6 Q F2(list)2.5 E F0(;)A F1(then)2.5 E F2(list;)2.5
-E F0([)2.5 E F1(elif)2.5 E F2(list)2.5 E F0(;)A F1(then)2.5 E F2(list)
-2.5 E F0 2.5(;].)C(.. [)-2.5 E F1(else)2.5 E F2(list)2.5 E F0 2.5(;])C
-F1<8c>A F0(The)144 201.6 Q F1(if)2.977 E F2(list)3.067 E F0 .478(is e)
-3.658 F -.15(xe)-.15 G 2.978(cuted. If).15 F .478(its e)2.978 F .478
-(xit status is zero, the)-.15 F F1(then)2.978 E F2(list)2.978 E F0 .478
-(is e)2.978 F -.15(xe)-.15 G 2.978(cuted. Otherwise,).15 F(each)2.978 E
-F1(elif)2.978 E F2(list)2.978 E F0 1.088(is e)144 213.6 R -.15(xe)-.15 G
-1.088(cuted in turn, and if its e).15 F 1.087
-(xit status is zero, the corresponding)-.15 F F1(then)3.587 E F2(list)
+-.35 E/F1 10/Times-Italic@0 SF(name)144 84 Q F0 .76(to be set to null.)
+3.44 F .76(The line read is sa)5.76 F -.15(ve)-.2 G 3.259(di).15 G 3.259
+(nt)-3.259 G .759(he v)-3.259 F(ariable)-.25 E/F2 10/Times-Bold@0 SF
+(REPL)3.259 E(Y)-.92 E F0 5.759(.T)C(he)-5.759 E F1(list)3.349 E F0 .759
+(is e)3.939 F -.15(xe)-.15 G .759(cuted after).15 F .071
+(each selection until a)144 96 R F2(br)2.571 E(eak)-.18 E F0 .071
+(command is e)2.571 F -.15(xe)-.15 G 2.571(cuted. The).15 F -.15(ex)
+2.571 G .071(it status of).15 F F2(select)2.571 E F0 .071(is the e)2.571
+F .072(xit status of the)-.15 F(last command e)144 108 Q -.15(xe)-.15 G
+(cuted in).15 E F1(list)2.5 E F0 2.5(,o).68 G 2.5(rz)-2.5 G
+(ero if no commands were e)-2.5 E -.15(xe)-.15 G(cuted.).15 E F2(case)
+108 124.8 Q F1(wor)2.5 E(d)-.37 E F2(in)2.5 E F0 2.5([[)2.5 G(\(])-2.5 E
+F1(pattern)2.5 E F0([)2.5 E F2(|)2.5 E F1(pattern)2.5 E F0 2.5(].)2.5 G
+(.. \))-2.5 E F1(list)2.5 E F0(;; ] ...)2.5 E F2(esac)2.5 E F0(A)144
+136.8 Q F2(case)3.265 E F0 .764(command \214rst e)3.265 F(xpands)-.15 E
+F1(wor)3.264 E(d)-.37 E F0 3.264(,a)C .764(nd tries to match it ag)
+-3.264 F .764(ainst each)-.05 F F1(pattern)3.264 E F0 .764
+(in turn, using the)3.264 F .952(same matching rules as for pathname e)
+144 148.8 R .952(xpansion \(see)-.15 F F2 -.1(Pa)3.452 G .952
+(thname Expansion).1 F F0(belo)3.453 E 3.453(w\). If)-.25 F .953
+(the shell)3.453 F(option)144 160.8 Q F2(nocasematch)3.405 E F0 .904
+(is enabled, the match is performed without re)3.405 F -.05(ga)-.15 G
+.904(rd to the case of alphabetic).05 F 3.388(characters. When)144 172.8
+R 3.388(am)3.388 G .888(atch is found, the corresponding)-3.388 F F1
+(list)3.388 E F0 .888(is e)3.388 F -.15(xe)-.15 G 3.388(cuted. After).15
+F .888(the \214rst match, no)3.388 F .674
+(subsequent matches are attempted.)144 184.8 R .674(The e)5.674 F .673
+(xit status is zero if no pattern matches.)-.15 F .673(Otherwise, it is)
+5.673 F(the e)144 196.8 Q(xit status of the last command e)-.15 E -.15
+(xe)-.15 G(cuted in).15 E F1(list)2.5 E F0(.)A F2(if)108 213.6 Q F1
+(list)2.5 E F0(;)A F2(then)2.5 E F1(list;)2.5 E F0([)2.5 E F2(elif)2.5 E
+F1(list)2.5 E F0(;)A F2(then)2.5 E F1(list)2.5 E F0 2.5(;].)C(.. [)-2.5
+E F2(else)2.5 E F1(list)2.5 E F0 2.5(;])C F2<8c>A F0(The)144 225.6 Q F2
+(if)2.977 E F1(list)3.067 E F0 .478(is e)3.658 F -.15(xe)-.15 G 2.978
+(cuted. If).15 F .478(its e)2.978 F .478(xit status is zero, the)-.15 F
+F2(then)2.978 E F1(list)2.978 E F0 .478(is e)2.978 F -.15(xe)-.15 G
+2.978(cuted. Otherwise,).15 F(each)2.978 E F2(elif)2.978 E F1(list)2.978
+E F0 1.088(is e)144 237.6 R -.15(xe)-.15 G 1.088
+(cuted in turn, and if its e).15 F 1.087
+(xit status is zero, the corresponding)-.15 F F2(then)3.587 E F1(list)
3.587 E F0 1.087(is e)3.587 F -.15(xe)-.15 G 1.087(cuted and the).15 F
-.103(command completes.)144 225.6 R .103(Otherwise, the)5.103 F F1(else)
-2.603 E F2(list)2.603 E F0 .103(is e)2.603 F -.15(xe)-.15 G .103
+.103(command completes.)144 249.6 R .103(Otherwise, the)5.103 F F2(else)
+2.603 E F1(list)2.603 E F0 .103(is e)2.603 F -.15(xe)-.15 G .103
(cuted, if present.).15 F .103(The e)5.103 F .103(xit status is the e)
--.15 F .104(xit sta-)-.15 F(tus of the last command e)144 237.6 Q -.15
-(xe)-.15 G(cuted, or zero if no condition tested true.).15 E F1(while)
-108 254.4 Q F2(list)2.5 E F0(;)A F1(do)2.5 E F2(list)2.5 E F0(;)A F1
-(done)2.5 E(until)108 266.4 Q F2(list)2.5 E F0(;)A F1(do)2.5 E F2(list)
-2.5 E F0(;)A F1(done)2.5 E F0(The)144 278.4 Q F1(while)3.104 E F0 .603
-(command continuously e)3.104 F -.15(xe)-.15 G .603(cutes the).15 F F1
-(do)3.103 E F2(list)3.103 E F0 .603(as long as the last command in)3.103
-F F2(list)3.103 E F0(returns)3.103 E .47(an e)144 290.4 R .47
-(xit status of zero.)-.15 F(The)5.47 E F1(until)2.97 E F0 .471
-(command is identical to the)2.97 F F1(while)2.971 E F0 .471(command, e)
-2.971 F .471(xcept that the test)-.15 F .096(is ne)144 302.4 R -.05(ga)
--.15 G .096(ted; the).05 F F1(do)2.596 E F2(list)2.686 E F0 .095(is e)
+-.15 F .104(xit sta-)-.15 F(tus of the last command e)144 261.6 Q -.15
+(xe)-.15 G(cuted, or zero if no condition tested true.).15 E F2(while)
+108 278.4 Q F1(list)2.5 E F0(;)A F2(do)2.5 E F1(list)2.5 E F0(;)A F2
+(done)2.5 E(until)108 290.4 Q F1(list)2.5 E F0(;)A F2(do)2.5 E F1(list)
+2.5 E F0(;)A F2(done)2.5 E F0(The)144 302.4 Q F2(while)3.104 E F0 .603
+(command continuously e)3.104 F -.15(xe)-.15 G .603(cutes the).15 F F2
+(do)3.103 E F1(list)3.103 E F0 .603(as long as the last command in)3.103
+F F1(list)3.103 E F0(returns)3.103 E .47(an e)144 314.4 R .47
+(xit status of zero.)-.15 F(The)5.47 E F2(until)2.97 E F0 .471
+(command is identical to the)2.97 F F2(while)2.971 E F0 .471(command, e)
+2.971 F .471(xcept that the test)-.15 F .096(is ne)144 326.4 R -.05(ga)
+-.15 G .096(ted; the).05 F F2(do)2.596 E F1(list)2.686 E F0 .095(is e)
3.276 F -.15(xe)-.15 G .095(cuted as long as the last command in).15 F
-F2(list)2.685 E F0 .095(returns a non-zero e)3.275 F .095(xit status.)
--.15 F 1.306(The e)144 314.4 R 1.306(xit status of the)-.15 F F1(while)
-3.806 E F0(and)3.806 E F1(until)3.807 E F0 1.307(commands is the e)3.807
-F 1.307(xit status of the last)-.15 F F1(do)3.807 E F2(list)3.807 E F0
-(command)3.807 E -.15(exe)144 326.4 S(cuted, or zero if none w).15 E
-(as e)-.1 E -.15(xe)-.15 G(cuted.).15 E F1(Shell Function De\214nitions)
-87 343.2 Q F0 2.698(As)108 355.2 S .198
+F1(list)2.685 E F0 .095(returns a non-zero e)3.275 F .095(xit status.)
+-.15 F 1.306(The e)144 338.4 R 1.306(xit status of the)-.15 F F2(while)
+3.806 E F0(and)3.806 E F2(until)3.807 E F0 1.307(commands is the e)3.807
+F 1.307(xit status of the last)-.15 F F2(do)3.807 E F1(list)3.807 E F0
+(command)3.807 E -.15(exe)144 350.4 S(cuted, or zero if none w).15 E
+(as e)-.1 E -.15(xe)-.15 G(cuted.).15 E F2(Shell Function De\214nitions)
+87 367.2 Q F0 2.698(As)108 379.2 S .198
(hell function is an object that is called lik)-2.698 F 2.698(eas)-.1 G
.198(imple command and e)-2.698 F -.15(xe)-.15 G .197
-(cutes a compound command with).15 F 2.5(an)108 367.2 S .5 -.25(ew s)
+(cutes a compound command with).15 F 2.5(an)108 391.2 S .5 -.25(ew s)
-2.5 H(et of positional parameters.).25 E
-(Shell functions are declared as follo)5 E(ws:)-.25 E([)108 384 Q F1
-(function)2.5 E F0(])2.5 E F2(name)2.5 E F0(\(\))2.5 E F2
-(compound\255command)2.5 E F0([)2.5 E F2 -.37(re)C(dir).37 E(ection)-.37
-E F0(])A 1.402(This de\214nes a function named)144 396 R F2(name)3.902 E
-F0 6.402(.T)C 1.402(he reserv)-6.402 F 1.402(ed w)-.15 F(ord)-.1 E F1
-(function)3.902 E F0 1.402(is optional.)3.902 F 1.403(If the)6.402 F F1
-(function)3.903 E F0(reserv)144 408 Q .162(ed w)-.15 F .162
-(ord is supplied, the parentheses are optional.)-.1 F(The)5.162 E F2
+(Shell functions are declared as follo)5 E(ws:)-.25 E([)108 408 Q F2
+(function)2.5 E F0(])2.5 E F1(name)2.5 E F0(\(\))2.5 E F1
+(compound\255command)2.5 E F0([)2.5 E F1 -.37(re)C(dir).37 E(ection)-.37
+E F0(])A 1.402(This de\214nes a function named)144 420 R F1(name)3.902 E
+F0 6.402(.T)C 1.402(he reserv)-6.402 F 1.402(ed w)-.15 F(ord)-.1 E F2
+(function)3.902 E F0 1.402(is optional.)3.902 F 1.403(If the)6.402 F F2
+(function)3.903 E F0(reserv)144 432 Q .162(ed w)-.15 F .162
+(ord is supplied, the parentheses are optional.)-.1 F(The)5.162 E F1
(body)2.662 E F0 .162(of the function is the compound)2.662 F(command)
-144 420 Q F2(compound\255command)2.784 E F0(\(see)3.354 E F1 .084
+144 444 Q F1(compound\255command)2.784 E F0(\(see)3.354 E F2 .084
(Compound Commands)2.584 F F0(abo)2.584 E -.15(ve)-.15 G 2.584(\). That)
-.15 F .084(command is usually a)2.584 F F2(list)144 432 Q F0 .044
+.15 F .084(command is usually a)2.584 F F1(list)144 456 Q F0 .044
(of commands between { and }, b)2.544 F .044(ut may be an)-.2 F 2.544
-(yc)-.15 G .044(ommand listed under)-2.544 F F1 .044(Compound Commands)
-2.544 F F0(abo)144 444 Q -.15(ve)-.15 G(.).15 E F2(compound\255command)
+(yc)-.15 G .044(ommand listed under)-2.544 F F2 .044(Compound Commands)
+2.544 F F0(abo)144 468 Q -.15(ve)-.15 G(.).15 E F1(compound\255command)
6.67 E F0 1.67(is e)4.17 F -.15(xe)-.15 G 1.671(cuted whene).15 F -.15
-(ve)-.25 G(r).15 E F2(name)4.171 E F0 1.671
+(ve)-.25 G(r).15 E F1(name)4.171 E F0 1.671
(is speci\214ed as the name of a simple)4.171 F 3.009(command. An)144
-456 R 3.009(yr)-.15 G .509(edirections \(see)-3.009 F/F3 9/Times-Bold@0
+480 R 3.009(yr)-.15 G .509(edirections \(see)-3.009 F/F3 9/Times-Bold@0
SF(REDIRECTION)3.009 E F0(belo)2.759 E .509
(w\) speci\214ed when a function is de\214ned are)-.25 F .58
-(performed when the function is e)144 468 R -.15(xe)-.15 G 3.08
+(performed when the function is e)144 492 R -.15(xe)-.15 G 3.08
(cuted. The).15 F -.15(ex)3.081 G .581
(it status of a function de\214nition is zero unless a).15 F .177(synta\
x error occurs or a readonly function with the same name already e)144
-480 R 2.677(xists. When)-.15 F -.15(exe)2.677 G .177(cuted, the).15 F
--.15(ex)144 492 S .64(it status of a function is the e).15 F .64
+504 R 2.677(xists. When)-.15 F -.15(exe)2.677 G .177(cuted, the).15 F
+-.15(ex)144 516 S .64(it status of a function is the e).15 F .64
(xit status of the last command e)-.15 F -.15(xe)-.15 G .64
(cuted in the body).15 F 5.64(.\()-.65 G(See)-5.64 E F3(FUNC-)3.14 E
-(TIONS)144 504 Q F0(belo)2.25 E -.65(w.)-.25 G(\)).65 E/F4 10.95
-/Times-Bold@0 SF(COMMENTS)72 520.8 Q F0 .982(In a non-interacti)108
-532.8 R 1.282 -.15(ve s)-.25 H .982(hell, or an interacti).15 F 1.282
--.15(ve s)-.25 H .982(hell in which the).15 F F1(interacti)3.482 E -.1
-(ve)-.1 G(_comments).1 E F0 .982(option to the)3.482 F F1(shopt)3.482 E
-F0 -.2(bu)108 544.8 S .951(iltin is enabled \(see).2 F F3 .952(SHELL B)
+(TIONS)144 528 Q F0(belo)2.25 E -.65(w.)-.25 G(\)).65 E/F4 10.95
+/Times-Bold@0 SF(COMMENTS)72 544.8 Q F0 .982(In a non-interacti)108
+556.8 R 1.282 -.15(ve s)-.25 H .982(hell, or an interacti).15 F 1.282
+-.15(ve s)-.25 H .982(hell in which the).15 F F2(interacti)3.482 E -.1
+(ve)-.1 G(_comments).1 E F0 .982(option to the)3.482 F F2(shopt)3.482 E
+F0 -.2(bu)108 568.8 S .951(iltin is enabled \(see).2 F F3 .952(SHELL B)
3.451 F(UIL)-.09 E .952(TIN COMMANDS)-.828 F F0(belo)3.202 E .952
-(w\), a w)-.25 F .952(ord be)-.1 F .952(ginning with)-.15 F F1(#)3.452 E
+(w\), a w)-.25 F .952(ord be)-.1 F .952(ginning with)-.15 F F2(#)3.452 E
F0 .952(causes that w)3.452 F(ord)-.1 E .605
-(and all remaining characters on that line to be ignored.)108 556.8 R
+(and all remaining characters on that line to be ignored.)108 580.8 R
.604(An interacti)5.605 F .904 -.15(ve s)-.25 H .604(hell without the)
-.15 F F1(interacti)3.104 E -.1(ve)-.1 G(_com-).1 E(ments)108 568.8 Q F0
+.15 F F2(interacti)3.104 E -.1(ve)-.1 G(_com-).1 E(ments)108 592.8 Q F0
1.336(option enabled does not allo)3.836 F 3.836(wc)-.25 G 3.836
-(omments. The)-3.836 F F1(interacti)3.836 E -.1(ve)-.1 G(_comments).1 E
+(omments. The)-3.836 F F2(interacti)3.836 E -.1(ve)-.1 G(_comments).1 E
F0 1.337(option is on by def)3.837 F 1.337(ault in)-.1 F(interacti)108
-580.8 Q .3 -.15(ve s)-.25 H(hells.).15 E F4 -.11(QU)72 597.6 S -.438(OT)
-.11 G(ING).438 E F2(Quoting)108 609.6 Q F0 .478(is used to remo)2.978 F
+604.8 Q .3 -.15(ve s)-.25 H(hells.).15 E F4 -.11(QU)72 621.6 S -.438(OT)
+.11 G(ING).438 E F1(Quoting)108 633.6 Q F0 .478(is used to remo)2.978 F
.777 -.15(ve t)-.15 H .477
(he special meaning of certain characters or w).15 F .477
(ords to the shell.)-.1 F .477(Quoting can be)5.477 F .184
(used to disable special treatment for special characters, to pre)108
-621.6 R -.15(ve)-.25 G .185(nt reserv).15 F .185(ed w)-.15 F .185
-(ords from being recognized as)-.1 F(such, and to pre)108 633.6 Q -.15
+645.6 R -.15(ve)-.25 G .185(nt reserv).15 F .185(ed w)-.15 F .185
+(ords from being recognized as)-.1 F(such, and to pre)108 657.6 Q -.15
(ve)-.25 G(nt parameter e).15 E(xpansion.)-.15 E .289(Each of the)108
-650.4 R F2(metac)2.789 E(har)-.15 E(acter)-.15 E(s)-.1 E F0 .288
+674.4 R F1(metac)2.789 E(har)-.15 E(acter)-.15 E(s)-.1 E F0 .288
(listed abo)2.789 F .588 -.15(ve u)-.15 H(nder).15 E F3(DEFINITIONS)
2.788 E F0 .288(has special meaning to the shell and must be)2.538 F
-(quoted if it is to represent itself.)108 662.4 Q 1.344
-(When the command history e)108 679.2 R 1.344(xpansion f)-.15 F 1.344
+(quoted if it is to represent itself.)108 686.4 Q 1.344
+(When the command history e)108 703.2 R 1.344(xpansion f)-.15 F 1.344
(acilities are being used \(see)-.1 F F3(HIST)3.844 E(OR)-.162 E 3.594
(YE)-.315 G(XP)-3.594 E(ANSION)-.666 E F0(belo)3.595 E 1.345(w\), the)
--.25 F F2(history e)108 691.2 Q(xpansion)-.2 E F0(character)2.5 E 2.5
-(,u)-.4 G(sually)-2.5 E F1(!)2.5 E F0 2.5(,m)C(ust be quoted to pre)-2.5
-E -.15(ve)-.25 G(nt history e).15 E(xpansion.)-.15 E
-(There are three quoting mechanisms: the)108 708 Q F2(escape c)2.5 E
-(har)-.15 E(acter)-.15 E F0 2.5(,s).73 G
-(ingle quotes, and double quotes.)-2.5 E 2.975(An)108 724.8 S .475
-(on-quoted backslash \()-2.975 F F1(\\)A F0 2.974(\)i)C 2.974(st)-2.974
-G(he)-2.974 E F2 .474(escape c)2.974 F(har)-.15 E(acter)-.15 E F0 5.474
-(.I).73 G 2.974(tp)-5.474 G(reserv)-2.974 E .474(es the literal v)-.15 F
-.474(alue of the ne)-.25 F .474(xt character that)-.15 F
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
--124.42 E(6)204 E 0 Cg EP
+-.25 F F1(history e)108 715.2 Q(xpansion)-.2 E F0(character)2.5 E 2.5
+(,u)-.4 G(sually)-2.5 E F2(!)2.5 E F0 2.5(,m)C(ust be quoted to pre)-2.5
+E -.15(ve)-.25 G(nt history e).15 E(xpansion.)-.15 E(GNU Bash-3.1-de)72
+768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(6)204 E 0 Cg
+EP
%%Page: 7 8
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E(follo)108 84 Q 1.553(ws, with the e)-.25 F 1.553(xception of <ne)
--.15 F 4.053(wline>. If)-.25 F(a)4.053 E/F1 10/Times-Bold@0 SF(\\)4.053
-E F0(<ne)A 1.553(wline> pair appears, and the backslash is not itself)
--.25 F 1.123(quoted, the)108 96 R F1(\\)3.623 E F0(<ne)A 1.122
+-.35 E(There are three quoting mechanisms: the)108 84 Q/F1 10
+/Times-Italic@0 SF(escape c)2.5 E(har)-.15 E(acter)-.15 E F0 2.5(,s).73
+G(ingle quotes, and double quotes.)-2.5 E 2.975(An)108 100.8 S .475
+(on-quoted backslash \()-2.975 F/F2 10/Times-Bold@0 SF(\\)A F0 2.974
+(\)i)C 2.974(st)-2.974 G(he)-2.974 E F1 .474(escape c)2.974 F(har)-.15 E
+(acter)-.15 E F0 5.474(.I).73 G 2.974(tp)-5.474 G(reserv)-2.974 E .474
+(es the literal v)-.15 F .474(alue of the ne)-.25 F .474
+(xt character that)-.15 F(follo)108 112.8 Q 1.553(ws, with the e)-.25 F
+1.553(xception of <ne)-.15 F 4.053(wline>. If)-.25 F(a)4.053 E F2(\\)
+4.053 E F0(<ne)A 1.553
+(wline> pair appears, and the backslash is not itself)-.25 F 1.123
+(quoted, the)108 124.8 R F2(\\)3.623 E F0(<ne)A 1.122
(wline> is treated as a line continuation \(that is, it is remo)-.25 F
-.15(ve)-.15 G 3.622(df).15 G 1.122(rom the input stream and)-3.622 F
-(ef)108 108 Q(fecti)-.25 E -.15(ve)-.25 G(ly ignored\).).15 E .295
-(Enclosing characters in single quotes preserv)108 124.8 R .295
+(ef)108 136.8 Q(fecti)-.25 E -.15(ve)-.25 G(ly ignored\).).15 E .295
+(Enclosing characters in single quotes preserv)108 153.6 R .295
(es the literal v)-.15 F .295(alue of each character within the quotes.)
-.25 F 2.795(As)5.295 G(in-)-2.795 E
-(gle quote may not occur between single quotes, e)108 136.8 Q -.15(ve)
+(gle quote may not occur between single quotes, e)108 165.6 Q -.15(ve)
-.25 G 2.5(nw).15 G(hen preceded by a backslash.)-2.5 E .034
-(Enclosing characters in double quotes preserv)108 153.6 R .034
+(Enclosing characters in double quotes preserv)108 182.4 R .034
(es the literal v)-.15 F .034
(alue of all characters within the quotes, with the)-.25 F -.15(ex)108
-165.6 S .827(ception of).15 F F1($)3.327 E F0(,)A F1(`)3.328 E F0(,)A F1
+194.4 S .827(ception of).15 F F2($)3.327 E F0(,)A F2(`)3.328 E F0(,)A F2
(\\)3.328 E F0 3.328(,a)C .828(nd, when history e)-3.328 F .828
-(xpansion is enabled,)-.15 F F1(!)3.328 E F0 5.828(.T)C .828
-(he characters)-5.828 F F1($)3.328 E F0(and)3.328 E F1(`)3.328 E F0 .828
+(xpansion is enabled,)-.15 F F2(!)3.328 E F0 5.828(.T)C .828
+(he characters)-5.828 F F2($)3.328 E F0(and)3.328 E F2(`)3.328 E F0 .828
(retain their special)3.328 F .075(meaning within double quotes.)108
-177.6 R .074(The backslash retains its special meaning only when follo)
-5.075 F .074(wed by one of the)-.25 F(follo)108 189.6 Q .204
-(wing characters:)-.25 F F1($)2.704 E F0(,)A F1(`)2.704 E F0(,)A F1(")
-3.537 E F0(,).833 E F1(\\)2.704 E F0 2.704(,o)C(r)-2.704 E F1(<newline>)
+206.4 R .074(The backslash retains its special meaning only when follo)
+5.075 F .074(wed by one of the)-.25 F(follo)108 218.4 Q .204
+(wing characters:)-.25 F F2($)2.704 E F0(,)A F2(`)2.704 E F0(,)A F2(")
+3.537 E F0(,).833 E F2(\\)2.704 E F0 2.704(,o)C(r)-2.704 E F2(<newline>)
2.705 E F0 5.205(.A)C .205
(double quote may be quoted within double quotes by pre-)-2.5 F .082
-(ceding it with a backslash.)108 201.6 R .082(If enabled, history e)
-5.082 F .082(xpansion will be performed unless an)-.15 F F1(!)2.581 E F0
+(ceding it with a backslash.)108 230.4 R .082(If enabled, history e)
+5.082 F .082(xpansion will be performed unless an)-.15 F F2(!)2.581 E F0
.081(appearing in double)5.081 F(quotes is escaped using a backslash.)
-108 213.6 Q(The backslash preceding the)5 E F1(!)2.5 E F0(is not remo)5
-E -.15(ve)-.15 G(d.).15 E(The special parameters)108 230.4 Q F1(*)2.5 E
-F0(and)2.5 E F1(@)2.5 E F0(ha)2.5 E .3 -.15(ve s)-.2 H
-(pecial meaning when in double quotes \(see).15 E/F2 9/Times-Bold@0 SF
--.666(PA)2.5 G(RAMETERS).666 E F0(belo)2.25 E(w\).)-.25 E -.8(Wo)108
-247.2 S .007(rds of the form).8 F F1($)2.507 E F0(')A/F3 10
-/Times-Italic@0 SF(string)A F0 2.507('a)C .007(re treated specially)
--2.507 F 5.007(.T)-.65 G .007(he w)-5.007 F .007(ord e)-.1 F .008
-(xpands to)-.15 F F3(string)2.508 E F0 2.508(,w)C .008
-(ith backslash-escaped char)-2.508 F(-)-.2 E .605
-(acters replaced as speci\214ed by the ANSI C standard.)108 259.2 R .604
+108 242.4 Q(The backslash preceding the)5 E F2(!)2.5 E F0(is not remo)5
+E -.15(ve)-.15 G(d.).15 E(The special parameters)108 259.2 Q F2(*)2.5 E
+F0(and)2.5 E F2(@)2.5 E F0(ha)2.5 E .3 -.15(ve s)-.2 H
+(pecial meaning when in double quotes \(see).15 E/F3 9/Times-Bold@0 SF
+-.666(PA)2.5 G(RAMETERS).666 E F0(belo)2.25 E(w\).)-.25 E -.8(Wo)108 276
+S .007(rds of the form).8 F F2($)2.507 E F0(')A F1(string)A F0 2.507('a)
+C .007(re treated specially)-2.507 F 5.007(.T)-.65 G .007(he w)-5.007 F
+.007(ord e)-.1 F .008(xpands to)-.15 F F1(string)2.508 E F0 2.508(,w)C
+.008(ith backslash-escaped char)-2.508 F(-)-.2 E .605
+(acters replaced as speci\214ed by the ANSI C standard.)108 288 R .604
(Backslash escape sequences, if present, are decoded)5.605 F(as follo)
-108 271.2 Q(ws:)-.25 E F1(\\a)144 283.2 Q F0(alert \(bell\))28.22 E F1
-(\\b)144 295.2 Q F0(backspace)27.66 E F1(\\e)144 307.2 Q F0
-(an escape character)28.78 E F1(\\f)144 319.2 Q F0(form feed)29.89 E F1
-(\\n)144 331.2 Q F0(ne)27.66 E 2.5(wl)-.25 G(ine)-2.5 E F1(\\r)144 343.2
-Q F0(carriage return)28.78 E F1(\\t)144 355.2 Q F0(horizontal tab)29.89
-E F1(\\v)144 367.2 Q F0 -.15(ve)28.22 G(rtical tab).15 E F1(\\\\)144
-379.2 Q F0(backslash)30.44 E F1(\\')144 391.2 Q F0(single quote)29.89 E
-F1(\\)144 403.2 Q F3(nnn)A F0(the eight-bit character whose v)18.22 E
-(alue is the octal v)-.25 E(alue)-.25 E F3(nnn)2.5 E F0
-(\(one to three digits\))2.5 E F1(\\x)144 415.2 Q F3(HH)A F0
-(the eight-bit character whose v)13.78 E(alue is the he)-.25 E
-(xadecimal v)-.15 E(alue)-.25 E F3(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh)
--.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1(\\c)144 427.2 Q F3(x)A F0 2.5
-(ac)24.34 G(ontrol-)-2.5 E F3(x)A F0(character)2.5 E(The e)108 444 Q(xp\
-anded result is single-quoted, as if the dollar sign had not been prese\
-nt.)-.15 E 2.985(Ad)108 460.8 S .485
-(ouble-quoted string preceded by a dollar sign \()-2.985 F F1($)A F0
+108 300 Q(ws:)-.25 E F2(\\a)144 312 Q F0(alert \(bell\))28.22 E F2(\\b)
+144 324 Q F0(backspace)27.66 E F2(\\e)144 336 Q F0(an escape character)
+28.78 E F2(\\f)144 348 Q F0(form feed)29.89 E F2(\\n)144 360 Q F0(ne)
+27.66 E 2.5(wl)-.25 G(ine)-2.5 E F2(\\r)144 372 Q F0(carriage return)
+28.78 E F2(\\t)144 384 Q F0(horizontal tab)29.89 E F2(\\v)144 396 Q F0
+-.15(ve)28.22 G(rtical tab).15 E F2(\\\\)144 408 Q F0(backslash)30.44 E
+F2(\\')144 420 Q F0(single quote)29.89 E F2(\\)144 432 Q F1(nnn)A F0
+(the eight-bit character whose v)18.22 E(alue is the octal v)-.25 E
+(alue)-.25 E F1(nnn)2.5 E F0(\(one to three digits\))2.5 E F2(\\x)144
+444 Q F1(HH)A F0(the eight-bit character whose v)13.78 E(alue is the he)
+-.25 E(xadecimal v)-.15 E(alue)-.25 E F1(HH)2.5 E F0(\(one or tw)2.5 E
+2.5(oh)-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F2(\\c)144 456 Q F1(x)A
+F0 2.5(ac)24.34 G(ontrol-)-2.5 E F1(x)A F0(character)2.5 E(The e)108
+472.8 Q(xpanded result is single-quoted, as if the dollar sign had not \
+been present.)-.15 E 2.985(Ad)108 489.6 S .485
+(ouble-quoted string preceded by a dollar sign \()-2.985 F F2($)A F0
2.986(\)w)C .486(ill cause the string to be translated according to the)
--2.986 F .118(current locale.)108 472.8 R .118(If the current locale is)
-5.118 F F1(C)2.618 E F0(or)2.618 E F1(POSIX)2.618 E F0 2.618(,t)C .117
+-2.986 F .118(current locale.)108 501.6 R .118(If the current locale is)
+5.118 F F2(C)2.618 E F0(or)2.618 E F2(POSIX)2.618 E F0 2.618(,t)C .117
(he dollar sign is ignored.)-2.618 F .117
(If the string is translated and)5.117 F
-(replaced, the replacement is double-quoted.)108 484.8 Q/F4 10.95
-/Times-Bold@0 SF -.81(PA)72 501.6 S(RAMETERS).81 E F0(A)108 513.6 Q F3
+(replaced, the replacement is double-quoted.)108 513.6 Q/F4 10.95
+/Times-Bold@0 SF -.81(PA)72 530.4 S(RAMETERS).81 E F0(A)108 542.4 Q F1
(par)4.592 E(ameter)-.15 E F0 .842(is an entity that stores v)4.072 F
-3.342(alues. It)-.25 F .842(can be a)3.342 F F3(name)3.343 E F0 3.343
+3.342(alues. It)-.25 F .842(can be a)3.342 F F1(name)3.343 E F0 3.343
(,an).18 G(umber)-3.343 E 3.343(,o)-.4 G 3.343(ro)-3.343 G .843
-(ne of the special characters)-3.343 F .823(listed belo)108 525.6 R
-3.323(wu)-.25 G(nder)-3.323 E F1 .823(Special P)3.323 F(arameters)-.1 E
-F0 5.823(.A)C F3(variable)-2.21 E F0 .823(is a parameter denoted by a)
-3.503 F F3(name)3.323 E F0 5.823(.A).18 G -.25(va)-2.5 G .823
-(riable has a).25 F F3(value)108 537.6 Q F0 .368(and zero or more)2.868
-F F3(attrib)2.868 E(utes)-.2 E F0 5.369(.A)C(ttrib)-5.369 E .369
-(utes are assigned using the)-.2 F F1(declar)2.869 E(e)-.18 E F0 -.2(bu)
-2.869 G .369(iltin command \(see).2 F F1(declar)2.869 E(e)-.18 E F0
-(belo)108 549.6 Q 2.5(wi)-.25 G(n)-2.5 E F2(SHELL B)2.5 E(UIL)-.09 E
-(TIN COMMANDS)-.828 E/F5 9/Times-Roman@0 SF(\).)A F0 2.755(Ap)108 566.4
+(ne of the special characters)-3.343 F .823(listed belo)108 554.4 R
+3.323(wu)-.25 G(nder)-3.323 E F2 .823(Special P)3.323 F(arameters)-.1 E
+F0 5.823(.A)C F1(variable)-2.21 E F0 .823(is a parameter denoted by a)
+3.503 F F1(name)3.323 E F0 5.823(.A).18 G -.25(va)-2.5 G .823
+(riable has a).25 F F1(value)108 566.4 Q F0 .368(and zero or more)2.868
+F F1(attrib)2.868 E(utes)-.2 E F0 5.369(.A)C(ttrib)-5.369 E .369
+(utes are assigned using the)-.2 F F2(declar)2.869 E(e)-.18 E F0 -.2(bu)
+2.869 G .369(iltin command \(see).2 F F2(declar)2.869 E(e)-.18 E F0
+(belo)108 578.4 Q 2.5(wi)-.25 G(n)-2.5 E F3(SHELL B)2.5 E(UIL)-.09 E
+(TIN COMMANDS)-.828 E/F5 9/Times-Roman@0 SF(\).)A F0 2.755(Ap)108 595.2
S .255(arameter is set if it has been assigned a v)-2.755 F 2.754
(alue. The)-.25 F .254(null string is a v)2.754 F .254(alid v)-.25 F
2.754(alue. Once)-.25 F 2.754(av)2.754 G .254(ariable is set, it)-3.004
-F(may be unset only by using the)108 578.4 Q F1(unset)2.5 E F0 -.2(bu)
-2.5 G(iltin command \(see).2 E F2(SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS)
--.828 E F0(belo)2.25 E(w\).)-.25 E(A)108 595.2 Q F3(variable)2.79 E F0
-(may be assigned to by a statement of the form)2.68 E F3(name)144 612 Q
-F0(=[)A F3(value)A F0(])A(If)108 628.8 Q F3(value)3.022 E F0 .232
+F(may be unset only by using the)108 607.2 Q F2(unset)2.5 E F0 -.2(bu)
+2.5 G(iltin command \(see).2 E F3(SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS)
+-.828 E F0(belo)2.25 E(w\).)-.25 E(A)108 624 Q F1(variable)2.79 E F0
+(may be assigned to by a statement of the form)2.68 E F1(name)144 640.8
+Q F0(=[)A F1(value)A F0(])A(If)108 657.6 Q F1(value)3.022 E F0 .232
(is not gi)2.912 F -.15(ve)-.25 G .232(n, the v).15 F .232
-(ariable is assigned the null string.)-.25 F(All)5.233 E F3(values)3.023
+(ariable is assigned the null string.)-.25 F(All)5.233 E F1(values)3.023
E F0(under)3.003 E .233(go tilde e)-.18 F .233(xpansion, parameter)-.15
-F .515(and v)108 640.8 R .515(ariable e)-.25 F .515
+F .515(and v)108 669.6 R .515(ariable e)-.25 F .515
(xpansion, command substitution, arithmetic e)-.15 F .515
(xpansion, and quote remo)-.15 F -.25(va)-.15 G 3.015(l\().25 G(see)
--3.015 E F2(EXP)3.015 E(ANSION)-.666 E F0(belo)108 652.8 Q 2.698
-(w\). If)-.25 F .198(the v)2.698 F .198(ariable has its)-.25 F F1
-(integer)2.698 E F0(attrib)2.698 E .198(ute set, then)-.2 F F3(value)
+-3.015 E F3(EXP)3.015 E(ANSION)-.666 E F0(belo)108 681.6 Q 2.698
+(w\). If)-.25 F .198(the v)2.698 F .198(ariable has its)-.25 F F2
+(integer)2.698 E F0(attrib)2.698 E .198(ute set, then)-.2 F F1(value)
2.988 E F0 .198(is e)2.878 F -.25(va)-.25 G .199
(luated as an arithmetic e).25 F .199(xpression e)-.15 F -.15(ve)-.25 G
-(n).15 E .902(if the $\(\(...\)\) e)108 664.8 R .902
-(xpansion is not used \(see)-.15 F F1 .901(Arithmetic Expansion)3.401 F
+(n).15 E .902(if the $\(\(...\)\) e)108 693.6 R .902
+(xpansion is not used \(see)-.15 F F2 .901(Arithmetic Expansion)3.401 F
F0(belo)3.401 E 3.401(w\). W)-.25 F .901
-(ord splitting is not performed,)-.8 F 1.178(with the e)108 676.8 R
-1.178(xception of)-.15 F F1("$@")3.678 E F0 1.178(as e)3.678 F 1.179
-(xplained belo)-.15 F 3.679(wu)-.25 G(nder)-3.679 E F1 1.179(Special P)
+(ord splitting is not performed,)-.8 F 1.178(with the e)108 705.6 R
+1.178(xception of)-.15 F F2("$@")3.678 E F0 1.178(as e)3.678 F 1.179
+(xplained belo)-.15 F 3.679(wu)-.25 G(nder)-3.679 E F2 1.179(Special P)
3.679 F(arameters)-.1 E F0 6.179(.P)C 1.179(athname e)-6.329 F 1.179
-(xpansion is not)-.15 F 3.649(performed. Assignment)108 688.8 R 1.149
-(statements may also appear as ar)3.649 F 1.148(guments to the)-.18 F F1
-(alias)3.648 E F0(,)A F1(declar)3.648 E(e)-.18 E F0(,)A F1(typeset)3.648
-E F0(,)A F1(export)3.648 E F0(,)A F1 -.18(re)108 700.8 S(adonly).18 E F0
-2.5(,a)C(nd)-2.5 E F1(local)2.5 E F0 -.2(bu)2.5 G(iltin commands.).2 E
-.376(In the conte)108 717.6 R .376
-(xt where an assignment statement is assigning a v)-.15 F .376
-(alue to a shell v)-.25 F .377(ariable or array inde)-.25 F .377
-(x, the +=)-.15 F .257
-(operator can be used to append to or add to the v)108 729.6 R(ariable')
--.25 E 2.757(sp)-.55 G(re)-2.757 E .257(vious v)-.25 F 2.757(alue. When)
--.25 F .257(+= is applied to a v)2.757 F(ariable)-.25 E(GNU Bash-3.1-de)
-72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(7)204 E 0
-Cg EP
+(xpansion is not)-.15 F 3.649(performed. Assignment)108 717.6 R 1.149
+(statements may also appear as ar)3.649 F 1.148(guments to the)-.18 F F2
+(alias)3.648 E F0(,)A F2(declar)3.648 E(e)-.18 E F0(,)A F2(typeset)3.648
+E F0(,)A F2(export)3.648 E F0(,)A F2 -.18(re)108 729.6 S(adonly).18 E F0
+2.5(,a)C(nd)-2.5 E F2(local)2.5 E F0 -.2(bu)2.5 G(iltin commands.).2 E
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
+-124.42 E(7)204 E 0 Cg EP
%%Page: 8 9
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E .372(for which the inte)108 84 R .372(ger attrib)-.15 F .372
+-.35 E .376(In the conte)108 84 R .376
+(xt where an assignment statement is assigning a v)-.15 F .376
+(alue to a shell v)-.25 F .377(ariable or array inde)-.25 F .377
+(x, the +=)-.15 F .257
+(operator can be used to append to or add to the v)108 96 R(ariable')
+-.25 E 2.757(sp)-.55 G(re)-2.757 E .257(vious v)-.25 F 2.757(alue. When)
+-.25 F .257(+= is applied to a v)2.757 F(ariable)-.25 E .372
+(for which the inte)108 108 R .372(ger attrib)-.15 F .372
(ute has been set,)-.2 F/F1 10/Times-Italic@0 SF(value)2.872 E F0 .372
(is e)2.872 F -.25(va)-.25 G .372(luated as an arithmetic e).25 F .373
-(xpression and added to the)-.15 F -.25(va)108 96 S(riable').25 E 2.889
+(xpression and added to the)-.15 F -.25(va)108 120 S(riable').25 E 2.889
(sc)-.55 G .389(urrent v)-2.889 F .389(alue, which is also e)-.25 F -.25
(va)-.25 G 2.889(luated. When).25 F .389(+= is applied to an array v)
-2.889 F .388(ariable using compound)-.25 F .185(assignment \(see)108 108
+2.889 F .388(ariable using compound)-.25 F .185(assignment \(see)108 132
R/F2 10/Times-Bold@0 SF(Arrays)2.685 E F0(belo)2.685 E .185(w\), the v)
-.25 F(ariable')-.25 E 2.685(sv)-.55 G .185
(alue is not unset \(as it is when using =\), and ne)-2.935 F 2.686(wv)
--.25 G .186(alues are)-2.936 F .32(appended to the array be)108 120 R
+-.25 G .186(alues are)-2.936 F .32(appended to the array be)108 144 R
.32(ginning at one greater than the array')-.15 F 2.82(sm)-.55 G .32
(aximum inde)-2.82 F 2.82(x. When)-.15 F .32(applied to a string-)2.82 F
--.25(va)108 132 S(lued v).25 E(ariable,)-.25 E F1(value)2.5 E F0(is e)
+-.25(va)108 156 S(lued v).25 E(ariable,)-.25 E F1(value)2.5 E F0(is e)
2.5 E(xpanded and appended to the v)-.15 E(ariable')-.25 E 2.5(sv)-.55 G
-(alue.)-2.75 E F2 -.2(Po)87 148.8 S(sitional P).2 E(arameters)-.1 E F0
-(A)108 160.8 Q F1 .705(positional par)4.455 F(ameter)-.15 E F0 .706(is \
+(alue.)-2.75 E F2 -.2(Po)87 172.8 S(sitional P).2 E(arameters)-.1 E F0
+(A)108 184.8 Q F1 .705(positional par)4.455 F(ameter)-.15 E F0 .706(is \
a parameter denoted by one or more digits, other than the single digit \
0.)3.935 F(Posi-)5.706 E .445
-(tional parameters are assigned from the shell')108 172.8 R 2.944(sa)
+(tional parameters are assigned from the shell')108 196.8 R 2.944(sa)
-.55 G -.18(rg)-2.944 G .444(uments when it is in).18 F -.2(vo)-.4 G -.1
-(ke).2 G .444(d, and may be reassigned using).1 F(the)108 184.8 Q F2
+(ke).2 G .444(d, and may be reassigned using).1 F(the)108 208.8 Q F2
(set)3.333 E F0 -.2(bu)3.333 G .833(iltin command.).2 F .834(Positional\
parameters may not be assigned to with assignment statements.)5.833 F
(The)5.834 E .334(positional parameters are temporarily replaced when a\
- shell function is e)108 196.8 R -.15(xe)-.15 G .333(cuted \(see).15 F
+ shell function is e)108 220.8 R -.15(xe)-.15 G .333(cuted \(see).15 F
/F3 9/Times-Bold@0 SF(FUNCTIONS)2.833 E F0(belo)2.583 E(w\).)-.25 E
1.403(When a positional parameter consisting of more than a single digi\
-t is e)108 213.6 R 1.404(xpanded, it must be enclosed in)-.15 F
-(braces \(see)108 225.6 Q F3(EXP)2.5 E(ANSION)-.666 E F0(belo)2.25 E
-(w\).)-.25 E F2(Special P)87 242.4 Q(arameters)-.1 E F0 1.675
-(The shell treats se)108 254.4 R -.15(ve)-.25 G 1.675
+t is e)108 237.6 R 1.404(xpanded, it must be enclosed in)-.15 F
+(braces \(see)108 249.6 Q F3(EXP)2.5 E(ANSION)-.666 E F0(belo)2.25 E
+(w\).)-.25 E F2(Special P)87 266.4 Q(arameters)-.1 E F0 1.675
+(The shell treats se)108 278.4 R -.15(ve)-.25 G 1.675
(ral parameters specially).15 F 6.675(.T)-.65 G 1.674
(hese parameters may only be referenced; assignment to)-6.675 F
-(them is not allo)108 266.4 Q(wed.)-.25 E F2(*)108 278.4 Q F0 .605
+(them is not allo)108 290.4 Q(wed.)-.25 E F2(*)108 302.4 Q F0 .605
(Expands to the positional parameters, starting from one.)31 F .606
(When the e)5.605 F .606(xpansion occurs within dou-)-.15 F .084
-(ble quotes, it e)144 290.4 R .084(xpands to a single w)-.15 F .084
+(ble quotes, it e)144 314.4 R .084(xpands to a single w)-.15 F .084
(ord with the v)-.1 F .084
(alue of each parameter separated by the \214rst char)-.25 F(-)-.2 E
-.003(acter of the)144 302.4 R F3(IFS)2.503 E F0 .003(special v)2.253 F
+.003(acter of the)144 326.4 R F3(IFS)2.503 E F0 .003(special v)2.253 F
2.503(ariable. That)-.25 F .003(is, ")2.503 F F2($*)A F0 2.503("i)C
2.503(se)-2.503 G(qui)-2.503 E -.25(va)-.25 G .003(lent to ").25 F F2
($1)A F1(c)A F2($2)A F1(c)A F2(...)A F0 .003(", where)B F1(c)2.703 E F0
-.004(is the \214rst char)2.813 F(-)-.2 E .769(acter of the v)144 314.4 R
+.004(is the \214rst char)2.813 F(-)-.2 E .769(acter of the v)144 338.4 R
.769(alue of the)-.25 F F3(IFS)3.269 E F0 -.25(va)3.019 G 3.269
(riable. If).25 F F3(IFS)3.268 E F0 .768
(is unset, the parameters are separated by spaces.)3.018 F(If)5.768 E F3
-(IFS)144 326.4 Q F0(is null, the parameters are joined without interv)
-2.25 E(ening separators.)-.15 E F2(@)108 338.4 Q F0 .605
+(IFS)144 350.4 Q F0(is null, the parameters are joined without interv)
+2.25 E(ening separators.)-.15 E F2(@)108 362.4 Q F0 .605
(Expands to the positional parameters, starting from one.)26.7 F .606
(When the e)5.605 F .606(xpansion occurs within dou-)-.15 F .114
-(ble quotes, each parameter e)144 350.4 R .114(xpands to a separate w)
+(ble quotes, each parameter e)144 374.4 R .114(xpands to a separate w)
-.15 F 2.614(ord. That)-.1 F .113(is, ")2.613 F F2($@)A F0 2.613("i)C
2.613(se)-2.613 G(qui)-2.613 E -.25(va)-.25 G .113(lent to ").25 F F2
($1)A F0 2.613("")C F2($2)-2.613 E F0 2.613(".)C(..)-2.613 E .134
-(If the double-quoted e)144 362.4 R .134(xpansion occurs within a w)-.15
+(If the double-quoted e)144 386.4 R .134(xpansion occurs within a w)-.15
F .135(ord, the e)-.1 F .135
(xpansion of the \214rst parameter is joined)-.15 F .151(with the be)144
-374.4 R .151(ginning part of the original w)-.15 F .151(ord, and the e)
+398.4 R .151(ginning part of the original w)-.15 F .151(ord, and the e)
-.1 F .15(xpansion of the last parameter is joined with)-.15 F .337
-(the last part of the original w)144 386.4 R 2.837(ord. When)-.1 F .338
+(the last part of the original w)144 410.4 R 2.837(ord. When)-.1 F .338
(there are no positional parameters, ")2.837 F F2($@)A F0 2.838("a)C(nd)
-2.838 E F2($@)2.838 E F0 -.15(ex)2.838 G(pand).15 E
-(to nothing \(i.e., the)144 398.4 Q 2.5(ya)-.15 G(re remo)-2.5 E -.15
-(ve)-.15 G(d\).).15 E F2(#)108 410.4 Q F0
+(to nothing \(i.e., the)144 422.4 Q 2.5(ya)-.15 G(re remo)-2.5 E -.15
+(ve)-.15 G(d\).).15 E F2(#)108 434.4 Q F0
(Expands to the number of positional parameters in decimal.)31 E F2(?)
-108 422.4 Q F0(Expands to the status of the most recently e)31 E -.15
-(xe)-.15 G(cuted fore).15 E(ground pipeline.)-.15 E F2<ad>108 434.4 Q F0
+108 446.4 Q F0(Expands to the status of the most recently e)31 E -.15
+(xe)-.15 G(cuted fore).15 E(ground pipeline.)-.15 E F2<ad>108 458.4 Q F0
.882(Expands to the current option \215ags as speci\214ed upon in)30.3 F
-.2(vo)-.4 G .881(cation, by the).2 F F2(set)3.381 E F0 -.2(bu)3.381 G
.881(iltin command, or).2 F(those set by the shell itself \(such as the)
-144 446.4 Q F2<ad69>2.5 E F0(option\).)2.5 E F2($)108 458.4 Q F0 .214
+144 470.4 Q F2<ad69>2.5 E F0(option\).)2.5 E F2($)108 482.4 Q F0 .214
(Expands to the process ID of the shell.)31 F .214
(In a \(\) subshell, it e)5.214 F .214
(xpands to the process ID of the current)-.15 F
-(shell, not the subshell.)144 470.4 Q F2(!)108 482.4 Q F0
+(shell, not the subshell.)144 494.4 Q F2(!)108 506.4 Q F0
(Expands to the process ID of the most recently e)32.67 E -.15(xe)-.15 G
-(cuted background \(asynchronous\) command.).15 E F2(0)108 494.4 Q F0
+(cuted background \(asynchronous\) command.).15 E F2(0)108 518.4 Q F0
1.692(Expands to the name of the shell or shell script.)31 F 1.691
(This is set at shell initialization.)6.692 F(If)6.691 E F2(bash)4.191 E
-F0(is)4.191 E(in)144 506.4 Q -.2(vo)-.4 G -.1(ke).2 G 3.077(dw).1 G .577
+F0(is)4.191 E(in)144 530.4 Q -.2(vo)-.4 G -.1(ke).2 G 3.077(dw).1 G .577
(ith a \214le of commands,)-3.077 F F2($0)3.077 E F0 .578
(is set to the name of that \214le.)3.077 F(If)5.578 E F2(bash)3.078 E
F0 .578(is started with the)3.078 F F2<ad63>3.078 E F0 .369
-(option, then)144 518.4 R F2($0)2.869 E F0 .369
+(option, then)144 542.4 R F2($0)2.869 E F0 .369
(is set to the \214rst ar)2.869 F .369(gument after the string to be e)
-.18 F -.15(xe)-.15 G .369(cuted, if one is present.).15 F(Other)5.368 E
-(-)-.2 E(wise, it is set to the \214le name used to in)144 530.4 Q -.2
+(-)-.2 E(wise, it is set to the \214le name used to in)144 554.4 Q -.2
(vo)-.4 G -.1(ke).2 G F2(bash)2.6 E F0 2.5(,a)C 2.5(sg)-2.5 G -2.15 -.25
(iv e)-2.5 H 2.5(nb).25 G 2.5(ya)-2.5 G -.18(rg)-2.5 G(ument zero.).18 E
-F2(_)108 542.4 Q F0 .054
+F2(_)108 566.4 Q F0 .054
(At shell startup, set to the absolute pathname used to in)31 F -.2(vo)
-.4 G .255 -.1(ke t).2 H .055(he shell or shell script being e).1 F -.15
-(xe)-.15 G(cuted).15 E .692(as passed in the en)144 554.4 R .692
+(xe)-.15 G(cuted).15 E .692(as passed in the en)144 578.4 R .692
(vironment or ar)-.4 F .691(gument list.)-.18 F(Subsequently)5.691 E
3.191(,e)-.65 G .691(xpands to the last ar)-3.341 F .691(gument to the)
--.18 F(pre)144 566.4 Q .57(vious command, after e)-.25 F 3.07
+-.18 F(pre)144 590.4 Q .57(vious command, after e)-.25 F 3.07
(xpansion. Also)-.15 F .571(set to the full pathname used to in)3.071 F
--.2(vo)-.4 G .771 -.1(ke e).2 H .571(ach command).1 F -.15(exe)144 578.4
+-.2(vo)-.4 G .771 -.1(ke e).2 H .571(ach command).1 F -.15(exe)144 602.4
S 1.6(cuted and placed in the en).15 F 1.6(vironment e)-.4 F 1.6
(xported to that command.)-.15 F 1.6(When checking mail, this)6.6 F
(parameter holds the name of the mail \214le currently being check)144
-590.4 Q(ed.)-.1 E F2(Shell V)87 607.2 Q(ariables)-.92 E F0(The follo)108
-619.2 Q(wing v)-.25 E(ariables are set by the shell:)-.25 E F2 -.3(BA)
-108 636 S(SH).3 E F0(Expands to the full \214le name used to in)9.07 E
+614.4 Q(ed.)-.1 E F2(Shell V)87 631.2 Q(ariables)-.92 E F0(The follo)108
+643.2 Q(wing v)-.25 E(ariables are set by the shell:)-.25 E F2 -.3(BA)
+108 660 S(SH).3 E F0(Expands to the full \214le name used to in)9.07 E
-.2(vo)-.4 G .2 -.1(ke t).2 H(his instance of).1 E F2(bash)2.5 E F0(.)A
-F2 -.3(BA)108 648 S(SH_ARGC).3 E F0 1.039(An array v)144 660 R 1.039
+F2 -.3(BA)108 672 S(SH_ARGC).3 E F0 1.039(An array v)144 684 R 1.039
(ariable whose v)-.25 F 1.039
(alues are the number of parameters in each frame of the current bash)
--.25 F -.15(exe)144 672 S .535(cution call stack.).15 F .535(The number\
+-.25 F -.15(exe)144 696 S .535(cution call stack.).15 F .535(The number\
of parameters to the current subroutine \(shell function or script)
-5.535 F -.15(exe)144 684 S .141(cuted with).15 F F2(.)2.641 E F0(or)
+5.535 F -.15(exe)144 708 S .141(cuted with).15 F F2(.)2.641 E F0(or)
2.641 E F2(sour)2.641 E(ce)-.18 E F0 2.641(\)i)C 2.641(sa)-2.641 G 2.641
(tt)-2.641 G .142(he top of the stack.)-2.641 F .142
(When a subroutine is e)5.142 F -.15(xe)-.15 G .142
-(cuted, the number of).15 F(parameters passed is pushed onto)144 696 Q
-F2 -.3(BA)2.5 G(SH_ARGC).3 E F0(.)A(GNU Bash-3.1-de)72 768 Q -.15(ve)
--.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(8)204 E 0 Cg EP
+(cuted, the number of).15 F 1.525(parameters passed is pushed onto)144
+720 R F2 -.3(BA)4.024 G(SH_ARGC).3 E F0 6.524(.T)C 1.524(he shell sets)
+-6.524 F F2 -.3(BA)4.024 G(SH_ARGC).3 E F0 1.524(only when in)4.024 F
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
+-124.42 E(8)204 E 0 Cg EP
%%Page: 9 10
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E/F1 10/Times-Bold@0 SF -.3(BA)108 84 S(SH_ARGV).3 E F0 1.092
-(An array v)144 96 R 1.091
+-.35 E -.15(ex)144 84 S(tended deb).15 E
+(ugging mode \(see the description of the)-.2 E/F1 10/Times-Bold@0 SF
+(extdeb)2.5 E(ug)-.2 E F0(option to the)2.5 E F1(shopt)2.5 E F0 -.2(bu)
+2.5 G(iltin belo).2 E(w\))-.25 E F1 -.3(BA)108 96 S(SH_ARGV).3 E F0
+1.091(An array v)144 108 R 1.091
(ariable containing all of the parameters in the current bash e)-.25 F
--.15(xe)-.15 G 1.091(cution call stack.).15 F(The)6.091 E .275(\214nal \
+-.15(xe)-.15 G 1.092(cution call stack.).15 F(The)6.092 E .275(\214nal \
parameter of the last subroutine call is at the top of the stack; the \
-\214rst parameter of the initial)144 108 R 1.424(call is at the bottom.)
-144 120 R 1.424(When a subroutine is e)6.424 F -.15(xe)-.15 G 1.424
-(cuted, the parameters supplied are pushed onto).15 F F1 -.3(BA)144 132
-S(SH_ARGV).3 E F0(.)A F1 -.3(BA)108 144 S(SH_COMMAND).3 E F0 1.242
-(The command currently being e)144 156 R -.15(xe)-.15 G 1.243
+\214rst parameter of the initial)144 120 R 1.424(call is at the bottom.)
+144 132 R 1.424(When a subroutine is e)6.424 F -.15(xe)-.15 G 1.424
+(cuted, the parameters supplied are pushed onto).15 F F1 -.3(BA)144 144
+S(SH_ARGV).3 E F0 6.091(.T)C 1.091(he shell sets)-6.091 F F1 -.3(BA)
+3.591 G(SH_ARGV).3 E F0 1.091(only when in e)3.591 F 1.091(xtended deb)
+-.15 F 1.09(ugging mode \(see the)-.2 F(description of the)144 156 Q F1
+(extdeb)2.5 E(ug)-.2 E F0(option to the)2.5 E F1(shopt)2.5 E F0 -.2(bu)
+2.5 G(iltin belo).2 E(w\))-.25 E F1 -.3(BA)108 168 S(SH_COMMAND).3 E F0
+1.242(The command currently being e)144 180 R -.15(xe)-.15 G 1.243
(cuted or about to be e).15 F -.15(xe)-.15 G 1.243
(cuted, unless the shell is e).15 F -.15(xe)-.15 G 1.243(cuting a).15 F
(command as the result of a trap, in which case it is the command e)144
-168 Q -.15(xe)-.15 G(cuting at the time of the trap.).15 E F1 -.3(BA)108
-180 S(SH_EXECUTION_STRING).3 E F0(The command ar)144 192 Q
+192 Q -.15(xe)-.15 G(cuting at the time of the trap.).15 E F1 -.3(BA)108
+204 S(SH_EXECUTION_STRING).3 E F0(The command ar)144 216 Q
(gument to the)-.18 E F1<ad63>2.5 E F0(in)2.5 E -.2(vo)-.4 G
-(cation option.).2 E F1 -.3(BA)108 204 S(SH_LINENO).3 E F0 .034
-(An array v)144 216 R .034(ariable whose members are the line numbers i\
-n source \214les corresponding to each mem-)-.25 F 2.944(ber of)144 228
+(cation option.).2 E F1 -.3(BA)108 228 S(SH_LINENO).3 E F0 .034
+(An array v)144 240 R .034(ariable whose members are the line numbers i\
+n source \214les corresponding to each mem-)-.25 F 2.944(ber of)144 252
R F1(FUNCN)5.444 E(AME)-.2 E F0(.)A F1(${B)7.944 E(ASH_LINENO[)-.3 E/F2
10/Times-Italic@0 SF($i)A F1(]})A F0 2.944
(is the line number in the source \214le where)5.444 F F1(${FUNCN)144
-240 Q(AME[)-.2 E F2($ifP)A F1(]})A F2 12.109(was called.)14.609 F 12.109
+264 Q(AME[)-.2 E F2($ifP)A F1(]})A F2 12.109(was called.)14.609 F 12.109
(The corr)17.109 F 12.109(esponding sour)-.37 F 12.108
-(ce \214le name is)-.37 F F1(${B)144 252 Q(ASH_SOURCE[)-.3 E F2($i)A F1
+(ce \214le name is)-.37 F F1(${B)144 276 Q(ASH_SOURCE[)-.3 E F2($i)A F1
2.5(]}. Use)B(LINENO to obtain the curr)2.5 E(ent line number)-.18 E(.)
--1 E -.3(BA)108 264 S(SH_REMA).3 E(TCH)-.95 E F0 .005(An array v)144 276
+-1 E -.3(BA)108 288 S(SH_REMA).3 E(TCH)-.95 E F0 .005(An array v)144 300
R .005(ariable whose members are assigned by the)-.25 F F1(=~)2.506 E F0
.006(binary operator to the)2.506 F F1([[)2.506 E F0 .006
-(conditional com-)2.506 F 2.507(mand. The)144 288 R .007
+(conditional com-)2.506 F 2.507(mand. The)144 312 R .007
(element with inde)2.507 F 2.507(x0i)-.15 G 2.507(st)-2.507 G .007
(he portion of the string matching the entire re)-2.507 F .006(gular e)
--.15 F(xpression.)-.15 E .997(The element with inde)144 300 R(x)-.15 E
+-.15 F(xpression.)-.15 E .997(The element with inde)144 324 R(x)-.15 E
F2(n)3.497 E F0 .997(is the portion of the string matching the)3.497 F
F2(n)3.498 E F0 .998(th parenthesized sube)B(xpres-)-.15 E 2.5
-(sion. This)144 312 R -.25(va)2.5 G(riable is read-only).25 E(.)-.65 E
-F1 -.3(BA)108 324 S(SH_SOURCE).3 E F0 .89(An array v)144 336 R .889(ari\
+(sion. This)144 336 R -.25(va)2.5 G(riable is read-only).25 E(.)-.65 E
+F1 -.3(BA)108 348 S(SH_SOURCE).3 E F0 .89(An array v)144 360 R .889(ari\
able whose members are the source \214lenames corresponding to the elem\
-ents in the)-.25 F F1(FUNCN)144 348 Q(AME)-.2 E F0(array v)2.5 E
-(ariable.)-.25 E F1 -.3(BA)108 360 S(SH_SUBSHELL).3 E F0 .401
-(Incremented by one each time a subshell or subshell en)144 372 R .401
+ents in the)-.25 F F1(FUNCN)144 372 Q(AME)-.2 E F0(array v)2.5 E
+(ariable.)-.25 E F1 -.3(BA)108 384 S(SH_SUBSHELL).3 E F0 .401
+(Incremented by one each time a subshell or subshell en)144 396 R .401
(vironment is spa)-.4 F 2.902(wned. The)-.15 F .402(initial v)2.902 F
-.402(alue is)-.25 F(0.)144 384 Q F1 -.3(BA)108 396 S(SH_VERSINFO).3 E F0
-2.645(Ar)144 408 S .145(eadonly array v)-2.645 F .144
+.402(alue is)-.25 F(0.)144 408 Q F1 -.3(BA)108 420 S(SH_VERSINFO).3 E F0
+2.645(Ar)144 432 S .145(eadonly array v)-2.645 F .144
(ariable whose members hold v)-.25 F .144
(ersion information for this instance of)-.15 F F1(bash)2.644 E F0 5.144
-(.T)C(he)-5.144 E -.25(va)144 420 S
+(.T)C(he)-5.144 E -.25(va)144 444 S
(lues assigned to the array members are as follo).25 E(ws:)-.25 E F1 -.3
-(BA)144 438 S(SH_VERSINFO[).3 E F0(0)A F1(])A F0(The major v)24.74 E
+(BA)144 462 S(SH_VERSINFO[).3 E F0(0)A F1(])A F0(The major v)24.74 E
(ersion number \(the)-.15 E F2 -.37(re)2.5 G(lease).37 E F0(\).)A F1 -.3
-(BA)144 450 S(SH_VERSINFO[).3 E F0(1)A F1(])A F0(The minor v)24.74 E
+(BA)144 474 S(SH_VERSINFO[).3 E F0(1)A F1(])A F0(The minor v)24.74 E
(ersion number \(the)-.15 E F2(ver)2.5 E(sion)-.1 E F0(\).)A F1 -.3(BA)
-144 462 S(SH_VERSINFO[).3 E F0(2)A F1(])A F0(The patch le)24.74 E -.15
-(ve)-.25 G(l.).15 E F1 -.3(BA)144 474 S(SH_VERSINFO[).3 E F0(3)A F1(])A
-F0(The b)24.74 E(uild v)-.2 E(ersion.)-.15 E F1 -.3(BA)144 486 S
+144 486 S(SH_VERSINFO[).3 E F0(2)A F1(])A F0(The patch le)24.74 E -.15
+(ve)-.25 G(l.).15 E F1 -.3(BA)144 498 S(SH_VERSINFO[).3 E F0(3)A F1(])A
+F0(The b)24.74 E(uild v)-.2 E(ersion.)-.15 E F1 -.3(BA)144 510 S
(SH_VERSINFO[).3 E F0(4)A F1(])A F0(The release status \(e.g.,)24.74 E
-F2(beta1)2.5 E F0(\).)A F1 -.3(BA)144 498 S(SH_VERSINFO[).3 E F0(5)A F1
+F2(beta1)2.5 E F0(\).)A F1 -.3(BA)144 522 S(SH_VERSINFO[).3 E F0(5)A F1
(])A F0(The v)24.74 E(alue of)-.25 E F1(MA)2.5 E(CHTYPE)-.55 E F0(.)A F1
--.3(BA)108 514.8 S(SH_VERSION).3 E F0
-(Expands to a string describing the v)144 526.8 Q
+-.3(BA)108 538.8 S(SH_VERSION).3 E F0
+(Expands to a string describing the v)144 550.8 Q
(ersion of this instance of)-.15 E F1(bash)2.5 E F0(.)A F1(COMP_CW)108
-543.6 Q(ORD)-.1 E F0 .396(An inde)144 555.6 R 2.896(xi)-.15 G(nto)-2.896
+567.6 Q(ORD)-.1 E F0 .396(An inde)144 579.6 R 2.896(xi)-.15 G(nto)-2.896
E F1(${COMP_W)2.896 E(ORDS})-.1 E F0 .396(of the w)2.896 F .396
(ord containing the current cursor position.)-.1 F .397(This v)5.397 F
-(ari-)-.25 E 1.181(able is a)144 567.6 R -.25(va)-.2 G 1.181
+(ari-)-.25 E 1.181(able is a)144 591.6 R -.25(va)-.2 G 1.181
(ilable only in shell functions in).25 F -.2(vo)-.4 G -.1(ke).2 G 3.681
(db).1 G 3.681(yt)-3.681 G 1.18(he programmable completion f)-3.681 F
-1.18(acilities \(see)-.1 F F1(Pr)144 579.6 Q(ogrammable Completion)-.18
-E F0(belo)2.5 E(w\).)-.25 E F1(COMP_LINE)108 596.4 Q F0 1.207
-(The current command line.)144 608.4 R 1.208(This v)6.208 F 1.208
+1.18(acilities \(see)-.1 F F1(Pr)144 603.6 Q(ogrammable Completion)-.18
+E F0(belo)2.5 E(w\).)-.25 E F1(COMP_LINE)108 620.4 Q F0 1.207
+(The current command line.)144 632.4 R 1.208(This v)6.208 F 1.208
(ariable is a)-.25 F -.25(va)-.2 G 1.208
(ilable only in shell functions and e).25 F 1.208(xternal com-)-.15 F
-2.849(mands in)144 620.4 R -.2(vo)-.4 G -.1(ke).2 G 5.349(db).1 G 5.349
+2.849(mands in)144 644.4 R -.2(vo)-.4 G -.1(ke).2 G 5.349(db).1 G 5.349
(yt)-5.349 G 2.849(he programmable completion f)-5.349 F 2.849
(acilities \(see)-.1 F F1(Pr)5.349 E 2.848(ogrammable Completion)-.18 F
-F0(belo)144 632.4 Q(w\).)-.25 E F1(COMP_POINT)108 649.2 Q F0 .666
-(The inde)144 661.2 R 3.166(xo)-.15 G 3.166(ft)-3.166 G .666
+F0(belo)144 656.4 Q(w\).)-.25 E F1(COMP_POINT)108 673.2 Q F0 .666
+(The inde)144 685.2 R 3.166(xo)-.15 G 3.166(ft)-3.166 G .666
(he current cursor position relati)-3.166 F .966 -.15(ve t)-.25 H 3.166
(ot).15 G .666(he be)-3.166 F .666(ginning of the current command.)-.15
F .667(If the)5.667 F .535
(current cursor position is at the end of the current command, the v)144
-673.2 R .534(alue of this v)-.25 F .534(ariable is equal to)-.25 F F1
-(${#COMP_LINE})144 685.2 Q F0 7.005(.T)C 2.005(his v)-7.005 F 2.005
+697.2 R .534(alue of this v)-.25 F .534(ariable is equal to)-.25 F F1
+(${#COMP_LINE})144 709.2 Q F0 7.005(.T)C 2.005(his v)-7.005 F 2.005
(ariable is a)-.25 F -.25(va)-.2 G 2.006
(ilable only in shell functions and e).25 F 2.006(xternal commands)-.15
-F(in)144 697.2 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(db).1 G 2.5(yt)-2.5 G
+F(in)144 721.2 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(db).1 G 2.5(yt)-2.5 G
(he programmable completion f)-2.5 E(acilities \(see)-.1 E F1(Pr)2.5 E
(ogrammable Completion)-.18 E F0(belo)2.5 E(w\).)-.25 E(GNU Bash-3.1-de)
-72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(9)204 E 0
+72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(9)204 E 0
Cg EP
%%Page: 10 11
%%BeginPageSetup
(gument processed by the)-.18 F F1(getopts)4.127 E F0 -.2(bu)4.127 G
1.626(iltin command \(see).2 F F2(SHELL)4.126 E -.09(BU)144 705.6 S(IL)
.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E(GNU Bash-3.1-de)72
-768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(10)199 E 0 Cg
+768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(10)199 E 0 Cg
EP
%%Page: 11 12
%%BeginPageSetup
(in)144 705.6 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(db).1 G 2.5(yt)-2.5 G
(he programmable completion f)-2.5 E(acility \(see)-.1 E F1(Pr)2.5 E
(ogrammable Completion)-.18 E F0(belo)2.5 E(w\).)-.25 E(GNU Bash-3.1-de)
-72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(11)199 E 0
+72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(11)199 E 0
Cg EP
%%Page: 12 13
%%BeginPageSetup
(adds the contents of the ne)3.215 F 3.215<778c>-.25 G .715(le to the e)
-3.215 F .715(xisting list.)-.15 F(If)5.716 E F3(HOSTFILE)3.216 E F0
.716(is set, b)2.966 F .716(ut has no v)-.2 F(alue,)-.25 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(12)199 E 0 Cg EP
%%Page: 13 14
%%BeginPageSetup
31.329(.A)C 26.328(common v)-2.501 F 26.328(alue is)-.25 F/F4 10
/Courier@0 SF(/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin)144 720
Q F0(.)A(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G
-(005 Feb 11)-124.42 E(13)199 E 0 Cg EP
+(005 Feb 19)-124.42 E(13)199 E 0 Cg EP
%%Page: 14 15
%%BeginPageSetup
BP
.833(job identi\214er \(see)5.833 F F4 .834(JOB CONTR)3.334 F(OL)-.27 E
F0(belo)3.084 E 3.334(w\). If)-.25 F .834(set to an)3.334 F 3.334(yo)
-.15 G .834(ther v)-3.334 F .834(alue, the supplied string)-.25 F
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(14)199 E 0 Cg EP
%%Page: 15 16
%%BeginPageSetup
.47(ariable and arithmetic e)-3.221 F(xpansion)-.15 E
(and command substitution \(done in a left-to-right f)108 715.2 Q
(ashion\), w)-.1 E(ord splitting, and pathname e)-.1 E(xpansion.)-.15 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(15)199 E 0 Cg EP
%%Page: 16 17
%%BeginPageSetup
108 712.8 Q(If the login name is in)108 729.6 Q -.25(va)-.4 G
(lid, or the tilde e).25 E(xpansion f)-.15 E(ails, the w)-.1 E
(ord is unchanged.)-.1 E(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42
-(l2).15 G(005 Feb 11)-124.42 E(16)199 E 0 Cg EP
+(l2).15 G(005 Feb 19)-124.42 E(16)199 E 0 Cg EP
%%Page: 17 18
%%BeginPageSetup
BP
(inde)3.141 E .641(xing is zero-based unless the)-.15 F
(positional parameters are used, in which case the inde)144 712.8 Q
(xing starts at 1.)-.15 E(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42
-(l2).15 G(005 Feb 11)-124.42 E(17)199 E 0 Cg EP
+(l2).15 G(005 Feb 19)-124.42 E(17)199 E 0 Cg EP
%%Page: 18 19
%%BeginPageSetup
BP
(dard output of the command, with an)108 727.2 R 3.268(yt)-.15 G .768
(railing ne)-3.268 F .768(wlines deleted.)-.25 F .768(Embedded ne)5.768
F .768(wlines are not deleted, b)-.25 F(ut)-.2 E(GNU Bash-3.1-de)72 768
-Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(18)199 E 0 Cg EP
+Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(18)199 E 0 Cg EP
%%Page: 19 20
%%BeginPageSetup
BP
2.065(is printed and the command is not e)108 727.2 R -.15(xe)-.15 G
4.565(cuted. If).15 F 2.065(the shell option)4.565 F F1(nocaseglob)4.565
E F0 2.066(is enabled, the match is)4.566 F(GNU Bash-3.1-de)72 768 Q
--.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(19)199 E 0 Cg EP
+-.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(19)199 E 0 Cg EP
%%Page: 20 21
%%BeginPageSetup
BP
2.5(np).15 G(atterns)-2.5 E F1(@\()144 694.8 Q F3(pattern-list).833 E F1
(\)).833 E F0(Matches one of the gi)180 706.8 Q -.15(ve)-.25 G 2.5(np)
.15 G(atterns)-2.5 E(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2)
-.15 G(005 Feb 11)-124.42 E(20)199 E 0 Cg EP
+.15 G(005 Feb 19)-124.42 E(20)199 E 0 Cg EP
%%Page: 21 22
%%BeginPageSetup
BP
(is not speci\214ed.)2.74 E
(The general format for redirecting input is:)108 696 Q([)144 712.8 Q F2
(n)A F0(])A F1(<)A F2(wor)A(d)-.37 E F0(GNU Bash-3.1-de)72 768 Q -.15
-(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(21)199 E 0 Cg EP
+(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(21)199 E 0 Cg EP
%%Page: 22 23
%%BeginPageSetup
BP
(<<<)144 679.2 Q F2(wor)A(d)-.37 E F0(The)108 696 Q F2(wor)2.5 E(d)-.37
E F0(is e)2.5 E
(xpanded and supplied to the command on its standard input.)-.15 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(22)199 E 0 Cg EP
%%Page: 23 24
%%BeginPageSetup
(another command does not tak)108 727.2 R 3.662(ee)-.1 G -.25(ff)-3.662
G 1.162(ect until the ne).25 F 1.162(xt line of input is read.)-.15 F
1.162(The commands follo)6.162 F 1.162(wing the)-.25 F(GNU Bash-3.1-de)
-72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(23)199 E 0
+72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(23)199 E 0
Cg EP
%%Page: 24 25
%%BeginPageSetup
674.4 S F0(addition, subtraction)19.6 E F1(<< >>)108 686.4 Q F0
(left and right bitwise shifts)10.7 E F1(<= >= < >)108 698.4 Q F0
(comparison)144 710.4 Q(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42
-(l2).15 G(005 Feb 11)-124.42 E(24)199 E 0 Cg EP
+(l2).15 G(005 Feb 19)-124.42 E(24)199 E 0 Cg EP
%%Page: 25 26
%%BeginPageSetup
BP
(ex)2.5 G(ists and its set-user).15 E(-id bit is set.)-.2 E F1<ad77>108
708 Q F2(\214le)2.5 E F0 -.35(Tr)8.36 G(ue if).35 E F2(\214le)2.5 E F0
-.15(ex)2.5 G(ists and is writable.).15 E(GNU Bash-3.1-de)72 768 Q -.15
-(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(25)199 E 0 Cg EP
+(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(25)199 E 0 Cg EP
%%Page: 26 27
%%BeginPageSetup
BP
.149(ut do not af)-.2 F .149(fect the current shell en)-.25 F 2.649
(vironment. A)-.4 F(redirection error causes the command to e)108 729.6
Q(xit with a non-zero status.)-.15 E(GNU Bash-3.1-de)72 768 Q -.15(ve)
--.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(26)199 E 0 Cg EP
+-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(26)199 E 0 Cg EP
%%Page: 27 28
%%BeginPageSetup
BP
(vironment that consists of the follo)-.4 F 2.634(wing. Unless)-.25 F
.133(otherwise noted, the v)2.634 F .133(alues are inherited from)-.25 F
(the shell.)108 710.4 Q(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42
-(l2).15 G(005 Feb 11)-124.42 E(27)199 E 0 Cg EP
+(l2).15 G(005 Feb 19)-124.42 E(27)199 E 0 Cg EP
%%Page: 28 29
%%BeginPageSetup
BP
(cuted, unless a syntax error occurs, in which case).15 F(it e)108 705.6
Q(xits with a non-zero v)-.15 E 2.5(alue. See)-.25 F(also the)2.5 E F1
(exit)2.5 E F0 -.2(bu)2.5 G(iltin command belo).2 E -.65(w.)-.25 G
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(28)199 E 0 Cg EP
%%Page: 29 30
%%BeginPageSetup
724.8 R F2(bash)2.88 E F0 .38(reports an error)2.88 F 5.38(.U)-.55 G
(sing)-5.38 E F2(%?ce)2.88 E F0 2.88(,o)C 2.88(nt)-2.88 G .38
(he other hand, refers to an)-2.88 F 2.88(yj)-.15 G(ob)-2.88 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(29)199 E 0 Cg EP
%%Page: 30 31
%%BeginPageSetup
(end a sequence of non-printing characters)29.89 E .119
(The command number and the history number are usually dif)108 720 R .12
(ferent: the history number of a command is its)-.25 F(GNU Bash-3.1-de)
-72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(30)199 E 0
+72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(30)199 E 0
Cg EP
%%Page: 31 32
%%BeginPageSetup
E F4(macr)4.042 E(o)-.45 E F0(,)A F4 -.1(ke)4.042 G(yname)-.2 E F0 1.542
(is the name of a k)4.222 F 1.841 -.15(ey s)-.1 H 1.541(pelled out in)
.15 F 2.5(English. F)108 717.6 R(or e)-.15 E(xample:)-.15 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(31)199 E 0 Cg EP
%%Page: 32 33
%%BeginPageSetup
(va)-.2 G 3.44(ilable. If).25 F .94(set to)3.44 F F2(audible)3.44 E F0
(,)A(readline attempts to ring the terminal')144 724.8 Q 2.5(sb)-.55 G
(ell.)-2.5 E(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G
-(005 Feb 11)-124.42 E(32)199 E 0 Cg EP
+(005 Feb 19)-124.42 E(32)199 E 0 Cg EP
%%Page: 33 34
%%BeginPageSetup
BP
708 Q F1(On)2.5 E F0 2.5(,h)C(istory lines that ha)-2.5 E .3 -.15(ve b)
-.2 H(een modi\214ed are displayed with a preceding asterisk \().15 E F1
(*)A F0(\).)A(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G
-(005 Feb 11)-124.42 E(33)199 E 0 Cg EP
+(005 Feb 19)-124.42 E(33)199 E 0 Cg EP
%%Page: 34 35
%%BeginPageSetup
BP
(ey s)-.1 H .397(equence that quotes the).15 F(current or pre)180 684 Q
(vious w)-.25 E(ord in Bash:)-.1 E F1($if)180 708 Q F0(Bash)2.5 E 2.5
(#Q)180 720 S(uote the current or pre)-2.5 E(vious w)-.25 E(ord)-.1 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(34)199 E 0 Cg EP
%%Page: 35 36
%%BeginPageSetup
(ack to the start of the current or pre).15 F 1.41(vious w)-.25 F 3.91
(ord. W)-.1 F 1.41(ords are composed of alphanumeric)-.8 F
(characters \(letters and digits\).)144 696 Q(GNU Bash-3.1-de)72 768 Q
--.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(35)199 E 0 Cg EP
+-.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(35)199 E 0 Cg EP
%%Page: 36 37
%%BeginPageSetup
BP
(See)5.939 E F2(HIST)3.439 E(OR)-.162 E 3.189(YE)-.315 G(XP)-3.189 E
(ANSION)-.666 E F0(belo)3.189 E 3.439(wf)-.25 G .939(or a descrip-)
-3.439 F(tion of history e)144 724.8 Q(xpansion.)-.15 E(GNU Bash-3.1-de)
-72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(36)199 E 0
+72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(36)199 E 0
Cg EP
%%Page: 37 38
%%BeginPageSetup
(mode. In)144 724.8 R -.15(ove)3.968 G 1.468
(rwrite mode, characters bound to).15 F F1(self\255insert)3.969 E F0
1.469(replace the te)3.969 F 1.469(xt at point rather than)-.15 F
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(37)199 E 0 Cg EP
%%Page: 38 39
%%BeginPageSetup
.378(gument count)-.18 F(four)144 681.6 Q 2.5(,as)-.4 G(econd time mak)
-2.5 E(es the ar)-.1 E(gument count sixteen, and so on.)-.18 E F1
(Completing)87 698.4 Q F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42
-(l2).15 G(005 Feb 11)-124.42 E(38)199 E 0 Cg EP
+(l2).15 G(005 Feb 19)-124.42 E(38)199 E 0 Cg EP
%%Page: 39 40
%%BeginPageSetup
BP
.833 E F0(Be)144 700.8 Q(gin sa)-.15 E
(ving the characters typed into the current k)-.2 E -.15(ey)-.1 G
(board macro.).15 E(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2)
-.15 G(005 Feb 11)-124.42 E(39)199 E 0 Cg EP
+.15 G(005 Feb 19)-124.42 E(39)199 E 0 Cg EP
%%Page: 40 41
%%BeginPageSetup
BP
G .872(umeric ar)-3.372 F .872
(gument is supplied, an asterisk is appended before pathname)-.18 F -.15
(ex)144 724.8 S(pansion.).15 E(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G
-124.42(l2).15 G(005 Feb 11)-124.42 E(40)199 E 0 Cg EP
+124.42(l2).15 G(005 Feb 19)-124.42 E(40)199 E 0 Cg EP
%%Page: 41 42
%%BeginPageSetup
BP
.377(After all of the possible completions are generated, an)108 720 R
2.877<798c>-.15 G .377(lter speci\214ed with the)-2.877 F F1<ad58>2.876
E F0 .376(option is applied to the)2.876 F(GNU Bash-3.1-de)72 768 Q -.15
-(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(41)199 E 0 Cg EP
+(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(41)199 E 0 Cg EP
%%Page: 42 43
%%BeginPageSetup
BP
(option to the)4.514 F F1(set)4.514 E F0 -.2(bu)4.514 G 2.014
(iltin command \(see).2 F F4 2.013(SHELL B)4.513 F(UIL)-.09 E 2.013
(TIN COMMANDS)-.828 F F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42
-(l2).15 G(005 Feb 11)-124.42 E(42)199 E 0 Cg EP
+(l2).15 G(005 Feb 19)-124.42 E(42)199 E 0 Cg EP
%%Page: 43 44
%%BeginPageSetup
BP
F1(n)108.36 691.2 Q F0(The)30.64 E F1(n)2.5 E F0(th w)A(ord.)-.1 E F2(^)
108 703.2 Q F0(The \214rst ar)32.67 E 2.5(gument. That)-.18 F(is, w)2.5
E(ord 1.)-.1 E F2($)108 715.2 Q F0(The last ar)31 E(gument.)-.18 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(43)199 E 0 Cg EP
%%Page: 44 45
%%BeginPageSetup
(alue of the alias is printed.)-.25 F F1(Alias)6.314 E F0 1.314
(returns true unless a)3.814 F F2(name)3.814 E F0 1.314(is gi)3.814 F
-.15(ve)-.25 G 3.814(nf).15 G(or)-3.814 E(GNU Bash-3.1-de)72 768 Q -.15
-(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(44)199 E 0 Cg EP
+(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(44)199 E 0 Cg EP
%%Page: 45 46
%%BeginPageSetup
BP
(de\214nes the search path for the directory containing)144 724.8 R F2
(dir)3.276 E F0 5.776(.A).73 G(lternati)-5.776 E 1.076 -.15(ve d)-.25 H
.776(irectory names in).15 F F4(CDP)3.276 E -.855(AT)-.666 G(H).855 E F0
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(45)199 E 0 Cg EP
%%Page: 46 47
%%BeginPageSetup
(options\) should be quoted to protect them from e)3.223 F(xpan-)-.15 E
(sion before the)144 715.2 Q F2(complete)2.5 E F0 -.2(bu)2.5 G
(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E(GNU Bash-3.1-de)72
-768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(46)199 E 0 Cg
+768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(46)199 E 0 Cg
EP
%%Page: 47 48
%%BeginPageSetup
(May also be speci\214ed as)5 E F1<ad75>2.5 E F0(.)A F1 -.1(va)184 708 S
(riable).1 E F0(Names of all shell v)5.1 E 2.5(ariables. May)-.25 F
(also be speci\214ed as)2.5 E F1<ad76>2.5 E F0(.)A(GNU Bash-3.1-de)72
-768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(47)199 E 0 Cg
+768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(47)199 E 0 Cg
EP
%%Page: 48 49
%%BeginPageSetup
G .8
(lid option is encountered, an attempt is made to de\214ne a function)
.25 F(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G
-(005 Feb 11)-124.42 E(48)199 E 0 Cg EP
+(005 Feb 19)-124.42 E(48)199 E 0 Cg EP
%%Page: 49 50
%%BeginPageSetup
BP
720 R .834(uiltin to be e)-.2 F -.15(xe)-.15 G .834
(cuted without specifying a full pathname, e).15 F -.15(ve)-.25 G 3.333
(nt).15 G(hough)-3.333 E(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42
-(l2).15 G(005 Feb 11)-124.42 E(49)199 E 0 Cg EP
+(l2).15 G(005 Feb 19)-124.42 E(49)199 E 0 Cg EP
%%Page: 50 51
%%BeginPageSetup
BP
(ariable is set,)-.25 F F2(vi)5.116 E F0 .95(is used.)5.116 F .951
(When editing is complete, the edited commands are echoed and)5.95 F
-.15(exe)144 708 S(cuted.).15 E(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G
-124.42(l2).15 G(005 Feb 11)-124.42 E(50)199 E 0 Cg EP
+124.42(l2).15 G(005 Feb 19)-124.42 E(50)199 E 0 Cg EP
%%Page: 51 52
%%BeginPageSetup
BP
(If the)144 722.4 R F3<ad74>4.206 E F0 1.706
(option is supplied, the full pathname to which each)4.206 F F1(name)
4.206 E F0 1.707(corresponds is printed.)4.207 F(If)6.707 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(51)199 E 0 Cg EP
%%Page: 52 53
%%BeginPageSetup
2.067(replaces an)4.567 F(y)-.15 E F1(jobspec)6.307 E F0 2.067(found in)
4.877 F F1(command)4.767 E F0(or)5.337 E F1(ar)4.897 E(gs)-.37 E F0
2.066(with the)4.836 F(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42
-(l2).15 G(005 Feb 11)-124.42 E(52)199 E 0 Cg EP
+(l2).15 G(005 Feb 19)-124.42 E(52)199 E 0 Cg EP
%%Page: 53 54
%%BeginPageSetup
BP
.15 G 2.533(faz)-2.533 G .033(ero v)-2.533 F .033(alue or null string,)
-.25 F(as appropriate, had been supplied.)144 693.6 Q(The return v)5 E
(alue is zero on success, non-zero on f)-.25 E(ailure.)-.1 E
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(53)199 E 0 Cg EP
%%Page: 54 55
%%BeginPageSetup
(ead is assigned to the variable)-.18 F/F6 9/Palatino-Bold@0 SF(REPL)
2.836 E(Y)-.828 E/F7 9/Palatino-Roman@0 SF(.)A F4 .336(The r)4.836 F
.336(eturn code)-.18 F F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42
-(l2).15 G(005 Feb 11)-124.42 E(54)199 E 0 Cg EP
+(l2).15 G(005 Feb 19)-124.42 E(54)199 E 0 Cg EP
%%Page: 55 56
%%BeginPageSetup
BP
-.18 E F2<ad6f>144 662.4 Q F3(option\255name)2.5 E F1(The)184 674.4 Q F3
(option\255name)2.5 E F1(can be one of the following:)2.5 E F2
(allexport)184 686.4 Q F1(Same as)224 698.4 Q F2<ad61>2.5 E F1(.)A F0
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(55)199 E 0 Cg EP
%%Page: 56 57
%%BeginPageSetup
(fective)-.18 E .752(user id is not r)184 726 R 3.252(eset. T)-.18 F
.752(urning this option of)-.9 F 3.252(fc)-.18 G .752(auses the ef)
-3.252 F .753(fective user and gr)-.18 F(oup)-.18 E F0(GNU Bash-3.1-de)
-72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(56)199 E 0
+72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(56)199 E 0
Cg EP
%%Page: 57 58
%%BeginPageSetup
(re)180 710.4 S(turn status is zer).18 E 2.5(oi)-.18 G 2.5(fa)-2.5 G(ll)
-2.5 E F3(optnames)2.5 E F1(ar)2.5 E 2.5(ee)-.18 G(nabled; non-zer)-2.5
E 2.5(oo)-.18 G(therwise.)-2.5 E F0(GNU Bash-3.1-de)72 768 Q -.15(ve)
--.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(57)199 E 0 Cg EP
+-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(57)199 E 0 Cg EP
%%Page: 58 59
%%BeginPageSetup
BP
(outine \(a shell function or a shell script exe-)-.18 F(cuted by the)
220 644.4 Q F1(.)2.5 E F2(or)2.5 E F1(source)2.5 E F2
(builtins\), a call to)2.5 E F1(return)2.5 E F2(is simulated.)2.5 E F1
-(extglob)144 656.4 Q F2 .432
-(If set, the extended pattern matching featur)6.11 F .432
-(es described above under)-.18 F F1(Pathname)2.932 E(Expansion)184 668.4
-Q F2(ar)2.5 E 2.5(ee)-.18 G(nabled.)-2.5 E F1(extquote)144 680.4 Q F2
-.143(If set,)184 692.4 R F1($)2.643 E F2(')A F3(string)A F2 2.643('a)C
-(nd)-2.643 E F1($)2.643 E F2(")A F3(string)A F2 2.643("q)C .143
-(uoting is performed within)-2.643 F F1(${)2.643 E F3(parameter)A F1(})A
-F2(expansions)2.643 E(enclosed in double quotes.)184 704.4 Q
-(This option is enabled by default.)5 E F0(GNU Bash-3.1-de)72 768 Q -.15
-(ve)-.25 G 124.42(l2).15 G(005 Feb 11)-124.42 E(58)199 E 0 Cg EP
+26(4. BASH_ARGC)184 656.4 R F2(and)5.149 E F1(BASH_ARGV)5.149 E F2(ar)
+5.149 E 5.149(eu)-.18 G 2.649(pdated as described in their)-5.149 F
+(descriptions above.)220 668.4 Q F1(5.)184 680.4 Q F2 .163
+(Function tracing is enabled:)28.5 F .164
+(command substitution, shell functions, and)5.164 F 1.112
+(subshells invoked with)220 692.4 R F1(\()3.612 E F3(command)3.612 E F1
+(\))3.612 E F2 1.112(inherit the)3.612 F F1(DEBUG)3.612 E F2(and)3.612 E
+F1(RETURN)3.612 E F2(traps.)220 704.4 Q F1(6.)184 716.4 Q F2(Err)28.5 E
+2.171(or tracing is enabled:)-.18 F 2.171
+(command substitution, shell functions, and)7.171 F
+(subshells invoked with)220 728.4 Q F1(\()2.5 E F3(command)2.5 E F1(\))
+2.5 E F2(inherit the)2.5 E F1(ERROR)2.5 E F2(trap.)2.5 E F0
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
+-124.42 E(58)199 E 0 Cg EP
%%Page: 59 60
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E/F1 10/Palatino-Bold@0 SF(failglob)144 84 Q/F2 10/Palatino-Roman@0
-SF .507(If set, patterns which fail to match \214lenames during pathnam\
-e expansion r)184 96 R(esult)-.18 E(in an expansion err)184 108 Q(or)
--.18 E(.)-.74 E F1(force_\214gnore)144 120 Q F2 1.118(If set, the suf)
-184 132 R 1.118(\214xes speci\214ed by the)-.18 F F1(FIGNORE)3.618 E F2
-1.119(shell variable cause wor)3.619 F 1.119(ds to be)-.18 F(ignor)184
-144 Q 1.291(ed when performing wor)-.18 F 3.791(dc)-.18 G 1.291
+-.35 E/F1 10/Palatino-Bold@0 SF(extglob)144 84 Q/F2 10/Palatino-Roman@0
+SF .432(If set, the extended pattern matching featur)6.11 F .432
+(es described above under)-.18 F F1(Pathname)2.932 E(Expansion)184 96 Q
+F2(ar)2.5 E 2.5(ee)-.18 G(nabled.)-2.5 E F1(extquote)144 108 Q F2 .143
+(If set,)184 120 R F1($)2.643 E F2(')A/F3 10/Palatino-Italic@0 SF
+(string)A F2 2.643('a)C(nd)-2.643 E F1($)2.643 E F2(")A F3(string)A F2
+2.643("q)C .143(uoting is performed within)-2.643 F F1(${)2.643 E F3
+(parameter)A F1(})A F2(expansions)2.643 E(enclosed in double quotes.)184
+132 Q(This option is enabled by default.)5 E F1(failglob)144 144 Q F2
+.507(If set, patterns which fail to match \214lenames during pathname e\
+xpansion r)184 156 R(esult)-.18 E(in an expansion err)184 168 Q(or)-.18
+E(.)-.74 E F1(force_\214gnore)144 180 Q F2 1.118(If set, the suf)184 192
+R 1.118(\214xes speci\214ed by the)-.18 F F1(FIGNORE)3.618 E F2 1.119
+(shell variable cause wor)3.619 F 1.119(ds to be)-.18 F(ignor)184 204 Q
+1.291(ed when performing wor)-.18 F 3.791(dc)-.18 G 1.291
(ompletion even if the ignor)-3.791 F 1.291(ed wor)-.18 F 1.291(ds ar)
--.18 F 3.79(et)-.18 G(he)-3.79 E 1.7(only possible completions.)184 156
-R(See)6.7 E/F3 9/Palatino-Bold@0 SF 1.7(SHELL V)4.2 F(ARIABLES)-1.161 E
-F2 1.701(above for a description of)3.95 F F1(FIGNORE)184 168 Q F2 5(.T)
-C(his option is enabled by default.)-5 E F1(gnu_errfmt)144 180 Q F2 .843
-(If set, shell err)184 192 R .843(or messages ar)-.18 F 3.342(ew)-.18 G
+-.18 F 3.79(et)-.18 G(he)-3.79 E 1.7(only possible completions.)184 216
+R(See)6.7 E/F4 9/Palatino-Bold@0 SF 1.7(SHELL V)4.2 F(ARIABLES)-1.161 E
+F2 1.701(above for a description of)3.95 F F1(FIGNORE)184 228 Q F2 5(.T)
+C(his option is enabled by default.)-5 E F1(gnu_errfmt)144 240 Q F2 .843
+(If set, shell err)184 252 R .843(or messages ar)-.18 F 3.342(ew)-.18 G
.842(ritten in the standar)-3.342 F 3.342(dG)-.18 G .842(NU err)-3.342 F
-.842(or message for)-.18 F(-)-.18 E(mat.)184 204 Q F1(histappend)144 216
+.842(or message for)-.18 F(-)-.18 E(mat.)184 264 Q F1(histappend)144 276
Q F2 1.127(If set, the history list is appended to the \214le named by \
-the value of the)184 228 R F1(HIST)3.627 E(-)-.92 E(FILE)184 240 Q F2
+the value of the)184 288 R F1(HIST)3.627 E(-)-.92 E(FILE)184 300 Q F2
(variable when the shell exits, rather than overwriting the \214le.)2.5
-E F1(histreedit)144 252 Q F2 1.381(If set, and)184 264 R F1(readline)
+E F1(histreedit)144 312 Q F2 1.381(If set, and)184 324 R F1(readline)
3.881 E F2 1.381(is being used, a user is given the opportunity to r)
-3.881 F 1.38(e-edit a)-.18 F(failed history substitution.)184 276 Q F1
-(histverify)144 288 Q F2 2.133(If set, and)184 300 R F1(readline)4.633 E
+3.881 F 1.38(e-edit a)-.18 F(failed history substitution.)184 336 Q F1
+(histverify)144 348 Q F2 2.133(If set, and)184 360 R F1(readline)4.633 E
F2 2.133(is being used, the r)4.633 F 2.133
(esults of history substitution ar)-.18 F 4.634(en)-.18 G(ot)-4.634 E
-.383(immediately passed to the shell parser)184 312 R 5.383(.I)-.74 G
+.383(immediately passed to the shell parser)184 372 R 5.383(.I)-.74 G
.382(nstead, the r)-5.383 F .382(esulting line is loaded into)-.18 F
-(the)184 324 Q F1(readline)2.5 E F2(editing buf)2.5 E(fer)-.18 E 2.5(,a)
--.74 G(llowing further modi\214cation.)-2.5 E F1(hostcomplete)144 336 Q
-F2 .647(If set, and)184 348 R F1(readline)3.147 E F2 .648
+(the)184 384 Q F1(readline)2.5 E F2(editing buf)2.5 E(fer)-.18 E 2.5(,a)
+-.74 G(llowing further modi\214cation.)-2.5 E F1(hostcomplete)144 396 Q
+F2 .647(If set, and)184 408 R F1(readline)3.147 E F2 .648
(is being used,)3.147 F F1(bash)3.148 E F2 .648
(will attempt to perform hostname com-)3.148 F .44(pletion when a wor)
-184 360 R 2.939(dc)-.18 G .439(ontaining a)-2.939 F F1(@)2.939 E F2 .439
+184 420 R 2.939(dc)-.18 G .439(ontaining a)-2.939 F F1(@)2.939 E F2 .439
(is being completed \(see)2.939 F F1(Completing)2.939 E F2(under)2.939 E
-F3(READLINE)184 372 Q F2 2.5(above\). This)2.25 F
-(is enabled by default.)2.5 E F1(huponexit)144 384 Q F2(If set,)184 396
-Q F1(bash)2.5 E F2(will send)2.5 E F3(SIGHUP)2.5 E F2
+F4(READLINE)184 432 Q F2 2.5(above\). This)2.25 F
+(is enabled by default.)2.5 E F1(huponexit)144 444 Q F2(If set,)184 456
+Q F1(bash)2.5 E F2(will send)2.5 E F4(SIGHUP)2.5 E F2
(to all jobs when an interactive login shell exits.)2.25 E F1
-(interactive_comments)144 408 Q F2 .26(If set, allow a wor)184 420 R
+(interactive_comments)144 468 Q F2 .26(If set, allow a wor)184 480 R
2.76(db)-.18 G .26(eginning with)-2.76 F F1(#)2.76 E F2 .26
(to cause that wor)2.76 F 2.76(da)-.18 G .26(nd all r)-2.76 F .26
(emaining char)-.18 F(-)-.18 E .512(acters on that line to be ignor)184
-432 R .512(ed in an interactive shell \(see)-.18 F F3(COMMENTS)3.012 E
-F2(above\).)2.762 E(This option is enabled by default.)184 444 Q F1
-(lithist)144 456 Q F2 .513(If set, and the)12.8 F F1(cmdhist)3.013 E F2
+492 R .512(ed in an interactive shell \(see)-.18 F F4(COMMENTS)3.012 E
+F2(above\).)2.762 E(This option is enabled by default.)184 504 Q F1
+(lithist)144 516 Q F2 .513(If set, and the)12.8 F F1(cmdhist)3.013 E F2
.513(option is enabled, multi-line commands ar)3.013 F 3.013(es)-.18 G
.513(aved to the)-3.013 F .643(history with embedded newlines rather th\
-an using semicolon separators wher)184 468 R(e)-.18 E(possible.)184 480
-Q F1(login_shell)144 492 Q F2 2.454
+an using semicolon separators wher)184 528 R(e)-.18 E(possible.)184 540
+Q F1(login_shell)144 552 Q F2 2.454
(The shell sets this option if it is started as a login shell \(see)184
-504 R F3(INVOCA)4.954 E(TION)-.828 E F2 2.5(above\). The)184 516 R
-(value may not be changed.)2.5 E F1(mailwarn)144 528 Q F2 .965
-(If set, and a \214le that)184 540 R F1(bash)3.465 E F2 .964
+564 R F4(INVOCA)4.954 E(TION)-.828 E F2 2.5(above\). The)184 576 R
+(value may not be changed.)2.5 E F1(mailwarn)144 588 Q F2 .965
+(If set, and a \214le that)184 600 R F1(bash)3.465 E F2 .964
(is checking for mail has been accessed since the last)3.464 F 1.647
-(time it was checked, the message `)184 552 R 1.647(`The mail in)-.37 F
-/F4 10/Palatino-Italic@0 SF(mail\214le)4.147 E F2 1.647(has been r)4.147
-F(ead')-.18 E 4.148('i)-.37 G 4.148(sd)-4.148 G(is-)-4.148 E(played.)184
-564 Q F1(no_empty_cmd_completion)144 576 Q F2 .572(If set, and)184 588 R
-F1(readline)3.072 E F2 .572(is being used,)3.072 F F1(bash)3.072 E F2
-.572(will not attempt to sear)3.072 F .572(ch the)-.18 F F1 -.74(PA)
-3.072 G(TH)-.18 E F2(for)3.072 E
+(time it was checked, the message `)184 612 R 1.647(`The mail in)-.37 F
+F3(mail\214le)4.147 E F2 1.647(has been r)4.147 F(ead')-.18 E 4.148('i)
+-.37 G 4.148(sd)-4.148 G(is-)-4.148 E(played.)184 624 Q F1
+(no_empty_cmd_completion)144 636 Q F2 .572(If set, and)184 648 R F1
+(readline)3.072 E F2 .572(is being used,)3.072 F F1(bash)3.072 E F2 .572
+(will not attempt to sear)3.072 F .572(ch the)-.18 F F1 -.74(PA)3.072 G
+(TH)-.18 E F2(for)3.072 E
(possible completions when completion is attempted on an empty line.)184
-600 Q F1(nocaseglob)144 612 Q F2 1.548(If set,)184 624 R F1(bash)4.048 E
+660 Q F1(nocaseglob)144 672 Q F2 1.548(If set,)184 684 R F1(bash)4.048 E
F2 1.548
(matches \214lenames in a case\255insensitive fashion when performing)
-4.048 F(pathname expansion \(see)184 636 Q F1(Pathname Expansion)2.5 E
-F2(above\).)2.5 E F1(nullglob)144 648 Q F2 2.34(If set,)184 660 R F1
-(bash)4.84 E F2 2.34(allows patterns which match no \214les \(see)4.84 F
-F1 2.34(Pathname Expansion)4.84 F F2
-(above\) to expand to a null string, rather than themselves.)184 672 Q
-F1(progcomp)144 684 Q F2 1.198(If set, the pr)184 696 R 1.199
-(ogrammable completion facilities \(see)-.18 F F1 1.199
-(Programmable Completion)3.699 F F2(above\) ar)184 708 Q 2.5(ee)-.18 G
-2.5(nabled. This)-2.5 F(option is enabled by default.)2.5 E F0
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
--124.42 E(59)199 E 0 Cg EP
+4.048 F(pathname expansion \(see)184 696 Q F1(Pathname Expansion)2.5 E
+F2(above\).)2.5 E F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2)
+.15 G(005 Feb 19)-124.42 E(59)199 E 0 Cg EP
%%Page: 60 61
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E/F1 10/Palatino-Bold@0 SF(promptvars)144 84 Q/F2 10
-/Palatino-Roman@0 SF 2.553(If set, pr)184 96 R 2.553(ompt strings under)
--.18 F 2.552(go parameter expansion, command substitution,)-.18 F 1.007
-(arithmetic expansion, and quote r)184 108 R 1.007
+-.35 E/F1 10/Palatino-Bold@0 SF(nocasematch)144 84 Q/F2 10
+/Palatino-Roman@0 SF 2.158(If set,)184 96 R F1(bash)4.658 E F2 2.158
+(matches patterns in a case\255insensitive fashion when performing)4.658
+F(matching while executing)184 108 Q F1(case)2.5 E F2(or)2.5 E F1([[)2.5
+E F2(conditional commands.)2.5 E F1(nullglob)144 120 Q F2 2.34(If set,)
+184 132 R F1(bash)4.84 E F2 2.34
+(allows patterns which match no \214les \(see)4.84 F F1 2.34
+(Pathname Expansion)4.84 F F2
+(above\) to expand to a null string, rather than themselves.)184 144 Q
+F1(progcomp)144 156 Q F2 1.199(If set, the pr)184 168 R 1.199
+(ogrammable completion facilities \(see)-.18 F F1 1.198
+(Programmable Completion)3.698 F F2(above\) ar)184 180 Q 2.5(ee)-.18 G
+2.5(nabled. This)-2.5 F(option is enabled by default.)2.5 E F1
+(promptvars)144 192 Q F2 2.552(If set, pr)184 204 R 2.552
+(ompt strings under)-.18 F 2.553
+(go parameter expansion, command substitution,)-.18 F 1.007
+(arithmetic expansion, and quote r)184 216 R 1.007
(emoval after being expanded as described in)-.18 F/F3 9/Palatino-Bold@0
-SF(PROMPTING)184 120 Q F2 2.5(above. This)2.25 F
-(option is enabled by default.)2.5 E F1(restricted_shell)144 132 Q F2
-1.743(The shell sets this option if it is started in r)184 144 R 1.742
-(estricted mode \(see)-.18 F F3(RESTRICTED)4.242 E(SHELL)184 156 Q F2
-4.862(below\). The)4.612 F 2.362(value may not be changed.)4.862 F 2.362
-(This is not r)7.362 F 2.362(eset when the)-.18 F .294
-(startup \214les ar)184 168 R 2.794(ee)-.18 G .294
+SF(PROMPTING)184 228 Q F2 2.5(above. This)2.25 F
+(option is enabled by default.)2.5 E F1(restricted_shell)144 240 Q F2
+1.743(The shell sets this option if it is started in r)184 252 R 1.743
+(estricted mode \(see)-.18 F F3(RESTRICTED)4.243 E(SHELL)184 264 Q F2
+4.862(below\). The)4.613 F 2.362(value may not be changed.)4.862 F 2.362
+(This is not r)7.362 F 2.362(eset when the)-.18 F .293
+(startup \214les ar)184 276 R 2.794(ee)-.18 G .294
(xecuted, allowing the startup \214les to discover whether or not a)
--2.794 F(shell is r)184 180 Q(estricted.)-.18 E F1(shift_verbose)144 192
-Q F2 .527(If set, the)184 204 R F1(shift)3.028 E F2 .528
+-2.794 F(shell is r)184 288 Q(estricted.)-.18 E F1(shift_verbose)144 300
+Q F2 .528(If set, the)184 312 R F1(shift)3.028 E F2 .528
(builtin prints an err)3.028 F .528
(or message when the shift count exceeds the)-.18 F
-(number of positional parameters.)184 216 Q F1(sourcepath)144 228 Q F2
-.515(If set, the)184 240 R F1(source)3.015 E F2(\()3.014 E F1(.)A F2
+(number of positional parameters.)184 324 Q F1(sourcepath)144 336 Q F2
+.514(If set, the)184 348 R F1(source)3.014 E F2(\()3.014 E F1(.)A F2
3.014(\)b)C .514(uiltin uses the value of)-3.014 F F3 -.666(PA)3.014 G
-(TH)-.162 E F2 .514(to \214nd the dir)2.764 F .514(ectory contain-)-.18
-F(ing the \214le supplied as an ar)184 252 Q 2.5(gument. This)-.18 F
-(option is enabled by default.)2.5 E F1(xpg_echo)144 264 Q F2
-(If set, the)184 276 Q F1(echo)2.5 E F2
+(TH)-.162 E F2 .515(to \214nd the dir)2.764 F .515(ectory contain-)-.18
+F(ing the \214le supplied as an ar)184 360 Q 2.5(gument. This)-.18 F
+(option is enabled by default.)2.5 E F1(xpg_echo)144 372 Q F2
+(If set, the)184 384 Q F1(echo)2.5 E F2
(builtin expands backslash-escape sequences by default.)2.5 E F1
-(suspend)108 288 Q F2([)2.5 E F1<ad66>A F2(])A .048
-(Suspend the execution of this shell until it r)144 300 R .048
+(suspend)108 396 Q F2([)2.5 E F1<ad66>A F2(])A .048
+(Suspend the execution of this shell until it r)144 408 R .048
(eceives a)-.18 F F3(SIGCONT)2.548 E F2 2.548(signal. The)2.298 F F1
-<ad66>2.548 E F2 .048(option says)2.548 F .327
-(not to complain if this is a login shell; just suspend anyway)144 312 R
+<ad66>2.548 E F2 .047(option says)2.547 F .327
+(not to complain if this is a login shell; just suspend anyway)144 420 R
5.327(.T)-1.11 G .327(he r)-5.327 F .327(eturn status is 0 unless)-.18 F
-(the shell is a login shell and)144 324 Q F1<ad66>2.5 E F2
+(the shell is a login shell and)144 432 Q F1<ad66>2.5 E F2
(is not supplied, or if job contr)2.5 E(ol is not enabled.)-.18 E F1
-(test)108 336 Q/F4 10/Palatino-Italic@0 SF(expr)2.5 E F1([)108 348 Q F4
+(test)108 444 Q/F4 10/Palatino-Italic@0 SF(expr)2.5 E F1([)108 456 Q F4
(expr)2.5 E F1(])2.5 E F2 .544(Return a status of 0 or 1 depending on t\
he evaluation of the conditional expr)6.56 F(ession)-.18 E F4(expr)3.044
-E F2(.).45 E .789(Each operator and operand must be a separate ar)144
-360 R 3.288(gument. Expr)-.18 F .788(essions ar)-.18 F 3.288(ec)-.18 G
-.788(omposed of)-3.288 F(the primaries described above under)144 372 Q
+E F2(.).45 E .788(Each operator and operand must be a separate ar)144
+468 R 3.289(gument. Expr)-.18 F .789(essions ar)-.18 F 3.289(ec)-.18 G
+.789(omposed of)-3.289 F(the primaries described above under)144 480 Q
F3(CONDITIONAL EXPRESSIONS)2.5 E/F5 9/Palatino-Roman@0 SF(.)A F2(Expr)
-144 390 Q .054
+144 498 Q .054
(essions may be combined using the following operators, listed in decr)
--.18 F .055(easing or)-.18 F .055(der of)-.18 F(pr)144 402 Q(ecedence.)
--.18 E F1(!)144 414 Q F4(expr)2.5 E F2 -.78 -.9(Tr u)12.94 H 2.5(ei).9 G
-(f)-2.5 E F4(expr)2.85 E F2(is false.)2.95 E F1(\()144 426 Q F4(expr)2.5
+-.18 F .054(easing or)-.18 F .054(der of)-.18 F(pr)144 510 Q(ecedence.)
+-.18 E F1(!)144 522 Q F4(expr)2.5 E F2 -.78 -.9(Tr u)12.94 H 2.5(ei).9 G
+(f)-2.5 E F4(expr)2.85 E F2(is false.)2.95 E F1(\()144 534 Q F4(expr)2.5
E F1(\))2.5 E F2 .847(Returns the value of)6.56 F F4(expr)3.347 E F2
5.847(.T)C .847(his may be used to override the normal pr)-5.847 F
-(ecedence)-.18 E(of operators.)180 438 Q F4(expr1)144 450 Q F2<ad>2.5 E
-F1(a)A F4(expr2)2.5 E F2 -.78 -.9(Tr u)180 462 T 2.5(ei).9 G 2.5(fb)-2.5
+(ecedence)-.18 E(of operators.)180 546 Q F4(expr1)144 558 Q F2<ad>2.5 E
+F1(a)A F4(expr2)2.5 E F2 -.78 -.9(Tr u)180 570 T 2.5(ei).9 G 2.5(fb)-2.5
G(oth)-2.5 E F4(expr1)2.85 E F2(and)2.5 E F4(expr2)2.85 E F2(ar)2.5 E
-2.5(et)-.18 G -.08(ru)-2.5 G(e.).08 E F4(expr1)144 474 Q F2<ad>2.5 E F1
-(o)A F4(expr2)2.5 E F2 -.78 -.9(Tr u)180 486 T 2.5(ei).9 G 2.5(fe)-2.5 G
+2.5(et)-.18 G -.08(ru)-2.5 G(e.).08 E F4(expr1)144 582 Q F2<ad>2.5 E F1
+(o)A F4(expr2)2.5 E F2 -.78 -.9(Tr u)180 594 T 2.5(ei).9 G 2.5(fe)-2.5 G
(ither)-2.5 E F4(expr1)2.85 E F2(or)2.5 E F4(expr2)2.85 E F2(is tr)2.5 E
-(ue.)-.08 E F1(test)144 502.8 Q F2(and)3.576 E F1([)3.576 E F2 1.076
+(ue.)-.08 E F1(test)144 610.8 Q F2(and)3.576 E F1([)3.576 E F2 1.076
(evaluate conditional expr)3.576 F 1.076(essions using a set of r)-.18 F
-1.076(ules based on the number of)-.08 F(ar)144 514.8 Q(guments.)-.18 E
-2.5(0a)144 532.8 S -.18(rg)-2.5 G(uments).18 E(The expr)180 544.8 Q
-(ession is false.)-.18 E 2.5(1a)144 556.8 S -.18(rg)-2.5 G(ument).18 E
-(The expr)180 568.8 Q(ession is tr)-.18 E(ue if and only if the ar)-.08
-E(gument is not null.)-.18 E 2.5(2a)144 580.8 S -.18(rg)-2.5 G(uments)
-.18 E .209(If the \214rst ar)180 592.8 R .208(gument is)-.18 F F1(!)
+1.076(ules based on the number of)-.08 F(ar)144 622.8 Q(guments.)-.18 E
+2.5(0a)144 640.8 S -.18(rg)-2.5 G(uments).18 E(The expr)180 652.8 Q
+(ession is false.)-.18 E 2.5(1a)144 664.8 S -.18(rg)-2.5 G(ument).18 E
+(The expr)180 676.8 Q(ession is tr)-.18 E(ue if and only if the ar)-.08
+E(gument is not null.)-.18 E 2.5(2a)144 688.8 S -.18(rg)-2.5 G(uments)
+.18 E .208(If the \214rst ar)180 700.8 R .208(gument is)-.18 F F1(!)
2.708 E F2 2.708(,t)C .208(he expr)-2.708 F .208(ession is tr)-.18 F
-.208(ue if and only if the second ar)-.08 F(gument)-.18 E 2.143
-(is null.)180 604.8 R 2.144(If the \214rst ar)7.143 F 2.144
-(gument is one of the unary conditional operators listed)-.18 F 1.402
-(above under)180 616.8 R F3 1.401(CONDITIONAL EXPRESSIONS)3.901 F F5(,)A
+.208(ue if and only if the second ar)-.08 F(gument)-.18 E 2.144
+(is null.)180 712.8 R 2.144(If the \214rst ar)7.144 F 2.144
+(gument is one of the unary conditional operators listed)-.18 F 1.401
+(above under)180 724.8 R F3 1.401(CONDITIONAL EXPRESSIONS)3.901 F F5(,)A
F2 1.401(the expr)3.651 F 1.401(ession is tr)-.18 F 1.401
-(ue if the unary)-.08 F 1.355(test is tr)180 628.8 R 3.855(ue. If)-.08 F
-1.356(the \214rst ar)3.855 F 1.356
-(gument is not a valid unary conditional operator)-.18 F 3.856(,t)-.74 G
-(he)-3.856 E(expr)180 640.8 Q(ession is false.)-.18 E 2.5(3a)144 652.8 S
--.18(rg)-2.5 G(uments).18 E 1.5(If the second ar)180 664.8 R 1.499
-(gument is one of the binary conditional operators listed above)-.18 F
-(under)180 676.8 Q F3 .64(CONDITIONAL EXPRESSIONS)3.14 F F5(,)A F2 .64
-(the r)2.89 F .64(esult of the expr)-.18 F .64(ession is the r)-.18 F
-.641(esult of)-.18 F .529(the binary test using the \214rst and thir)180
-688.8 R 3.029(da)-.18 G -.18(rg)-3.029 G .528(uments as operands.).18 F
-.528(If the \214rst ar)5.528 F(gu-)-.18 E .106(ment is)180 700.8 R F1(!)
-2.606 E F2 2.606(,t)C .107(he value is the negation of the two-ar)-2.606
-F .107(gument test using the second and)-.18 F(thir)180 712.8 Q 4.633
-(da)-.18 G -.18(rg)-4.633 G 4.633(uments. If).18 F 2.133(the \214rst ar)
-4.633 F 2.132(gument is exactly)-.18 F F1(\()4.632 E F2 2.132
-(and the thir)4.632 F 4.632(da)-.18 G -.18(rg)-4.632 G 2.132(ument is)
-.18 F(exactly)180 724.8 Q F1(\))2.925 E F2 2.925(,t)C .426(he r)-2.925 F
-.426(esult is the one-ar)-.18 F .426(gument test of the second ar)-.18 F
-2.926(gument. Otherwise,)-.18 F F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25
-G 124.42(l2).15 G(005 Feb 11)-124.42 E(60)199 E 0 Cg EP
+(ue if the unary)-.08 F F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G
+124.42(l2).15 G(005 Feb 19)-124.42 E(60)199 E 0 Cg EP
%%Page: 61 62
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E/F1 10/Palatino-Roman@0 SF .43(the expr)180 84 R .43
-(ession is false.)-.18 F(The)5.43 E/F2 10/Palatino-Bold@0 SF<ad61>2.93 E
-F1(and)2.93 E F2<ad6f>2.93 E F1 .43(operators ar)2.93 F 2.93(ec)-.18 G
-(onsider)-2.93 E .43(ed binary operators)-.18 F(in this case.)180 96 Q
-2.5(4a)144 108 S -.18(rg)-2.5 G(uments).18 E .668(If the \214rst ar)180
-120 R .668(gument is)-.18 F F2(!)3.168 E F1 3.168(,t)C .669(he r)-3.168
-F .669(esult is the negation of the thr)-.18 F(ee-ar)-.18 E .669
-(gument expr)-.18 F(es-)-.18 E .409(sion composed of the r)180 132 R
-.409(emaining ar)-.18 F 2.909(guments. Otherwise,)-.18 F .409(the expr)
-2.909 F .409(ession is parsed)-.18 F(and evaluated accor)180 144 Q
-(ding to pr)-.18 E(ecedence using the r)-.18 E(ules listed above.)-.08 E
-2.5(5o)144 156 S 2.5(rm)-2.5 G(or)-2.5 E 2.5(ea)-.18 G -.18(rg)-2.5 G
-(uments).18 E .781(The expr)180 168 R .782
-(ession is parsed and evaluated accor)-.18 F .782(ding to pr)-.18 F .782
-(ecedence using the r)-.18 F(ules)-.08 E(listed above.)180 180 Q F2
-(times)108 196.8 Q F1 .334
+-.35 E/F1 10/Palatino-Roman@0 SF 1.356(test is tr)180 84 R 3.856(ue. If)
+-.08 F 1.356(the \214rst ar)3.856 F 1.356
+(gument is not a valid unary conditional operator)-.18 F 3.855(,t)-.74 G
+(he)-3.855 E(expr)180 96 Q(ession is false.)-.18 E 2.5(3a)144 108 S -.18
+(rg)-2.5 G(uments).18 E 1.499(If the second ar)180 120 R 1.499
+(gument is one of the binary conditional operators listed above)-.18 F
+(under)180 132 Q/F2 9/Palatino-Bold@0 SF .64(CONDITIONAL EXPRESSIONS)
+3.141 F/F3 9/Palatino-Roman@0 SF(,)A F1 .64(the r)2.89 F .64
+(esult of the expr)-.18 F .64(ession is the r)-.18 F .64(esult of)-.18 F
+.528(the binary test using the \214rst and thir)180 144 R 3.029(da)-.18
+G -.18(rg)-3.029 G .529(uments as operands.).18 F .529
+(If the \214rst ar)5.529 F(gu-)-.18 E .107(ment is)180 156 R/F4 10
+/Palatino-Bold@0 SF(!)2.607 E F1 2.607(,t)C .107
+(he value is the negation of the two-ar)-2.607 F .106
+(gument test using the second and)-.18 F(thir)180 168 Q 4.632(da)-.18 G
+-.18(rg)-4.632 G 4.632(uments. If).18 F 2.132(the \214rst ar)4.632 F
+2.132(gument is exactly)-.18 F F4(\()4.632 E F1 2.133(and the thir)4.632
+F 4.633(da)-.18 G -.18(rg)-4.633 G 2.133(ument is).18 F(exactly)180 180
+Q F4(\))2.926 E F1 2.926(,t)C .426(he r)-2.926 F .426
+(esult is the one-ar)-.18 F .426(gument test of the second ar)-.18 F
+2.925(gument. Otherwise,)-.18 F .43(the expr)180 192 R .43
+(ession is false.)-.18 F(The)5.43 E F4<ad61>2.93 E F1(and)2.93 E F4
+<ad6f>2.93 E F1 .43(operators ar)2.93 F 2.93(ec)-.18 G(onsider)-2.93 E
+.43(ed binary operators)-.18 F(in this case.)180 204 Q 2.5(4a)144 216 S
+-.18(rg)-2.5 G(uments).18 E .669(If the \214rst ar)180 228 R .669
+(gument is)-.18 F F4(!)3.169 E F1 3.169(,t)C .669(he r)-3.169 F .668
+(esult is the negation of the thr)-.18 F(ee-ar)-.18 E .668(gument expr)
+-.18 F(es-)-.18 E .409(sion composed of the r)180 240 R .409
+(emaining ar)-.18 F 2.909(guments. Otherwise,)-.18 F .409(the expr)2.909
+F .409(ession is parsed)-.18 F(and evaluated accor)180 252 Q(ding to pr)
+-.18 E(ecedence using the r)-.18 E(ules listed above.)-.08 E 2.5(5o)144
+264 S 2.5(rm)-2.5 G(or)-2.5 E 2.5(ea)-.18 G -.18(rg)-2.5 G(uments).18 E
+.782(The expr)180 276 R .782(ession is parsed and evaluated accor)-.18 F
+.782(ding to pr)-.18 F .781(ecedence using the r)-.18 F(ules)-.08 E
+(listed above.)180 288 Q F4(times)108 304.8 Q F1 .334
(Print the accumulated user and system times for the shell and for pr)
11.01 F .334(ocesses r)-.18 F .334(un fr)-.08 F .334(om the)-.18 F 2.5
-(shell. The)144 208.8 R -.18(re)2.5 G(turn status is 0.).18 E F2(trap)
-108 225.6 Q F1([)2.5 E F2(\255lp)A F1 2.5(][)C([)-2.5 E/F3 10
-/Palatino-Italic@0 SF(ar)A(g)-.18 E F1(])A F3(sigspec)2.5 E F1(...])2.5
-E .563(The command)144 237.6 R F3(ar)3.523 E(g)-.18 E F1 .563
-(is to be r)3.543 F .563(ead and executed when the shell r)-.18 F .564
-(eceives signal\(s\))-.18 F F3(sigspec)3.064 E F1 5.564(.I).32 G(f)
--5.564 E F3(ar)144.46 249.6 Q(g)-.18 E F1 .153(is absent \(and ther)
-3.133 F 2.653(ei)-.18 G 2.653(sas)-2.653 G(ingle)-2.653 E F3(sigspec)
-2.653 E F1 2.653(\)o)C(r)-2.653 E F2<ad>2.653 E F1 2.653(,e)C .153
-(ach speci\214ed signal is r)-2.653 F .152(eset to its original)-.18 F
-.069(disposition \(the value it had upon entrance to the shell\).)144
-261.6 R(If)5.069 E F3(ar)3.03 E(g)-.18 E F1 .07
-(is the null string the signal)3.05 F .142(speci\214ed by each)144 273.6
-R F3(sigspec)3.052 E F1 .142(is ignor)2.962 F .142
-(ed by the shell and by the commands it invokes.)-.18 F(If)5.141 E F3
-(ar)3.101 E(g)-.18 E F1(is)3.121 E 1.795(not pr)144 285.6 R 1.795
-(esent and)-.18 F F2<ad70>4.295 E F1 1.796
-(has been supplied, then the trap commands associated with each)4.295 F
-F3(sigspec)144.41 297.6 Q F1(ar)3.218 E 2.898(ed)-.18 G 2.898
-(isplayed. If)-2.898 F .398(no ar)2.898 F .398(guments ar)-.18 F 2.898
-(es)-.18 G .397(upplied or if only)-2.898 F F2<ad70>2.897 E F1 .397
-(is given,)2.897 F F2(trap)2.897 E F1 .397(prints the)2.897 F .035
-(list of commands associated with each signal.)144 309.6 R(The)5.036 E
-F2<ad6c>2.536 E F1 .036(option causes the shell to print a list)2.536 F
-1.095(of signal names and their corr)144 321.6 R 1.095
-(esponding numbers.)-.18 F(Each)6.095 E F3(sigspec)4.005 E F1 1.094
-(is either a signal name)3.914 F .672(de\214ned in <)144 333.6 R F3
+(shell. The)144 316.8 R -.18(re)2.5 G(turn status is 0.).18 E F4(trap)
+108 333.6 Q F1([)2.5 E F4(\255lp)A F1 2.5(][)C([)-2.5 E/F5 10
+/Palatino-Italic@0 SF(ar)A(g)-.18 E F1(])A F5(sigspec)2.5 E F1(...])2.5
+E .564(The command)144 345.6 R F5(ar)3.524 E(g)-.18 E F1 .564
+(is to be r)3.544 F .563(ead and executed when the shell r)-.18 F .563
+(eceives signal\(s\))-.18 F F5(sigspec)3.063 E F1 5.563(.I).32 G(f)
+-5.563 E F5(ar)144.46 357.6 Q(g)-.18 E F1 .152(is absent \(and ther)
+3.132 F 2.653(ei)-.18 G 2.653(sas)-2.653 G(ingle)-2.653 E F5(sigspec)
+2.653 E F1 2.653(\)o)C(r)-2.653 E F4<ad>2.653 E F1 2.653(,e)C .153
+(ach speci\214ed signal is r)-2.653 F .153(eset to its original)-.18 F
+.07(disposition \(the value it had upon entrance to the shell\).)144
+369.6 R(If)5.069 E F5(ar)3.029 E(g)-.18 E F1 .069
+(is the null string the signal)3.049 F .141(speci\214ed by each)144
+381.6 R F5(sigspec)3.051 E F1 .142(is ignor)2.961 F .142
+(ed by the shell and by the commands it invokes.)-.18 F(If)5.142 E F5
+(ar)3.102 E(g)-.18 E F1(is)3.122 E 1.796(not pr)144 393.6 R 1.796
+(esent and)-.18 F F4<ad70>4.296 E F1 1.795
+(has been supplied, then the trap commands associated with each)4.296 F
+F5(sigspec)144.41 405.6 Q F1(ar)3.217 E 2.897(ed)-.18 G 2.897
+(isplayed. If)-2.897 F .397(no ar)2.897 F .397(guments ar)-.18 F 2.897
+(es)-.18 G .398(upplied or if only)-2.897 F F4<ad70>2.898 E F1 .398
+(is given,)2.898 F F4(trap)2.898 E F1 .398(prints the)2.898 F .036
+(list of commands associated with each signal.)144 417.6 R(The)5.036 E
+F4<ad6c>2.536 E F1 .035(option causes the shell to print a list)2.536 F
+1.094(of signal names and their corr)144 429.6 R 1.095
+(esponding numbers.)-.18 F(Each)6.095 E F5(sigspec)4.005 E F1 1.095
+(is either a signal name)3.915 F .673(de\214ned in <)144 441.6 R F5
(signal.h)A F1 .673(>, or a signal number)B 5.673(.S)-.74 G .673
(ignal names ar)-5.673 F 3.173(ec)-.18 G .673
-(ase insensitive and the SIG)-3.173 F(pr)144 345.6 Q .977
-(e\214x is optional.)-.18 F .976(If a)5.976 F F3(sigspec)3.886 E F1(is)
-3.796 E/F4 9/Palatino-Bold@0 SF(EXIT)3.476 E F1 .976(\(0\) the command)
-3.226 F F3(ar)3.936 E(g)-.18 E F1 .976(is executed on exit fr)3.956 F
-.976(om the)-.18 F 3.404(shell. If)144 357.6 R(a)3.404 E F3(sigspec)
-3.814 E F1(is)3.724 E F4(DEBUG)3.404 E/F5 9/Palatino-Roman@0 SF(,)A F1
-.904(the command)3.154 F F3(ar)3.864 E(g)-.18 E F1 .905
-(is executed befor)3.885 F 3.405(ee)-.18 G(very)-3.405 E F3 .905
-(simple command)3.405 F F1(,)A F3(for)144 369.6 Q F1(command,)3.016 E F3
-(case)3.016 E F1(command,)3.016 E F3(select)3.016 E F1 .515
-(command, every arithmetic)3.016 F F3(for)3.015 E F1 .515
-(command, and befor)3.015 F(e)-.18 E 1.001
-(the \214rst command executes in a shell function \(see)144 381.6 R F4
-1.001(SHELL GRAMMAR)3.501 F F1 3.501(above\). Refer)3.251 F(to)3.501 E
-.679(the description of the)144 393.6 R F2(extdebug)3.178 E F1 .678
-(option to the)3.178 F F2(shopt)3.178 E F1 .678
-(builtin for details of its ef)3.178 F .678(fect on the)-.18 F F2(DEBUG)
-144 405.6 Q F1 3.153(trap. If)3.153 F(a)3.153 E F3(sigspec)3.563 E F1
-(is)3.473 E F4(ERR)3.153 E F5(,)A F1 .653(the command)2.903 F F3(ar)
-3.613 E(g)-.18 E F1 .653(is executed whenever a simple com-)3.633 F .241
-(mand has a non\255zer)144 417.6 R 2.741(oe)-.18 G .24
-(xit status, subject to the following conditions.)-2.741 F(The)5.24 E F4
-(ERR)2.74 E F1 .24(trap is not)2.49 F 1.926(executed if the failed comm\
-and is part of the command list immediately following a)144 429.6 R F2
-(while)144 441.6 Q F1(or)2.552 E F2(until)2.552 E F1(keywor)2.552 E .052
-(d, part of the test in an)-.18 F F3(if)2.712 E F1 .052
-(statement, part of a)4.402 F F2(&&)2.552 E F1(or)2.552 E/F6 10/Symbol
-SF<efef>2.552 E F1 .051(list, or if the)2.552 F .092(command's r)144
-453.6 R .092(eturn value is being inverted via)-.18 F F2(!)2.592 E F1
+(ase insensitive and the SIG)-3.173 F(pr)144 453.6 Q .976
+(e\214x is optional.)-.18 F .976(If a)5.976 F F5(sigspec)3.886 E F1(is)
+3.796 E F2(EXIT)3.476 E F1 .976(\(0\) the command)3.226 F F5(ar)3.936 E
+(g)-.18 E F1 .976(is executed on exit fr)3.956 F .977(om the)-.18 F
+3.405(shell. If)144 465.6 R(a)3.405 E F5(sigspec)3.815 E F1(is)3.725 E
+F2(DEBUG)3.405 E F3(,)A F1 .904(the command)3.155 F F5(ar)3.864 E(g)-.18
+E F1 .904(is executed befor)3.884 F 3.404(ee)-.18 G(very)-3.404 E F5
+.904(simple command)3.404 F F1(,)A F5(for)144 477.6 Q F1(command,)3.015
+E F5(case)3.015 E F1(command,)3.015 E F5(select)3.015 E F1 .515
+(command, every arithmetic)3.015 F F5(for)3.016 E F1 .516
+(command, and befor)3.016 F(e)-.18 E 1.001
+(the \214rst command executes in a shell function \(see)144 489.6 R F2
+1.001(SHELL GRAMMAR)3.501 F F1 3.5(above\). Refer)3.25 F(to)3.5 E .678
+(the description of the)144 501.6 R F4(extdebug)3.178 E F1 .678
+(option to the)3.178 F F4(shopt)3.178 E F1 .678
+(builtin for details of its ef)3.178 F .679(fect on the)-.18 F F4(DEBUG)
+144 513.6 Q F1 3.153(trap. If)3.153 F(a)3.153 E F5(sigspec)3.563 E F1
+(is)3.473 E F2(ERR)3.153 E F3(,)A F1 .653(the command)2.903 F F5(ar)
+3.613 E(g)-.18 E F1 .653(is executed whenever a simple com-)3.633 F .24
+(mand has a non\255zer)144 525.6 R 2.74(oe)-.18 G .24
+(xit status, subject to the following conditions.)-2.74 F(The)5.241 E F2
+(ERR)2.741 E F1 .241(trap is not)2.491 F 1.926(executed if the failed c\
+ommand is part of the command list immediately following a)144 537.6 R
+F4(while)144 549.6 Q F1(or)2.551 E F4(until)2.551 E F1(keywor)2.552 E
+.052(d, part of the test in an)-.18 F F5(if)2.712 E F1 .052
+(statement, part of a)4.402 F F4(&&)2.552 E F1(or)2.552 E/F6 10/Symbol
+SF<efef>2.552 E F1 .052(list, or if the)2.552 F .093(command's r)144
+561.6 R .092(eturn value is being inverted via)-.18 F F4(!)2.592 E F1
5.092(.T)C .092(hese ar)-5.092 F 2.592(et)-.18 G .092
-(he same conditions obeyed by)-2.592 F(the)144 465.6 Q F2(errexit)2.825
-E F1 2.825(option. If)2.825 F(a)2.825 E F3(sigspec)3.235 E F1(is)3.145 E
-F4(RETURN)2.825 E F5(,)A F1 .325(the command)2.575 F F3(ar)3.284 E(g)
--.18 E F1 .324(is executed each time a shell)3.304 F 1.95
-(function or a script executed with the)144 477.6 R F2(.)4.451 E F1(or)
-4.451 E F2(source)4.451 E F1 1.951(builtins \214nishes executing.)4.451
-F(Signals)6.951 E(ignor)144 489.6 Q .847
-(ed upon entry to the shell cannot be trapped or r)-.18 F 3.346(eset. T)
--.18 F .846(rapped signals ar)-.9 F 3.346(er)-.18 G .846(eset to)-3.526
-F .298(their original values in a child pr)144 501.6 R .299
-(ocess when it is cr)-.18 F 2.799(eated. The)-.18 F -.18(re)2.799 G .299
-(turn status is false if any).18 F F3(sigspec)144.41 513.6 Q F1
-(is invalid; otherwise)2.82 E F2(trap)2.5 E F1 -.18(re)2.5 G(turns tr)
-.18 E(ue.)-.08 E F2(type)108 530.4 Q F1([)2.5 E F2(\255aftpP)A F1(])A F3
-(name)2.5 E F1([)2.5 E F3(name)A F1(...])2.5 E -.55(Wi)144 542.4 S 1.476
-(th no options, indicate how each).55 F F3(name)4.236 E F1 1.476
-(would be interpr)4.326 F 1.475(eted if used as a command)-.18 F 2.725
-(name. If)144 554.4 R(the)2.725 E F2<ad74>2.725 E F1 .225
-(option is used,)2.725 F F2(type)2.725 E F1 .225
-(prints a string which is one of)2.725 F F3(alias)2.726 E F1(,).06 E F3
-(keyword)2.726 E F1(,).33 E F3(function)2.726 E F1(,).08 E F3(builtin)
-144 566.4 Q F1 2.556(,o).08 G(r)-2.556 E F3(\214le)4.676 E F1(if)2.906 E
-F3(name)2.816 E F1 .056(is an alias, shell r)2.906 F .056(eserved wor)
--.18 F .055(d, function, builtin, or disk \214le, r)-.18 F(espec-)-.18 E
-(tively)144 578.4 Q 6.634(.I)-1.11 G 4.134(ft)-6.634 G(he)-4.134 E F3
-(name)4.394 E F1 1.635
+(he same conditions obeyed by)-2.592 F(the)144 573.6 Q F4(errexit)2.824
+E F1 2.824(option. If)2.824 F(a)2.824 E F5(sigspec)3.234 E F1(is)3.144 E
+F2(RETURN)2.824 E F3(,)A F1 .325(the command)2.575 F F5(ar)3.285 E(g)
+-.18 E F1 .325(is executed each time a shell)3.305 F 1.951
+(function or a script executed with the)144 585.6 R F4(.)4.451 E F1(or)
+4.451 E F4(source)4.451 E F1 1.95(builtins \214nishes executing.)4.451 F
+(Signals)6.95 E(ignor)144 597.6 Q .846
+(ed upon entry to the shell cannot be trapped or r)-.18 F 3.347(eset. T)
+-.18 F .847(rapped signals ar)-.9 F 3.347(er)-.18 G .847(eset to)-3.527
+F .299(their original values in a child pr)144 609.6 R .299
+(ocess when it is cr)-.18 F 2.799(eated. The)-.18 F -.18(re)2.799 G .298
+(turn status is false if any).18 F F5(sigspec)144.41 621.6 Q F1
+(is invalid; otherwise)2.82 E F4(trap)2.5 E F1 -.18(re)2.5 G(turns tr)
+.18 E(ue.)-.08 E F4(type)108 638.4 Q F1([)2.5 E F4(\255aftpP)A F1(])A F5
+(name)2.5 E F1([)2.5 E F5(name)A F1(...])2.5 E -.55(Wi)144 650.4 S 1.475
+(th no options, indicate how each).55 F F5(name)4.236 E F1 1.476
+(would be interpr)4.326 F 1.476(eted if used as a command)-.18 F 2.726
+(name. If)144 662.4 R(the)2.726 E F4<ad74>2.726 E F1 .226
+(option is used,)2.726 F F4(type)2.725 E F1 .225
+(prints a string which is one of)2.725 F F5(alias)2.725 E F1(,).06 E F5
+(keyword)2.725 E F1(,).33 E F5(function)2.725 E F1(,).08 E F5(builtin)
+144 674.4 Q F1 2.555(,o).08 G(r)-2.555 E F5(\214le)4.675 E F1(if)2.905 E
+F5(name)2.815 E F1 .056(is an alias, shell r)2.905 F .056(eserved wor)
+-.18 F .056(d, function, builtin, or disk \214le, r)-.18 F(espec-)-.18 E
+(tively)144 686.4 Q 6.635(.I)-1.11 G 4.135(ft)-6.635 G(he)-4.135 E F5
+(name)4.395 E F1 1.635
(is not found, then nothing is printed, and an exit status of false is)
-4.484 F -.18(re)144 590.4 S 2.523(turned. If).18 F(the)2.523 E F2<ad70>
-2.523 E F1 .023(option is used,)2.523 F F2(type)2.523 E F1 .023
+4.485 F -.18(re)144 698.4 S 2.522(turned. If).18 F(the)2.523 E F4<ad70>
+2.523 E F1 .023(option is used,)2.523 F F4(type)2.523 E F1 .023
(either r)2.523 F .023(eturns the name of the disk \214le that would)
--.18 F 1.086(be executed if)144 602.4 R F3(name)3.846 E F1(wer)3.936 E
+-.18 F 1.086(be executed if)144 710.4 R F5(name)3.846 E F1(wer)3.936 E
3.586(es)-.18 G 1.086(peci\214ed as a command name, or nothing if)-3.586
-F/F7 10/Courier@0 SF 1.086(type -t name)3.586 F F1 .016(would not r)144
-614.4 R(eturn)-.18 E F3(\214le)2.516 E F1 5.016(.T).35 G(he)-5.016 E F2
-<ad50>2.516 E F1 .016(option for)2.516 F .016(ces a)-.18 F F4 -.666(PA)
-2.515 G(TH)-.162 E F1(sear)2.265 E .015(ch for each)-.18 F F3(name)2.515
-E F1 2.515(,e)C .015(ven if)-2.515 F F7 .015(type -t)2.515 F(name)144
-626.4 Q F1 .645(would not r)3.145 F(eturn)-.18 E F3(\214le)3.145 E F1
-5.645(.I).35 G 3.145(fac)-5.645 G .645(ommand is hashed,)-3.145 F F2
-<ad70>3.145 E F1(and)3.145 E F2<ad50>3.145 E F1 .645
-(print the hashed value,)3.145 F .411
-(not necessarily the \214le that appears \214rst in)144 638.4 R F4 -.666
-(PA)2.911 G(TH)-.162 E F5(.)A F1 .411(If the)4.911 F F2<ad61>2.911 E F1
-.411(option is used,)2.911 F F2(type)2.91 E F1 .41(prints all)2.91 F
-.164(of the places that contain an executable named)144 650.4 R F3(name)
-2.664 E F1 5.164(.T).35 G .164(his includes aliases and functions,)
--5.164 F .73(if and only if the)144 662.4 R F2<ad70>3.23 E F1 .73
-(option is not also used.)3.23 F .73
-(The table of hashed commands is not con-)5.73 F .497(sulted when using)
-144 674.4 R F2<ad61>2.998 E F1 5.498(.T)C(he)-5.498 E F2<ad66>2.998 E F1
-.498(option suppr)2.998 F .498(esses shell function lookup, as with the)
--.18 F F2(com-)2.998 E(mand)144 686.4 Q F1(builtin.)4.558 E F2(type)
-7.058 E F1 -.18(re)4.558 G 2.058(turns tr).18 F 2.057
-(ue if any of the ar)-.08 F 2.057(guments ar)-.18 F 4.557(ef)-.18 G
-2.057(ound, false if none ar)-4.557 F(e)-.18 E(found.)144 698.4 Q F0
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+F/F7 10/Courier@0 SF 1.086(type -t name)3.586 F F1 .015(would not r)144
+722.4 R(eturn)-.18 E F5(\214le)2.515 E F1 5.015(.T).35 G(he)-5.015 E F4
+<ad50>2.515 E F1 .015(option for)2.515 F .015(ces a)-.18 F F2 -.666(PA)
+2.515 G(TH)-.162 E F1(sear)2.266 E .016(ch for each)-.18 F F5(name)2.516
+E F1 2.516(,e)C .016(ven if)-2.516 F F7 .016(type -t)2.516 F F0
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(61)199 E 0 Cg EP
%%Page: 62 63
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E/F1 10/Palatino-Bold@0 SF(ulimit)108 84 Q/F2 10/Palatino-Roman@0
-SF([)2.5 E F1(\255SHacd\215mnpstuv)A F2([)2.5 E/F3 10/Palatino-Italic@0
-SF(limit)A F2(]])A(Pr)144 96 Q .061(ovides contr)-.18 F .061
-(ol over the r)-.18 F(esour)-.18 E .061
-(ces available to the shell and to pr)-.18 F .062
-(ocesses started by it, on)-.18 F 1.497(systems that allow such contr)
-144 108 R 3.997(ol. The)-.18 F F1<ad48>3.997 E F2(and)3.997 E F1<ad53>
-3.997 E F2 1.496(options specify that the har)3.997 F 3.996(do)-.18 G
-3.996(rs)-3.996 G(oft)-3.996 E .884(limit is set for the given r)144 120
-R(esour)-.18 E 3.384(ce. A)-.18 F(har)3.384 E 3.384(dl)-.18 G .884
+-.35 E/F1 10/Courier@0 SF(name)144 84 Q/F2 10/Palatino-Roman@0 SF .645
+(would not r)3.145 F(eturn)-.18 E/F3 10/Palatino-Italic@0 SF(\214le)
+3.145 E F2 5.645(.I).35 G 3.145(fac)-5.645 G .645(ommand is hashed,)
+-3.145 F/F4 10/Palatino-Bold@0 SF<ad70>3.145 E F2(and)3.145 E F4<ad50>
+3.145 E F2 .645(print the hashed value,)3.145 F .41
+(not necessarily the \214le that appears \214rst in)144 96 R/F5 9
+/Palatino-Bold@0 SF -.666(PA)2.911 G(TH)-.162 E/F6 9/Palatino-Roman@0 SF
+(.)A F2 .411(If the)4.911 F F4<ad61>2.911 E F2 .411(option is used,)
+2.911 F F4(type)2.911 E F2 .411(prints all)2.911 F .164
+(of the places that contain an executable named)144 108 R F3(name)2.664
+E F2 5.164(.T).35 G .164(his includes aliases and functions,)-5.164 F
+.73(if and only if the)144 120 R F4<ad70>3.23 E F2 .73
+(option is not also used.)3.23 F .73
+(The table of hashed commands is not con-)5.73 F .498(sulted when using)
+144 132 R F4<ad61>2.998 E F2 5.498(.T)C(he)-5.498 E F4<ad66>2.998 E F2
+.498(option suppr)2.998 F .498(esses shell function lookup, as with the)
+-.18 F F4(com-)2.997 E(mand)144 144 Q F2(builtin.)4.557 E F4(type)7.057
+E F2 -.18(re)4.557 G 2.057(turns tr).18 F 2.057(ue if any of the ar)-.08
+F 2.057(guments ar)-.18 F 4.558(ef)-.18 G 2.058(ound, false if none ar)
+-4.558 F(e)-.18 E(found.)144 156 Q F4(ulimit)108 172.8 Q F2([)2.5 E F4
+(\255SHacd\215mnpstuv)A F2([)2.5 E F3(limit)A F2(]])A(Pr)144 184.8 Q
+.062(ovides contr)-.18 F .062(ol over the r)-.18 F(esour)-.18 E .061
+(ces available to the shell and to pr)-.18 F .061
+(ocesses started by it, on)-.18 F 1.496(systems that allow such contr)
+144 196.8 R 3.996(ol. The)-.18 F F4<ad48>3.997 E F2(and)3.997 E F4<ad53>
+3.997 E F2 1.497(options specify that the har)3.997 F 3.997(do)-.18 G
+3.997(rs)-3.997 G(oft)-3.997 E .884(limit is set for the given r)144
+208.8 R(esour)-.18 E 3.384(ce. A)-.18 F(har)3.384 E 3.384(dl)-.18 G .884
(imit cannot be incr)-3.384 F .884(eased once it is set; a soft)-.18 F
-.089(limit may be incr)144 132 R .088(eased up to the value of the har)
--.18 F 2.588(dl)-.18 G 2.588(imit. If)-2.588 F(neither)2.588 E F1<ad48>
-2.588 E F2(nor)2.588 E F1<ad53>2.588 E F2 .088(is speci\214ed,)2.588 F
-.162(both the soft and har)144 144 R 2.662(dl)-.18 G .162(imits ar)
--2.662 F 2.662(es)-.18 G 2.663(et. The)-2.662 F .163(value of)2.663 F F3
-(limit)2.803 E F2 .163(can be a number in the unit speci-)2.933 F .176
-(\214ed for the r)144 156 R(esour)-.18 E .176
-(ce or one of the special values)-.18 F F1(hard)2.676 E F2(,)A F1(soft)
-2.675 E F2 2.675(,o)C(r)-2.675 E F1(unlimited)2.675 E F2 2.675(,w)C .175
-(hich stand for)-2.675 F .242(the curr)144 168 R .242(ent har)-.18 F
-2.742(dl)-.18 G .242(imit, the curr)-2.742 F .243
-(ent soft limit, and no limit, r)-.18 F(espectively)-.18 E 5.243(.I)
--1.11 G(f)-5.243 E F3(limit)2.883 E F2 .243(is omitted,)3.013 F .082
-(the curr)144 180 R .081(ent value of the soft limit of the r)-.18 F
-(esour)-.18 E .081(ce is printed, unless the)-.18 F F1<ad48>2.581 E F2
-.081(option is given.)2.581 F .329(When mor)144 192 R 2.829(et)-.18 G
-.329(han one r)-2.829 F(esour)-.18 E .329
-(ce is speci\214ed, the limit name and unit ar)-.18 F 2.83(ep)-.18 G .33
-(rinted befor)-2.83 F 2.83(et)-.18 G(he)-2.83 E 2.5(value. Other)144 204
-R(options ar)2.5 E 2.5(ei)-.18 G(nterpr)-2.5 E(eted as follows:)-.18 E
-F1<ad61>144 216 Q F2(All curr)24.94 E(ent limits ar)-.18 E 2.5(er)-.18 G
-(eported)-2.68 E F1<ad63>144 228 Q F2(The maximum size of cor)25.5 E 2.5
-<658c>-.18 G(les cr)-2.5 E(eated)-.18 E F1<ad64>144 240 Q F2
-(The maximum size of a pr)23.83 E(ocess's data segment)-.18 E F1<ad66>
-144 252 Q F2(The maximum size of \214les cr)26.05 E(eated by the shell)
--.18 E F1<ad6c>144 264 Q F2
-(The maximum size that may be locked into memory)26.61 E F1<ad6d>144 276
-Q F2(The maximum r)21.05 E(esident set size)-.18 E F1<ad6e>144 288 Q F2
-.958(The maximum number of open \214le descriptors \(most systems do no\
-t allow this)23.83 F(value to be set\))180 300 Q F1<ad70>144 312 Q F2
-(The pipe size in 512-byte blocks \(this may not be set\))23.83 E F1
-<ad73>144 324 Q F2(The maximum stack size)25.5 E F1<ad74>144 336 Q F2
-(The maximum amount of cpu time in seconds)26.61 E F1<ad75>144 348 Q F2
-(The maximum number of pr)23.83 E(ocesses available to a single user)
--.18 E F1<ad76>144 360 Q F2
+.088(limit may be incr)144 220.8 R .088
+(eased up to the value of the har)-.18 F 2.588(dl)-.18 G 2.588(imit. If)
+-2.588 F(neither)2.589 E F4<ad48>2.589 E F2(nor)2.589 E F4<ad53>2.589 E
+F2 .089(is speci\214ed,)2.589 F .163(both the soft and har)144 232.8 R
+2.663(dl)-.18 G .163(imits ar)-2.663 F 2.663(es)-.18 G 2.663(et. The)
+-2.663 F .163(value of)2.663 F F3(limit)2.803 E F2 .162
+(can be a number in the unit speci-)2.933 F .175(\214ed for the r)144
+244.8 R(esour)-.18 E .175(ce or one of the special values)-.18 F F4
+(hard)2.676 E F2(,)A F4(soft)2.676 E F2 2.676(,o)C(r)-2.676 E F4
+(unlimited)2.676 E F2 2.676(,w)C .176(hich stand for)-2.676 F .243
+(the curr)144 256.8 R .243(ent har)-.18 F 2.743(dl)-.18 G .243
+(imit, the curr)-2.743 F .243(ent soft limit, and no limit, r)-.18 F
+(espectively)-.18 E 5.242(.I)-1.11 G(f)-5.242 E F3(limit)2.882 E F2 .242
+(is omitted,)3.012 F .081(the curr)144 268.8 R .081
+(ent value of the soft limit of the r)-.18 F(esour)-.18 E .081
+(ce is printed, unless the)-.18 F F4<ad48>2.581 E F2 .082
+(option is given.)2.582 F .33(When mor)144 280.8 R 2.83(et)-.18 G .33
+(han one r)-2.83 F(esour)-.18 E .329
+(ce is speci\214ed, the limit name and unit ar)-.18 F 2.829(ep)-.18 G
+.329(rinted befor)-2.829 F 2.829(et)-.18 G(he)-2.829 E 2.5(value. Other)
+144 292.8 R(options ar)2.5 E 2.5(ei)-.18 G(nterpr)-2.5 E
+(eted as follows:)-.18 E F4<ad61>144 304.8 Q F2(All curr)24.94 E
+(ent limits ar)-.18 E 2.5(er)-.18 G(eported)-2.68 E F4<ad63>144 316.8 Q
+F2(The maximum size of cor)25.5 E 2.5<658c>-.18 G(les cr)-2.5 E(eated)
+-.18 E F4<ad64>144 328.8 Q F2(The maximum size of a pr)23.83 E
+(ocess's data segment)-.18 E F4<ad66>144 340.8 Q F2
+(The maximum size of \214les cr)26.05 E(eated by the shell)-.18 E F4
+<ad6c>144 352.8 Q F2(The maximum size that may be locked into memory)
+26.61 E F4<ad6d>144 364.8 Q F2(The maximum r)21.05 E(esident set size)
+-.18 E F4<ad6e>144 376.8 Q F2 .958(The maximum number of open \214le de\
+scriptors \(most systems do not allow this)23.83 F(value to be set\))180
+388.8 Q F4<ad70>144 400.8 Q F2
+(The pipe size in 512-byte blocks \(this may not be set\))23.83 E F4
+<ad73>144 412.8 Q F2(The maximum stack size)25.5 E F4<ad74>144 424.8 Q
+F2(The maximum amount of cpu time in seconds)26.61 E F4<ad75>144 436.8 Q
+F2(The maximum number of pr)23.83 E(ocesses available to a single user)
+-.18 E F4<ad76>144 448.8 Q F2
(The maximum amount of virtual memory available to the shell)24.38 E(If)
-144 376.8 Q F3(limit)4.15 E F2 1.51
-(is given, it is the new value of the speci\214ed r)4.28 F(esour)-.18 E
-1.511(ce \(the)-.18 F F1<ad61>4.011 E F2 1.511(option is display)4.011 F
-4.315(only\). If)144 388.8 R 1.815(no option is given, then)4.315 F F1
+144 465.6 Q F3(limit)4.151 E F2 1.511
+(is given, it is the new value of the speci\214ed r)4.281 F(esour)-.18 E
+1.51(ce \(the)-.18 F F4<ad61>4.01 E F2 1.51(option is display)4.01 F
+4.315(only\). If)144 477.6 R 1.815(no option is given, then)4.315 F F4
<ad66>4.315 E F2 1.815(is assumed.)4.315 F -.92(Va)6.815 G 1.815
(lues ar).92 F 4.315(ei)-.18 G 4.315(n1)-4.315 G 1.815(024-byte incr)
--4.315 F(ements,)-.18 E .972(except for)144 400.8 R F1<ad74>3.473 E F2
-3.473(,w)C .973(hich is in seconds,)-3.473 F F1<ad70>3.473 E F2 3.473
-(,w)C .973(hich is in units of 512-byte blocks, and)-3.473 F F1<ad6e>
-3.473 E F2(and)3.473 E F1<ad75>144 412.8 Q F2 3.518(,w)C 1.018(hich ar)
--3.518 F 3.518(eu)-.18 G 1.018(nscaled values.)-3.518 F 1.017(The r)
-6.018 F 1.017(eturn status is 0 unless an invalid option or ar)-.18 F
-(gu-)-.18 E(ment is supplied, or an err)144 424.8 Q
-(or occurs while setting a new limit.)-.18 E F1(umask)108 441.6 Q F2([)
-2.5 E F1<ad70>A F2 2.5(][)C F1<ad53>-2.5 E F2 2.5(][)C F3(mode)-2.5 E F2
-(])A .535(The user \214le-cr)144 453.6 R .535(eation mask is set to)-.18
-F F3(mode)3.035 E F2 5.535(.I).35 G(f)-5.535 E F3(mode)3.295 E F2 .536
-(begins with a digit, it is interpr)3.385 F .536(eted as)-.18 F 1.827
-(an octal number; otherwise it is interpr)144 465.6 R 1.826
-(eted as a symbolic mode mask similar to that)-.18 F .95(accepted by)144
-477.6 R F3(chmod)3.45 E F2 3.45(\(1\). If).33 F F3(mode)3.71 E F2 .951
-(is omitted, the curr)3.8 F .951(ent value of the mask is printed.)-.18
-F(The)5.951 E F1<ad53>144 489.6 Q F2 .607(option causes the mask to be \
-printed in symbolic form; the default output is an octal)3.107 F(number)
-144 501.6 Q 6.02(.I)-.74 G 3.52(ft)-6.02 G(he)-3.52 E F1<ad70>3.52 E F2
-1.02(option is supplied, and)3.52 F F3(mode)3.78 E F2 1.02
-(is omitted, the output is in a form that)3.87 F .237(may be r)144 513.6
-R .237(eused as input.)-.18 F .237(The r)5.237 F .236
+-4.315 F(ements,)-.18 E .973(except for)144 489.6 R F4<ad74>3.473 E F2
+3.473(,w)C .973(hich is in seconds,)-3.473 F F4<ad70>3.473 E F2 3.473
+(,w)C .973(hich is in units of 512-byte blocks, and)-3.473 F F4<ad6e>
+3.473 E F2(and)3.472 E F4<ad75>144 501.6 Q F2 3.517(,w)C 1.017(hich ar)
+-3.517 F 3.517(eu)-.18 G 1.017(nscaled values.)-3.517 F 1.017(The r)
+6.017 F 1.018(eturn status is 0 unless an invalid option or ar)-.18 F
+(gu-)-.18 E(ment is supplied, or an err)144 513.6 Q
+(or occurs while setting a new limit.)-.18 E F4(umask)108 530.4 Q F2([)
+2.5 E F4<ad70>A F2 2.5(][)C F4<ad53>-2.5 E F2 2.5(][)C F3(mode)-2.5 E F2
+(])A .536(The user \214le-cr)144 542.4 R .536(eation mask is set to)-.18
+F F3(mode)3.035 E F2 5.535(.I).35 G(f)-5.535 E F3(mode)3.295 E F2 .535
+(begins with a digit, it is interpr)3.385 F .535(eted as)-.18 F 1.826
+(an octal number; otherwise it is interpr)144 554.4 R 1.827
+(eted as a symbolic mode mask similar to that)-.18 F .951(accepted by)
+144 566.4 R F3(chmod)3.451 E F2 3.451(\(1\). If).33 F F3(mode)3.711 E F2
+.951(is omitted, the curr)3.801 F .95(ent value of the mask is printed.)
+-.18 F(The)5.95 E F4<ad53>144 578.4 Q F2 .607(option causes the mask to\
+ be printed in symbolic form; the default output is an octal)3.106 F
+(number)144 590.4 Q 6.02(.I)-.74 G 3.52(ft)-6.02 G(he)-3.52 E F4<ad70>
+3.52 E F2 1.02(option is supplied, and)3.52 F F3(mode)3.78 E F2 1.02
+(is omitted, the output is in a form that)3.87 F .236(may be r)144 602.4
+R .236(eused as input.)-.18 F .236(The r)5.236 F .237
(eturn status is 0 if the mode was successfully changed or if)-.18 F(no)
-144 525.6 Q F3(mode)2.5 E F2(ar)2.5 E
-(gument was supplied, and false otherwise.)-.18 E F1(unalias)108 542.4 Q
-F2<5bad>2.5 E F1(a)A F2 2.5(][)C F3(name)-2.5 E F2(...])2.5 E .718
-(Remove each)144 554.4 R F3(name)3.218 E F2(fr)3.218 E .719
-(om the list of de\214ned aliases.)-.18 F(If)5.719 E F1<ad61>3.219 E F2
-.719(is supplied, all alias de\214nitions)3.219 F(ar)144 566.4 Q 2.5(er)
+144 614.4 Q F3(mode)2.5 E F2(ar)2.5 E
+(gument was supplied, and false otherwise.)-.18 E F4(unalias)108 631.2 Q
+F2<5bad>2.5 E F4(a)A F2 2.5(][)C F3(name)-2.5 E F2(...])2.5 E .719
+(Remove each)144 643.2 R F3(name)3.219 E F2(fr)3.219 E .719
+(om the list of de\214ned aliases.)-.18 F(If)5.719 E F4<ad61>3.219 E F2
+.718(is supplied, all alias de\214nitions)3.218 F(ar)144 655.2 Q 2.5(er)
-.18 G 2.5(emoved. The)-2.68 F -.18(re)2.5 G(turn value is tr).18 E
(ue unless a supplied)-.08 E F3(name)2.76 E F2
-(is not a de\214ned alias.)2.85 E F1(unset)108 583.2 Q F2<5bad>2.5 E F1
-(fv)A F2 2.5(][)C F3(name)-2.5 E F2(...])2.5 E 1.61(For each)144 595.2 R
+(is not a de\214ned alias.)2.85 E F4(unset)108 672 Q F2<5bad>2.5 E F4
+(fv)A F2 2.5(][)C F3(name)-2.5 E F2(...])2.5 E 1.61(For each)144 684 R
F3(name)4.11 E F2 4.11(,r).35 G 1.61(emove the corr)-4.29 F 1.61
(esponding variable or function.)-.18 F 1.61(If no options ar)6.61 F
-4.11(es)-.18 G(up-)-4.11 E .473(plied, or the)144 607.2 R F1<ad76>2.973
-E F2 .473(option is given, each)2.973 F F3(name)3.233 E F2 -.18(re)3.323
-G .474(fers to a shell variable.).18 F .474(Read-only variables)5.474 F
-.32(may not be unset.)144 619.2 R(If)5.32 E F1<ad66>2.82 E F2 .32
+4.11(es)-.18 G(up-)-4.11 E .474(plied, or the)144 696 R F4<ad76>2.974 E
+F2 .473(option is given, each)2.974 F F3(name)3.233 E F2 -.18(re)3.323 G
+.473(fers to a shell variable.).18 F .473(Read-only variables)5.473 F
+.32(may not be unset.)144 708 R(If)5.32 E F4<ad66>2.82 E F2 .32
(is speci\214ed, each)2.82 F F3(name)3.08 E F2 -.18(re)3.17 G .32
(fers to a shell function, and the function).18 F .405
-(de\214nition is r)144 631.2 R 2.905(emoved. Each)-.18 F .405
+(de\214nition is r)144 720 R 2.905(emoved. Each)-.18 F .405
(unset variable or function is r)2.905 F .405(emoved fr)-.18 F .405
-(om the envir)-.18 F(onment)-.18 E 1.475(passed to subsequent commands.)
-144 643.2 R 1.475(If any of)6.475 F/F4 9/Palatino-Bold@0 SF(RANDOM)3.975
-E/F5 9/Palatino-Roman@0 SF(,)A F4(SECONDS)3.725 E F5(,)A F4(LINENO)3.724
-E F5(,)A F4(HISTCMD)3.724 E F5(,)A F4(FUNCNAME)144 655.2 Q F5(,)A F4
-(GROUPS)2.803 E F5(,)A F2(or)2.803 E F4(DIRST)3.053 E(ACK)-.828 E F2(ar)
-2.803 E 3.053(eu)-.18 G .553(nset, they lose their special pr)-3.053 F
-.553(operties, even if)-.18 F(they ar)144 667.2 Q 2.5(es)-.18 G
-(ubsequently r)-2.5 E 2.5(eset. The)-.18 F(exit status is tr)2.5 E
-(ue unless a)-.08 E F3(name)2.76 E F2(is r)2.85 E(eadonly)-.18 E(.)-1.11
-E F1(wait)108 684 Q F2([)2.5 E F3 2.5(n.)C(..)-2.5 E F2(])A -.92(Wa)144
-696 S .016(it for each speci\214ed pr).92 F .016(ocess and r)-.18 F .016
-(eturn its termination status.)-.18 F(Each)5.016 E F3(n)2.776 E F2 .016
-(may be a pr)2.596 F(ocess)-.18 E 1.733
-(ID or a job speci\214cation; if a job spec is given, all pr)144 708 R
-1.733(ocesses in that job's pipeline ar)-.18 F(e)-.18 E 1.015
-(waited for)144 720 R 6.015(.I)-.74 G(f)-6.015 E F3(n)3.775 E F2 1.015
-(is not given, all curr)3.595 F 1.014(ently active child pr)-.18 F 1.014
-(ocesses ar)-.18 F 3.514(ew)-.18 G 1.014(aited for)-3.514 F 3.514(,a)
--.74 G 1.014(nd the)-3.514 F F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G
-124.42(l2).15 G(005 Feb 11)-124.42 E(62)199 E 0 Cg EP
+(om the envir)-.18 F(onment)-.18 E F0(GNU Bash-3.1-de)72 768 Q -.15(ve)
+-.25 G 124.42(l2).15 G(005 Feb 19)-124.42 E(62)199 E 0 Cg EP
%%Page: 63 64
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E/F1 10/Palatino-Roman@0 SF -.18(re)144 84 S .693
-(turn status is zer).18 F 3.193(o. If)-.18 F/F2 10/Palatino-Italic@0 SF
-(n)3.453 E F1 .693(speci\214es a non-existent pr)3.273 F .693
-(ocess or job, the r)-.18 F .694(eturn status is 127.)-.18 F
-(Otherwise, the r)144 96 Q
+-.35 E/F1 10/Palatino-Roman@0 SF 1.474(passed to subsequent commands.)
+144 84 R 1.475(If any of)6.475 F/F2 9/Palatino-Bold@0 SF(RANDOM)3.975 E
+/F3 9/Palatino-Roman@0 SF(,)A F2(SECONDS)3.725 E F3(,)A F2(LINENO)3.725
+E F3(,)A F2(HISTCMD)3.725 E F3(,)A F2(FUNCNAME)144 96 Q F3(,)A F2
+(GROUPS)2.804 E F3(,)A F1(or)2.803 E F2(DIRST)3.053 E(ACK)-.828 E F1(ar)
+2.803 E 3.053(eu)-.18 G .553(nset, they lose their special pr)-3.053 F
+.553(operties, even if)-.18 F(they ar)144 108 Q 2.5(es)-.18 G
+(ubsequently r)-2.5 E 2.5(eset. The)-.18 F(exit status is tr)2.5 E
+(ue unless a)-.08 E/F4 10/Palatino-Italic@0 SF(name)2.76 E F1(is r)2.85
+E(eadonly)-.18 E(.)-1.11 E/F5 10/Palatino-Bold@0 SF(wait)108 124.8 Q F1
+([)2.5 E F4 2.5(n.)C(..)-2.5 E F1(])A -.92(Wa)144 136.8 S .016
+(it for each speci\214ed pr).92 F .016(ocess and r)-.18 F .016
+(eturn its termination status.)-.18 F(Each)5.016 E F4(n)2.776 E F1 .016
+(may be a pr)2.596 F(ocess)-.18 E 1.733
+(ID or a job speci\214cation; if a job spec is given, all pr)144 148.8 R
+1.733(ocesses in that job's pipeline ar)-.18 F(e)-.18 E 1.014
+(waited for)144 160.8 R 6.014(.I)-.74 G(f)-6.014 E F4(n)3.774 E F1 1.014
+(is not given, all curr)3.594 F 1.014(ently active child pr)-.18 F 1.015
+(ocesses ar)-.18 F 3.515(ew)-.18 G 1.015(aited for)-3.515 F 3.515(,a)
+-.74 G 1.015(nd the)-3.515 F -.18(re)144 172.8 S .694
+(turn status is zer).18 F 3.193(o. If)-.18 F F4(n)3.453 E F1 .693
+(speci\214es a non-existent pr)3.273 F .693(ocess or job, the r)-.18 F
+.693(eturn status is 127.)-.18 F(Otherwise, the r)144 184.8 Q
(eturn status is the exit status of the last pr)-.18 E
-(ocess or job waited for)-.18 E(.)-.74 E/F3 10.95/Palatino-Bold@0 SF
-(RESTRICTED SHELL)72 112.8 Q F1(If)108 124.8 Q/F4 10/Palatino-Bold@0 SF
-(bash)4.639 E F1 2.139(is started with the name)4.639 F F4(rbash)4.638 E
-F1 4.638(,o)C 4.638(rt)-4.638 G(he)-4.638 E F4<ad72>4.638 E F1 2.138
+(ocess or job waited for)-.18 E(.)-.74 E/F6 10.95/Palatino-Bold@0 SF
+(RESTRICTED SHELL)72 201.6 Q F1(If)108 213.6 Q F5(bash)4.638 E F1 2.138
+(is started with the name)4.638 F F5(rbash)4.638 E F1 4.638(,o)C 4.638
+(rt)-4.638 G(he)-4.638 E F5<ad72>4.638 E F1 2.139
(option is supplied at invocation, the shell)4.638 F .618(becomes r)108
-136.8 R 3.118(estricted. A)-.18 F -.18(re)3.118 G .618
+225.6 R 3.118(estricted. A)-.18 F -.18(re)3.118 G .618
(stricted shell is used to set up an envir).18 F .618(onment mor)-.18 F
3.118(ec)-.18 G(ontr)-3.118 E .618(olled than the)-.18 F(standar)108
-148.8 Q 4.198(ds)-.18 G 4.198(hell. It)-4.198 F 1.697
-(behaves identically to)4.197 F F4(bash)4.197 E F1 1.697
-(with the exception that the following ar)4.197 F 4.197(ed)-.18 G(isal-)
--4.197 E(lowed or not performed:)108 160.8 Q 29.94<8363>108 177.6 S
-(hanging dir)-29.94 E(ectories with)-.18 E F4(cd)2.5 E F1 29.94<8373>108
-194.4 S(etting or unsetting the values of)-29.94 E F4(SHELL)2.5 E F1(,)A
-F4 -.74(PA)2.5 G(TH)-.18 E F1(,)A F4(ENV)2.5 E F1 2.5(,o)C(r)-2.5 E F4
-(BASH_ENV)2.5 E F1 29.94<8373>108 211.2 S
-(pecifying command names containing)-29.94 E F4(/)2.5 E F1 29.94<8373>
-108 228 S(pecifying a \214le name containing a)-29.94 E F4(/)2.5 E F1
-(as an ar)2.5 E(gument to the)-.18 E F4(.)2.5 E F1(builtin command)5 E
-29.94<8353>108 244.8 S 1.564
+237.6 Q 4.197(ds)-.18 G 4.197(hell. It)-4.197 F 1.697
+(behaves identically to)4.197 F F5(bash)4.197 E F1 1.697
+(with the exception that the following ar)4.197 F 4.198(ed)-.18 G(isal-)
+-4.198 E(lowed or not performed:)108 249.6 Q 29.94<8363>108 266.4 S
+(hanging dir)-29.94 E(ectories with)-.18 E F5(cd)2.5 E F1 29.94<8373>108
+283.2 S(etting or unsetting the values of)-29.94 E F5(SHELL)2.5 E F1(,)A
+F5 -.74(PA)2.5 G(TH)-.18 E F1(,)A F5(ENV)2.5 E F1 2.5(,o)C(r)-2.5 E F5
+(BASH_ENV)2.5 E F1 29.94<8373>108 300 S
+(pecifying command names containing)-29.94 E F5(/)2.5 E F1 29.94<8373>
+108 316.8 S(pecifying a \214le name containing a)-29.94 E F5(/)2.5 E F1
+(as an ar)2.5 E(gument to the)-.18 E F5(.)2.5 E F1(builtin command)5 E
+29.94<8353>108 333.6 S 1.565
(pecifying a \214lename containing a slash as an ar)-29.94 F 1.565
-(gument to the)-.18 F F4<ad70>4.065 E F1 1.565(option to the)4.065 F F4
-(hash)4.065 E F1(builtin command)144 256.8 Q 29.94<8369>108 273.6 S
+(gument to the)-.18 F F5<ad70>4.064 E F1 1.564(option to the)4.064 F F5
+(hash)4.064 E F1(builtin command)144 345.6 Q 29.94<8369>108 362.4 S
(mporting function de\214nitions fr)-29.94 E(om the shell envir)-.18 E
-(onment at startup)-.18 E 29.94<8370>108 290.4 S(arsing the value of)
--29.94 E F4(SHELLOPTS)2.5 E F1(fr)2.5 E(om the shell envir)-.18 E
-(onment at startup)-.18 E 29.94<8372>108 307.2 S(edir)-30.12 E
+(onment at startup)-.18 E 29.94<8370>108 379.2 S(arsing the value of)
+-29.94 E F5(SHELLOPTS)2.5 E F1(fr)2.5 E(om the shell envir)-.18 E
+(onment at startup)-.18 E 29.94<8372>108 396 S(edir)-30.12 E
(ecting output using the >, >|, <>, >&, &>, and >> r)-.18 E(edir)-.18 E
-(ection operators)-.18 E 29.94<8375>108 324 S(sing the)-29.94 E F4(exec)
-2.5 E F1(builtin command to r)2.5 E
-(eplace the shell with another command)-.18 E 29.94<8361>108 340.8 S
-1.208(dding or deleting builtin commands with the)-29.94 F F4<ad66>3.708
-E F1(and)3.708 E F4<ad64>3.708 E F1 1.208(options to the)3.708 F F4
-(enable)3.707 E F1(builtin)3.707 E(command)144 352.8 Q 29.94<8355>108
-369.6 S(sing the)-29.94 E F4(enable)2.5 E F1
+(ection operators)-.18 E 29.94<8375>108 412.8 S(sing the)-29.94 E F5
+(exec)2.5 E F1(builtin command to r)2.5 E
+(eplace the shell with another command)-.18 E 29.94<8361>108 429.6 S
+1.208(dding or deleting builtin commands with the)-29.94 F F5<ad66>3.708
+E F1(and)3.708 E F5<ad64>3.708 E F1 1.208(options to the)3.708 F F5
+(enable)3.708 E F1(builtin)3.708 E(command)144 441.6 Q 29.94<8355>108
+458.4 S(sing the)-29.94 E F5(enable)2.5 E F1
(builtin command to enable disabled shell builtins)2.5 E 29.94<8373>108
-386.4 S(pecifying the)-29.94 E F4<ad70>2.5 E F1(option to the)2.5 E F4
-(command)2.5 E F1(builtin command)2.5 E 29.94<8374>108 403.2 S
-(urning of)-29.94 E 2.5(fr)-.18 G(estricted mode with)-2.68 E F4(set +r)
-2.5 E F1(or)2.5 E F4(set +o restricted)2.5 E F1(.)A(These r)108 420 Q
+475.2 S(pecifying the)-29.94 E F5<ad70>2.5 E F1(option to the)2.5 E F5
+(command)2.5 E F1(builtin command)2.5 E 29.94<8374>108 492 S(urning of)
+-29.94 E 2.5(fr)-.18 G(estricted mode with)-2.68 E F5(set +r)2.5 E F1
+(or)2.5 E F5(set +o restricted)2.5 E F1(.)A(These r)108 508.8 Q
(estrictions ar)-.18 E 2.5(ee)-.18 G(nfor)-2.5 E
(ced after any startup \214les ar)-.18 E 2.5(er)-.18 G(ead.)-2.68 E
1.694
(When a command that is found to be a shell script is executed \(see)108
-436.8 R/F5 9/Palatino-Bold@0 SF 1.694(COMMAND EXECUTION)4.194 F F1
-(above\),)108 448.8 Q F4(rbash)2.5 E F1(turns of)2.5 E 2.5(fa)-.18 G
-(ny r)-2.5 E(estrictions in the shell spawned to execute the script.)
--.18 E F3(SEE ALSO)72 465.6 Q F2(Bash Refer)108 477.6 Q(ence Manual)-.18
-E F1 2.5(,B)C(rian Fox and Chet Ramey)-2.5 E F2
-(The Gnu Readline Library)108 489.6 Q F1 2.5(,B)C
-(rian Fox and Chet Ramey)-2.5 E F2(The Gnu History Library)108 501.6 Q
-F1 2.5(,B)C(rian Fox and Chet Ramey)-2.5 E F2(Portable Operating System\
- Interface \(POSIX\) Part 2: Shell and Utilities)108 513.6 Q F1 2.5(,I)C
-(EEE)-2.5 E F2(sh)108 525.6 Q F1(\(1\),)A F2(ksh)2.5 E F1(\(1\),)A F2
-(csh)2.5 E F1(\(1\))A F2(emacs)108 537.6 Q F1(\(1\),)A F2(vi)2.5 E F1
-(\(1\))A F2 -.18(re)108 549.6 S(adline).18 E F1(\(3\))A F3(FILES)72
-566.4 Q F2(/bin/bash)109.666 578.4 Q F1(The)144 590.4 Q F4(bash)2.5 E F1
-(executable)2.5 E F2(/etc/pr)109.666 602.4 Q(o\214le)-.18 E F1
+525.6 R F2 1.694(COMMAND EXECUTION)4.194 F F1(above\),)108 537.6 Q F5
+(rbash)2.5 E F1(turns of)2.5 E 2.5(fa)-.18 G(ny r)-2.5 E
+(estrictions in the shell spawned to execute the script.)-.18 E F6
+(SEE ALSO)72 554.4 Q F4(Bash Refer)108 566.4 Q(ence Manual)-.18 E F1 2.5
+(,B)C(rian Fox and Chet Ramey)-2.5 E F4(The Gnu Readline Library)108
+578.4 Q F1 2.5(,B)C(rian Fox and Chet Ramey)-2.5 E F4
+(The Gnu History Library)108 590.4 Q F1 2.5(,B)C
+(rian Fox and Chet Ramey)-2.5 E F4(Portable Operating System Interface \
+\(POSIX\) Part 2: Shell and Utilities)108 602.4 Q F1 2.5(,I)C(EEE)-2.5 E
+F4(sh)108 614.4 Q F1(\(1\),)A F4(ksh)2.5 E F1(\(1\),)A F4(csh)2.5 E F1
+(\(1\))A F4(emacs)108 626.4 Q F1(\(1\),)A F4(vi)2.5 E F1(\(1\))A F4 -.18
+(re)108 638.4 S(adline).18 E F1(\(3\))A F6(FILES)72 655.2 Q F4
+(/bin/bash)109.666 667.2 Q F1(The)144 679.2 Q F5(bash)2.5 E F1
+(executable)2.5 E F4(/etc/pr)109.666 691.2 Q(o\214le)-.18 E F1
(The systemwide initialization \214le, executed for login shells)144
-614.4 Q F2(~/.bash_pr)109.666 626.4 Q(o\214le)-.18 E F1
-(The personal initialization \214le, executed for login shells)144 638.4
-Q F2(~/.bashr)109.666 650.4 Q(c)-.18 E F1(The individual per)144 662.4 Q
-(-interactive-shell startup \214le)-.18 E F2(~/.bash_logout)109.666
-674.4 Q F1(The individual login shell cleanup \214le, executed when a l\
-ogin shell exits)144 686.4 Q F2(~/.inputr)109.666 698.4 Q(c)-.18 E F1
-(Individual)144 710.4 Q F2 -.18(re)2.5 G(adline).18 E F1
-(initialization \214le)2.5 E F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G
-124.42(l2).15 G(005 Feb 11)-124.42 E(63)199 E 0 Cg EP
+703.2 Q F0(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G
+(005 Feb 19)-124.42 E(63)199 E 0 Cg EP
%%Page: 64 65
%%BeginPageSetup
BP
%%EndPageSetup
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\))
--.35 E/F1 10.95/Palatino-Bold@0 SF(AUTHORS)72 84 Q/F2 10
-/Palatino-Roman@0 SF(Brian Fox, Fr)108 96 Q(ee Softwar)-.18 E 2.5(eF)
--.18 G(oundation)-2.5 E(bfox@gnu.or)108 108 Q(g)-.18 E(Chet Ramey)108
-124.8 Q 2.5(,C)-1.11 G(ase W)-2.5 E(estern Reserve University)-.92 E
-(chet@po.CWRU.Edu)108 136.8 Q F1(BUG REPOR)72 153.6 Q(TS)-.602 E F2 .481
-(If you \214nd a bug in)108 165.6 R/F3 10/Palatino-Bold@0 SF(bash,)2.981
-E F2 .481(you should r)2.981 F .481(eport it.)-.18 F .481
-(But \214rst, you should make sur)5.481 F 2.981(et)-.18 G .481(hat it r)
--2.981 F .481(eally is a)-.18 F .459
-(bug, and that it appears in the latest version of)108 177.6 R F3(bash)
-2.959 E F2 5.459(.T)C .459(he latest version is always available fr)
--5.459 F(om)-.18 E/F4 10/Palatino-Italic@0 SF(ftp://ftp.gnu.or)108 189.6
-Q(g/pub/bash/)-.18 E F2(.)A .558
-(Once you have determined that a bug actually exists, use the)108 206.4
-R F4(bashbug)3.188 E F2 .558(command to submit a bug)3.538 F -.18(re)108
-218.4 S 3.161(port. If).18 F .662(you have a \214x, you ar)3.161 F 3.162
-(ee)-.18 G .662(ncouraged to mail that as well!)-3.162 F .662
-(Suggestions and `philosophi-)5.662 F 3.731(cal' bug r)108 230.4 R 3.731
-(eports may be mailed to)-.18 F F4(bug-bash@gnu.or)6.231 E(g)-.18 E F2
-3.73(or posted to the Usenet newsgr)6.231 F(oup)-.18 E F3(gnu.bash.bug)
-108 242.4 Q F2(.)A(ALL bug r)108 259.2 Q(eports should include:)-.18 E
-(The version number of)108 276 Q F3(bash)2.5 E F2(The har)108 288 Q
+-.35 E/F1 10/Palatino-Italic@0 SF(~/.bash_pr)109.666 84 Q(o\214le)-.18 E
+/F2 10/Palatino-Roman@0 SF
+(The personal initialization \214le, executed for login shells)144 96 Q
+F1(~/.bashr)109.666 108 Q(c)-.18 E F2(The individual per)144 120 Q
+(-interactive-shell startup \214le)-.18 E F1(~/.bash_logout)109.666 132
+Q F2(The individual login shell cleanup \214le, executed when a login s\
+hell exits)144 144 Q F1(~/.inputr)109.666 156 Q(c)-.18 E F2(Individual)
+144 168 Q F1 -.18(re)2.5 G(adline).18 E F2(initialization \214le)2.5 E
+/F3 10.95/Palatino-Bold@0 SF(AUTHORS)72 184.8 Q F2(Brian Fox, Fr)108
+196.8 Q(ee Softwar)-.18 E 2.5(eF)-.18 G(oundation)-2.5 E(bfox@gnu.or)108
+208.8 Q(g)-.18 E(Chet Ramey)108 225.6 Q 2.5(,C)-1.11 G(ase W)-2.5 E
+(estern Reserve University)-.92 E(chet@po.CWRU.Edu)108 237.6 Q F3
+(BUG REPOR)72 254.4 Q(TS)-.602 E F2 .481(If you \214nd a bug in)108
+266.4 R/F4 10/Palatino-Bold@0 SF(bash,)2.981 E F2 .481(you should r)
+2.981 F .481(eport it.)-.18 F .481(But \214rst, you should make sur)
+5.481 F 2.981(et)-.18 G .481(hat it r)-2.981 F .481(eally is a)-.18 F
+.459(bug, and that it appears in the latest version of)108 278.4 R F4
+(bash)2.959 E F2 5.459(.T)C .459
+(he latest version is always available fr)-5.459 F(om)-.18 E F1
+(ftp://ftp.gnu.or)108 290.4 Q(g/pub/bash/)-.18 E F2(.)A .558
+(Once you have determined that a bug actually exists, use the)108 307.2
+R F1(bashbug)3.188 E F2 .558(command to submit a bug)3.538 F -.18(re)108
+319.2 S 3.162(port. If).18 F .662(you have a \214x, you ar)3.162 F 3.162
+(ee)-.18 G .662(ncouraged to mail that as well!)-3.162 F .661
+(Suggestions and `philosophi-)5.662 F 3.73(cal' bug r)108 331.2 R 3.731
+(eports may be mailed to)-.18 F F1(bug-bash@gnu.or)6.231 E(g)-.18 E F2
+3.731(or posted to the Usenet newsgr)6.231 F(oup)-.18 E F4(gnu.bash.bug)
+108 343.2 Q F2(.)A(ALL bug r)108 360 Q(eports should include:)-.18 E
+(The version number of)108 376.8 Q F4(bash)2.5 E F2(The har)108 388.8 Q
(dwar)-.18 E 2.5(ea)-.18 G(nd operating system)-2.5 E
-(The compiler used to compile)108 300 Q 2.5(Ad)108 312 S
-(escription of the bug behaviour)-2.5 E 2.5(As)108 324 S
+(The compiler used to compile)108 400.8 Q 2.5(Ad)108 412.8 S
+(escription of the bug behaviour)-2.5 E 2.5(As)108 424.8 S
(hort script or `r)-2.5 E(ecipe' which exer)-.18 E(cises the bug)-.18 E
-F4(bashbug)108.13 340.8 Q F2 1.316(inserts the \214rst thr)4.296 F 1.316
+F1(bashbug)108.13 441.6 Q F2 1.316(inserts the \214rst thr)4.296 F 1.316
(ee items automatically into the template it pr)-.18 F 1.316
-(ovides for \214ling a bug)-.18 F -.18(re)108 352.8 S(port.).18 E 7.698
-(Comments and bug r)108 369.6 R 7.697
-(eports concerning this manual page should be dir)-.18 F 7.697(ected to)
--.18 F F4(chet@po.CWRU.Edu)108 381.6 Q F2(.).06 E F1(BUGS)72 398.4 Q F2
-(It's too big and too slow)108 410.4 Q(.)-.92 E(Ther)108 427.2 Q 2.832
-(ea)-.18 G .692 -.18(re s)-2.832 H .332(ome subtle dif).18 F(fer)-.18 E
-.332(ences between)-.18 F F3(bash)2.832 E F2 .332
-(and traditional versions of)2.832 F F3(sh)2.832 E F2 2.832(,m)C .333
-(ostly because of)-2.832 F(the)108 439.2 Q/F5 9/Palatino-Bold@0 SF
-(POSIX)2.5 E F2(speci\214cation.)2.25 E(Aliases ar)108 456 Q 2.5(ec)-.18
-G(onfusing in some uses.)-2.5 E(Shell builtin commands and functions ar)
-108 472.8 Q 2.5(en)-.18 G(ot stoppable/r)-2.5 E(estartable.)-.18 E .463
+(ovides for \214ling a bug)-.18 F -.18(re)108 453.6 S(port.).18 E 7.697
+(Comments and bug r)108 470.4 R 7.697
+(eports concerning this manual page should be dir)-.18 F 7.698(ected to)
+-.18 F F1(chet@po.CWRU.Edu)108 482.4 Q F2(.).06 E F3(BUGS)72 499.2 Q F2
+(It's too big and too slow)108 511.2 Q(.)-.92 E(Ther)108 528 Q 2.833(ea)
+-.18 G .693 -.18(re s)-2.833 H .332(ome subtle dif).18 F(fer)-.18 E .332
+(ences between)-.18 F F4(bash)2.832 E F2 .332
+(and traditional versions of)2.832 F F4(sh)2.832 E F2 2.832(,m)C .332
+(ostly because of)-2.832 F(the)108 540 Q/F5 9/Palatino-Bold@0 SF(POSIX)
+2.5 E F2(speci\214cation.)2.25 E(Aliases ar)108 556.8 Q 2.5(ec)-.18 G
+(onfusing in some uses.)-2.5 E(Shell builtin commands and functions ar)
+108 573.6 Q 2.5(en)-.18 G(ot stoppable/r)-2.5 E(estartable.)-.18 E .462
(Compound commands and command sequences of the form `a ; b ; c' ar)108
-489.6 R 2.962(en)-.18 G .462(ot handled gracefully)-2.962 F 1.256
-(when pr)108 501.6 R 1.257(ocess suspension is attempted.)-.18 F 1.257
+590.4 R 2.963(en)-.18 G .463(ot handled gracefully)-2.963 F 1.257
+(when pr)108 602.4 R 1.257(ocess suspension is attempted.)-.18 F 1.257
(When a pr)6.257 F 1.257(ocess is stopped, the shell immediately exe-)
--.18 F .374(cutes the next command in the sequence.)108 513.6 R .373
-(It suf)5.373 F .373(\214ces to place the sequence of commands between)
--.18 F(par)108 525.6 Q(entheses to for)-.18 E
-(ce it into a subshell, which may be stopped as a unit.)-.18 E .95
-(Commands inside of)108 542.4 R F3($\()3.451 E F2(...)A F3(\))A F2 .951
+-.18 F .373(cutes the next command in the sequence.)108 614.4 R .373
+(It suf)5.373 F .374(\214ces to place the sequence of commands between)
+-.18 F(par)108 626.4 Q(entheses to for)-.18 E
+(ce it into a subshell, which may be stopped as a unit.)-.18 E .951
+(Commands inside of)108 643.2 R F4($\()3.451 E F2(...)A F4(\))A F2 .951
(command substitution ar)3.451 F 3.451(en)-.18 G .951
-(ot parsed until substitution is attempted.)-3.451 F 2.132
-(This will delay err)108 554.4 R 2.132(or r)-.18 F 2.131
-(eporting until some time after the command is enter)-.18 F 4.631
-(ed. For)-.18 F(example,)4.631 E .43(unmatched par)108 566.4 R .431
+(ot parsed until substitution is attempted.)-3.451 F 2.131
+(This will delay err)108 655.2 R 2.131(or r)-.18 F 2.131
+(eporting until some time after the command is enter)-.18 F 4.632
+(ed. For)-.18 F(example,)4.632 E .431(unmatched par)108 667.2 R .431
(entheses, even inside shell comments, will r)-.18 F .431(esult in err)
--.18 F .431(or messages while the con-)-.18 F(str)108 578.4 Q
+-.18 F .43(or messages while the con-)-.18 F(str)108 679.2 Q
(uct is being r)-.08 E(ead.)-.18 E
-(Array variables may not \(yet\) be exported.)108 595.2 Q F0
-(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 11)
+(Array variables may not \(yet\) be exported.)108 696 Q F0
+(GNU Bash-3.1-de)72 768 Q -.15(ve)-.25 G 124.42(l2).15 G(005 Feb 19)
-124.42 E(64)199 E 0 Cg EP
%%Trailer
end
@xrdef{Command Grouping-pg}{13}
@xrdef{Command Grouping-snt}{Section@tie 3.2.4.3}
@xrdef{Shell Functions-title}{Shell Functions}
-@xrdef{Shell Functions-pg}{13}
+@xrdef{Shell Functions-pg}{14}
@xrdef{Shell Functions-snt}{Section@tie 3.3}
@xrdef{Shell Parameters-title}{Shell Parameters}
@xrdef{Shell Parameters-pg}{15}
@xrdef{Positional Parameters-pg}{15}
@xrdef{Positional Parameters-snt}{Section@tie 3.4.1}
@xrdef{Special Parameters-title}{Special Parameters}
-@xrdef{Special Parameters-pg}{15}
+@xrdef{Special Parameters-pg}{16}
@xrdef{Special Parameters-snt}{Section@tie 3.4.2}
@xrdef{Shell Expansions-title}{Shell Expansions}
-@xrdef{Shell Expansions-pg}{16}
+@xrdef{Shell Expansions-pg}{17}
@xrdef{Shell Expansions-snt}{Section@tie 3.5}
@xrdef{Brace Expansion-title}{Brace Expansion}
@xrdef{Brace Expansion-pg}{17}
@xrdef{Command Substitution-pg}{21}
@xrdef{Command Substitution-snt}{Section@tie 3.5.4}
@xrdef{Arithmetic Expansion-title}{Arithmetic Expansion}
-@xrdef{Arithmetic Expansion-pg}{21}
+@xrdef{Arithmetic Expansion-pg}{22}
@xrdef{Arithmetic Expansion-snt}{Section@tie 3.5.5}
@xrdef{Process Substitution-title}{Process Substitution}
@xrdef{Process Substitution-pg}{22}
@xrdef{Quote Removal-pg}{24}
@xrdef{Quote Removal-snt}{Section@tie 3.5.9}
@xrdef{Redirections-title}{Redirections}
-@xrdef{Redirections-pg}{24}
+@xrdef{Redirections-pg}{25}
@xrdef{Redirections-snt}{Section@tie 3.6}
@xrdef{Executing Commands-title}{Executing Commands}
@xrdef{Executing Commands-pg}{28}
@xrdef{Bash Variables-pg}{55}
@xrdef{Bash Variables-snt}{Section@tie 5.2}
@xrdef{Bash Features-title}{Bash Features}
-@xrdef{Bash Features-pg}{63}
+@xrdef{Bash Features-pg}{65}
@xrdef{Bash Features-snt}{Chapter@tie 6}
@xrdef{Invoking Bash-title}{Invoking Bash}
-@xrdef{Invoking Bash-pg}{63}
+@xrdef{Invoking Bash-pg}{65}
@xrdef{Invoking Bash-snt}{Section@tie 6.1}
@xrdef{Bash Startup Files-title}{Bash Startup Files}
-@xrdef{Bash Startup Files-pg}{65}
+@xrdef{Bash Startup Files-pg}{67}
@xrdef{Bash Startup Files-snt}{Section@tie 6.2}
@xrdef{Interactive Shells-title}{Interactive Shells}
-@xrdef{Interactive Shells-pg}{67}
+@xrdef{Interactive Shells-pg}{69}
@xrdef{Interactive Shells-snt}{Section@tie 6.3}
@xrdef{What is an Interactive Shell?-title}{What is an Interactive Shell?}
-@xrdef{What is an Interactive Shell?-pg}{67}
+@xrdef{What is an Interactive Shell?-pg}{69}
@xrdef{What is an Interactive Shell?-snt}{Section@tie 6.3.1}
@xrdef{Is this Shell Interactive?-title}{Is this Shell Interactive?}
-@xrdef{Is this Shell Interactive?-pg}{67}
+@xrdef{Is this Shell Interactive?-pg}{69}
@xrdef{Is this Shell Interactive?-snt}{Section@tie 6.3.2}
@xrdef{Interactive Shell Behavior-title}{Interactive Shell Behavior}
-@xrdef{Interactive Shell Behavior-pg}{67}
+@xrdef{Interactive Shell Behavior-pg}{69}
@xrdef{Interactive Shell Behavior-snt}{Section@tie 6.3.3}
@xrdef{Bash Conditional Expressions-title}{Bash Conditional Expressions}
-@xrdef{Bash Conditional Expressions-pg}{69}
+@xrdef{Bash Conditional Expressions-pg}{71}
@xrdef{Bash Conditional Expressions-snt}{Section@tie 6.4}
@xrdef{Shell Arithmetic-title}{Shell Arithmetic}
-@xrdef{Shell Arithmetic-pg}{70}
+@xrdef{Shell Arithmetic-pg}{72}
@xrdef{Shell Arithmetic-snt}{Section@tie 6.5}
@xrdef{Aliases-title}{Aliases}
-@xrdef{Aliases-pg}{71}
+@xrdef{Aliases-pg}{73}
@xrdef{Aliases-snt}{Section@tie 6.6}
@xrdef{Arrays-title}{Arrays}
-@xrdef{Arrays-pg}{72}
+@xrdef{Arrays-pg}{74}
@xrdef{Arrays-snt}{Section@tie 6.7}
@xrdef{The Directory Stack-title}{The Directory Stack}
-@xrdef{The Directory Stack-pg}{73}
+@xrdef{The Directory Stack-pg}{75}
@xrdef{The Directory Stack-snt}{Section@tie 6.8}
@xrdef{Directory Stack Builtins-title}{Directory Stack Builtins}
-@xrdef{Directory Stack Builtins-pg}{73}
+@xrdef{Directory Stack Builtins-pg}{75}
@xrdef{Directory Stack Builtins-snt}{Section@tie 6.8.1}
@xrdef{Printing a Prompt-title}{Controlling the Prompt}
-@xrdef{Printing a Prompt-pg}{75}
+@xrdef{Printing a Prompt-pg}{77}
@xrdef{Printing a Prompt-snt}{Section@tie 6.9}
@xrdef{The Restricted Shell-title}{The Restricted Shell}
-@xrdef{The Restricted Shell-pg}{76}
+@xrdef{The Restricted Shell-pg}{78}
@xrdef{The Restricted Shell-snt}{Section@tie 6.10}
@xrdef{Bash POSIX Mode-title}{Bash POSIX Mode}
-@xrdef{Bash POSIX Mode-pg}{76}
+@xrdef{Bash POSIX Mode-pg}{78}
@xrdef{Bash POSIX Mode-snt}{Section@tie 6.11}
@xrdef{Job Control-title}{Job Control}
-@xrdef{Job Control-pg}{81}
+@xrdef{Job Control-pg}{83}
@xrdef{Job Control-snt}{Chapter@tie 7}
@xrdef{Job Control Basics-title}{Job Control Basics}
-@xrdef{Job Control Basics-pg}{81}
+@xrdef{Job Control Basics-pg}{83}
@xrdef{Job Control Basics-snt}{Section@tie 7.1}
@xrdef{Job Control Builtins-title}{Job Control Builtins}
-@xrdef{Job Control Builtins-pg}{82}
+@xrdef{Job Control Builtins-pg}{84}
@xrdef{Job Control Builtins-snt}{Section@tie 7.2}
@xrdef{Job Control Variables-title}{Job Control Variables}
-@xrdef{Job Control Variables-pg}{84}
+@xrdef{Job Control Variables-pg}{86}
@xrdef{Job Control Variables-snt}{Section@tie 7.3}
@xrdef{Command Line Editing-title}{Command Line Editing}
-@xrdef{Command Line Editing-pg}{85}
+@xrdef{Command Line Editing-pg}{87}
@xrdef{Command Line Editing-snt}{Chapter@tie 8}
@xrdef{Introduction and Notation-title}{Introduction to Line Editing}
-@xrdef{Introduction and Notation-pg}{85}
+@xrdef{Introduction and Notation-pg}{87}
@xrdef{Introduction and Notation-snt}{Section@tie 8.1}
@xrdef{Readline Interaction-title}{Readline Interaction}
-@xrdef{Readline Interaction-pg}{85}
+@xrdef{Readline Interaction-pg}{87}
@xrdef{Readline Interaction-snt}{Section@tie 8.2}
@xrdef{Readline Bare Essentials-title}{Readline Bare Essentials}
-@xrdef{Readline Bare Essentials-pg}{85}
+@xrdef{Readline Bare Essentials-pg}{87}
@xrdef{Readline Bare Essentials-snt}{Section@tie 8.2.1}
@xrdef{Readline Movement Commands-title}{Readline Movement Commands}
-@xrdef{Readline Movement Commands-pg}{86}
+@xrdef{Readline Movement Commands-pg}{88}
@xrdef{Readline Movement Commands-snt}{Section@tie 8.2.2}
@xrdef{Readline Killing Commands-title}{Readline Killing Commands}
-@xrdef{Readline Killing Commands-pg}{87}
+@xrdef{Readline Killing Commands-pg}{89}
@xrdef{Readline Killing Commands-snt}{Section@tie 8.2.3}
@xrdef{Readline Arguments-title}{Readline Arguments}
-@xrdef{Readline Arguments-pg}{87}
+@xrdef{Readline Arguments-pg}{89}
@xrdef{Readline Arguments-snt}{Section@tie 8.2.4}
@xrdef{Searching-title}{Searching for Commands in the History}
-@xrdef{Searching-pg}{88}
+@xrdef{Searching-pg}{90}
@xrdef{Searching-snt}{Section@tie 8.2.5}
@xrdef{Readline Init File-title}{Readline Init File}
-@xrdef{Readline Init File-pg}{88}
+@xrdef{Readline Init File-pg}{90}
@xrdef{Readline Init File-snt}{Section@tie 8.3}
@xrdef{Readline Init File Syntax-title}{Readline Init File Syntax}
-@xrdef{Readline Init File Syntax-pg}{88}
+@xrdef{Readline Init File Syntax-pg}{90}
@xrdef{Readline Init File Syntax-snt}{Section@tie 8.3.1}
@xrdef{Conditional Init Constructs-title}{Conditional Init Constructs}
-@xrdef{Conditional Init Constructs-pg}{93}
+@xrdef{Conditional Init Constructs-pg}{95}
@xrdef{Conditional Init Constructs-snt}{Section@tie 8.3.2}
@xrdef{Sample Init File-title}{Sample Init File}
-@xrdef{Sample Init File-pg}{94}
+@xrdef{Sample Init File-pg}{96}
@xrdef{Sample Init File-snt}{Section@tie 8.3.3}
@xrdef{Bindable Readline Commands-title}{Bindable Readline Commands}
-@xrdef{Bindable Readline Commands-pg}{97}
+@xrdef{Bindable Readline Commands-pg}{99}
@xrdef{Bindable Readline Commands-snt}{Section@tie 8.4}
@xrdef{Commands For Moving-title}{Commands For Moving}
-@xrdef{Commands For Moving-pg}{97}
+@xrdef{Commands For Moving-pg}{99}
@xrdef{Commands For Moving-snt}{Section@tie 8.4.1}
@xrdef{Commands For History-title}{Commands For Manipulating The History}
-@xrdef{Commands For History-pg}{97}
+@xrdef{Commands For History-pg}{99}
@xrdef{Commands For History-snt}{Section@tie 8.4.2}
@xrdef{Commands For Text-title}{Commands For Changing Text}
-@xrdef{Commands For Text-pg}{99}
+@xrdef{Commands For Text-pg}{101}
@xrdef{Commands For Text-snt}{Section@tie 8.4.3}
@xrdef{Commands For Killing-title}{Killing And Yanking}
-@xrdef{Commands For Killing-pg}{100}
+@xrdef{Commands For Killing-pg}{102}
@xrdef{Commands For Killing-snt}{Section@tie 8.4.4}
@xrdef{Numeric Arguments-title}{Specifying Numeric Arguments}
-@xrdef{Numeric Arguments-pg}{101}
+@xrdef{Numeric Arguments-pg}{103}
@xrdef{Numeric Arguments-snt}{Section@tie 8.4.5}
@xrdef{Commands For Completion-title}{Letting Readline Type For You}
-@xrdef{Commands For Completion-pg}{101}
+@xrdef{Commands For Completion-pg}{103}
@xrdef{Commands For Completion-snt}{Section@tie 8.4.6}
@xrdef{Keyboard Macros-title}{Keyboard Macros}
-@xrdef{Keyboard Macros-pg}{102}
+@xrdef{Keyboard Macros-pg}{104}
@xrdef{Keyboard Macros-snt}{Section@tie 8.4.7}
@xrdef{Miscellaneous Commands-title}{Some Miscellaneous Commands}
-@xrdef{Miscellaneous Commands-pg}{103}
+@xrdef{Miscellaneous Commands-pg}{105}
@xrdef{Miscellaneous Commands-snt}{Section@tie 8.4.8}
@xrdef{Readline vi Mode-title}{Readline vi Mode}
-@xrdef{Readline vi Mode-pg}{105}
+@xrdef{Readline vi Mode-pg}{107}
@xrdef{Readline vi Mode-snt}{Section@tie 8.5}
@xrdef{Programmable Completion-title}{Programmable Completion}
-@xrdef{Programmable Completion-pg}{105}
+@xrdef{Programmable Completion-pg}{107}
@xrdef{Programmable Completion-snt}{Section@tie 8.6}
@xrdef{Programmable Completion Builtins-title}{Programmable Completion Builtins}
-@xrdef{Programmable Completion Builtins-pg}{107}
+@xrdef{Programmable Completion Builtins-pg}{109}
@xrdef{Programmable Completion Builtins-snt}{Section@tie 8.7}
@xrdef{Using History Interactively-title}{Using History Interactively}
-@xrdef{Using History Interactively-pg}{111}
+@xrdef{Using History Interactively-pg}{113}
@xrdef{Using History Interactively-snt}{Chapter@tie 9}
@xrdef{Bash History Facilities-title}{Bash History Facilities}
-@xrdef{Bash History Facilities-pg}{111}
+@xrdef{Bash History Facilities-pg}{113}
@xrdef{Bash History Facilities-snt}{Section@tie 9.1}
@xrdef{Bash History Builtins-title}{Bash History Builtins}
-@xrdef{Bash History Builtins-pg}{111}
+@xrdef{Bash History Builtins-pg}{113}
@xrdef{Bash History Builtins-snt}{Section@tie 9.2}
@xrdef{History Interaction-title}{History Expansion}
-@xrdef{History Interaction-pg}{113}
+@xrdef{History Interaction-pg}{115}
@xrdef{History Interaction-snt}{Section@tie 9.3}
@xrdef{Event Designators-title}{Event Designators}
-@xrdef{Event Designators-pg}{113}
+@xrdef{Event Designators-pg}{115}
@xrdef{Event Designators-snt}{Section@tie 9.3.1}
@xrdef{Word Designators-title}{Word Designators}
-@xrdef{Word Designators-pg}{114}
+@xrdef{Word Designators-pg}{116}
@xrdef{Word Designators-snt}{Section@tie 9.3.2}
@xrdef{Modifiers-title}{Modifiers}
-@xrdef{Modifiers-pg}{115}
+@xrdef{Modifiers-pg}{117}
@xrdef{Modifiers-snt}{Section@tie 9.3.3}
@xrdef{Installing Bash-title}{Installing Bash}
-@xrdef{Installing Bash-pg}{117}
+@xrdef{Installing Bash-pg}{119}
@xrdef{Installing Bash-snt}{Chapter@tie 10}
@xrdef{Basic Installation-title}{Basic Installation}
-@xrdef{Basic Installation-pg}{117}
+@xrdef{Basic Installation-pg}{119}
@xrdef{Basic Installation-snt}{Section@tie 10.1}
@xrdef{Compilers and Options-title}{Compilers and Options}
-@xrdef{Compilers and Options-pg}{118}
+@xrdef{Compilers and Options-pg}{120}
@xrdef{Compilers and Options-snt}{Section@tie 10.2}
@xrdef{Compiling For Multiple Architectures-title}{Compiling For Multiple Architectures}
-@xrdef{Compiling For Multiple Architectures-pg}{118}
+@xrdef{Compiling For Multiple Architectures-pg}{120}
@xrdef{Compiling For Multiple Architectures-snt}{Section@tie 10.3}
@xrdef{Installation Names-title}{Installation Names}
-@xrdef{Installation Names-pg}{118}
+@xrdef{Installation Names-pg}{120}
@xrdef{Installation Names-snt}{Section@tie 10.4}
@xrdef{Specifying the System Type-title}{Specifying the System Type}
-@xrdef{Specifying the System Type-pg}{119}
+@xrdef{Specifying the System Type-pg}{121}
@xrdef{Specifying the System Type-snt}{Section@tie 10.5}
@xrdef{Sharing Defaults-title}{Sharing Defaults}
-@xrdef{Sharing Defaults-pg}{119}
+@xrdef{Sharing Defaults-pg}{121}
@xrdef{Sharing Defaults-snt}{Section@tie 10.6}
@xrdef{Operation Controls-title}{Operation Controls}
-@xrdef{Operation Controls-pg}{119}
+@xrdef{Operation Controls-pg}{121}
@xrdef{Operation Controls-snt}{Section@tie 10.7}
@xrdef{Optional Features-title}{Optional Features}
-@xrdef{Optional Features-pg}{119}
+@xrdef{Optional Features-pg}{121}
@xrdef{Optional Features-snt}{Section@tie 10.8}
@xrdef{Reporting Bugs-title}{Reporting Bugs}
-@xrdef{Reporting Bugs-pg}{125}
+@xrdef{Reporting Bugs-pg}{127}
@xrdef{Reporting Bugs-snt}{Appendix@tie @char65{}}
@xrdef{Major Differences From The Bourne Shell-title}{Major Differences From The Bourne Shell}
-@xrdef{Major Differences From The Bourne Shell-pg}{127}
+@xrdef{Major Differences From The Bourne Shell-pg}{129}
@xrdef{Major Differences From The Bourne Shell-snt}{Appendix@tie @char66{}}
@xrdef{Copying This Manual-title}{Copying This Manual}
-@xrdef{Copying This Manual-pg}{133}
+@xrdef{Copying This Manual-pg}{135}
@xrdef{Copying This Manual-snt}{Appendix@tie @char67{}}
@xrdef{GNU Free Documentation License-title}{GNU Free Documentation License}
-@xrdef{GNU Free Documentation License-pg}{133}
+@xrdef{GNU Free Documentation License-pg}{135}
@xrdef{GNU Free Documentation License-snt}{Section@tie @char67.1}
@xrdef{Builtin Index-title}{Index of Shell Builtin Commands}
-@xrdef{Builtin Index-pg}{141}
+@xrdef{Builtin Index-pg}{143}
@xrdef{Builtin Index-snt}{}
@xrdef{Reserved Word Index-title}{Index of Shell Reserved Words}
-@xrdef{Reserved Word Index-pg}{143}
+@xrdef{Reserved Word Index-pg}{145}
@xrdef{Reserved Word Index-snt}{}
@xrdef{Variable Index-title}{Parameter and Variable Index}
-@xrdef{Variable Index-pg}{145}
+@xrdef{Variable Index-pg}{147}
@xrdef{Variable Index-snt}{}
@xrdef{Function Index-title}{Function Index}
-@xrdef{Function Index-pg}{147}
+@xrdef{Function Index-pg}{149}
@xrdef{Function Index-snt}{}
@xrdef{Concept Index-title}{Concept Index}
-@xrdef{Concept Index-pg}{149}
+@xrdef{Concept Index-pg}{151}
@xrdef{Concept Index-snt}{}
\entry{printf}{44}{\code {printf}}
\entry{read}{44}{\code {read}}
\entry{shopt}{45}{\code {shopt}}
-\entry{source}{48}{\code {source}}
-\entry{type}{48}{\code {type}}
+\entry{source}{49}{\code {source}}
+\entry{type}{49}{\code {type}}
\entry{typeset}{49}{\code {typeset}}
\entry{ulimit}{49}{\code {ulimit}}
\entry{unalias}{50}{\code {unalias}}
\entry{set}{50}{\code {set}}
-\entry{dirs}{73}{\code {dirs}}
-\entry{popd}{74}{\code {popd}}
-\entry{pushd}{74}{\code {pushd}}
-\entry{bg}{82}{\code {bg}}
-\entry{fg}{82}{\code {fg}}
-\entry{jobs}{82}{\code {jobs}}
-\entry{kill}{83}{\code {kill}}
-\entry{wait}{83}{\code {wait}}
-\entry{disown}{83}{\code {disown}}
-\entry{suspend}{83}{\code {suspend}}
-\entry{compgen}{107}{\code {compgen}}
-\entry{complete}{107}{\code {complete}}
-\entry{fc}{111}{\code {fc}}
-\entry{history}{112}{\code {history}}
+\entry{dirs}{75}{\code {dirs}}
+\entry{popd}{76}{\code {popd}}
+\entry{pushd}{76}{\code {pushd}}
+\entry{bg}{84}{\code {bg}}
+\entry{fg}{84}{\code {fg}}
+\entry{jobs}{84}{\code {jobs}}
+\entry{kill}{85}{\code {kill}}
+\entry{wait}{85}{\code {wait}}
+\entry{disown}{85}{\code {disown}}
+\entry{suspend}{85}{\code {suspend}}
+\entry{compgen}{109}{\code {compgen}}
+\entry{complete}{109}{\code {complete}}
+\entry{fc}{113}{\code {fc}}
+\entry{history}{114}{\code {history}}
\initial {A}
\entry {\code {alias}}{39}
\initial {B}
-\entry {\code {bg}}{82}
+\entry {\code {bg}}{84}
\entry {\code {bind}}{39}
\entry {\code {break}}{33}
\entry {\code {builtin}}{40}
\entry {\code {caller}}{40}
\entry {\code {cd}}{33}
\entry {\code {command}}{41}
-\entry {\code {compgen}}{107}
-\entry {\code {complete}}{107}
+\entry {\code {compgen}}{109}
+\entry {\code {complete}}{109}
\entry {\code {continue}}{34}
\initial {D}
\entry {\code {declare}}{41}
-\entry {\code {dirs}}{73}
-\entry {\code {disown}}{83}
+\entry {\code {dirs}}{75}
+\entry {\code {disown}}{85}
\initial {E}
\entry {\code {echo}}{42}
\entry {\code {enable}}{42}
\entry {\code {exit}}{34}
\entry {\code {export}}{34}
\initial {F}
-\entry {\code {fc}}{111}
-\entry {\code {fg}}{82}
+\entry {\code {fc}}{113}
+\entry {\code {fg}}{84}
\initial {G}
\entry {\code {getopts}}{35}
\initial {H}
\entry {\code {hash}}{35}
\entry {\code {help}}{43}
-\entry {\code {history}}{112}
+\entry {\code {history}}{114}
\initial {J}
-\entry {\code {jobs}}{82}
+\entry {\code {jobs}}{84}
\initial {K}
-\entry {\code {kill}}{83}
+\entry {\code {kill}}{85}
\initial {L}
\entry {\code {let}}{43}
\entry {\code {local}}{43}
\entry {\code {logout}}{43}
\initial {P}
-\entry {\code {popd}}{74}
+\entry {\code {popd}}{76}
\entry {\code {printf}}{44}
-\entry {\code {pushd}}{74}
+\entry {\code {pushd}}{76}
\entry {\code {pwd}}{36}
\initial {R}
\entry {\code {read}}{44}
\entry {\code {set}}{50}
\entry {\code {shift}}{36}
\entry {\code {shopt}}{45}
-\entry {\code {source}}{48}
-\entry {\code {suspend}}{83}
+\entry {\code {source}}{49}
+\entry {\code {suspend}}{85}
\initial {T}
\entry {\code {test}}{37}
\entry {\code {times}}{38}
\entry {\code {trap}}{38}
-\entry {\code {type}}{48}
+\entry {\code {type}}{49}
\entry {\code {typeset}}{49}
\initial {U}
\entry {\code {ulimit}}{49}
\entry {\code {unalias}}{50}
\entry {\code {unset}}{39}
\initial {W}
-\entry {\code {wait}}{83}
+\entry {\code {wait}}{85}
\entry{commands, looping}{9}{commands, looping}
\entry{commands, conditional}{10}{commands, conditional}
\entry{commands, grouping}{13}{commands, grouping}
-\entry{shell function}{13}{shell function}
-\entry{functions, shell}{13}{functions, shell}
+\entry{shell function}{14}{shell function}
+\entry{functions, shell}{14}{functions, shell}
\entry{parameters}{15}{parameters}
\entry{variable, shell}{15}{variable, shell}
\entry{shell variable}{15}{shell variable}
\entry{parameters, positional}{15}{parameters, positional}
-\entry{parameters, special}{15}{parameters, special}
-\entry{expansion}{16}{expansion}
+\entry{parameters, special}{16}{parameters, special}
+\entry{expansion}{17}{expansion}
\entry{brace expansion}{17}{brace expansion}
\entry{expansion, brace}{17}{expansion, brace}
\entry{tilde expansion}{18}{tilde expansion}
\entry{parameter expansion}{19}{parameter expansion}
\entry{expansion, parameter}{19}{expansion, parameter}
\entry{command substitution}{21}{command substitution}
-\entry{expansion, arithmetic}{21}{expansion, arithmetic}
-\entry{arithmetic expansion}{21}{arithmetic expansion}
+\entry{expansion, arithmetic}{22}{expansion, arithmetic}
+\entry{arithmetic expansion}{22}{arithmetic expansion}
\entry{process substitution}{22}{process substitution}
\entry{word splitting}{22}{word splitting}
\entry{expansion, filename}{23}{expansion, filename}
\entry{pathname expansion}{23}{pathname expansion}
\entry{pattern matching}{23}{pattern matching}
\entry{matching, pattern}{23}{matching, pattern}
-\entry{redirection}{24}{redirection}
+\entry{redirection}{25}{redirection}
\entry{command expansion}{28}{command expansion}
\entry{command execution}{29}{command execution}
\entry{command search}{29}{command search}
\entry{signal handling}{31}{signal handling}
\entry{shell script}{32}{shell script}
\entry{special builtin}{54}{special builtin}
-\entry{login shell}{65}{login shell}
-\entry{interactive shell}{65}{interactive shell}
-\entry{startup files}{65}{startup files}
+\entry{login shell}{67}{login shell}
\entry{interactive shell}{67}{interactive shell}
-\entry{shell, interactive}{67}{shell, interactive}
-\entry{expressions, conditional}{69}{expressions, conditional}
-\entry{arithmetic, shell}{70}{arithmetic, shell}
-\entry{shell arithmetic}{70}{shell arithmetic}
-\entry{expressions, arithmetic}{70}{expressions, arithmetic}
-\entry{evaluation, arithmetic}{70}{evaluation, arithmetic}
-\entry{arithmetic evaluation}{70}{arithmetic evaluation}
-\entry{alias expansion}{71}{alias expansion}
-\entry{arrays}{72}{arrays}
-\entry{directory stack}{73}{directory stack}
-\entry{prompting}{75}{prompting}
-\entry{restricted shell}{76}{restricted shell}
-\entry{POSIX Mode}{76}{POSIX Mode}
-\entry{job control}{81}{job control}
-\entry{foreground}{81}{foreground}
-\entry{background}{81}{background}
-\entry{suspending jobs}{81}{suspending jobs}
-\entry{Readline, how to use}{84}{Readline, how to use}
-\entry{interaction, readline}{85}{interaction, readline}
-\entry{notation, readline}{85}{notation, readline}
-\entry{command editing}{85}{command editing}
-\entry{editing command lines}{85}{editing command lines}
-\entry{killing text}{87}{killing text}
-\entry{yanking text}{87}{yanking text}
-\entry{kill ring}{87}{kill ring}
-\entry{initialization file, readline}{88}{initialization file, readline}
-\entry{variables, readline}{89}{variables, readline}
-\entry{programmable completion}{105}{programmable completion}
-\entry{completion builtins}{107}{completion builtins}
-\entry{History, how to use}{110}{History, how to use}
-\entry{command history}{111}{command history}
-\entry{history list}{111}{history list}
-\entry{history builtins}{111}{history builtins}
-\entry{history expansion}{113}{history expansion}
-\entry{event designators}{113}{event designators}
-\entry{history events}{113}{history events}
-\entry{installation}{117}{installation}
-\entry{configuration}{117}{configuration}
-\entry{Bash installation}{117}{Bash installation}
-\entry{Bash configuration}{117}{Bash configuration}
-\entry{FDL, GNU Free Documentation License}{133}{FDL, GNU Free Documentation License}
+\entry{startup files}{67}{startup files}
+\entry{interactive shell}{69}{interactive shell}
+\entry{shell, interactive}{69}{shell, interactive}
+\entry{expressions, conditional}{71}{expressions, conditional}
+\entry{arithmetic, shell}{72}{arithmetic, shell}
+\entry{shell arithmetic}{72}{shell arithmetic}
+\entry{expressions, arithmetic}{72}{expressions, arithmetic}
+\entry{evaluation, arithmetic}{72}{evaluation, arithmetic}
+\entry{arithmetic evaluation}{72}{arithmetic evaluation}
+\entry{alias expansion}{73}{alias expansion}
+\entry{arrays}{74}{arrays}
+\entry{directory stack}{75}{directory stack}
+\entry{prompting}{77}{prompting}
+\entry{restricted shell}{78}{restricted shell}
+\entry{POSIX Mode}{78}{POSIX Mode}
+\entry{job control}{83}{job control}
+\entry{foreground}{83}{foreground}
+\entry{background}{83}{background}
+\entry{suspending jobs}{83}{suspending jobs}
+\entry{Readline, how to use}{86}{Readline, how to use}
+\entry{interaction, readline}{87}{interaction, readline}
+\entry{notation, readline}{87}{notation, readline}
+\entry{command editing}{87}{command editing}
+\entry{editing command lines}{87}{editing command lines}
+\entry{killing text}{89}{killing text}
+\entry{yanking text}{89}{yanking text}
+\entry{kill ring}{89}{kill ring}
+\entry{initialization file, readline}{90}{initialization file, readline}
+\entry{variables, readline}{91}{variables, readline}
+\entry{programmable completion}{107}{programmable completion}
+\entry{completion builtins}{109}{completion builtins}
+\entry{History, how to use}{112}{History, how to use}
+\entry{command history}{113}{command history}
+\entry{history list}{113}{history list}
+\entry{history builtins}{113}{history builtins}
+\entry{history expansion}{115}{history expansion}
+\entry{event designators}{115}{event designators}
+\entry{history events}{115}{history events}
+\entry{installation}{119}{installation}
+\entry{configuration}{119}{configuration}
+\entry{Bash installation}{119}{Bash installation}
+\entry{Bash configuration}{119}{Bash configuration}
+\entry{FDL, GNU Free Documentation License}{135}{FDL, GNU Free Documentation License}
\initial {A}
-\entry {alias expansion}{71}
-\entry {arithmetic evaluation}{70}
-\entry {arithmetic expansion}{21}
-\entry {arithmetic, shell}{70}
-\entry {arrays}{72}
+\entry {alias expansion}{73}
+\entry {arithmetic evaluation}{72}
+\entry {arithmetic expansion}{22}
+\entry {arithmetic, shell}{72}
+\entry {arrays}{74}
\initial {B}
-\entry {background}{81}
-\entry {Bash configuration}{117}
-\entry {Bash installation}{117}
+\entry {background}{83}
+\entry {Bash configuration}{119}
+\entry {Bash installation}{119}
\entry {Bourne shell}{5}
\entry {brace expansion}{17}
\entry {builtin}{3}
\initial {C}
-\entry {command editing}{85}
+\entry {command editing}{87}
\entry {command execution}{29}
\entry {command expansion}{28}
-\entry {command history}{111}
+\entry {command history}{113}
\entry {command search}{29}
\entry {command substitution}{21}
\entry {command timing}{8}
\entry {commands, shell}{8}
\entry {commands, simple}{8}
\entry {comments, shell}{7}
-\entry {completion builtins}{107}
-\entry {configuration}{117}
+\entry {completion builtins}{109}
+\entry {configuration}{119}
\entry {control operator}{3}
\initial {D}
-\entry {directory stack}{73}
+\entry {directory stack}{75}
\initial {E}
-\entry {editing command lines}{85}
+\entry {editing command lines}{87}
\entry {environment}{30}
-\entry {evaluation, arithmetic}{70}
-\entry {event designators}{113}
+\entry {evaluation, arithmetic}{72}
+\entry {event designators}{115}
\entry {execution environment}{29}
\entry {exit status}{3, 31}
-\entry {expansion}{16}
-\entry {expansion, arithmetic}{21}
+\entry {expansion}{17}
+\entry {expansion, arithmetic}{22}
\entry {expansion, brace}{17}
\entry {expansion, filename}{23}
\entry {expansion, parameter}{19}
\entry {expansion, pathname}{23}
\entry {expansion, tilde}{18}
-\entry {expressions, arithmetic}{70}
-\entry {expressions, conditional}{69}
+\entry {expressions, arithmetic}{72}
+\entry {expressions, conditional}{71}
\initial {F}
-\entry {FDL, GNU Free Documentation License}{133}
+\entry {FDL, GNU Free Documentation License}{135}
\entry {field}{3}
\entry {filename}{3}
\entry {filename expansion}{23}
-\entry {foreground}{81}
-\entry {functions, shell}{13}
+\entry {foreground}{83}
+\entry {functions, shell}{14}
\initial {H}
-\entry {history builtins}{111}
-\entry {history events}{113}
-\entry {history expansion}{113}
-\entry {history list}{111}
-\entry {History, how to use}{110}
+\entry {history builtins}{113}
+\entry {history events}{115}
+\entry {history expansion}{115}
+\entry {history list}{113}
+\entry {History, how to use}{112}
\initial {I}
\entry {identifier}{3}
-\entry {initialization file, readline}{88}
-\entry {installation}{117}
-\entry {interaction, readline}{85}
-\entry {interactive shell}{65, 67}
+\entry {initialization file, readline}{90}
+\entry {installation}{119}
+\entry {interaction, readline}{87}
+\entry {interactive shell}{67, 69}
\entry {internationalization}{7}
\initial {J}
\entry {job}{3}
-\entry {job control}{3, 81}
+\entry {job control}{3, 83}
\initial {K}
-\entry {kill ring}{87}
-\entry {killing text}{87}
+\entry {kill ring}{89}
+\entry {killing text}{89}
\initial {L}
\entry {localization}{7}
-\entry {login shell}{65}
+\entry {login shell}{67}
\initial {M}
\entry {matching, pattern}{23}
\entry {metacharacter}{3}
\initial {N}
\entry {name}{3}
\entry {native languages}{7}
-\entry {notation, readline}{85}
+\entry {notation, readline}{87}
\initial {O}
\entry {operator, shell}{3}
\initial {P}
\entry {parameter expansion}{19}
\entry {parameters}{15}
\entry {parameters, positional}{15}
-\entry {parameters, special}{15}
+\entry {parameters, special}{16}
\entry {pathname expansion}{23}
\entry {pattern matching}{23}
\entry {pipeline}{8}
\entry {POSIX}{3}
-\entry {POSIX Mode}{76}
+\entry {POSIX Mode}{78}
\entry {process group}{3}
\entry {process group ID}{3}
\entry {process substitution}{22}
-\entry {programmable completion}{105}
-\entry {prompting}{75}
+\entry {programmable completion}{107}
+\entry {prompting}{77}
\initial {Q}
\entry {quoting}{6}
\entry {quoting, ANSI}{6}
\initial {R}
-\entry {Readline, how to use}{84}
-\entry {redirection}{24}
+\entry {Readline, how to use}{86}
+\entry {redirection}{25}
\entry {reserved word}{3}
-\entry {restricted shell}{76}
+\entry {restricted shell}{78}
\entry {return status}{3}
\initial {S}
-\entry {shell arithmetic}{70}
-\entry {shell function}{13}
+\entry {shell arithmetic}{72}
+\entry {shell function}{14}
\entry {shell script}{32}
\entry {shell variable}{15}
-\entry {shell, interactive}{67}
+\entry {shell, interactive}{69}
\entry {signal}{4}
\entry {signal handling}{31}
\entry {special builtin}{4, 54}
-\entry {startup files}{65}
-\entry {suspending jobs}{81}
+\entry {startup files}{67}
+\entry {suspending jobs}{83}
\initial {T}
\entry {tilde expansion}{18}
\entry {token}{4}
\entry {translation, native languages}{7}
\initial {V}
\entry {variable, shell}{15}
-\entry {variables, readline}{89}
+\entry {variables, readline}{91}
\initial {W}
\entry {word}{4}
\entry {word splitting}{22}
\initial {Y}
-\entry {yanking text}{87}
+\entry {yanking text}{89}
-\entry{beginning-of-line (C-a)}{97}{\code {beginning-of-line (C-a)}}
-\entry{end-of-line (C-e)}{97}{\code {end-of-line (C-e)}}
-\entry{forward-char (C-f)}{97}{\code {forward-char (C-f)}}
-\entry{backward-char (C-b)}{97}{\code {backward-char (C-b)}}
-\entry{forward-word (M-f)}{97}{\code {forward-word (M-f)}}
-\entry{backward-word (M-b)}{97}{\code {backward-word (M-b)}}
-\entry{clear-screen (C-l)}{97}{\code {clear-screen (C-l)}}
-\entry{redraw-current-line ()}{97}{\code {redraw-current-line ()}}
-\entry{accept-line (Newline or Return)}{97}{\code {accept-line (Newline or Return)}}
-\entry{previous-history (C-p)}{98}{\code {previous-history (C-p)}}
-\entry{next-history (C-n)}{98}{\code {next-history (C-n)}}
-\entry{beginning-of-history (M-<)}{98}{\code {beginning-of-history (M-<)}}
-\entry{end-of-history (M->)}{98}{\code {end-of-history (M->)}}
-\entry{reverse-search-history (C-r)}{98}{\code {reverse-search-history (C-r)}}
-\entry{forward-search-history (C-s)}{98}{\code {forward-search-history (C-s)}}
-\entry{non-incremental-reverse-search-history (M-p)}{98}{\code {non-incremental-reverse-search-history (M-p)}}
-\entry{non-incremental-forward-search-history (M-n)}{98}{\code {non-incremental-forward-search-history (M-n)}}
-\entry{history-search-forward ()}{98}{\code {history-search-forward ()}}
-\entry{history-search-backward ()}{98}{\code {history-search-backward ()}}
-\entry{yank-nth-arg (M-C-y)}{98}{\code {yank-nth-arg (M-C-y)}}
-\entry{yank-last-arg (M-. or M-_)}{98}{\code {yank-last-arg (M-. or M-_)}}
-\entry{delete-char (C-d)}{99}{\code {delete-char (C-d)}}
-\entry{backward-delete-char (Rubout)}{99}{\code {backward-delete-char (Rubout)}}
-\entry{forward-backward-delete-char ()}{99}{\code {forward-backward-delete-char ()}}
-\entry{quoted-insert (C-q or C-v)}{99}{\code {quoted-insert (C-q or C-v)}}
-\entry{self-insert (a, b, A, 1, !, ...{})}{99}{\code {self-insert (a, b, A, 1, !, \dots {})}}
-\entry{transpose-chars (C-t)}{99}{\code {transpose-chars (C-t)}}
-\entry{transpose-words (M-t)}{99}{\code {transpose-words (M-t)}}
-\entry{upcase-word (M-u)}{99}{\code {upcase-word (M-u)}}
-\entry{downcase-word (M-l)}{99}{\code {downcase-word (M-l)}}
-\entry{capitalize-word (M-c)}{99}{\code {capitalize-word (M-c)}}
-\entry{overwrite-mode ()}{99}{\code {overwrite-mode ()}}
-\entry{kill-line (C-k)}{100}{\code {kill-line (C-k)}}
-\entry{backward-kill-line (C-x Rubout)}{100}{\code {backward-kill-line (C-x Rubout)}}
-\entry{unix-line-discard (C-u)}{100}{\code {unix-line-discard (C-u)}}
-\entry{kill-whole-line ()}{100}{\code {kill-whole-line ()}}
-\entry{kill-word (M-d)}{100}{\code {kill-word (M-d)}}
-\entry{backward-kill-word (M-DEL)}{100}{\code {backward-kill-word (M-\key {DEL})}}
-\entry{unix-word-rubout (C-w)}{100}{\code {unix-word-rubout (C-w)}}
-\entry{unix-filename-rubout ()}{100}{\code {unix-filename-rubout ()}}
-\entry{delete-horizontal-space ()}{100}{\code {delete-horizontal-space ()}}
-\entry{kill-region ()}{100}{\code {kill-region ()}}
-\entry{copy-region-as-kill ()}{100}{\code {copy-region-as-kill ()}}
-\entry{copy-backward-word ()}{100}{\code {copy-backward-word ()}}
-\entry{copy-forward-word ()}{100}{\code {copy-forward-word ()}}
-\entry{yank (C-y)}{101}{\code {yank (C-y)}}
-\entry{yank-pop (M-y)}{101}{\code {yank-pop (M-y)}}
-\entry{digit-argument (M-0, M-1, ...{} M--)}{101}{\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}
-\entry{universal-argument ()}{101}{\code {universal-argument ()}}
-\entry{complete (TAB)}{101}{\code {complete (\key {TAB})}}
-\entry{possible-completions (M-?)}{101}{\code {possible-completions (M-?)}}
-\entry{insert-completions (M-*)}{101}{\code {insert-completions (M-*)}}
-\entry{menu-complete ()}{101}{\code {menu-complete ()}}
-\entry{delete-char-or-list ()}{102}{\code {delete-char-or-list ()}}
-\entry{complete-filename (M-/)}{102}{\code {complete-filename (M-/)}}
-\entry{possible-filename-completions (C-x /)}{102}{\code {possible-filename-completions (C-x /)}}
-\entry{complete-username (M-~)}{102}{\code {complete-username (M-~)}}
-\entry{possible-username-completions (C-x ~)}{102}{\code {possible-username-completions (C-x ~)}}
-\entry{complete-variable (M-$)}{102}{\code {complete-variable (M-$)}}
-\entry{possible-variable-completions (C-x $)}{102}{\code {possible-variable-completions (C-x $)}}
-\entry{complete-hostname (M-@)}{102}{\code {complete-hostname (M-@)}}
-\entry{possible-hostname-completions (C-x @)}{102}{\code {possible-hostname-completions (C-x @)}}
-\entry{complete-command (M-!)}{102}{\code {complete-command (M-!)}}
-\entry{possible-command-completions (C-x !)}{102}{\code {possible-command-completions (C-x !)}}
-\entry{dynamic-complete-history (M-TAB)}{102}{\code {dynamic-complete-history (M-\key {TAB})}}
-\entry{complete-into-braces (M-{\tt \char 123})}{102}{\code {complete-into-braces (M-{\tt \char 123})}}
-\entry{start-kbd-macro (C-x ()}{102}{\code {start-kbd-macro (C-x ()}}
-\entry{end-kbd-macro (C-x ))}{103}{\code {end-kbd-macro (C-x ))}}
-\entry{call-last-kbd-macro (C-x e)}{103}{\code {call-last-kbd-macro (C-x e)}}
-\entry{re-read-init-file (C-x C-r)}{103}{\code {re-read-init-file (C-x C-r)}}
-\entry{abort (C-g)}{103}{\code {abort (C-g)}}
-\entry{do-uppercase-version (M-a, M-b, M-x, ...{})}{103}{\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}
-\entry{prefix-meta (ESC)}{103}{\code {prefix-meta (\key {ESC})}}
-\entry{undo (C-_ or C-x C-u)}{103}{\code {undo (C-_ or C-x C-u)}}
-\entry{revert-line (M-r)}{103}{\code {revert-line (M-r)}}
-\entry{tilde-expand (M-&)}{103}{\code {tilde-expand (M-&)}}
-\entry{set-mark (C-@)}{103}{\code {set-mark (C-@)}}
-\entry{exchange-point-and-mark (C-x C-x)}{103}{\code {exchange-point-and-mark (C-x C-x)}}
-\entry{character-search (C-])}{103}{\code {character-search (C-])}}
-\entry{character-search-backward (M-C-])}{103}{\code {character-search-backward (M-C-])}}
-\entry{insert-comment (M-#)}{104}{\code {insert-comment (M-#)}}
-\entry{dump-functions ()}{104}{\code {dump-functions ()}}
-\entry{dump-variables ()}{104}{\code {dump-variables ()}}
-\entry{dump-macros ()}{104}{\code {dump-macros ()}}
-\entry{glob-complete-word (M-g)}{104}{\code {glob-complete-word (M-g)}}
-\entry{glob-expand-word (C-x *)}{104}{\code {glob-expand-word (C-x *)}}
-\entry{glob-list-expansions (C-x g)}{104}{\code {glob-list-expansions (C-x g)}}
-\entry{display-shell-version (C-x C-v)}{104}{\code {display-shell-version (C-x C-v)}}
-\entry{shell-expand-line (M-C-e)}{104}{\code {shell-expand-line (M-C-e)}}
-\entry{history-expand-line (M-^)}{104}{\code {history-expand-line (M-^)}}
-\entry{magic-space ()}{105}{\code {magic-space ()}}
-\entry{alias-expand-line ()}{105}{\code {alias-expand-line ()}}
-\entry{history-and-alias-expand-line ()}{105}{\code {history-and-alias-expand-line ()}}
-\entry{insert-last-argument (M-. or M-_)}{105}{\code {insert-last-argument (M-. or M-_)}}
-\entry{operate-and-get-next (C-o)}{105}{\code {operate-and-get-next (C-o)}}
-\entry{edit-and-execute-command (C-xC-e)}{105}{\code {edit-and-execute-command (C-xC-e)}}
+\entry{beginning-of-line (C-a)}{99}{\code {beginning-of-line (C-a)}}
+\entry{end-of-line (C-e)}{99}{\code {end-of-line (C-e)}}
+\entry{forward-char (C-f)}{99}{\code {forward-char (C-f)}}
+\entry{backward-char (C-b)}{99}{\code {backward-char (C-b)}}
+\entry{forward-word (M-f)}{99}{\code {forward-word (M-f)}}
+\entry{backward-word (M-b)}{99}{\code {backward-word (M-b)}}
+\entry{clear-screen (C-l)}{99}{\code {clear-screen (C-l)}}
+\entry{redraw-current-line ()}{99}{\code {redraw-current-line ()}}
+\entry{accept-line (Newline or Return)}{99}{\code {accept-line (Newline or Return)}}
+\entry{previous-history (C-p)}{100}{\code {previous-history (C-p)}}
+\entry{next-history (C-n)}{100}{\code {next-history (C-n)}}
+\entry{beginning-of-history (M-<)}{100}{\code {beginning-of-history (M-<)}}
+\entry{end-of-history (M->)}{100}{\code {end-of-history (M->)}}
+\entry{reverse-search-history (C-r)}{100}{\code {reverse-search-history (C-r)}}
+\entry{forward-search-history (C-s)}{100}{\code {forward-search-history (C-s)}}
+\entry{non-incremental-reverse-search-history (M-p)}{100}{\code {non-incremental-reverse-search-history (M-p)}}
+\entry{non-incremental-forward-search-history (M-n)}{100}{\code {non-incremental-forward-search-history (M-n)}}
+\entry{history-search-forward ()}{100}{\code {history-search-forward ()}}
+\entry{history-search-backward ()}{100}{\code {history-search-backward ()}}
+\entry{yank-nth-arg (M-C-y)}{100}{\code {yank-nth-arg (M-C-y)}}
+\entry{yank-last-arg (M-. or M-_)}{100}{\code {yank-last-arg (M-. or M-_)}}
+\entry{delete-char (C-d)}{101}{\code {delete-char (C-d)}}
+\entry{backward-delete-char (Rubout)}{101}{\code {backward-delete-char (Rubout)}}
+\entry{forward-backward-delete-char ()}{101}{\code {forward-backward-delete-char ()}}
+\entry{quoted-insert (C-q or C-v)}{101}{\code {quoted-insert (C-q or C-v)}}
+\entry{self-insert (a, b, A, 1, !, ...{})}{101}{\code {self-insert (a, b, A, 1, !, \dots {})}}
+\entry{transpose-chars (C-t)}{101}{\code {transpose-chars (C-t)}}
+\entry{transpose-words (M-t)}{101}{\code {transpose-words (M-t)}}
+\entry{upcase-word (M-u)}{101}{\code {upcase-word (M-u)}}
+\entry{downcase-word (M-l)}{101}{\code {downcase-word (M-l)}}
+\entry{capitalize-word (M-c)}{101}{\code {capitalize-word (M-c)}}
+\entry{overwrite-mode ()}{101}{\code {overwrite-mode ()}}
+\entry{kill-line (C-k)}{102}{\code {kill-line (C-k)}}
+\entry{backward-kill-line (C-x Rubout)}{102}{\code {backward-kill-line (C-x Rubout)}}
+\entry{unix-line-discard (C-u)}{102}{\code {unix-line-discard (C-u)}}
+\entry{kill-whole-line ()}{102}{\code {kill-whole-line ()}}
+\entry{kill-word (M-d)}{102}{\code {kill-word (M-d)}}
+\entry{backward-kill-word (M-DEL)}{102}{\code {backward-kill-word (M-\key {DEL})}}
+\entry{unix-word-rubout (C-w)}{102}{\code {unix-word-rubout (C-w)}}
+\entry{unix-filename-rubout ()}{102}{\code {unix-filename-rubout ()}}
+\entry{delete-horizontal-space ()}{102}{\code {delete-horizontal-space ()}}
+\entry{kill-region ()}{102}{\code {kill-region ()}}
+\entry{copy-region-as-kill ()}{102}{\code {copy-region-as-kill ()}}
+\entry{copy-backward-word ()}{102}{\code {copy-backward-word ()}}
+\entry{copy-forward-word ()}{102}{\code {copy-forward-word ()}}
+\entry{yank (C-y)}{103}{\code {yank (C-y)}}
+\entry{yank-pop (M-y)}{103}{\code {yank-pop (M-y)}}
+\entry{digit-argument (M-0, M-1, ...{} M--)}{103}{\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}
+\entry{universal-argument ()}{103}{\code {universal-argument ()}}
+\entry{complete (TAB)}{103}{\code {complete (\key {TAB})}}
+\entry{possible-completions (M-?)}{103}{\code {possible-completions (M-?)}}
+\entry{insert-completions (M-*)}{103}{\code {insert-completions (M-*)}}
+\entry{menu-complete ()}{103}{\code {menu-complete ()}}
+\entry{delete-char-or-list ()}{104}{\code {delete-char-or-list ()}}
+\entry{complete-filename (M-/)}{104}{\code {complete-filename (M-/)}}
+\entry{possible-filename-completions (C-x /)}{104}{\code {possible-filename-completions (C-x /)}}
+\entry{complete-username (M-~)}{104}{\code {complete-username (M-~)}}
+\entry{possible-username-completions (C-x ~)}{104}{\code {possible-username-completions (C-x ~)}}
+\entry{complete-variable (M-$)}{104}{\code {complete-variable (M-$)}}
+\entry{possible-variable-completions (C-x $)}{104}{\code {possible-variable-completions (C-x $)}}
+\entry{complete-hostname (M-@)}{104}{\code {complete-hostname (M-@)}}
+\entry{possible-hostname-completions (C-x @)}{104}{\code {possible-hostname-completions (C-x @)}}
+\entry{complete-command (M-!)}{104}{\code {complete-command (M-!)}}
+\entry{possible-command-completions (C-x !)}{104}{\code {possible-command-completions (C-x !)}}
+\entry{dynamic-complete-history (M-TAB)}{104}{\code {dynamic-complete-history (M-\key {TAB})}}
+\entry{complete-into-braces (M-{\tt \char 123})}{104}{\code {complete-into-braces (M-{\tt \char 123})}}
+\entry{start-kbd-macro (C-x ()}{104}{\code {start-kbd-macro (C-x ()}}
+\entry{end-kbd-macro (C-x ))}{105}{\code {end-kbd-macro (C-x ))}}
+\entry{call-last-kbd-macro (C-x e)}{105}{\code {call-last-kbd-macro (C-x e)}}
+\entry{re-read-init-file (C-x C-r)}{105}{\code {re-read-init-file (C-x C-r)}}
+\entry{abort (C-g)}{105}{\code {abort (C-g)}}
+\entry{do-uppercase-version (M-a, M-b, M-x, ...{})}{105}{\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}
+\entry{prefix-meta (ESC)}{105}{\code {prefix-meta (\key {ESC})}}
+\entry{undo (C-_ or C-x C-u)}{105}{\code {undo (C-_ or C-x C-u)}}
+\entry{revert-line (M-r)}{105}{\code {revert-line (M-r)}}
+\entry{tilde-expand (M-&)}{105}{\code {tilde-expand (M-&)}}
+\entry{set-mark (C-@)}{105}{\code {set-mark (C-@)}}
+\entry{exchange-point-and-mark (C-x C-x)}{105}{\code {exchange-point-and-mark (C-x C-x)}}
+\entry{character-search (C-])}{105}{\code {character-search (C-])}}
+\entry{character-search-backward (M-C-])}{105}{\code {character-search-backward (M-C-])}}
+\entry{insert-comment (M-#)}{106}{\code {insert-comment (M-#)}}
+\entry{dump-functions ()}{106}{\code {dump-functions ()}}
+\entry{dump-variables ()}{106}{\code {dump-variables ()}}
+\entry{dump-macros ()}{106}{\code {dump-macros ()}}
+\entry{glob-complete-word (M-g)}{106}{\code {glob-complete-word (M-g)}}
+\entry{glob-expand-word (C-x *)}{106}{\code {glob-expand-word (C-x *)}}
+\entry{glob-list-expansions (C-x g)}{106}{\code {glob-list-expansions (C-x g)}}
+\entry{display-shell-version (C-x C-v)}{106}{\code {display-shell-version (C-x C-v)}}
+\entry{shell-expand-line (M-C-e)}{106}{\code {shell-expand-line (M-C-e)}}
+\entry{history-expand-line (M-^)}{106}{\code {history-expand-line (M-^)}}
+\entry{magic-space ()}{107}{\code {magic-space ()}}
+\entry{alias-expand-line ()}{107}{\code {alias-expand-line ()}}
+\entry{history-and-alias-expand-line ()}{107}{\code {history-and-alias-expand-line ()}}
+\entry{insert-last-argument (M-. or M-_)}{107}{\code {insert-last-argument (M-. or M-_)}}
+\entry{operate-and-get-next (C-o)}{107}{\code {operate-and-get-next (C-o)}}
+\entry{edit-and-execute-command (C-xC-e)}{107}{\code {edit-and-execute-command (C-xC-e)}}
\initial {A}
-\entry {\code {abort (C-g)}}{103}
-\entry {\code {accept-line (Newline or Return)}}{97}
-\entry {\code {alias-expand-line ()}}{105}
+\entry {\code {abort (C-g)}}{105}
+\entry {\code {accept-line (Newline or Return)}}{99}
+\entry {\code {alias-expand-line ()}}{107}
\initial {B}
-\entry {\code {backward-char (C-b)}}{97}
-\entry {\code {backward-delete-char (Rubout)}}{99}
-\entry {\code {backward-kill-line (C-x Rubout)}}{100}
-\entry {\code {backward-kill-word (M-\key {DEL})}}{100}
-\entry {\code {backward-word (M-b)}}{97}
-\entry {\code {beginning-of-history (M-<)}}{98}
-\entry {\code {beginning-of-line (C-a)}}{97}
+\entry {\code {backward-char (C-b)}}{99}
+\entry {\code {backward-delete-char (Rubout)}}{101}
+\entry {\code {backward-kill-line (C-x Rubout)}}{102}
+\entry {\code {backward-kill-word (M-\key {DEL})}}{102}
+\entry {\code {backward-word (M-b)}}{99}
+\entry {\code {beginning-of-history (M-<)}}{100}
+\entry {\code {beginning-of-line (C-a)}}{99}
\initial {C}
-\entry {\code {call-last-kbd-macro (C-x e)}}{103}
-\entry {\code {capitalize-word (M-c)}}{99}
-\entry {\code {character-search (C-])}}{103}
-\entry {\code {character-search-backward (M-C-])}}{103}
-\entry {\code {clear-screen (C-l)}}{97}
-\entry {\code {complete (\key {TAB})}}{101}
-\entry {\code {complete-command (M-!)}}{102}
-\entry {\code {complete-filename (M-/)}}{102}
-\entry {\code {complete-hostname (M-@)}}{102}
-\entry {\code {complete-into-braces (M-{\tt \char 123})}}{102}
-\entry {\code {complete-username (M-~)}}{102}
-\entry {\code {complete-variable (M-$)}}{102}
-\entry {\code {copy-backward-word ()}}{100}
-\entry {\code {copy-forward-word ()}}{100}
-\entry {\code {copy-region-as-kill ()}}{100}
+\entry {\code {call-last-kbd-macro (C-x e)}}{105}
+\entry {\code {capitalize-word (M-c)}}{101}
+\entry {\code {character-search (C-])}}{105}
+\entry {\code {character-search-backward (M-C-])}}{105}
+\entry {\code {clear-screen (C-l)}}{99}
+\entry {\code {complete (\key {TAB})}}{103}
+\entry {\code {complete-command (M-!)}}{104}
+\entry {\code {complete-filename (M-/)}}{104}
+\entry {\code {complete-hostname (M-@)}}{104}
+\entry {\code {complete-into-braces (M-{\tt \char 123})}}{104}
+\entry {\code {complete-username (M-~)}}{104}
+\entry {\code {complete-variable (M-$)}}{104}
+\entry {\code {copy-backward-word ()}}{102}
+\entry {\code {copy-forward-word ()}}{102}
+\entry {\code {copy-region-as-kill ()}}{102}
\initial {D}
-\entry {\code {delete-char (C-d)}}{99}
-\entry {\code {delete-char-or-list ()}}{102}
-\entry {\code {delete-horizontal-space ()}}{100}
-\entry {\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}{101}
-\entry {\code {display-shell-version (C-x C-v)}}{104}
-\entry {\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}{103}
-\entry {\code {downcase-word (M-l)}}{99}
-\entry {\code {dump-functions ()}}{104}
-\entry {\code {dump-macros ()}}{104}
-\entry {\code {dump-variables ()}}{104}
-\entry {\code {dynamic-complete-history (M-\key {TAB})}}{102}
+\entry {\code {delete-char (C-d)}}{101}
+\entry {\code {delete-char-or-list ()}}{104}
+\entry {\code {delete-horizontal-space ()}}{102}
+\entry {\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}{103}
+\entry {\code {display-shell-version (C-x C-v)}}{106}
+\entry {\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}{105}
+\entry {\code {downcase-word (M-l)}}{101}
+\entry {\code {dump-functions ()}}{106}
+\entry {\code {dump-macros ()}}{106}
+\entry {\code {dump-variables ()}}{106}
+\entry {\code {dynamic-complete-history (M-\key {TAB})}}{104}
\initial {E}
-\entry {\code {edit-and-execute-command (C-xC-e)}}{105}
-\entry {\code {end-kbd-macro (C-x ))}}{103}
-\entry {\code {end-of-history (M->)}}{98}
-\entry {\code {end-of-line (C-e)}}{97}
-\entry {\code {exchange-point-and-mark (C-x C-x)}}{103}
+\entry {\code {edit-and-execute-command (C-xC-e)}}{107}
+\entry {\code {end-kbd-macro (C-x ))}}{105}
+\entry {\code {end-of-history (M->)}}{100}
+\entry {\code {end-of-line (C-e)}}{99}
+\entry {\code {exchange-point-and-mark (C-x C-x)}}{105}
\initial {F}
-\entry {\code {forward-backward-delete-char ()}}{99}
-\entry {\code {forward-char (C-f)}}{97}
-\entry {\code {forward-search-history (C-s)}}{98}
-\entry {\code {forward-word (M-f)}}{97}
+\entry {\code {forward-backward-delete-char ()}}{101}
+\entry {\code {forward-char (C-f)}}{99}
+\entry {\code {forward-search-history (C-s)}}{100}
+\entry {\code {forward-word (M-f)}}{99}
\initial {G}
-\entry {\code {glob-complete-word (M-g)}}{104}
-\entry {\code {glob-expand-word (C-x *)}}{104}
-\entry {\code {glob-list-expansions (C-x g)}}{104}
+\entry {\code {glob-complete-word (M-g)}}{106}
+\entry {\code {glob-expand-word (C-x *)}}{106}
+\entry {\code {glob-list-expansions (C-x g)}}{106}
\initial {H}
-\entry {\code {history-and-alias-expand-line ()}}{105}
-\entry {\code {history-expand-line (M-^)}}{104}
-\entry {\code {history-search-backward ()}}{98}
-\entry {\code {history-search-forward ()}}{98}
+\entry {\code {history-and-alias-expand-line ()}}{107}
+\entry {\code {history-expand-line (M-^)}}{106}
+\entry {\code {history-search-backward ()}}{100}
+\entry {\code {history-search-forward ()}}{100}
\initial {I}
-\entry {\code {insert-comment (M-#)}}{104}
-\entry {\code {insert-completions (M-*)}}{101}
-\entry {\code {insert-last-argument (M-. or M-_)}}{105}
+\entry {\code {insert-comment (M-#)}}{106}
+\entry {\code {insert-completions (M-*)}}{103}
+\entry {\code {insert-last-argument (M-. or M-_)}}{107}
\initial {K}
-\entry {\code {kill-line (C-k)}}{100}
-\entry {\code {kill-region ()}}{100}
-\entry {\code {kill-whole-line ()}}{100}
-\entry {\code {kill-word (M-d)}}{100}
+\entry {\code {kill-line (C-k)}}{102}
+\entry {\code {kill-region ()}}{102}
+\entry {\code {kill-whole-line ()}}{102}
+\entry {\code {kill-word (M-d)}}{102}
\initial {M}
-\entry {\code {magic-space ()}}{105}
-\entry {\code {menu-complete ()}}{101}
+\entry {\code {magic-space ()}}{107}
+\entry {\code {menu-complete ()}}{103}
\initial {N}
-\entry {\code {next-history (C-n)}}{98}
-\entry {\code {non-incremental-forward-search-history (M-n)}}{98}
-\entry {\code {non-incremental-reverse-search-history (M-p)}}{98}
+\entry {\code {next-history (C-n)}}{100}
+\entry {\code {non-incremental-forward-search-history (M-n)}}{100}
+\entry {\code {non-incremental-reverse-search-history (M-p)}}{100}
\initial {O}
-\entry {\code {operate-and-get-next (C-o)}}{105}
-\entry {\code {overwrite-mode ()}}{99}
+\entry {\code {operate-and-get-next (C-o)}}{107}
+\entry {\code {overwrite-mode ()}}{101}
\initial {P}
-\entry {\code {possible-command-completions (C-x !)}}{102}
-\entry {\code {possible-completions (M-?)}}{101}
-\entry {\code {possible-filename-completions (C-x /)}}{102}
-\entry {\code {possible-hostname-completions (C-x @)}}{102}
-\entry {\code {possible-username-completions (C-x ~)}}{102}
-\entry {\code {possible-variable-completions (C-x $)}}{102}
-\entry {\code {prefix-meta (\key {ESC})}}{103}
-\entry {\code {previous-history (C-p)}}{98}
+\entry {\code {possible-command-completions (C-x !)}}{104}
+\entry {\code {possible-completions (M-?)}}{103}
+\entry {\code {possible-filename-completions (C-x /)}}{104}
+\entry {\code {possible-hostname-completions (C-x @)}}{104}
+\entry {\code {possible-username-completions (C-x ~)}}{104}
+\entry {\code {possible-variable-completions (C-x $)}}{104}
+\entry {\code {prefix-meta (\key {ESC})}}{105}
+\entry {\code {previous-history (C-p)}}{100}
\initial {Q}
-\entry {\code {quoted-insert (C-q or C-v)}}{99}
+\entry {\code {quoted-insert (C-q or C-v)}}{101}
\initial {R}
-\entry {\code {re-read-init-file (C-x C-r)}}{103}
-\entry {\code {redraw-current-line ()}}{97}
-\entry {\code {reverse-search-history (C-r)}}{98}
-\entry {\code {revert-line (M-r)}}{103}
+\entry {\code {re-read-init-file (C-x C-r)}}{105}
+\entry {\code {redraw-current-line ()}}{99}
+\entry {\code {reverse-search-history (C-r)}}{100}
+\entry {\code {revert-line (M-r)}}{105}
\initial {S}
-\entry {\code {self-insert (a, b, A, 1, !, \dots {})}}{99}
-\entry {\code {set-mark (C-@)}}{103}
-\entry {\code {shell-expand-line (M-C-e)}}{104}
-\entry {\code {start-kbd-macro (C-x ()}}{102}
+\entry {\code {self-insert (a, b, A, 1, !, \dots {})}}{101}
+\entry {\code {set-mark (C-@)}}{105}
+\entry {\code {shell-expand-line (M-C-e)}}{106}
+\entry {\code {start-kbd-macro (C-x ()}}{104}
\initial {T}
-\entry {\code {tilde-expand (M-&)}}{103}
-\entry {\code {transpose-chars (C-t)}}{99}
-\entry {\code {transpose-words (M-t)}}{99}
+\entry {\code {tilde-expand (M-&)}}{105}
+\entry {\code {transpose-chars (C-t)}}{101}
+\entry {\code {transpose-words (M-t)}}{101}
\initial {U}
-\entry {\code {undo (C-_ or C-x C-u)}}{103}
-\entry {\code {universal-argument ()}}{101}
-\entry {\code {unix-filename-rubout ()}}{100}
-\entry {\code {unix-line-discard (C-u)}}{100}
-\entry {\code {unix-word-rubout (C-w)}}{100}
-\entry {\code {upcase-word (M-u)}}{99}
+\entry {\code {undo (C-_ or C-x C-u)}}{105}
+\entry {\code {universal-argument ()}}{103}
+\entry {\code {unix-filename-rubout ()}}{102}
+\entry {\code {unix-line-discard (C-u)}}{102}
+\entry {\code {unix-word-rubout (C-w)}}{102}
+\entry {\code {upcase-word (M-u)}}{101}
\initial {Y}
-\entry {\code {yank (C-y)}}{101}
-\entry {\code {yank-last-arg (M-. or M-_)}}{98}
-\entry {\code {yank-nth-arg (M-C-y)}}{98}
-\entry {\code {yank-pop (M-y)}}{101}
+\entry {\code {yank (C-y)}}{103}
+\entry {\code {yank-last-arg (M-. or M-_)}}{100}
+\entry {\code {yank-nth-arg (M-C-y)}}{100}
+\entry {\code {yank-pop (M-y)}}{103}
<HTML>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!-- Created on February, 14 2005 by texi2html 1.64 -->
+<!-- Created on February, 22 2005 by texi2html 1.64 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
<H1>Bash Reference Manual</H1></P><P>
This text is a brief description of the features that are present in
-the Bash shell (version 3.1-devel, 11 February 2005)..
+the Bash shell (version 3.1-devel, 19 February 2005)..
</P><P>
-This is Edition 3.1-devel, last updated 11 February 2005,
+This is Edition 3.1-devel, last updated 19 February 2005,
of <CITE>The GNU Bash Reference Manual</CITE>,
for <CODE>Bash</CODE>, Version 3.1-devel.
</P><P>
<CODE>case</CODE> will selectively execute the <VAR>command-list</VAR> corresponding to
the first <VAR>pattern</VAR> that matches <VAR>word</VAR>.
+If the shell option <CODE>nocasematch</CODE>
+(see the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>)
+is enabled, the match is performed without regard to the case
+of alphabetic characters.
The <SAMP>`|'</SAMP> is used to separate multiple patterns, and the <SAMP>`)'</SAMP>
operator terminates a pattern list.
A list of patterns and an associated command-list is known
When the <SAMP>`=='</SAMP> and <SAMP>`!='</SAMP> operators are used, the string to the
right of the operator is considered a pattern and matched according
to the rules described below in <A HREF="bashref.html#SEC36">3.5.8.1 Pattern Matching</A>.
+If the shell option <CODE>nocasematch</CODE>
+(see the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>)
+is enabled, the match is performed without regard to the case
+of alphabetic characters.
The return value is 0 if the string matches or does not match
the pattern, respectively, and 1 otherwise.
Any part of the pattern may be quoted to force it to be matched as a
the pattern, and 1 otherwise.
If the regular expression is syntactically incorrect, the conditional
expression's return value is 2.
-If the shell option <CODE>nocaseglob</CODE>
+If the shell option <CODE>nocasematch</CODE>
(see the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>)
is enabled, the match is performed without regard to the case
of alphabetic characters.
shell is executing in a subroutine (a shell function or a shell script
executed by the <CODE>.</CODE> or <CODE>source</CODE> builtins), a call to
<CODE>return</CODE> is simulated.
+<P>
+
+<LI>
+<CODE>BASH_ARGC</CODE> and <CODE>BASH_ARGV</CODE> are updated as described in their
+descriptions (see section <A HREF="bashref.html#SEC63">5.2 Bash Variables</A>).
+<P>
+
+<LI>
+Function tracing is enabled: command substitution, shell functions, and
+subshells invoked with <CODE>( <VAR>command</VAR> )</CODE> inherit the
+<CODE>DEBUG</CODE> and <CODE>RETURN</CODE> traps.
+<P>
+
+<LI>
+Error tracing is enabled: command substitution, shell functions, and
+subshells invoked with <CODE>( <VAR>command</VAR> )</CODE> inherit the
+<CODE>ERROR</CODE> trap.
</OL>
<P>
performing filename expansion.
<P>
+<DT><CODE>nocasematch</CODE>
+<DD>If set, Bash matches patterns in a case-insensitive fashion when
+performing matching while executing <CODE>case</CODE> or <CODE>[[</CODE>
+conditional commands.
+<P>
+
<DT><CODE>nullglob</CODE>
<DD>If set, Bash allows filename patterns which match no
files to expand to a null string, rather than themselves.
with <CODE>.</CODE> or <CODE>source</CODE>) is at the top of the stack. When a
subroutine is executed, the number of parameters passed is pushed onto
<CODE>BASH_ARGC</CODE>.
+The shell sets <CODE>BASH_ARGC</CODE> only when in extended debugging mode
+(see <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>
+for a description of the <CODE>extdebug</CODE> option to the <CODE>shopt</CODE>
+builtin).
<P>
<A NAME="IDX134"></A>
is at the top of the stack; the first parameter of the initial call is
at the bottom. When a subroutine is executed, the parameters supplied
are pushed onto <CODE>BASH_ARGV</CODE>.
+The shell sets <CODE>BASH_ARGV</CODE> only when in extended debugging mode
+(see <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>
+for a description of the <CODE>extdebug</CODE> option to the <CODE>shopt</CODE>
+builtin).
<P>
<A NAME="IDX136"></A>
falling back to <VAR>physical</VAR> mode.
<P>
+<LI>
+When the <CODE>pwd</CODE> builtin is supplied the <SAMP>`-P'</SAMP> option, it resets
+<CODE>$PWD</CODE> to a pathname containing no symlinks.
+<P>
+
<LI>
When listing the history, the <CODE>fc</CODE> builtin does not include an
indication of whether or not a history entry has been modified.
<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>February, 14 2005</I>
+This document was generated by <I>Chet Ramey</I> on <I>February, 22 2005</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
<P></P>
<BR>
<FONT SIZE="-1">
This document was generated
-by <I>Chet Ramey</I> on <I>February, 14 2005</I>
+by <I>Chet Ramey</I> on <I>February, 22 2005</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
/Users/chet/src/bash/src/doc/bashref.texi.
This text is a brief description of the features that are present in
-the Bash shell (version 3.1-devel, 11 February 2005).
+the Bash shell (version 3.1-devel, 19 February 2005).
- This is Edition 3.1-devel, last updated 11 February 2005, of `The
+ This is Edition 3.1-devel, last updated 19 February 2005, of `The
GNU Bash Reference Manual', for `Bash', Version 3.1-devel.
Copyright (C) 1988-2005 Free Software Foundation, Inc.
*************
This text is a brief description of the features that are present in
-the Bash shell (version 3.1-devel, 11 February 2005)..
+the Bash shell (version 3.1-devel, 19 February 2005)..
- This is Edition 3.1-devel, last updated 11 February 2005, of `The
+ This is Edition 3.1-devel, last updated 19 February 2005, of `The
GNU Bash Reference Manual', for `Bash', Version 3.1-devel.
Bash contains features that appear in other popular shells, and some
`case WORD in [ [(] PATTERN [| PATTERN]...) COMMAND-LIST ;;]... esac'
`case' will selectively execute the COMMAND-LIST corresponding to
- the first PATTERN that matches WORD. The `|' is used to separate
+ the first PATTERN that matches WORD. If the shell option
+ `nocasematch' (see the description of `shopt' in *Note Bash
+ Builtins::) is enabled, the match is performed without regard to
+ the case of alphabetic characters. The `|' is used to separate
multiple patterns, and the `)' operator terminates a pattern list.
A list of patterns and an associated command-list is known as a
CLAUSE. Each clause must be terminated with `;;'. The WORD
When the `==' and `!=' operators are used, the string to the right
of the operator is considered a pattern and matched according to
- the rules described below in *Note Pattern Matching::. The return
- value is 0 if the string matches or does not match the pattern,
+ the rules described below in *Note Pattern Matching::. If the
+ shell option `nocasematch' (see the description of `shopt' in
+ *Note Bash Builtins::) is enabled, the match is performed without
+ regard to the case of alphabetic characters. The return value is
+ 0 if the string matches or does not match the pattern,
respectively, and 1 otherwise. Any part of the pattern may be
quoted to force it to be matched as a string.
and matched accordingly (as in regex3)). The return value is 0 if
the string matches the pattern, and 1 otherwise. If the regular
expression is syntactically incorrect, the conditional
- expression's return value is 2. If the shell option `nocaseglob'
+ expression's return value is 2. If the shell option `nocasematch'
(see the description of `shopt' in *Note Bash Builtins::) is
enabled, the match is performed without regard to the case of
alphabetic characters. Substrings matched by parenthesized
shell function or a shell script executed by the `.' or
`source' builtins), a call to `return' is simulated.
+ 4. `BASH_ARGC' and `BASH_ARGV' are updated as described in
+ their descriptions (*note Bash Variables::).
+
+ 5. Function tracing is enabled: command substitution,
+ shell functions, and subshells invoked with `( COMMAND
+ )' inherit the `DEBUG' and `RETURN' traps.
+
+ 6. Error tracing is enabled: command substitution, shell
+ functions, and subshells invoked with `( COMMAND )'
+ inherit the `ERROR' trap.
+
`extglob'
If set, the extended pattern matching features described above
(*note Pattern Matching::) are enabled.
If set, Bash matches filenames in a case-insensitive fashion
when performing filename expansion.
+ `nocasematch'
+ If set, Bash matches patterns in a case-insensitive fashion
+ when performing matching while executing `case' or `[['
+ conditional commands.
+
`nullglob'
If set, Bash allows filename patterns which match no files to
expand to a null string, rather than themselves.
parameters to the current subroutine (shell function or script
executed with `.' or `source') is at the top of the stack. When a
subroutine is executed, the number of parameters passed is pushed
- onto `BASH_ARGC'.
+ onto `BASH_ARGC'. The shell sets `BASH_ARGC' only when in
+ extended debugging mode (see *Note Bash Builtins:: for a
+ description of the `extdebug' option to the `shopt' builtin).
`BASH_ARGV'
An array variable containing all of the parameters in the current
bash execution call stack. The final parameter of the last
subroutine call is at the top of the stack; the first parameter of
the initial call is at the bottom. When a subroutine is executed,
- the parameters supplied are pushed onto `BASH_ARGV'.
+ the parameters supplied are pushed onto `BASH_ARGV'. The shell
+ sets `BASH_ARGV' only when in extended debugging mode (see *Note
+ Bash Builtins:: for a description of the `extdebug' option to the
+ `shopt' builtin).
`BASH_COMMAND'
The command currently being executed or about to be executed,
argument does not refer to an existing directory, `cd' will fail
instead of falling back to PHYSICAL mode.
- 35. When listing the history, the `fc' builtin does not include an
+ 35. When the `pwd' builtin is supplied the `-P' option, it resets
+ `$PWD' to a pathname containing no symlinks.
+
+ 36. When listing the history, the `fc' builtin does not include an
indication of whether or not a history entry has been modified.
- 36. The default editor used by `fc' is `ed'.
+ 37. The default editor used by `fc' is `ed'.
- 37. The `type' and `command' builtins will not report a non-executable
+ 38. The `type' and `command' builtins will not report a non-executable
file as having been found, though the shell will attempt to
execute such a file if it is the only so-named file found in
`$PATH'.
- 38. When the `xpg_echo' option is enabled, Bash does not attempt to
+ 39. When the `xpg_echo' option is enabled, Bash does not attempt to
interpret any arguments to `echo' as options. Each argument is
displayed, after escape characters are converted.
* shift: Bourne Shell Builtins.
(line 200)
* shopt: Bash Builtins. (line 385)
-* source: Bash Builtins. (line 600)
+* source: Bash Builtins. (line 616)
* suspend: Job Control Builtins.
(line 94)
* test: Bourne Shell Builtins.
(line 276)
* trap: Bourne Shell Builtins.
(line 281)
-* type: Bash Builtins. (line 604)
-* typeset: Bash Builtins. (line 635)
-* ulimit: Bash Builtins. (line 641)
+* type: Bash Builtins. (line 620)
+* typeset: Bash Builtins. (line 651)
+* ulimit: Bash Builtins. (line 657)
* umask: Bourne Shell Builtins.
(line 322)
-* unalias: Bash Builtins. (line 703)
+* unalias: Bash Builtins. (line 719)
* unset: Bourne Shell Builtins.
(line 339)
* wait: Job Control Builtins.
* !: Pipelines. (line 8)
* [[: Conditional Constructs.
- (line 105)
+ (line 108)
* ]]: Conditional Constructs.
- (line 105)
+ (line 108)
* case: Conditional Constructs.
(line 28)
* do: Looping Constructs. (line 12)
* in: Conditional Constructs.
(line 28)
* select: Conditional Constructs.
- (line 64)
+ (line 67)
* then: Conditional Constructs.
(line 7)
* time: Pipelines. (line 8)
(line 6)
* BASH: Bash Variables. (line 13)
* BASH_ARGC: Bash Variables. (line 16)
-* BASH_ARGV: Bash Variables. (line 24)
-* BASH_COMMAND: Bash Variables. (line 31)
-* BASH_ENV: Bash Variables. (line 36)
-* BASH_EXECUTION_STRING: Bash Variables. (line 42)
-* BASH_LINENO: Bash Variables. (line 45)
-* BASH_REMATCH: Bash Variables. (line 53)
-* BASH_SOURCE: Bash Variables. (line 61)
-* BASH_SUBSHELL: Bash Variables. (line 65)
-* BASH_VERSINFO: Bash Variables. (line 69)
-* BASH_VERSION: Bash Variables. (line 93)
+* BASH_ARGV: Bash Variables. (line 26)
+* BASH_COMMAND: Bash Variables. (line 36)
+* BASH_ENV: Bash Variables. (line 41)
+* BASH_EXECUTION_STRING: Bash Variables. (line 47)
+* BASH_LINENO: Bash Variables. (line 50)
+* BASH_REMATCH: Bash Variables. (line 58)
+* BASH_SOURCE: Bash Variables. (line 66)
+* BASH_SUBSHELL: Bash Variables. (line 70)
+* BASH_VERSINFO: Bash Variables. (line 74)
+* BASH_VERSION: Bash Variables. (line 98)
* bell-style: Readline Init File Syntax.
(line 34)
* bind-tty-special-chars: Readline Init File Syntax.
(line 41)
* CDPATH: Bourne Shell Variables.
(line 9)
-* COLUMNS: Bash Variables. (line 96)
+* COLUMNS: Bash Variables. (line 101)
* comment-begin: Readline Init File Syntax.
(line 46)
-* COMP_CWORD: Bash Variables. (line 101)
-* COMP_LINE: Bash Variables. (line 107)
-* COMP_POINT: Bash Variables. (line 112)
-* COMP_WORDBREAKS: Bash Variables. (line 120)
-* COMP_WORDS: Bash Variables. (line 126)
+* COMP_CWORD: Bash Variables. (line 106)
+* COMP_LINE: Bash Variables. (line 112)
+* COMP_POINT: Bash Variables. (line 117)
+* COMP_WORDBREAKS: Bash Variables. (line 125)
+* COMP_WORDS: Bash Variables. (line 131)
* completion-query-items: Readline Init File Syntax.
(line 56)
-* COMPREPLY: Bash Variables. (line 132)
+* COMPREPLY: Bash Variables. (line 137)
* convert-meta: Readline Init File Syntax.
(line 65)
-* DIRSTACK: Bash Variables. (line 137)
+* DIRSTACK: Bash Variables. (line 142)
* disable-completion: Readline Init File Syntax.
(line 71)
* editing-mode: Readline Init File Syntax.
(line 76)
-* EMACS: Bash Variables. (line 147)
+* EMACS: Bash Variables. (line 152)
* enable-keypad: Readline Init File Syntax.
(line 82)
-* EUID: Bash Variables. (line 152)
+* EUID: Bash Variables. (line 157)
* expand-tilde: Readline Init File Syntax.
(line 87)
-* FCEDIT: Bash Variables. (line 156)
-* FIGNORE: Bash Variables. (line 160)
-* FUNCNAME: Bash Variables. (line 166)
-* GLOBIGNORE: Bash Variables. (line 175)
-* GROUPS: Bash Variables. (line 181)
-* histchars: Bash Variables. (line 187)
-* HISTCMD: Bash Variables. (line 202)
-* HISTCONTROL: Bash Variables. (line 207)
-* HISTFILE: Bash Variables. (line 223)
-* HISTFILESIZE: Bash Variables. (line 227)
-* HISTIGNORE: Bash Variables. (line 234)
+* FCEDIT: Bash Variables. (line 161)
+* FIGNORE: Bash Variables. (line 165)
+* FUNCNAME: Bash Variables. (line 171)
+* GLOBIGNORE: Bash Variables. (line 180)
+* GROUPS: Bash Variables. (line 186)
+* histchars: Bash Variables. (line 192)
+* HISTCMD: Bash Variables. (line 207)
+* HISTCONTROL: Bash Variables. (line 212)
+* HISTFILE: Bash Variables. (line 228)
+* HISTFILESIZE: Bash Variables. (line 232)
+* HISTIGNORE: Bash Variables. (line 239)
* history-preserve-point: Readline Init File Syntax.
(line 90)
-* HISTSIZE: Bash Variables. (line 253)
-* HISTTIMEFORMAT: Bash Variables. (line 257)
+* HISTSIZE: Bash Variables. (line 258)
+* HISTTIMEFORMAT: Bash Variables. (line 262)
* HOME: Bourne Shell Variables.
(line 13)
* horizontal-scroll-mode: Readline Init File Syntax.
(line 95)
-* HOSTFILE: Bash Variables. (line 264)
-* HOSTNAME: Bash Variables. (line 275)
-* HOSTTYPE: Bash Variables. (line 278)
+* HOSTFILE: Bash Variables. (line 269)
+* HOSTNAME: Bash Variables. (line 280)
+* HOSTTYPE: Bash Variables. (line 283)
* IFS: Bourne Shell Variables.
(line 18)
-* IGNOREEOF: Bash Variables. (line 281)
+* IGNOREEOF: Bash Variables. (line 286)
* input-meta: Readline Init File Syntax.
(line 102)
-* INPUTRC: Bash Variables. (line 291)
+* INPUTRC: Bash Variables. (line 296)
* isearch-terminators: Readline Init File Syntax.
(line 109)
* keymap: Readline Init File Syntax.
(line 116)
-* LANG: Bash Variables. (line 295)
-* LC_ALL: Bash Variables. (line 299)
-* LC_COLLATE: Bash Variables. (line 303)
-* LC_CTYPE: Bash Variables. (line 310)
+* LANG: Bash Variables. (line 300)
+* LC_ALL: Bash Variables. (line 304)
+* LC_COLLATE: Bash Variables. (line 308)
+* LC_CTYPE: Bash Variables. (line 315)
* LC_MESSAGES <1>: Locale Translation. (line 11)
-* LC_MESSAGES: Bash Variables. (line 315)
-* LC_NUMERIC: Bash Variables. (line 319)
-* LINENO: Bash Variables. (line 323)
-* LINES: Bash Variables. (line 327)
-* MACHTYPE: Bash Variables. (line 332)
+* LC_MESSAGES: Bash Variables. (line 320)
+* LC_NUMERIC: Bash Variables. (line 324)
+* LINENO: Bash Variables. (line 328)
+* LINES: Bash Variables. (line 332)
+* MACHTYPE: Bash Variables. (line 337)
* MAIL: Bourne Shell Variables.
(line 22)
-* MAILCHECK: Bash Variables. (line 336)
+* MAILCHECK: Bash Variables. (line 341)
* MAILPATH: Bourne Shell Variables.
(line 27)
* mark-modified-lines: Readline Init File Syntax.
(line 139)
* meta-flag: Readline Init File Syntax.
(line 102)
-* OLDPWD: Bash Variables. (line 344)
+* OLDPWD: Bash Variables. (line 349)
* OPTARG: Bourne Shell Variables.
(line 34)
-* OPTERR: Bash Variables. (line 347)
+* OPTERR: Bash Variables. (line 352)
* OPTIND: Bourne Shell Variables.
(line 38)
-* OSTYPE: Bash Variables. (line 351)
+* OSTYPE: Bash Variables. (line 356)
* output-meta: Readline Init File Syntax.
(line 146)
* page-completions: Readline Init File Syntax.
(line 151)
* PATH: Bourne Shell Variables.
(line 42)
-* PIPESTATUS: Bash Variables. (line 354)
-* POSIXLY_CORRECT: Bash Variables. (line 359)
-* PPID: Bash Variables. (line 368)
-* PROMPT_COMMAND: Bash Variables. (line 372)
+* PIPESTATUS: Bash Variables. (line 359)
+* POSIXLY_CORRECT: Bash Variables. (line 364)
+* PPID: Bash Variables. (line 373)
+* PROMPT_COMMAND: Bash Variables. (line 377)
* PS1: Bourne Shell Variables.
(line 48)
* PS2: Bourne Shell Variables.
(line 53)
-* PS3: Bash Variables. (line 376)
-* PS4: Bash Variables. (line 381)
-* PWD: Bash Variables. (line 387)
-* RANDOM: Bash Variables. (line 390)
-* REPLY: Bash Variables. (line 395)
-* SECONDS: Bash Variables. (line 398)
-* SHELL: Bash Variables. (line 404)
-* SHELLOPTS: Bash Variables. (line 409)
-* SHLVL: Bash Variables. (line 418)
+* PS3: Bash Variables. (line 381)
+* PS4: Bash Variables. (line 386)
+* PWD: Bash Variables. (line 392)
+* RANDOM: Bash Variables. (line 395)
+* REPLY: Bash Variables. (line 400)
+* SECONDS: Bash Variables. (line 403)
+* SHELL: Bash Variables. (line 409)
+* SHELLOPTS: Bash Variables. (line 414)
+* SHLVL: Bash Variables. (line 423)
* show-all-if-ambiguous: Readline Init File Syntax.
(line 161)
* show-all-if-unmodified: Readline Init File Syntax.
(line 167)
* TEXTDOMAIN: Locale Translation. (line 11)
* TEXTDOMAINDIR: Locale Translation. (line 11)
-* TIMEFORMAT: Bash Variables. (line 423)
-* TMOUT: Bash Variables. (line 461)
-* UID: Bash Variables. (line 473)
+* TIMEFORMAT: Bash Variables. (line 428)
+* TMOUT: Bash Variables. (line 466)
+* UID: Bash Variables. (line 478)
* visible-stats: Readline Init File Syntax.
(line 176)
Node: Compound Commands\7f24317
Node: Looping Constructs\7f25101
Node: Conditional Constructs\7f27548
-Node: Command Grouping\7f34615
-Node: Shell Functions\7f36064
-Node: Shell Parameters\7f40354
-Node: Positional Parameters\7f42684
-Node: Special Parameters\7f43584
-Node: Shell Expansions\7f46548
-Node: Brace Expansion\7f48473
-Node: Tilde Expansion\7f50798
-Node: Shell Parameter Expansion\7f53149
-Node: Command Substitution\7f60658
-Node: Arithmetic Expansion\7f61991
-Node: Process Substitution\7f62841
-Node: Word Splitting\7f63891
-Node: Filename Expansion\7f65352
-Node: Pattern Matching\7f67488
-Node: Quote Removal\7f70813
-Node: Redirections\7f71108
-Node: Executing Commands\7f78838
-Node: Simple Command Expansion\7f79513
-Node: Command Search and Execution\7f81443
-Node: Command Execution Environment\7f83449
-Node: Environment\7f86220
-Node: Exit Status\7f87880
-Node: Signals\7f89084
-Node: Shell Scripts\7f91048
-Node: Shell Builtin Commands\7f93566
-Node: Bourne Shell Builtins\7f95145
-Node: Bash Builtins\7f112098
-Node: The Set Builtin\7f140238
-Node: Special Builtins\7f148645
-Node: Shell Variables\7f149622
-Node: Bourne Shell Variables\7f150062
-Node: Bash Variables\7f152043
-Node: Bash Features\7f171750
-Node: Invoking Bash\7f172633
-Node: Bash Startup Files\7f178454
-Node: Interactive Shells\7f183312
-Node: What is an Interactive Shell?\7f183722
-Node: Is this Shell Interactive?\7f184372
-Node: Interactive Shell Behavior\7f185187
-Node: Bash Conditional Expressions\7f188463
-Node: Shell Arithmetic\7f192042
-Node: Aliases\7f194788
-Node: Arrays\7f197356
-Node: The Directory Stack\7f200623
-Node: Directory Stack Builtins\7f201337
-Node: Printing a Prompt\7f204228
-Node: The Restricted Shell\7f206942
-Node: Bash POSIX Mode\7f208774
-Node: Job Control\7f216107
-Node: Job Control Basics\7f216574
-Node: Job Control Builtins\7f220950
-Node: Job Control Variables\7f225302
-Node: Command Line Editing\7f226460
-Node: Introduction and Notation\7f227459
-Node: Readline Interaction\7f229081
-Node: Readline Bare Essentials\7f230272
-Node: Readline Movement Commands\7f232061
-Node: Readline Killing Commands\7f233026
-Node: Readline Arguments\7f234946
-Node: Searching\7f235990
-Node: Readline Init File\7f238176
-Node: Readline Init File Syntax\7f239235
-Node: Conditional Init Constructs\7f251094
-Node: Sample Init File\7f253627
-Node: Bindable Readline Commands\7f256744
-Node: Commands For Moving\7f257951
-Node: Commands For History\7f258812
-Node: Commands For Text\7f261967
-Node: Commands For Killing\7f264640
-Node: Numeric Arguments\7f266782
-Node: Commands For Completion\7f267921
-Node: Keyboard Macros\7f271514
-Node: Miscellaneous Commands\7f272085
-Node: Readline vi Mode\7f277396
-Node: Programmable Completion\7f278310
-Node: Programmable Completion Builtins\7f284102
-Node: Using History Interactively\7f291698
-Node: Bash History Facilities\7f292378
-Node: Bash History Builtins\7f295073
-Node: History Interaction\7f298930
-Node: Event Designators\7f301486
-Node: Word Designators\7f302501
-Node: Modifiers\7f304140
-Node: Installing Bash\7f305546
-Node: Basic Installation\7f306683
-Node: Compilers and Options\7f309375
-Node: Compiling For Multiple Architectures\7f310116
-Node: Installation Names\7f311780
-Node: Specifying the System Type\7f312598
-Node: Sharing Defaults\7f313314
-Node: Operation Controls\7f313987
-Node: Optional Features\7f314945
-Node: Reporting Bugs\7f323754
-Node: Major Differences From The Bourne Shell\7f324948
-Node: Copying This Manual\7f340856
-Node: GNU Free Documentation License\7f341132
-Node: Builtin Index\7f363538
-Node: Reserved Word Index\7f370087
-Node: Variable Index\7f372523
-Node: Function Index\7f383383
-Node: Concept Index\7f390103
+Node: Command Grouping\7f35008
+Node: Shell Functions\7f36457
+Node: Shell Parameters\7f40747
+Node: Positional Parameters\7f43077
+Node: Special Parameters\7f43977
+Node: Shell Expansions\7f46941
+Node: Brace Expansion\7f48866
+Node: Tilde Expansion\7f51191
+Node: Shell Parameter Expansion\7f53542
+Node: Command Substitution\7f61051
+Node: Arithmetic Expansion\7f62384
+Node: Process Substitution\7f63234
+Node: Word Splitting\7f64284
+Node: Filename Expansion\7f65745
+Node: Pattern Matching\7f67881
+Node: Quote Removal\7f71206
+Node: Redirections\7f71501
+Node: Executing Commands\7f79231
+Node: Simple Command Expansion\7f79906
+Node: Command Search and Execution\7f81836
+Node: Command Execution Environment\7f83842
+Node: Environment\7f86613
+Node: Exit Status\7f88273
+Node: Signals\7f89477
+Node: Shell Scripts\7f91441
+Node: Shell Builtin Commands\7f93959
+Node: Bourne Shell Builtins\7f95538
+Node: Bash Builtins\7f112491
+Node: The Set Builtin\7f141325
+Node: Special Builtins\7f149732
+Node: Shell Variables\7f150709
+Node: Bourne Shell Variables\7f151149
+Node: Bash Variables\7f153130
+Node: Bash Features\7f173182
+Node: Invoking Bash\7f174065
+Node: Bash Startup Files\7f179886
+Node: Interactive Shells\7f184744
+Node: What is an Interactive Shell?\7f185154
+Node: Is this Shell Interactive?\7f185804
+Node: Interactive Shell Behavior\7f186619
+Node: Bash Conditional Expressions\7f189895
+Node: Shell Arithmetic\7f193474
+Node: Aliases\7f196220
+Node: Arrays\7f198788
+Node: The Directory Stack\7f202055
+Node: Directory Stack Builtins\7f202769
+Node: Printing a Prompt\7f205660
+Node: The Restricted Shell\7f208374
+Node: Bash POSIX Mode\7f210206
+Node: Job Control\7f217657
+Node: Job Control Basics\7f218124
+Node: Job Control Builtins\7f222500
+Node: Job Control Variables\7f226852
+Node: Command Line Editing\7f228010
+Node: Introduction and Notation\7f229009
+Node: Readline Interaction\7f230631
+Node: Readline Bare Essentials\7f231822
+Node: Readline Movement Commands\7f233611
+Node: Readline Killing Commands\7f234576
+Node: Readline Arguments\7f236496
+Node: Searching\7f237540
+Node: Readline Init File\7f239726
+Node: Readline Init File Syntax\7f240785
+Node: Conditional Init Constructs\7f252644
+Node: Sample Init File\7f255177
+Node: Bindable Readline Commands\7f258294
+Node: Commands For Moving\7f259501
+Node: Commands For History\7f260362
+Node: Commands For Text\7f263517
+Node: Commands For Killing\7f266190
+Node: Numeric Arguments\7f268332
+Node: Commands For Completion\7f269471
+Node: Keyboard Macros\7f273064
+Node: Miscellaneous Commands\7f273635
+Node: Readline vi Mode\7f278946
+Node: Programmable Completion\7f279860
+Node: Programmable Completion Builtins\7f285652
+Node: Using History Interactively\7f293248
+Node: Bash History Facilities\7f293928
+Node: Bash History Builtins\7f296623
+Node: History Interaction\7f300480
+Node: Event Designators\7f303036
+Node: Word Designators\7f304051
+Node: Modifiers\7f305690
+Node: Installing Bash\7f307096
+Node: Basic Installation\7f308233
+Node: Compilers and Options\7f310925
+Node: Compiling For Multiple Architectures\7f311666
+Node: Installation Names\7f313330
+Node: Specifying the System Type\7f314148
+Node: Sharing Defaults\7f314864
+Node: Operation Controls\7f315537
+Node: Optional Features\7f316495
+Node: Reporting Bugs\7f325304
+Node: Major Differences From The Bourne Shell\7f326498
+Node: Copying This Manual\7f342406
+Node: GNU Free Documentation License\7f342682
+Node: Builtin Index\7f365088
+Node: Reserved Word Index\7f371637
+Node: Variable Index\7f374073
+Node: Function Index\7f384933
+Node: Concept Index\7f391653
\1f
End Tag Table
-This is TeX, Version 3.14159 (Web2C 7.4.5) (format=tex 2003.12.31) 14 FEB 2005 11:56
+This is TeX, Version 3.14159 (Web2C 7.4.5) (format=tex 2003.12.31) 22 FEB 2005 13:44
**/Users/chet/src/bash/src/doc/bashref.texi
(/Users/chet/src/bash/src/doc/bashref.texi (./texinfo.tex
Loading texinfo [version 2003-02-03.16]: Basics,
[11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]
[26] [27] [28] [29] [30] [31] Chapter 4 [32] [33] [34] [35] [36] [37] [38]
-Underfull \hbox (badness 5231) in paragraph at lines 3133--3146
+Underfull \hbox (badness 5231) in paragraph at lines 3141--3154
@texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr
m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
.etc.
[39] [40] [41] [42] [43]
-Overfull \hbox (43.33536pt too wide) in paragraph at lines 3471--3471
+Overfull \hbox (43.33536pt too wide) in paragraph at lines 3479--3479
[]@texttt read [-ers] [-a @textttsl aname@texttt ] [-d @textttsl de-lim@texttt
] [-n @textttsl nchars@texttt ] [-p @textttsl prompt@texttt ] [-t @textttsl ti
me-
.@texttt a
.etc.
-[44] [45] [46] [47] [48] [49] [50] [51]
-Underfull \hbox (badness 4036) in paragraph at lines 4083--4090
+[44] [45]
+Underfull \hbox (badness 2573) in paragraph at lines 3663--3667
+ [] []@textrm Error trac-ing is en-abled: com-mand sub-sti-tu-tion, shell
+
+@hbox(7.60416+2.12917)x433.62, glue set 2.95305
+.@glue(@leftskip) 137.31363
+.@hbox(0.0+0.0)x0.0
+.@glue 0.0
+.@hbox(7.05666+0.0)x0.0, glue set - 15.74411fil
+..@glue 0.0 plus 1.0fil minus 1.0fil
+..@textrm 6
+..@textrm .
+..@glue 7.22743
+.@textrm E
+.etc.
+
+[46] [47] [48] [49] [50] [51]
+Underfull \hbox (badness 4036) in paragraph at lines 4110--4117
@texttt -x[]@textrm Print a trace of sim-ple com-mands, @texttt \@textrm fB-fo
r@texttt \@textrm fP com-mands,
.@texttt x
.etc.
-[52] [53] Chapter 5 [54] [55] [56] [57] [58] [59] [60] [61] Chapter 6 [62]
-Overfull \hbox (51.96864pt too wide) in paragraph at lines 4802--4802
+[52] [53] Chapter 5 [54] [55] [56] [57] [58] [59] [60] [61] [62] Chapter 6
+[63] [64]
+Overfull \hbox (51.96864pt too wide) in paragraph at lines 4837--4837
[]@texttt bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@t
exttt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
.etc.
-Overfull \hbox (76.23077pt too wide) in paragraph at lines 4803--4803
+Overfull \hbox (76.23077pt too wide) in paragraph at lines 4838--4838
[]@texttt bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@texttt
] [-O @textttsl shopt_option@texttt ] -c @textttsl string @texttt [@textttsl ar
-
.etc.
-Overfull \hbox (34.72258pt too wide) in paragraph at lines 4804--4804
+Overfull \hbox (34.72258pt too wide) in paragraph at lines 4839--4839
[]@texttt bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@text
tt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
.@texttt s
.etc.
-[63] [64]
-Underfull \hbox (badness 2245) in paragraph at lines 4978--4980
+[65] [66]
+Underfull \hbox (badness 2245) in paragraph at lines 5013--5015
[]@textrm When a lo-gin shell ex-its, Bash reads and ex-e-cutes com-mands from
the file
.@textrm n
.etc.
-[65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78]
-Chapter 7 [79] [80] [81] [82] [83]
-(/Users/chet/src/bash/src/lib/readline/doc/rluser.texi Chapter 8 [84] [85]
-[86] [87] [88] [89]
+[67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78] [79] [80]
+Chapter 7 [81] [82] [83] [84] [85]
+(/Users/chet/src/bash/src/lib/readline/doc/rluser.texi Chapter 8 [86] [87]
+[88] [89] [90] [91]
Underfull \hbox (badness 5231) in paragraph at lines 494--510
@texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr
m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
.@texttt c
.etc.
-[90] [91] [92] [93] [94]
+[92] [93] [94] [95] [96]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 807--807
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i
gnored[]
.@texttt t
.etc.
-[95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106]
+[97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108]
Overfull \hbox (17.80585pt too wide) in paragraph at lines 1656--1656
[]@texttt complete [-abcdefgjksuv] [-o @textttsl comp-option@texttt ] [-A @tex
tttsl ac-tion@texttt ] [-G @textttsl glob-
.@texttt m
.etc.
-[107] [108]
+[109] [110]
Underfull \hbox (badness 2753) in paragraph at lines 1758--1761
@texttt hostname[]@textrm Hostnames, as taken from the file spec-i-fied by
.@texttt o
.etc.
-[109]) (/Users/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9
-[110] [111] [112] [113] [114]) Chapter 10 [115] [116] [117] [118] [119]
-Underfull \hbox (badness 2772) in paragraph at lines 6676--6680
+[111]) (/Users/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9
+[112] [113] [114] [115] [116]) Chapter 10 [117] [118] [119] [120] [121]
+Underfull \hbox (badness 2772) in paragraph at lines 6715--6719
[]@textrm Enable sup-port for large files (@texttt http://www.sas.com/standard
s/large_
.@textrm a
.etc.
-[120] [121] [122] Appendix A [123] [124] Appendix B [125] [126] [127] [128]
-[129] [130] Appendix C [131] [132] (./fdl.texi [133] [134] [135] [136] [137]
-[138]) (Index of Shell Builtin Commands) [139] [140] (./bashref.bts)
+[122] [123] [124] Appendix A [125] [126] Appendix B [127] [128] [129] [130]
+[131] [132] Appendix C [133] [134] (./fdl.texi [135] [136] [137] [138] [139]
+[140]) (Index of Shell Builtin Commands) [141] [142] (./bashref.bts)
(Index of Shell Reserved Words)
Overfull \vbox (42.26959pt too high) has occurred while \output is active
\vbox(643.19986+0.0)x433.62, glue set - 1.0
.etc.
-[141] [142] (./bashref.rws) (Parameter and Variable Index) [143] [144]
-(./bashref.vrs [145]) (Function Index) [146] (./bashref.fns [147])
-(Concept Index) [148] (./bashref.cps [149]) [150] )
+[143] [144] (./bashref.rws) (Parameter and Variable Index) [145] [146]
+(./bashref.vrs [147]) (Function Index) [148] (./bashref.fns [149])
+(Concept Index) [150] (./bashref.cps [151]) [152] )
Here is how much of TeX's memory you used:
1726 strings out of 98002
23501 string characters out of 1221986
- 52385 words of memory out of 1000001
+ 52386 words of memory out of 1000001
2577 multiletter control sequences out of 10000+50000
31953 words of font info for 111 fonts, out of 500000 for 1000
19 hyphenation exceptions out of 1000
15i,8n,11p,269b,465s stack positions out of 1500i,500n,5000p,200000b,5000s
-Output written on bashref.dvi (156 pages, 585568 bytes).
+Output written on bashref.dvi (158 pages, 587400 bytes).
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.92b Copyright 2002 Radical Eye Software
%%Title: bashref.dvi
-%%Pages: 156
+%%Pages: 158
%%PageOrder: Ascend
%%BoundingBox: 0 0 612 792
%%DocumentFonts: CMBX12 CMR10 CMTT10 CMSL10 CMSY10 CMBXTI10 CMTI10
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -D 600 -t letter -o bashref.ps bashref.dvi
%DVIPSParameters: dpi=600, compressed
-%DVIPSSource: TeX output 2005.02.14:1156
+%DVIPSSource: TeX output 2005.02.22:1344
%%BeginProcSet: texc.pro
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
%%Page: 2 2
TeXDict begin 2 1 bop 150 2889 a Ft(This)35 b(text)h(is)g(a)g(brief)f
(description)h(of)f(the)h(features)g(that)g(are)g(presen)m(t)g(in)f
-(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(3.1-dev)m(el,)d(11)e(F)-8
+(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(3.1-dev)m(el,)d(19)e(F)-8
b(ebruary)30 b(2005\).)150 3133 y(This)41 b(is)i(Edition)f(3.1-dev)m
-(el,)48 b(last)43 b(up)s(dated)e(11)i(F)-8 b(ebruary)42
+(el,)48 b(last)43 b(up)s(dated)e(19)i(F)-8 b(ebruary)42
b(2005,)47 b(of)42 b Fq(The)g(GNU)h(Bash)f(Reference)150
3243 y(Man)m(ual)p Ft(,)32 b(for)e Fs(Bash)p Ft(,)f(V)-8
b(ersion)31 b(3.1-dev)m(el.)150 3377 y(Cop)m(yrigh)m(t)602
b(Shell)30 b(P)m(arameters)20 b Fm(.)c(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)49 b
-Ft(14)748 3619 y(3.4.1)93 b(P)m(ositional)32 b(P)m(arameters)14
+Ft(15)748 3619 y(3.4.1)93 b(P)m(ositional)32 b(P)m(arameters)14
b Fm(.)i(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)43 b Ft(15)748 3729
y(3.4.2)93 b(Sp)s(ecial)30 b(P)m(arameters)f Fm(.)15
b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)57 b Ft(15)449
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)57 b Ft(16)449
3838 y(3.5)92 b(Shell)30 b(Expansions)20 b Fm(.)14 b(.)h(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)49
-b Ft(16)748 3948 y(3.5.1)93 b(Brace)31 b(Expansion)e
+b Ft(17)748 3948 y(3.5.1)93 b(Brace)31 b(Expansion)e
Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)58
b Ft(17)748 4057 y(3.5.2)93 b(Tilde)30 b(Expansion)17
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)47
b Ft(18)748 4167 y(3.5.3)93 b(Shell)30 b(P)m(arameter)h(Expansion)18
b Fm(.)d(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-h(.)f(.)g(.)g(.)47 b Ft(18)748 4276 y(3.5.4)93 b(Command)29
+h(.)f(.)g(.)g(.)47 b Ft(19)748 4276 y(3.5.4)93 b(Command)29
b(Substitution)f Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(21)748
4386 y(3.5.5)93 b(Arithmetic)31 b(Expansion)12 b Fm(.)j(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)42 b Ft(21)748 4496 y(3.5.6)93 b(Pro)s(cess)30
+g(.)g(.)g(.)42 b Ft(22)748 4496 y(3.5.6)93 b(Pro)s(cess)30
b(Substitution)19 b Fm(.)c(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)49
b Ft(22)748 4605 y(3.5.7)93 b(W)-8 b(ord)30 b(Splitting)c
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55
b Ft(22)748 4715 y(3.5.8)93 b(Filename)31 b(Expansion)25
b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(22)1047
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(23)1047
4824 y(3.5.8.1)93 b(P)m(attern)31 b(Matc)m(hing)20 b
Fm(.)d(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)49 b Ft(23)748 4934 y(3.5.9)93 b(Quote)30
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(28)748
1289 y(3.7.2)93 b(Command)29 b(Searc)m(h)i(and)e(Execution)13
b Fm(.)j(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)42
-b Ft(28)748 1398 y(3.7.3)93 b(Command)29 b(Execution)i(En)m(vironmen)m
+b Ft(29)748 1398 y(3.7.3)93 b(Command)29 b(Execution)i(En)m(vironmen)m
(t)18 b Fm(.)d(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)47
b Ft(29)748 1508 y(3.7.4)93 b(En)m(vironmen)m(t)21 b
Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
b(Sp)s(ecial)31 b(Builtins)22 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)h
(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)52
-b Ft(53)150 2787 y Fr(5)135 b(Shell)45 b(V)-11 b(ariables)10
+b Ft(54)150 2787 y Fr(5)135 b(Shell)45 b(V)-11 b(ariables)10
b Fn(.)21 b(.)e(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f
(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)h(.)f(.)55 b Fr(55)449
2924 y Ft(5.1)92 b(Bourne)30 b(Shell)g(V)-8 b(ariables)11
(.)g(.)g(.)g(.)g(.)g(.)g(.)46 b Ft(55)150 3276 y Fr(6)135
b(Bash)44 b(F)-11 b(eatures)31 b Fn(.)20 b(.)f(.)g(.)h(.)f(.)h(.)f(.)h
(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)
-g(.)h(.)75 b Fr(63)449 3413 y Ft(6.1)92 b(In)m(v)m(oking)31
+g(.)h(.)75 b Fr(65)449 3413 y Ft(6.1)92 b(In)m(v)m(oking)31
b(Bash)e Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(63)449 3523
+g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(65)449 3523
y(6.2)92 b(Bash)30 b(Startup)g(Files)c Fm(.)15 b(.)g(.)h(.)f(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55
-b Ft(65)449 3632 y(6.3)92 b(In)m(teractiv)m(e)33 b(Shells)14
+b Ft(67)449 3632 y(6.3)92 b(In)m(teractiv)m(e)33 b(Shells)14
b Fm(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g
-(.)g(.)g(.)g(.)g(.)43 b Ft(67)748 3742 y(6.3.1)93 b(What)31
+(.)g(.)g(.)g(.)g(.)43 b Ft(69)748 3742 y(6.3.1)93 b(What)31
b(is)f(an)g(In)m(teractiv)m(e)j(Shell?)20 b Fm(.)15 b(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)49
-b Ft(67)748 3851 y(6.3.2)93 b(Is)30 b(this)g(Shell)g(In)m(teractiv)m
+b Ft(69)748 3851 y(6.3.2)93 b(Is)30 b(this)g(Shell)g(In)m(teractiv)m
(e?)10 b Fm(.)18 b(.)d(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(67)748
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(69)748
3961 y(6.3.3)93 b(In)m(teractiv)m(e)32 b(Shell)f(Beha)m(vior)22
b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)51 b Ft(67)449 4071 y(6.4)92 b(Bash)30
+(.)g(.)g(.)g(.)g(.)g(.)51 b Ft(69)449 4071 y(6.4)92 b(Bash)30
b(Conditional)h(Expressions)20 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)
-f(.)49 b Ft(68)449 4180 y(6.5)92 b(Shell)30 b(Arithmetic)f
+f(.)49 b Ft(70)449 4180 y(6.5)92 b(Shell)30 b(Arithmetic)f
Fm(.)15 b(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)h(.)f(.)g(.)57 b Ft(70)449 4290 y(6.6)92 b(Aliases)25
+g(.)g(.)h(.)f(.)g(.)57 b Ft(72)449 4290 y(6.6)92 b(Aliases)25
b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)53
-b Ft(71)449 4399 y(6.7)92 b(Arra)m(ys)29 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)
+b Ft(73)449 4399 y(6.7)92 b(Arra)m(ys)29 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(72)449 4509 y(6.8)92
+g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(74)449 4509 y(6.8)92
b(The)30 b(Directory)i(Stac)m(k)15 b Fm(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)
-f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)44 b Ft(73)748
+f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)44 b Ft(75)748
4619 y(6.8.1)93 b(Directory)31 b(Stac)m(k)h(Builtins)10
b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(73)449 4728 y(6.9)92
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(75)449 4728 y(6.9)92
b(Con)m(trolling)31 b(the)g(Prompt)15 b Fm(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)44 b Ft(74)449 4838 y(6.10)92
+g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)44 b Ft(76)449 4838 y(6.10)92
b(The)30 b(Restricted)i(Shell)11 b Fm(.)k(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)40 b Ft(76)449 4947
+g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)40 b Ft(78)449 4947
y(6.11)92 b(Bash)31 b(POSIX)e(Mo)s(de)16 b Fm(.)f(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)45 b
-Ft(76)p eop end
+Ft(78)p eop end
%%Page: -3 5
TeXDict begin -3 4 bop 3674 -116 a Ft(iii)150 83 y Fr(7)135
b(Job)45 b(Con)l(trol)32 b Fn(.)20 b(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)
h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f
-(.)h(.)f(.)76 b Fr(81)449 220 y Ft(7.1)92 b(Job)30 b(Con)m(trol)h
+(.)h(.)f(.)76 b Fr(83)449 220 y Ft(7.1)92 b(Job)30 b(Con)m(trol)h
(Basics)23 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)g(.)g(.)g(.)52 b Ft(81)449 330 y(7.2)92 b(Job)30
+g(.)g(.)g(.)g(.)g(.)g(.)52 b Ft(83)449 330 y(7.2)92 b(Job)30
b(Con)m(trol)h(Builtins)12 b Fm(.)j(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(82)449 439 y(7.3)92
+g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(84)449 439 y(7.3)92
b(Job)30 b(Con)m(trol)h(V)-8 b(ariables)30 b Fm(.)15
b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58
-b Ft(83)150 682 y Fr(8)135 b(Command)45 b(Line)g(Editing)38
+b Ft(85)150 682 y Fr(8)135 b(Command)45 b(Line)g(Editing)38
b Fn(.)19 b(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h
-(.)f(.)h(.)81 b Fr(85)449 819 y Ft(8.1)92 b(In)m(tro)s(duction)30
+(.)f(.)h(.)81 b Fr(87)449 819 y Ft(8.1)92 b(In)m(tro)s(duction)30
b(to)h(Line)f(Editing)24 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)53 b Ft(85)449 928 y(8.2)92 b(Readline)31 b(In)m(teraction)15
+(.)53 b Ft(87)449 928 y(8.2)92 b(Readline)31 b(In)m(teraction)15
b Fm(.)i(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g
-(.)g(.)44 b Ft(85)748 1038 y(8.2.1)93 b(Readline)31 b(Bare)g(Essen)m
+(.)g(.)44 b Ft(87)748 1038 y(8.2.1)93 b(Readline)31 b(Bare)g(Essen)m
(tials)25 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)54 b Ft(85)748
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)54 b Ft(87)748
1147 y(8.2.2)93 b(Readline)31 b(Mo)m(v)m(emen)m(t)h(Commands)13
b Fm(.)h(.)h(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-42 b Ft(86)748 1257 y(8.2.3)93 b(Readline)31 b(Killing)g(Commands)20
+42 b Ft(88)748 1257 y(8.2.3)93 b(Readline)31 b(Killing)g(Commands)20
b Fm(.)14 b(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)50 b Ft(86)748 1367 y(8.2.4)93 b(Readline)31
+(.)g(.)g(.)g(.)50 b Ft(88)748 1367 y(8.2.4)93 b(Readline)31
b(Argumen)m(ts)23 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)53
-b Ft(87)748 1476 y(8.2.5)93 b(Searc)m(hing)30 b(for)h(Commands)e(in)h
+b Ft(89)748 1476 y(8.2.5)93 b(Searc)m(hing)30 b(for)h(Commands)e(in)h
(the)g(History)c Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)54
-b Ft(87)449 1586 y(8.3)92 b(Readline)31 b(Init)f(File)f
+b Ft(89)449 1586 y(8.3)92 b(Readline)31 b(Init)f(File)f
Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)
-g(.)g(.)g(.)g(.)56 b Ft(88)748 1695 y(8.3.1)93 b(Readline)31
+g(.)g(.)g(.)g(.)56 b Ft(90)748 1695 y(8.3.1)93 b(Readline)31
b(Init)f(File)h(Syn)m(tax)12 b Fm(.)k(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)41
-b Ft(88)748 1805 y(8.3.2)93 b(Conditional)30 b(Init)h(Constructs)e
+b Ft(90)748 1805 y(8.3.2)93 b(Conditional)30 b(Init)h(Constructs)e
Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)59 b Ft(93)748 1914 y(8.3.3)93 b(Sample)30
+(.)g(.)g(.)g(.)59 b Ft(95)748 1914 y(8.3.3)93 b(Sample)30
b(Init)g(File)21 b Fm(.)c(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)51 b Ft(94)449 2024 y(8.4)92 b(Bindable)31 b(Readline)g(Commands)12
+g(.)51 b Ft(96)449 2024 y(8.4)92 b(Bindable)31 b(Readline)g(Commands)12
b Fm(.)i(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)41 b Ft(97)748
+g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)41 b Ft(99)748
2134 y(8.4.1)93 b(Commands)29 b(F)-8 b(or)31 b(Mo)m(ving)d
Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)56 b Ft(97)748 2243 y(8.4.2)93
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)56 b Ft(99)748 2243 y(8.4.2)93
b(Commands)29 b(F)-8 b(or)31 b(Manipulating)g(The)f(History)18
-b Fm(.)e(.)f(.)g(.)g(.)g(.)g(.)47 b Ft(97)748 2353 y(8.4.3)93
-b(Commands)29 b(F)-8 b(or)31 b(Changing)f(T)-8 b(ext)30
-b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f
-(.)58 b Ft(99)748 2462 y(8.4.4)93 b(Killing)31 b(And)e(Y)-8
+b Fm(.)e(.)f(.)g(.)g(.)g(.)g(.)47 b Ft(99)748 2353 y(8.4.3)93
+b(Commands)29 b(F)-8 b(or)31 b(Changing)f(T)-8 b(ext)29
+b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
+58 b Ft(101)748 2462 y(8.4.4)93 b(Killing)31 b(And)e(Y)-8
b(anking)16 b Fm(.)g(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)46 b
-Ft(100)748 2572 y(8.4.5)93 b(Sp)s(ecifying)29 b(Numeric)i(Argumen)m(ts)
+Ft(102)748 2572 y(8.4.5)93 b(Sp)s(ecifying)29 b(Numeric)i(Argumen)m(ts)
23 b Fm(.)15 b(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)53 b Ft(101)748 2682 y(8.4.6)93 b(Letting)31 b(Readline)g(T)m(yp)s
+(.)53 b Ft(103)748 2682 y(8.4.6)93 b(Letting)31 b(Readline)g(T)m(yp)s
(e)f(F)-8 b(or)31 b(Y)-8 b(ou)18 b Fm(.)e(.)f(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)48 b Ft(101)748 2791 y(8.4.7)93
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)48 b Ft(103)748 2791 y(8.4.7)93
b(Keyb)s(oard)29 b(Macros)10 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)h(.)
f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)40 b Ft(102)748 2901 y(8.4.8)93 b(Some)30
+(.)g(.)g(.)40 b Ft(104)748 2901 y(8.4.8)93 b(Some)30
b(Miscellaneous)i(Commands)12 b Fm(.)i(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)42 b Ft(103)449 3010 y(8.5)92
+(.)g(.)g(.)g(.)g(.)g(.)g(.)42 b Ft(105)449 3010 y(8.5)92
b(Readline)31 b(vi)f(Mo)s(de)c Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(105)449
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(107)449
3120 y(8.6)92 b(Programmable)31 b(Completion)12 b Fm(.)j(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(105)449 3230 y(8.7)92
+(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(107)449 3230 y(8.7)92
b(Programmable)31 b(Completion)g(Builtins)12 b Fm(.)j(.)g(.)g(.)h(.)f
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)42
-b Ft(107)150 3472 y Fr(9)135 b(Using)45 b(History)h(In)l(teractiv)l
+b Ft(109)150 3472 y Fr(9)135 b(Using)45 b(History)h(In)l(teractiv)l
(ely)14 b Fn(.)22 b(.)d(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f
-(.)58 b Fr(111)449 3609 y Ft(9.1)92 b(Bash)30 b(History)h(F)-8
+(.)58 b Fr(113)449 3609 y Ft(9.1)92 b(Bash)30 b(History)h(F)-8
b(acilities)11 b Fm(.)19 b(.)c(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)41 b Ft(111)449 3719 y(9.2)92 b(Bash)30 b(History)h
+g(.)g(.)g(.)41 b Ft(113)449 3719 y(9.2)92 b(Bash)30 b(History)h
(Builtins)9 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)h(.)f(.)38 b Ft(111)449 3828 y(9.3)92 b(History)31
+g(.)h(.)f(.)38 b Ft(113)449 3828 y(9.3)92 b(History)31
b(Expansion)d Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)g(.)g(.)58 b Ft(113)748 3938 y(9.3.1)93 b(Ev)m(en)m(t)31
+g(.)g(.)g(.)g(.)g(.)58 b Ft(115)748 3938 y(9.3.1)93 b(Ev)m(en)m(t)31
b(Designators)21 b Fm(.)c(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)51
-b Ft(113)748 4047 y(9.3.2)93 b(W)-8 b(ord)30 b(Designators)g
+b Ft(115)748 4047 y(9.3.2)93 b(W)-8 b(ord)30 b(Designators)g
Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(114)748
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(116)748
4157 y(9.3.3)93 b(Mo)s(di\014ers)27 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)57 b Ft(115)150
+g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)57 b Ft(117)150
4399 y Fr(10)135 b(Installing)46 b(Bash)30 b Fn(.)20
b(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f
-(.)h(.)f(.)g(.)h(.)f(.)h(.)74 b Fr(117)449 4536 y Ft(10.1)92
+(.)h(.)f(.)g(.)h(.)f(.)h(.)74 b Fr(119)449 4536 y Ft(10.1)92
b(Basic)32 b(Installation)d Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)57 b Ft(117)449 4646
+g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)57 b Ft(119)449 4646
y(10.2)92 b(Compilers)30 b(and)g(Options)22 b Fm(.)15
b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)51
-b Ft(117)449 4755 y(10.3)92 b(Compiling)31 b(F)-8 b(or)31
+b Ft(119)449 4755 y(10.3)92 b(Compiling)31 b(F)-8 b(or)31
b(Multiple)g(Arc)m(hitectures)12 b Fm(.)k(.)f(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)41 b Ft(118)449
+(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)41 b Ft(120)449
4865 y(10.4)92 b(Installation)32 b(Names)22 b Fm(.)16
b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)51
-b Ft(118)449 4975 y(10.5)92 b(Sp)s(ecifying)30 b(the)h(System)f(T)m(yp)
+b Ft(120)449 4975 y(10.5)92 b(Sp)s(ecifying)30 b(the)h(System)f(T)m(yp)
s(e)11 b Fm(.)k(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
-(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(118)449
+(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(120)449
5084 y(10.6)92 b(Sharing)30 b(Defaults)21 b Fm(.)16 b(.)f(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)51
-b Ft(119)449 5194 y(10.7)92 b(Op)s(eration)30 b(Con)m(trols)12
+b Ft(121)449 5194 y(10.7)92 b(Op)s(eration)30 b(Con)m(trols)12
b Fm(.)k(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g
-(.)41 b Ft(119)449 5303 y(10.8)92 b(Optional)31 b(F)-8
+(.)41 b Ft(121)449 5303 y(10.8)92 b(Optional)31 b(F)-8
b(eatures)17 b Fm(.)g(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)g(.)g(.)47 b Ft(119)p eop end
+g(.)g(.)g(.)g(.)g(.)47 b Ft(121)p eop end
%%Page: -4 6
TeXDict begin -4 5 bop 150 -116 a Ft(iv)2589 b(Bash)31
b(Reference)g(Man)m(ual)150 83 y Fr(App)t(endix)44 b(A)99
b(Rep)t(orting)46 b(Bugs)12 b Fn(.)20 b(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f
-(.)h(.)f(.)g(.)h(.)f(.)h(.)56 b Fr(125)150 353 y(App)t(endix)44
+(.)h(.)f(.)g(.)h(.)f(.)h(.)56 b Fr(127)150 353 y(App)t(endix)44
b(B)105 b(Ma)7 b(jor)46 b(Di\013erences)g(F)-11 b(rom)45
b(The)f(Bourne)419 486 y(Shell)17 b Fn(.)j(.)f(.)h(.)f(.)h(.)f(.)g(.)h
(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)
-h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)61 b Fr(127)449 623
+h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)61 b Fr(129)449 623
y Ft(B.1)92 b(Implemen)m(tation)31 b(Di\013erences)h(F)-8
b(rom)31 b(The)f(SVR4.2)h(Shell)21 b Fm(.)15 b(.)g(.)g(.)g(.)50
-b Ft(131)150 865 y Fr(App)t(endix)44 b(C)104 b(Cop)l(ying)46
+b Ft(133)150 865 y Fr(App)t(endix)44 b(C)104 b(Cop)l(ying)46
b(This)e(Man)l(ual)27 b Fn(.)20 b(.)f(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)71
-b Fr(133)449 1002 y Ft(C.1)91 b(GNU)31 b(F)-8 b(ree)32
+b Fr(135)449 1002 y Ft(C.1)91 b(GNU)31 b(F)-8 b(ree)32
b(Do)s(cumen)m(tation)g(License)27 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)56
-b Ft(133)748 1112 y(C.1.1)92 b(ADDENDUM:)32 b(Ho)m(w)f(to)h(use)e(this)
+b Ft(135)748 1112 y(C.1.1)92 b(ADDENDUM:)32 b(Ho)m(w)f(to)h(use)e(this)
g(License)h(for)f(y)m(our)930 1221 y(do)s(cumen)m(ts)c
Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g
(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)
-g(.)g(.)g(.)56 b Ft(139)150 1464 y Fr(Index)45 b(of)g(Shell)g(Builtin)h
+g(.)g(.)g(.)56 b Ft(141)150 1464 y Fr(Index)45 b(of)g(Shell)g(Builtin)h
(Commands)27 b Fn(.)19 b(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)71
-b Fr(141)150 1733 y(Index)45 b(of)g(Shell)g(Reserv)l(ed)h(W)-11
+b Fr(143)150 1733 y(Index)45 b(of)g(Shell)g(Reserv)l(ed)h(W)-11
b(ords)41 b Fn(.)20 b(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h
-(.)85 b Fr(143)150 2003 y(P)l(arameter)47 b(and)d(V)-11
+(.)85 b Fr(145)150 2003 y(P)l(arameter)47 b(and)d(V)-11
b(ariable)46 b(Index)27 b Fn(.)19 b(.)g(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h
-(.)f(.)h(.)f(.)g(.)71 b Fr(145)150 2273 y(F)-11 b(unction)44
+(.)f(.)h(.)f(.)g(.)71 b Fr(147)150 2273 y(F)-11 b(unction)44
b(Index)36 b Fn(.)19 b(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)h
(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)80
-b Fr(147)150 2543 y(Concept)45 b(Index)18 b Fn(.)i(.)f(.)h(.)f(.)g(.)h
+b Fr(149)150 2543 y(Concept)45 b(Index)18 b Fn(.)i(.)f(.)h(.)f(.)g(.)h
(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)
-h(.)f(.)g(.)h(.)f(.)h(.)62 b Fr(149)p eop end
+h(.)f(.)g(.)h(.)f(.)h(.)62 b Fr(151)p eop end
%%Page: 1 7
TeXDict begin 1 6 bop 150 -116 a Ft(Chapter)30 b(1:)41
b(In)m(tro)s(duction)2592 b(1)150 299 y Fo(1)80 b(In)l(tro)t(duction)
4055 y Fs(operator)96 b Ft(A)38 b Fs(control)28 b(operator)36
b Ft(or)h(a)i Fs(redirection)27 b(operator)p Ft(.)61
b(See)38 b(Section)g(3.6)h([Redirec-)630 4164 y(tions],)31
-b(page)g(24,)h(for)e(a)h(list)g(of)f(redirection)h(op)s(erators.)150
+b(page)g(25,)h(for)e(a)h(list)g(of)f(redirection)h(op)s(erators.)150
4321 y Fs(process)d(group)630 4431 y Ft(A)i(collection)k(of)c(related)h
(pro)s(cesses)g(eac)m(h)g(ha)m(ving)g(the)g(same)f(pro)s(cess)g(group)g
Fl(id)p Ft(.)150 4588 y Fs(process)e(group)h(ID)630 4697
(\014le)h(\(see)g(Section)g(3.8)g([Shell)f(Scripts],)j(page)e(32\),)k
(from)41 b(a)i(string)330 3623 y(supplied)26 b(as)i(an)f(argumen)m(t)g
(to)h(the)g(`)p Fs(-c)p Ft(')f(in)m(v)m(o)s(cation)i(option)f(\(see)g
-(Section)h(6.1)f([In)m(v)m(oking)g(Bash],)330 3732 y(page)j(63\),)h(or)
+(Section)h(6.1)f([In)m(v)m(oking)g(Bash],)330 3732 y(page)j(65\),)h(or)
e(from)g(the)h(user's)f(terminal.)199 3869 y(2.)61 b(Breaks)43
b(the)g(input)f(in)m(to)h(w)m(ords)f(and)g(op)s(erators,)k(ob)s(eying)d
(the)g(quoting)g(rules)f(describ)s(ed)f(in)330 3978 y(Section)27
b(3.1.2)i([Quoting],)f(page)f(6.)40 b(These)26 b(tok)m(ens)i(are)f
(separated)g(b)m(y)f Fs(metacharacters)p Ft(.)36 b(Alias)330
4088 y(expansion)30 b(is)h(p)s(erformed)d(b)m(y)j(this)f(step)g(\(see)i
-(Section)f(6.6)g([Aliases],)i(page)e(71\).)199 4224 y(3.)61
+(Section)f(6.6)g([Aliases],)i(page)e(73\).)199 4224 y(3.)61
b(P)m(arses)35 b(the)g(tok)m(ens)g(in)m(to)h(simple)e(and)g(comp)s
(ound)f(commands)h(\(see)h(Section)h(3.2)f([Shell)g(Com-)330
4334 y(mands],)30 b(page)h(8\).)199 4470 y(4.)61 b(P)m(erforms)40
b(the)h(v)-5 b(arious)40 b(shell)h(expansions)f(\(see)h(Section)g(3.5)g
-([Shell)g(Expansions],)h(page)f(16\),)330 4580 y(breaking)35
+([Shell)g(Expansions],)h(page)f(17\),)330 4580 y(breaking)35
b(the)g(expanded)g(tok)m(ens)h(in)m(to)g(lists)f(of)g(\014lenames)h
(\(see)g(Section)f(3.5.8)i([Filename)g(Ex-)330 4689 y(pansion],)30
b(page)h(23\))h(and)e(commands)g(and)g(argumen)m(ts.)199
4826 y(5.)61 b(P)m(erforms)36 b(an)m(y)i(necessary)f(redirections)g
-(\(see)h(Section)f(3.6)h([Redirections],)i(page)e(24\))g(and)e(re-)330
+(\(see)h(Section)f(3.6)h([Redirections],)i(page)e(25\))g(and)e(re-)330
4935 y(mo)m(v)m(es)c(the)e(redirection)h(op)s(erators)g(and)f(their)g
(op)s(erands)f(from)h(the)h(argumen)m(t)f(list.)199 5071
y(6.)61 b(Executes)31 b(the)g(command)f(\(see)h(Section)g(3.7)h
(b)s(e)g(quoted)g(if)h(it)g(is)f(to)h(represen)m(t)g(itself.)68
b(When)39 b(the)h(command)f(history)150 1105 y(expansion)i(facilities)j
(are)e(b)s(eing)f(used)g(\(see)h(Section)h(9.3)f([History)h(In)m
-(teraction],)j(page)c(113\),)47 b(the)150 1214 y Fq(history)30
+(teraction],)j(page)c(115\),)47 b(the)150 1214 y Fq(history)30
b(expansion)h Ft(c)m(haracter,)h(usually)f(`)p Fs(!)p
Ft(',)g(m)m(ust)f(b)s(e)g(quoted)h(to)g(prev)m(en)m(t)g(history)g
(expansion.)41 b(See)150 1324 y(Section)22 b(9.1)g([Bash)f(History)h(F)
--8 b(acilities],)26 b(page)c(111,)j(for)20 b(more)h(details)h
+-8 b(acilities],)26 b(page)c(113,)j(for)20 b(more)h(details)h
(concerning)g(history)f(expansion.)275 1453 y(There)37
b(are)h(three)f(quoting)h(mec)m(hanisms:)56 b(the)38
b Fq(escap)s(e)g(c)m(haracter)p Ft(,)j(single)d(quotes,)i(and)d(double)
(enabled,)150 3669 y(`)p Fs(!)p Ft('.)48 b(The)32 b(c)m(haracters)i(`)p
Fs($)p Ft(')f(and)f(`)p Fs(`)p Ft(')h(retain)g(their)g(sp)s(ecial)g
(meaning)g(within)f(double)h(quotes)g(\(see)g(Sec-)150
-3778 y(tion)e(3.5)h([Shell)e(Expansions],)g(page)i(16\).)42
+3778 y(tion)e(3.5)h([Shell)e(Expansions],)g(page)i(17\).)42
b(The)30 b(bac)m(kslash)h(retains)g(its)g(sp)s(ecial)g(meaning)f(only)h
(when)150 3888 y(follo)m(w)m(ed)40 b(b)m(y)e(one)h(of)g(the)f(follo)m
(wing)i(c)m(haracters:)58 b(`)p Fs($)p Ft(',)41 b(`)p
5230 y(commen)m(ts.)56 b(The)34 b Fs(interactive_comments)c
Ft(option)35 b(is)g(on)g(b)m(y)g(default)g(in)g(in)m(teractiv)m(e)j
(shells.)55 b(See)150 5340 y(Section)30 b(6.3)f([In)m(teractiv)m(e)j
-(Shells],)d(page)h(67,)g(for)e(a)i(description)e(of)h(what)g(mak)m(es)h
+(Shells],)d(page)h(69,)g(for)e(a)i(description)e(of)h(what)g(mak)m(es)h
(a)f(shell)g(in)m(teractiv)m(e.)p eop end
%%Page: 8 14
TeXDict begin 8 13 bop 150 -116 a Ft(8)2617 b(Bash)31
(ait)g(for)f(the)h(command)f(to)i(\014nish,)d(and)h(the)h(return)e
(status)i(is)g(0)g(\(true\).)40 b(When)150 1621 y(job)g(con)m(trol)h
(is)g(not)f(activ)m(e)i(\(see)f(Chapter)f(7)h([Job)f(Con)m(trol],)j
-(page)e(81\),)j(the)d(standard)e(input)g(for)150 1730
+(page)e(83\),)j(the)d(standard)e(input)g(for)150 1730
y(async)m(hronous)k(commands,)k(in)d(the)f(absence)i(of)f(an)m(y)g
(explicit)h(redirections,)j(is)43 b(redirected)h(from)150
1840 y Fs(/dev/null)p Ft(.)275 1979 y(Commands)19 b(separated)j(b)m(y)f
(erator)f(and)g(is)g(terminated)g(b)m(y)g(a)g(corresp)s(onding)f
(reserv)m(ed)150 3978 y(w)m(ord)k(or)h(op)s(erator.)77
b(An)m(y)42 b(redirections)h(\(see)h(Section)f(3.6)h([Redirections],)j
-(page)c(24\))g(asso)s(ciated)150 4087 y(with)26 b(a)g(comp)s(ound)f
+(page)c(25\))g(asso)s(ciated)150 4087 y(with)26 b(a)g(comp)s(ound)f
(command)h(apply)g(to)h(all)g(commands)f(within)f(that)i(comp)s(ound)e
(command)h(unless)150 4197 y(explicitly)32 b(o)m(v)m(erridden.)275
4336 y(Bash)45 b(pro)m(vides)h(lo)s(oping)g(constructs,)j(conditional)e
Fq(commands)k Ft(once)d(for)f(eac)m(h)i(p)s(ositional)f(parameter)g
(that)630 2061 y(is)d(set,)h(as)f(if)g(`)p Fs(in)j("$@")p
Ft(')c(had)g(b)s(een)g(sp)s(eci\014ed)g(\(see)i(Section)f(3.4.2)i([Sp)s
-(ecial)e(P)m(arameters],)630 2171 y(page)c(15\).)39 b(The)21
+(ecial)e(P)m(arameters],)630 2171 y(page)c(16\).)39 b(The)21
b(return)g(status)h(is)g(the)g(exit)h(status)f(of)g(the)g(last)g
(command)g(that)g(executes.)630 2281 y(If)i(there)h(are)h(no)e(items)i
(in)e(the)h(expansion)g(of)g Fq(w)m(ords)p Ft(,)h(no)f(commands)f(are)h
Ft(First,)38 b(the)f(arithmetic)h(expression)e Fq(expr1)43
b Ft(is)36 b(ev)-5 b(aluated)38 b(according)f(to)g(the)g(rules)f(de-)
630 2905 y(scrib)s(ed)41 b(b)s(elo)m(w)h(\(see)h(Section)g(6.5)g
-([Shell)g(Arithmetic],)j(page)d(70\).)77 b(The)42 b(arithmetic)630
+([Shell)g(Arithmetic],)j(page)d(72\).)77 b(The)42 b(arithmetic)630
3014 y(expression)33 b Fq(expr2)41 b Ft(is)34 b(then)f(ev)-5
b(aluated)35 b(rep)s(eatedly)f(un)m(til)g(it)g(ev)-5
b(aluates)35 b(to)g(zero.)51 b(Eac)m(h)630 3124 y(time)23
b Ft(is)630 518 y(executed.)k(The)34 b(return)g(status)h(is)f(the)h
(exit)h(status)f(of)g(the)g(last)g(command)g(executed,)630
628 y(or)30 b(zero)i(if)e(no)g(condition)h(tested)g(true.)150
-784 y Fs(case)288 b Ft(The)30 b(syn)m(tax)h(of)f(the)h
-Fs(case)e Ft(command)h(is:)870 917 y Fs(case)47 b Fj(word)57
+788 y Fs(case)288 b Ft(The)30 b(syn)m(tax)h(of)f(the)h
+Fs(case)e Ft(command)h(is:)870 923 y Fs(case)47 b Fj(word)57
b Fs(in)47 b([)g([\(])g Fj(pattern)57 b Fs([|)47 b Fj(pattern)11
b Fs(]...)l(\))48 b Fj(command-list)55 b Fs(;;]...)46
-b(esac)630 1050 y(case)34 b Ft(will)h(selectiv)m(ely)i(execute)f(the)f
+b(esac)630 1058 y(case)34 b Ft(will)h(selectiv)m(ely)i(execute)f(the)f
Fq(command-list)j Ft(corresp)s(onding)33 b(to)j(the)e(\014rst)g
-Fq(pat-)630 1160 y(tern)40 b Ft(that)i(matc)m(hes)g Fq(w)m(ord)p
-Ft(.)71 b(The)40 b(`)p Fs(|)p Ft(')h(is)g(used)f(to)h(separate)h(m)m
-(ultiple)f(patterns,)j(and)630 1270 y(the)31 b(`)p Fs(\))p
-Ft(')h(op)s(erator)f(terminates)h(a)g(pattern)f(list.)44
-b(A)31 b(list)h(of)g(patterns)f(and)f(an)h(asso)s(ciated)630
-1379 y(command-list)g(is)f(kno)m(wn)g(as)g(a)h Fq(clause)p
-Ft(.)41 b(Eac)m(h)31 b(clause)g(m)m(ust)f(b)s(e)f(terminated)i(with)f
-(`)p Fs(;;)p Ft('.)630 1489 y(The)d Fq(w)m(ord)j Ft(undergo)s(es)d
-(tilde)h(expansion,)g(parameter)f(expansion,)h(command)g(substitu-)630
-1598 y(tion,)39 b(arithmetic)f(expansion,)g(and)f(quote)g(remo)m(v)-5
-b(al)38 b(b)s(efore)e(matc)m(hing)i(is)f(attempted.)630
-1708 y(Eac)m(h)d Fq(pattern)f Ft(undergo)s(es)g(tilde)h(expansion,)g
-(parameter)g(expansion,)g(command)f(sub-)630 1817 y(stitution,)e(and)f
-(arithmetic)i(expansion.)630 1951 y(There)e(ma)m(y)g(b)s(e)f(an)h
-(arbitrary)g(n)m(um)m(b)s(er)f(of)h Fs(case)f Ft(clauses,)i(eac)m(h)g
-(terminated)g(b)m(y)e(a)i(`)p Fs(;;)p Ft('.)630 2060
-y(The)f(\014rst)f(pattern)i(that)g(matc)m(hes)g(determines)g(the)f
-(command-list)i(that)f(is)f(executed.)630 2193 y(Here)35
-b(is)g(an)g(example)h(using)e Fs(case)g Ft(in)g(a)h(script)g(that)h
-(could)f(b)s(e)f(used)g(to)h(describ)s(e)g(one)630 2303
-y(in)m(teresting)d(feature)f(of)f(an)g(animal:)870 2436
-y Fs(echo)47 b(-n)g("Enter)f(the)h(name)f(of)i(an)f(animal:)f(")870
-2545 y(read)h(ANIMAL)870 2655 y(echo)g(-n)g("The)f($ANIMAL)g(has)h(")
-870 2765 y(case)g($ANIMAL)e(in)965 2874 y(horse)i(|)g(dog)g(|)h(cat\))e
-(echo)h(-n)g("four";;)965 2984 y(man)g(|)h(kangaroo)d(\))j(echo)e(-n)i
-("two";;)965 3093 y(*\))g(echo)e(-n)h("an)g(unknown)f(number)g(of";;)
-870 3203 y(esac)870 3313 y(echo)h(")g(legs.")630 3446
-y Ft(The)26 b(return)f(status)h(is)g(zero)h(if)f(no)g
+Fq(pat-)630 1167 y(tern)g Ft(that)h(matc)m(hes)h Fq(w)m(ord)p
+Ft(.)52 b(If)34 b(the)g(shell)h(option)g Fs(nocasematch)c
+Ft(\(see)k(the)g(description)630 1277 y(of)e Fs(shopt)e
+Ft(in)h(Section)h(4.2)h([Bash)f(Builtins],)g(page)h(39\))f(is)g
+(enabled,)g(the)g(matc)m(h)g(is)g(p)s(er-)630 1386 y(formed)e(without)h
+(regard)g(to)h(the)f(case)h(of)f(alphab)s(etic)h(c)m(haracters.)47
+b(The)31 b(`)p Fs(|)p Ft(')h(is)g(used)f(to)630 1496
+y(separate)25 b(m)m(ultiple)h(patterns,)g(and)d(the)i(`)p
+Fs(\))p Ft(')g(op)s(erator)f(terminates)i(a)f(pattern)f(list.)40
+b(A)24 b(list)630 1606 y(of)32 b(patterns)g(and)f(an)h(asso)s(ciated)h
+(command-list)g(is)f(kno)m(wn)f(as)h(a)h Fq(clause)p
+Ft(.)46 b(Eac)m(h)32 b(clause)630 1715 y(m)m(ust)d(b)s(e)f(terminated)h
+(with)g(`)p Fs(;;)p Ft('.)40 b(The)28 b Fq(w)m(ord)k
+Ft(undergo)s(es)c(tilde)h(expansion,)g(parameter)630
+1825 y(expansion,)c(command)f(substitution,)h(arithmetic)g(expansion,)g
+(and)e(quote)h(remo)m(v)-5 b(al)25 b(b)s(e-)630 1934
+y(fore)e(matc)m(hing)i(is)e(attempted.)39 b(Eac)m(h)24
+b Fq(pattern)f Ft(undergo)s(es)g(tilde)h(expansion,)g(parameter)630
+2044 y(expansion,)30 b(command)h(substitution,)f(and)g(arithmetic)h
+(expansion.)630 2179 y(There)f(ma)m(y)g(b)s(e)f(an)h(arbitrary)g(n)m
+(um)m(b)s(er)f(of)h Fs(case)f Ft(clauses,)i(eac)m(h)g(terminated)g(b)m
+(y)e(a)i(`)p Fs(;;)p Ft('.)630 2288 y(The)f(\014rst)f(pattern)i(that)g
+(matc)m(hes)g(determines)g(the)f(command-list)i(that)f(is)f(executed.)
+630 2423 y(Here)35 b(is)g(an)g(example)h(using)e Fs(case)g
+Ft(in)g(a)h(script)g(that)h(could)f(b)s(e)f(used)g(to)h(describ)s(e)g
+(one)630 2533 y(in)m(teresting)d(feature)f(of)f(an)g(animal:)870
+2668 y Fs(echo)47 b(-n)g("Enter)f(the)h(name)f(of)i(an)f(animal:)f(")
+870 2777 y(read)h(ANIMAL)870 2887 y(echo)g(-n)g("The)f($ANIMAL)g(has)h
+(")870 2996 y(case)g($ANIMAL)e(in)965 3106 y(horse)i(|)g(dog)g(|)h
+(cat\))e(echo)h(-n)g("four";;)965 3216 y(man)g(|)h(kangaroo)d(\))j
+(echo)e(-n)i("two";;)965 3325 y(*\))g(echo)e(-n)h("an)g(unknown)f
+(number)g(of";;)870 3435 y(esac)870 3544 y(echo)h(")g(legs.")630
+3679 y Ft(The)26 b(return)f(status)h(is)g(zero)h(if)f(no)g
Fq(pattern)g Ft(is)g(matc)m(hed.)40 b(Otherwise,)27 b(the)g(return)e
-(status)630 3555 y(is)30 b(the)h(exit)g(status)g(of)f(the)h
-Fq(command-list)i Ft(executed.)150 3712 y Fs(select)630
-3845 y Ft(The)g Fs(select)f Ft(construct)i(allo)m(ws)h(the)f(easy)g
+(status)630 3789 y(is)30 b(the)h(exit)g(status)g(of)f(the)h
+Fq(command-list)i Ft(executed.)150 3949 y Fs(select)630
+4084 y Ft(The)g Fs(select)f Ft(construct)i(allo)m(ws)h(the)f(easy)g
(generation)h(of)e(men)m(us.)50 b(It)34 b(has)f(almost)i(the)630
-3954 y(same)c(syn)m(tax)g(as)f(the)h Fs(for)e Ft(command:)870
-4088 y Fs(select)46 b Fj(name)57 b Fs([in)47 b Fj(words)57
+4194 y(same)c(syn)m(tax)g(as)f(the)h Fs(for)e Ft(command:)870
+4328 y Fs(select)46 b Fj(name)57 b Fs([in)47 b Fj(words)57
b Fs(...)o(];)47 b(do)h Fj(commands)11 b Fs(;)44 b(done)630
-4221 y Ft(The)d(list)i(of)e(w)m(ords)h(follo)m(wing)h
+4463 y Ft(The)d(list)i(of)e(w)m(ords)h(follo)m(wing)h
Fs(in)e Ft(is)h(expanded,)i(generating)f(a)f(list)g(of)g(items.)75
-b(The)630 4330 y(set)41 b(of)f(expanded)f(w)m(ords)g(is)i(prin)m(ted)e
+b(The)630 4573 y(set)41 b(of)f(expanded)f(w)m(ords)g(is)i(prin)m(ted)e
(on)h(the)g(standard)f(error)h(output)g(stream,)j(eac)m(h)630
-4440 y(preceded)30 b(b)m(y)g(a)h(n)m(um)m(b)s(er.)40
+4682 y(preceded)30 b(b)m(y)g(a)h(n)m(um)m(b)s(er.)40
b(If)29 b(the)i(`)p Fs(in)f Fj(words)11 b Ft(')29 b(is)h(omitted,)i
-(the)e(p)s(ositional)i(parameters)630 4549 y(are)24 b(prin)m(ted,)g(as)
+(the)e(p)s(ositional)i(parameters)630 4792 y(are)24 b(prin)m(ted,)g(as)
g(if)f(`)p Fs(in)30 b("$@")p Ft(')23 b(had)f(b)s(een)h(sp)s(ecifed.)38
b(The)23 b Fs(PS3)f Ft(prompt)h(is)g(then)g(displa)m(y)m(ed)630
-4659 y(and)38 b(a)h(line)g(is)f(read)h(from)f(the)h(standard)e(input.)
+4902 y(and)38 b(a)h(line)g(is)f(read)h(from)f(the)h(standard)e(input.)
65 b(If)38 b(the)h(line)g(consists)g(of)f(a)h(n)m(um)m(b)s(er)630
-4769 y(corresp)s(onding)33 b(to)i(one)f(of)g(the)g(displa)m(y)m(ed)h(w)
+5011 y(corresp)s(onding)33 b(to)i(one)f(of)g(the)g(displa)m(y)m(ed)h(w)
m(ords,)f(then)g(the)g(v)-5 b(alue)34 b(of)h Fq(name)k
-Ft(is)34 b(set)g(to)630 4878 y(that)g(w)m(ord.)49 b(If)32
+Ft(is)34 b(set)g(to)630 5121 y(that)g(w)m(ord.)49 b(If)32
b(the)i(line)f(is)h(empt)m(y)-8 b(,)35 b(the)e(w)m(ords)g(and)f(prompt)
-h(are)g(displa)m(y)m(ed)h(again.)50 b(If)630 4988 y Fs(EOF)23
+h(are)g(displa)m(y)m(ed)h(again.)50 b(If)630 5230 y Fs(EOF)23
b Ft(is)g(read,)j(the)d Fs(select)f Ft(command)i(completes.)40
b(An)m(y)23 b(other)h(v)-5 b(alue)24 b(read)g(causes)g
-Fq(name)630 5097 y Ft(to)31 b(b)s(e)f(set)h(to)g(n)m(ull.)41
+Fq(name)630 5340 y Ft(to)31 b(b)s(e)f(set)h(to)g(n)m(ull.)41
b(The)29 b(line)i(read)f(is)h(sa)m(v)m(ed)g(in)f(the)h(v)-5
-b(ariable)31 b Fs(REPLY)p Ft(.)630 5230 y(The)42 b Fq(commands)j
-Ft(are)d(executed)h(after)g(eac)m(h)g(selection)h(un)m(til)e(a)h
-Fs(break)d Ft(command)i(is)630 5340 y(executed,)32 b(at)f(whic)m(h)f(p)
-s(oin)m(t)g(the)h Fs(select)d Ft(command)i(completes.)p
-eop end
+b(ariable)31 b Fs(REPLY)p Ft(.)p eop end
%%Page: 12 18
TeXDict begin 12 17 bop 150 -116 a Ft(12)2572 b(Bash)31
-b(Reference)g(Man)m(ual)630 299 y(Here)39 b(is)g(an)g(example)h(that)f
-(allo)m(ws)i(the)e(user)f(to)i(pic)m(k)f(a)g(\014lename)h(from)e(the)h
-(curren)m(t)630 408 y(directory)-8 b(,)32 b(and)d(displa)m(ys)i(the)f
-(name)h(and)f(index)f(of)i(the)g(\014le)f(selected.)870
-542 y Fs(select)46 b(fname)g(in)i(*;)870 651 y(do)870
-761 y(echo)f(you)g(picked)f($fname)g(\\\($REPLY\\\))870
-870 y(break;)870 980 y(done)150 1136 y(\(\(...)o(\)\))870
-1270 y(\(\()h Fj(expression)56 b Fs(\)\))630 1403 y Ft(The)33
-b(arithmetic)i Fq(expression)f Ft(is)f(ev)-5 b(aluated)35
-b(according)g(to)f(the)g(rules)f(describ)s(ed)g(b)s(elo)m(w)630
-1512 y(\(see)j(Section)f(6.5)h([Shell)f(Arithmetic],)i(page)f(70\).)55
-b(If)34 b(the)h(v)-5 b(alue)35 b(of)g(the)g(expression)g(is)630
-1622 y(non-zero,)27 b(the)f(return)e(status)i(is)g(0;)h(otherwise)f
-(the)g(return)e(status)i(is)g(1.)39 b(This)25 b(is)g(exactly)630
-1731 y(equiv)-5 b(alen)m(t)32 b(to)870 1864 y Fs(let)47
-b(")p Fj(expression)11 b Fs(")630 1998 y Ft(See)25 b(Section)h(4.2)h
-([Bash)e(Builtins],)i(page)f(39,)i(for)c(a)i(full)f(description)g(of)g
-(the)h Fs(let)e Ft(builtin.)150 2154 y Fs([[...)o(]])870
-2287 y([[)47 b Fj(expression)56 b Fs(]])630 2420 y Ft(Return)25
+b(Reference)g(Man)m(ual)630 299 y(The)42 b Fq(commands)j
+Ft(are)d(executed)h(after)g(eac)m(h)g(selection)h(un)m(til)e(a)h
+Fs(break)d Ft(command)i(is)630 408 y(executed,)32 b(at)f(whic)m(h)f(p)s
+(oin)m(t)g(the)h Fs(select)d Ft(command)i(completes.)630
+542 y(Here)39 b(is)g(an)g(example)h(that)f(allo)m(ws)i(the)e(user)f(to)
+i(pic)m(k)f(a)g(\014lename)h(from)e(the)h(curren)m(t)630
+651 y(directory)-8 b(,)32 b(and)d(displa)m(ys)i(the)f(name)h(and)f
+(index)f(of)i(the)g(\014le)f(selected.)870 784 y Fs(select)46
+b(fname)g(in)i(*;)870 894 y(do)870 1003 y(echo)f(you)g(picked)f($fname)
+g(\\\($REPLY\\\))870 1113 y(break;)870 1223 y(done)150
+1379 y(\(\(...)o(\)\))870 1512 y(\(\()h Fj(expression)56
+b Fs(\)\))630 1645 y Ft(The)33 b(arithmetic)i Fq(expression)f
+Ft(is)f(ev)-5 b(aluated)35 b(according)g(to)f(the)g(rules)f(describ)s
+(ed)g(b)s(elo)m(w)630 1755 y(\(see)j(Section)f(6.5)h([Shell)f
+(Arithmetic],)i(page)f(72\).)55 b(If)34 b(the)h(v)-5
+b(alue)35 b(of)g(the)g(expression)g(is)630 1864 y(non-zero,)27
+b(the)f(return)e(status)i(is)g(0;)h(otherwise)f(the)g(return)e(status)i
+(is)g(1.)39 b(This)25 b(is)g(exactly)630 1974 y(equiv)-5
+b(alen)m(t)32 b(to)870 2107 y Fs(let)47 b(")p Fj(expression)11
+b Fs(")630 2240 y Ft(See)25 b(Section)h(4.2)h([Bash)e(Builtins],)i
+(page)f(39,)i(for)c(a)i(full)f(description)g(of)g(the)h
+Fs(let)e Ft(builtin.)150 2397 y Fs([[...)o(]])870 2530
+y([[)47 b Fj(expression)56 b Fs(]])630 2663 y Ft(Return)25
b(a)h(status)f(of)h(0)g(or)g(1)g(dep)s(ending)e(on)h(the)h(ev)-5
b(aluation)27 b(of)e(the)h(conditional)h(expres-)630
-2530 y(sion)j Fq(expression)p Ft(.)41 b(Expressions)29
+2772 y(sion)j Fq(expression)p Ft(.)41 b(Expressions)29
b(are)i(comp)s(osed)f(of)g(the)h(primaries)f(describ)s(ed)f(b)s(elo)m
-(w)h(in)630 2639 y(Section)36 b(6.4)h([Bash)f(Conditional)g
-(Expressions],)h(page)f(69.)57 b(W)-8 b(ord)36 b(splitting)h(and)e
-(\014le-)630 2749 y(name)24 b(expansion)h(are)g(not)f(p)s(erformed)f
+(w)h(in)630 2882 y(Section)36 b(6.4)h([Bash)f(Conditional)g
+(Expressions],)h(page)f(71.)57 b(W)-8 b(ord)36 b(splitting)h(and)e
+(\014le-)630 2992 y(name)24 b(expansion)h(are)g(not)f(p)s(erformed)f
(on)h(the)h(w)m(ords)f(b)s(et)m(w)m(een)h(the)g(`)p Fs([[)p
-Ft(')f(and)g(`)p Fs(]])p Ft(';)i(tilde)630 2859 y(expansion,)31
+Ft(')f(and)g(`)p Fs(]])p Ft(';)i(tilde)630 3101 y(expansion,)31
b(parameter)g(and)f(v)-5 b(ariable)31 b(expansion,)g(arithmetic)g
-(expansion,)g(command)630 2968 y(substitution,)40 b(pro)s(cess)f
+(expansion,)g(command)630 3211 y(substitution,)40 b(pro)s(cess)f
(substitution,)h(and)e(quote)h(remo)m(v)-5 b(al)40 b(are)f(p)s
-(erformed.)63 b(Condi-)630 3078 y(tional)32 b(op)s(erators)e(suc)m(h)g
+(erformed.)63 b(Condi-)630 3320 y(tional)32 b(op)s(erators)e(suc)m(h)g
(as)h(`)p Fs(-f)p Ft(')f(m)m(ust)g(b)s(e)g(unquoted)g(to)h(b)s(e)e
-(recognized)j(as)f(primaries.)630 3211 y(When)22 b(the)h(`)p
+(recognized)j(as)f(primaries.)630 3453 y(When)22 b(the)h(`)p
Fs(==)p Ft(')f(and)g(`)p Fs(!=)p Ft(')g(op)s(erators)h(are)g(used,)g
(the)g(string)f(to)i(the)e(righ)m(t)h(of)g(the)g(op)s(erator)630
-3320 y(is)31 b(considered)g(a)h(pattern)f(and)g(matc)m(hed)h(according)
+3563 y(is)31 b(considered)g(a)h(pattern)f(and)g(matc)m(hed)h(according)
g(to)g(the)g(rules)f(describ)s(ed)f(b)s(elo)m(w)h(in)630
-3430 y(Section)g(3.5.8.1)i([P)m(attern)e(Matc)m(hing],)i(page)e(23.)41
-b(The)30 b(return)f(v)-5 b(alue)31 b(is)f(0)g(if)h(the)f(string)630
-3540 y(matc)m(hes)c(or)f(do)s(es)g(not)h(matc)m(h)f(the)h(pattern,)g
-(resp)s(ectiv)m(ely)-8 b(,)28 b(and)d(1)h(otherwise.)39
-b(An)m(y)25 b(part)630 3649 y(of)31 b(the)f(pattern)h(ma)m(y)g(b)s(e)e
-(quoted)i(to)g(force)g(it)g(to)g(b)s(e)f(matc)m(hed)h(as)f(a)h(string.)
-630 3782 y(An)i(additional)i(binary)e(op)s(erator,)i(`)p
+3673 y(Section)37 b(3.5.8.1)i([P)m(attern)e(Matc)m(hing],)j(page)c(23.)
+59 b(If)36 b(the)g(shell)g(option)h Fs(nocasematch)630
+3782 y Ft(\(see)27 b(the)e(description)h(of)g Fs(shopt)e
+Ft(in)h(Section)i(4.2)f([Bash)g(Builtins],)i(page)e(39\))h(is)f
+(enabled,)630 3892 y(the)40 b(matc)m(h)h(is)f(p)s(erformed)f(without)h
+(regard)g(to)h(the)f(case)h(of)g(alphab)s(etic)f(c)m(haracters.)630
+4001 y(The)i(return)g(v)-5 b(alue)43 b(is)g(0)h(if)e(the)h(string)g
+(matc)m(hes)h(or)f(do)s(es)g(not)g(matc)m(h)h(the)f(pattern,)630
+4111 y(resp)s(ectiv)m(ely)-8 b(,)34 b(and)d(1)g(otherwise.)45
+b(An)m(y)31 b(part)h(of)f(the)h(pattern)g(ma)m(y)g(b)s(e)f(quoted)g(to)
+h(force)630 4221 y(it)f(to)g(b)s(e)f(matc)m(hed)h(as)g(a)f(string.)630
+4354 y(An)j(additional)i(binary)e(op)s(erator,)i(`)p
Fs(=~)p Ft(',)g(is)f(a)m(v)-5 b(ailable,)37 b(with)c(the)h(same)g
-(precedence)h(as)630 3892 y(`)p Fs(==)p Ft(')29 b(and)f(`)p
+(precedence)h(as)630 4463 y(`)p Fs(==)p Ft(')29 b(and)f(`)p
Fs(!=)p Ft('.)40 b(When)29 b(it)g(is)g(used,)f(the)h(string)g(to)h(the)
e(righ)m(t)i(of)f(the)g(op)s(erator)g(is)g(consid-)630
-4001 y(ered)34 b(an)g(extended)g(regular)g(expression)g(and)f(matc)m
+4573 y(ered)34 b(an)g(extended)g(regular)g(expression)g(and)f(matc)m
(hed)i(accordingly)g(\(as)f(in)g Fm(r)-5 b(e)g(gex)11
-b Ft(3\)\).)630 4111 y(The)39 b(return)f(v)-5 b(alue)40
+b Ft(3\)\).)630 4682 y(The)39 b(return)f(v)-5 b(alue)40
b(is)f(0)h(if)f(the)g(string)h(matc)m(hes)g(the)f(pattern,)j(and)d(1)h
-(otherwise.)67 b(If)630 4221 y(the)26 b(regular)g(expression)g(is)g
+(otherwise.)67 b(If)630 4792 y(the)26 b(regular)g(expression)g(is)g
(syn)m(tactically)j(incorrect,)f(the)e(conditional)h(expression's)f
-(re-)630 4330 y(turn)35 b(v)-5 b(alue)37 b(is)f(2.)59
-b(If)36 b(the)g(shell)h(option)f Fs(nocaseglob)e Ft(\(see)j(the)g
-(description)f(of)g Fs(shopt)630 4440 y Ft(in)43 b(Section)h(4.2)g
+(re-)630 4902 y(turn)32 b(v)-5 b(alue)34 b(is)f(2.)49
+b(If)33 b(the)g(shell)g(option)h Fs(nocasematch)c Ft(\(see)k(the)f
+(description)g(of)g Fs(shopt)630 5011 y Ft(in)43 b(Section)h(4.2)g
([Bash)f(Builtins],)k(page)d(39\))g(is)f(enabled,)j(the)e(matc)m(h)f
-(is)g(p)s(erformed)630 4549 y(without)d(regard)g(to)h(the)f(case)h(of)g
+(is)g(p)s(erformed)630 5121 y(without)d(regard)g(to)h(the)f(case)h(of)g
(alphab)s(etic)f(c)m(haracters.)72 b(Substrings)38 b(matc)m(hed)j(b)m
-(y)630 4659 y(paren)m(thesized)j(sub)s(expressions)e(within)i(the)g
+(y)630 5230 y(paren)m(thesized)j(sub)s(expressions)e(within)i(the)g
(regular)g(expression)g(are)g(sa)m(v)m(ed)h(in)f(the)630
-4769 y(arra)m(y)38 b(v)-5 b(ariable)38 b Fs(BASH_REMATCH)p
+5340 y(arra)m(y)38 b(v)-5 b(ariable)38 b Fs(BASH_REMATCH)p
Ft(.)59 b(The)36 b(elemen)m(t)j(of)f Fs(BASH_REMATCH)c
-Ft(with)j(index)g(0)h(is)630 4878 y(the)c(p)s(ortion)f(of)h(the)f
-(string)h(matc)m(hing)g(the)g(en)m(tire)h(regular)e(expression.)50
-b(The)33 b(elemen)m(t)630 4988 y(of)39 b Fs(BASH_REMATCH)c
-Ft(with)j(index)g Fq(n)f Ft(is)i(the)f(p)s(ortion)g(of)h(the)f(string)h
-(matc)m(hing)g(the)g Fq(n)p Ft(th)630 5097 y(paren)m(thesized)31
-b(sub)s(expression.)630 5230 y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m
-(bined)i(using)f(the)h(follo)m(wing)h(op)s(erators,)g(listed)f(in)f
-(decreasing)630 5340 y(order)30 b(of)g(precedence:)p
-eop end
+Ft(with)j(index)g(0)h(is)p eop end
%%Page: 13 19
TeXDict begin 13 18 bop 150 -116 a Ft(Chapter)30 b(3:)41
b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(13)630 299
-y Fs(\()30 b Fj(expression)38 b Fs(\))1110 408 y Ft(Returns)30
-b(the)h(v)-5 b(alue)31 b(of)g Fq(expression)p Ft(.)42
-b(This)30 b(ma)m(y)i(b)s(e)e(used)g(to)i(o)m(v)m(erride)g(the)1110
-518 y(normal)e(precedence)h(of)g(op)s(erators.)630 667
-y Fs(!)f Fj(expression)1110 776 y Ft(T)-8 b(rue)30 b(if)g
-Fq(expression)g Ft(is)h(false.)630 925 y Fj(expression1)38
-b Fs(&&)30 b Fj(expression2)1110 1034 y Ft(T)-8 b(rue)30
-b(if)g(b)s(oth)g Fq(expression1)38 b Ft(and)29 b Fq(expression2)38
-b Ft(are)31 b(true.)630 1183 y Fj(expression1)38 b Fs(||)30
-b Fj(expression2)1110 1292 y Ft(T)-8 b(rue)30 b(if)g(either)h
-Fq(expression1)38 b Ft(or)30 b Fq(expression2)38 b Ft(is)30
-b(true.)630 1441 y(The)25 b Fs(&&)g Ft(and)g Fs(||)f
-Ft(op)s(erators)i(do)f(not)h(ev)-5 b(aluate)27 b Fq(expression2)33
-b Ft(if)26 b(the)f(v)-5 b(alue)26 b(of)g Fq(expression1)630
-1550 y Ft(is)k(su\016cien)m(t)h(to)g(determine)g(the)f(return)g(v)-5
-b(alue)31 b(of)f(the)h(en)m(tire)g(conditional)h(expression.)150
-1758 y Fk(3.2.4.3)63 b(Grouping)43 b(Commands)275 1997
-y Ft(Bash)22 b(pro)m(vides)g(t)m(w)m(o)h(w)m(a)m(ys)g(to)g(group)f(a)g
-(list)h(of)f(commands)g(to)g(b)s(e)g(executed)h(as)f(a)h(unit.)37
-b(When)22 b(com-)150 2106 y(mands)30 b(are)i(group)s(ed,)f
-(redirections)h(ma)m(y)g(b)s(e)e(applied)i(to)g(the)f(en)m(tire)h
-(command)g(list.)44 b(F)-8 b(or)32 b(example,)150 2216
-y(the)f(output)f(of)g(all)h(the)g(commands)f(in)g(the)h(list)g(ma)m(y)g
-(b)s(e)e(redirected)i(to)g(a)g(single)g(stream.)150 2364
-y Fs(\(\))870 2494 y(\()47 b Fj(list)58 b Fs(\))630 2623
-y Ft(Placing)30 b(a)f(list)g(of)g(commands)f(b)s(et)m(w)m(een)i(paren)m
-(theses)e(causes)i(a)f(subshell)e(en)m(vironmen)m(t)630
-2732 y(to)k(b)s(e)e(created)j(\(see)f(Section)g(3.7.3)h([Command)d
-(Execution)i(En)m(vironmen)m(t],)g(page)f(29\),)630 2842
+y(the)34 b(p)s(ortion)f(of)h(the)f(string)h(matc)m(hing)g(the)g(en)m
+(tire)h(regular)e(expression.)50 b(The)33 b(elemen)m(t)630
+408 y(of)39 b Fs(BASH_REMATCH)c Ft(with)j(index)g Fq(n)f
+Ft(is)i(the)f(p)s(ortion)g(of)h(the)f(string)h(matc)m(hing)g(the)g
+Fq(n)p Ft(th)630 518 y(paren)m(thesized)31 b(sub)s(expression.)630
+662 y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f(the)h
+(follo)m(wing)h(op)s(erators,)g(listed)f(in)f(decreasing)630
+772 y(order)30 b(of)g(precedence:)630 950 y Fs(\()g Fj(expression)38
+b Fs(\))1110 1060 y Ft(Returns)30 b(the)h(v)-5 b(alue)31
+b(of)g Fq(expression)p Ft(.)42 b(This)30 b(ma)m(y)i(b)s(e)e(used)g(to)i
+(o)m(v)m(erride)g(the)1110 1170 y(normal)e(precedence)h(of)g(op)s
+(erators.)630 1348 y Fs(!)f Fj(expression)1110 1458 y
+Ft(T)-8 b(rue)30 b(if)g Fq(expression)g Ft(is)h(false.)630
+1637 y Fj(expression1)38 b Fs(&&)30 b Fj(expression2)1110
+1746 y Ft(T)-8 b(rue)30 b(if)g(b)s(oth)g Fq(expression1)38
+b Ft(and)29 b Fq(expression2)38 b Ft(are)31 b(true.)630
+1925 y Fj(expression1)38 b Fs(||)30 b Fj(expression2)1110
+2034 y Ft(T)-8 b(rue)30 b(if)g(either)h Fq(expression1)38
+b Ft(or)30 b Fq(expression2)38 b Ft(is)30 b(true.)630
+2213 y(The)25 b Fs(&&)g Ft(and)g Fs(||)f Ft(op)s(erators)i(do)f(not)h
+(ev)-5 b(aluate)27 b Fq(expression2)33 b Ft(if)26 b(the)f(v)-5
+b(alue)26 b(of)g Fq(expression1)630 2323 y Ft(is)k(su\016cien)m(t)h(to)
+g(determine)g(the)f(return)g(v)-5 b(alue)31 b(of)f(the)h(en)m(tire)g
+(conditional)h(expression.)150 2585 y Fk(3.2.4.3)63 b(Grouping)43
+b(Commands)275 2849 y Ft(Bash)22 b(pro)m(vides)g(t)m(w)m(o)h(w)m(a)m
+(ys)g(to)g(group)f(a)g(list)h(of)f(commands)g(to)g(b)s(e)g(executed)h
+(as)f(a)h(unit.)37 b(When)22 b(com-)150 2958 y(mands)30
+b(are)i(group)s(ed,)f(redirections)h(ma)m(y)g(b)s(e)e(applied)i(to)g
+(the)f(en)m(tire)h(command)g(list.)44 b(F)-8 b(or)32
+b(example,)150 3068 y(the)f(output)f(of)g(all)h(the)g(commands)f(in)g
+(the)h(list)g(ma)m(y)g(b)s(e)e(redirected)i(to)g(a)g(single)g(stream.)
+150 3256 y Fs(\(\))870 3400 y(\()47 b Fj(list)58 b Fs(\))630
+3545 y Ft(Placing)30 b(a)f(list)g(of)g(commands)f(b)s(et)m(w)m(een)i
+(paren)m(theses)e(causes)i(a)f(subshell)e(en)m(vironmen)m(t)630
+3654 y(to)k(b)s(e)e(created)j(\(see)f(Section)g(3.7.3)h([Command)d
+(Execution)i(En)m(vironmen)m(t],)g(page)f(29\),)630 3764
y(and)d(eac)m(h)i(of)e(the)h(commands)f(in)g Fq(list)j
Ft(to)f(b)s(e)e(executed)h(in)f(that)h(subshell.)39 b(Since)28
-b(the)f Fq(list)630 2951 y Ft(is)i(executed)g(in)f(a)h(subshell,)g(v)-5
+b(the)f Fq(list)630 3873 y Ft(is)i(executed)g(in)f(a)h(subshell,)g(v)-5
b(ariable)29 b(assignmen)m(ts)g(do)g(not)g(remain)f(in)g(e\013ect)j
-(after)e(the)630 3061 y(subshell)g(completes.)150 3209
-y Fs({})870 3338 y({)47 b Fj(list)11 b Fs(;)46 b(})630
-3467 y Ft(Placing)30 b(a)g(list)g(of)g(commands)f(b)s(et)m(w)m(een)h
+(after)e(the)630 3983 y(subshell)g(completes.)150 4162
+y Fs({})870 4306 y({)47 b Fj(list)11 b Fs(;)46 b(})630
+4450 y Ft(Placing)30 b(a)g(list)g(of)g(commands)f(b)s(et)m(w)m(een)h
(curly)f(braces)g(causes)h(the)f(list)h(to)g(b)s(e)f(executed)630
-3577 y(in)d(the)h(curren)m(t)g(shell)f(con)m(text.)42
+4560 y(in)d(the)h(curren)m(t)g(shell)f(con)m(text.)42
b(No)27 b(subshell)f(is)g(created.)41 b(The)26 b(semicolon)i(\(or)f
-(newline\))630 3687 y(follo)m(wing)32 b Fq(list)h Ft(is)d(required.)275
-3835 y(In)i(addition)h(to)g(the)g(creation)i(of)e(a)g(subshell,)g
+(newline\))630 4669 y(follo)m(wing)32 b Fq(list)h Ft(is)d(required.)275
+4857 y(In)i(addition)h(to)g(the)g(creation)i(of)e(a)g(subshell,)g
(there)g(is)g(a)g(subtle)f(di\013erence)i(b)s(et)m(w)m(een)f(these)h(t)
-m(w)m(o)150 3945 y(constructs)43 b(due)f(to)h(historical)h(reasons.)77
+m(w)m(o)150 4967 y(constructs)43 b(due)f(to)h(historical)h(reasons.)77
b(The)42 b(braces)h(are)g Fs(reserved)28 b(words)p Ft(,)45
-b(so)d(they)h(m)m(ust)g(b)s(e)150 4054 y(separated)33
+b(so)d(they)h(m)m(ust)g(b)s(e)150 5077 y(separated)33
b(from)f(the)g Fq(list)k Ft(b)m(y)c Fs(blank)p Ft(s.)45
b(The)32 b(paren)m(theses)h(are)g Fs(operators)p Ft(,)d(and)i(are)h
-(recognized)h(as)150 4164 y(separate)d(tok)m(ens)h(b)m(y)e(the)h(shell)
+(recognized)h(as)150 5186 y(separate)d(tok)m(ens)h(b)m(y)e(the)h(shell)
f(ev)m(en)h(if)f(they)h(are)g(not)f(separated)h(from)f(the)h
-Fq(list)i Ft(b)m(y)d(whitespace.)275 4293 y(The)f(exit)j(status)e(of)h
+Fq(list)i Ft(b)m(y)d(whitespace.)275 5340 y(The)f(exit)j(status)e(of)h
(b)s(oth)f(of)g(these)h(constructs)g(is)f(the)h(exit)g(status)f(of)h
-Fq(list)p Ft(.)150 4534 y Fr(3.3)68 b(Shell)45 b(F)-11
-b(unctions)275 4773 y Ft(Shell)27 b(functions)g(are)g(a)h(w)m(a)m(y)g
-(to)g(group)f(commands)g(for)g(later)i(execution)f(using)f(a)h(single)g
-(name)f(for)150 4882 y(the)35 b(group.)55 b(They)35 b(are)g(executed)h
-(just)f(lik)m(e)h(a)g Fs(")p Ft(regular)p Fs(")f Ft(command.)54
-b(When)35 b(the)h(name)f(of)g(a)h(shell)150 4992 y(function)j(is)g
-(used)f(as)h(a)h(simple)f(command)g(name,)i(the)e(list)h(of)f(commands)
-g(asso)s(ciated)i(with)d(that)150 5101 y(function)25
-b(name)h(is)g(executed.)40 b(Shell)25 b(functions)g(are)i(executed)f
-(in)f(the)h(curren)m(t)g(shell)g(con)m(text;)j(no)c(new)150
-5211 y(pro)s(cess)30 b(is)g(created)i(to)f(in)m(terpret)g(them.)275
-5340 y(F)-8 b(unctions)30 b(are)h(declared)g(using)f(this)g(syn)m(tax:)
-p eop end
+Fq(list)p Ft(.)p eop end
%%Page: 14 20
TeXDict begin 14 19 bop 150 -116 a Ft(14)2572 b(Bash)31
-b(Reference)g(Man)m(ual)390 299 y Fs([)47 b(function)f(])h
+b(Reference)g(Man)m(ual)150 299 y Fr(3.3)68 b(Shell)45
+b(F)-11 b(unctions)275 555 y Ft(Shell)27 b(functions)g(are)g(a)h(w)m(a)
+m(y)g(to)g(group)f(commands)g(for)g(later)i(execution)f(using)f(a)h
+(single)g(name)f(for)150 664 y(the)35 b(group.)55 b(They)35
+b(are)g(executed)h(just)f(lik)m(e)h(a)g Fs(")p Ft(regular)p
+Fs(")f Ft(command.)54 b(When)35 b(the)h(name)f(of)g(a)h(shell)150
+774 y(function)j(is)g(used)f(as)h(a)h(simple)f(command)g(name,)i(the)e
+(list)h(of)f(commands)g(asso)s(ciated)i(with)d(that)150
+883 y(function)25 b(name)h(is)g(executed.)40 b(Shell)25
+b(functions)g(are)i(executed)f(in)f(the)h(curren)m(t)g(shell)g(con)m
+(text;)j(no)c(new)150 993 y(pro)s(cess)30 b(is)g(created)i(to)f(in)m
+(terpret)g(them.)275 1139 y(F)-8 b(unctions)30 b(are)h(declared)g
+(using)f(this)g(syn)m(tax:)390 1285 y Fs([)47 b(function)f(])h
Fj(name)58 b Fs(\(\))47 b Fj(compound-command)54 b Fs([)47
-b Fj(redirections)55 b Fs(])275 436 y Ft(This)31 b(de\014nes)h(a)h
+b Fj(redirections)55 b Fs(])275 1431 y Ft(This)31 b(de\014nes)h(a)h
(shell)g(function)g(named)f Fq(name)p Ft(.)48 b(The)32
b(reserv)m(ed)h(w)m(ord)f Fs(function)f Ft(is)h(optional.)49
-b(If)150 545 y(the)39 b Fs(function)f Ft(reserv)m(ed)h(w)m(ord)g(is)g
+b(If)150 1541 y(the)39 b Fs(function)f Ft(reserv)m(ed)h(w)m(ord)g(is)g
(supplied,)i(the)e(paren)m(theses)h(are)f(optional.)69
-b(The)39 b Fq(b)s(o)s(dy)45 b Ft(of)40 b(the)150 655
+b(The)39 b Fq(b)s(o)s(dy)45 b Ft(of)40 b(the)150 1650
y(function)h(is)h(the)g(comp)s(ound)e(command)h Fq(comp)s(ound-command)
-j Ft(\(see)e(Section)h(3.2.4)g([Comp)s(ound)150 765 y(Commands],)33
-b(page)g(9\).)48 b(That)33 b(command)g(is)f(usually)h(a)g
-Fq(list)i Ft(enclosed)e(b)s(et)m(w)m(een)h Fs({)e Ft(and)g
-Fs(})p Ft(,)h(but)f(ma)m(y)150 874 y(b)s(e)27 b(an)m(y)h(comp)s(ound)e
-(command)h(listed)h(ab)s(o)m(v)m(e.)41 b Fq(comp)s(ound-command)30
-b Ft(is)e(executed)g(whenev)m(er)g Fq(name)150 984 y
-Ft(is)37 b(sp)s(eci\014ed)g(as)g(the)h(name)f(of)g(a)h(command.)61
-b(An)m(y)37 b(redirections)h(\(see)g(Section)g(3.6)g([Redirections],)
-150 1093 y(page)31 b(24\))h(asso)s(ciated)g(with)e(the)g(shell)h
-(function)f(are)h(p)s(erformed)d(when)i(the)g(function)g(is)h
-(executed.)275 1230 y(The)26 b(exit)i(status)g(of)f(a)h(function)f
+j Ft(\(see)e(Section)h(3.2.4)g([Comp)s(ound)150 1760
+y(Commands],)33 b(page)g(9\).)48 b(That)33 b(command)g(is)f(usually)h
+(a)g Fq(list)i Ft(enclosed)e(b)s(et)m(w)m(een)h Fs({)e
+Ft(and)g Fs(})p Ft(,)h(but)f(ma)m(y)150 1870 y(b)s(e)27
+b(an)m(y)h(comp)s(ound)e(command)h(listed)h(ab)s(o)m(v)m(e.)41
+b Fq(comp)s(ound-command)30 b Ft(is)e(executed)g(whenev)m(er)g
+Fq(name)150 1979 y Ft(is)37 b(sp)s(eci\014ed)g(as)g(the)h(name)f(of)g
+(a)h(command.)61 b(An)m(y)37 b(redirections)h(\(see)g(Section)g(3.6)g
+([Redirections],)150 2089 y(page)31 b(25\))h(asso)s(ciated)g(with)e
+(the)g(shell)h(function)f(are)h(p)s(erformed)d(when)i(the)g(function)g
+(is)h(executed.)275 2235 y(The)26 b(exit)i(status)g(of)f(a)h(function)f
(de\014nition)g(is)g(zero)h(unless)f(a)g(syn)m(tax)h(error)f(o)s(ccurs)
-g(or)g(a)h(readonly)150 1340 y(function)k(with)f(the)i(same)f(name)g
+g(or)g(a)h(readonly)150 2345 y(function)k(with)f(the)i(same)f(name)g
(already)h(exists.)46 b(When)32 b(executed,)h(the)f(exit)h(status)g(of)
-f(a)g(function)150 1450 y(is)e(the)h(exit)g(status)g(of)f(the)h(last)g
+f(a)g(function)150 2454 y(is)e(the)h(exit)g(status)g(of)f(the)h(last)g
(command)f(executed)i(in)e(the)g(b)s(o)s(dy)-8 b(.)275
-1587 y(Note)22 b(that)f(for)f(historical)i(reasons,)h(in)e(the)g(most)g
+2600 y(Note)22 b(that)f(for)f(historical)i(reasons,)h(in)e(the)g(most)g
(common)g(usage)g(the)g(curly)f(braces)h(that)g(surround)150
-1696 y(the)38 b(b)s(o)s(dy)d(of)j(the)f(function)g(m)m(ust)g(b)s(e)g
+2710 y(the)38 b(b)s(o)s(dy)d(of)j(the)f(function)g(m)m(ust)g(b)s(e)g
(separated)h(from)f(the)g(b)s(o)s(dy)f(b)m(y)h Fs(blank)p
-Ft(s)f(or)h(newlines.)62 b(This)150 1806 y(is)38 b(b)s(ecause)g(the)h
+Ft(s)f(or)h(newlines.)62 b(This)150 2819 y(is)38 b(b)s(ecause)g(the)h
(braces)f(are)h(reserv)m(ed)f(w)m(ords)g(and)f(are)i(only)f(recognized)
-i(as)e(suc)m(h)g(when)f(they)i(are)150 1915 y(separated)e(b)m(y)g
+i(as)e(suc)m(h)g(when)f(they)i(are)150 2929 y(separated)e(b)m(y)g
(whitespace.)61 b(Also,)39 b(when)d(using)g(the)h(braces,)i(the)e
Fq(list)j Ft(m)m(ust)c(b)s(e)g(terminated)i(b)m(y)f(a)150
-2025 y(semicolon,)32 b(a)f(`)p Fs(&)p Ft(',)f(or)h(a)g(newline.)275
-2162 y(When)h(a)i(function)f(is)g(executed,)i(the)e(argumen)m(ts)h(to)g
+3039 y(semicolon,)32 b(a)f(`)p Fs(&)p Ft(',)f(or)h(a)g(newline.)275
+3185 y(When)h(a)i(function)f(is)g(executed,)i(the)e(argumen)m(ts)h(to)g
(the)f(function)g(b)s(ecome)g(the)h(p)s(ositional)g(pa-)150
-2271 y(rameters)42 b(during)e(its)i(execution)h(\(see)f(Section)g
+3294 y(rameters)42 b(during)e(its)i(execution)h(\(see)f(Section)g
(3.4.1)h([P)m(ositional)h(P)m(arameters],)i(page)c(15\).)75
-b(The)150 2381 y(sp)s(ecial)37 b(parameter)f(`)p Fs(#)p
+b(The)150 3404 y(sp)s(ecial)37 b(parameter)f(`)p Fs(#)p
Ft(')g(that)h(expands)e(to)i(the)f(n)m(um)m(b)s(er)f(of)h(p)s
-(ositional)h(parameters)f(is)g(up)s(dated)f(to)150 2491
+(ositional)h(parameters)f(is)g(up)s(dated)f(to)150 3513
y(re\015ect)h(the)f(c)m(hange.)56 b(Sp)s(ecial)35 b(parameter)h
Fs(0)f Ft(is)g(unc)m(hanged.)54 b(The)35 b(\014rst)f(elemen)m(t)j(of)e
-(the)g Fs(FUNCNAME)150 2600 y Ft(v)-5 b(ariable)27 b(is)g(set)g(to)h
+(the)g Fs(FUNCNAME)150 3623 y Ft(v)-5 b(ariable)27 b(is)g(set)g(to)h
(the)f(name)f(of)h(the)g(function)f(while)h(the)g(function)f(is)h
-(executing.)40 b(All)28 b(other)f(asp)s(ects)150 2710
+(executing.)40 b(All)28 b(other)f(asp)s(ects)150 3733
y(of)32 b(the)g(shell)g(execution)i(en)m(vironmen)m(t)e(are)h(iden)m
(tical)g(b)s(et)m(w)m(een)g(a)f(function)g(and)f(its)i(caller)g(with)f
-(the)150 2819 y(exception)h(that)f(the)g Fs(DEBUG)f Ft(and)g
+(the)150 3842 y(exception)h(that)f(the)g Fs(DEBUG)f Ft(and)g
Fs(RETURN)f Ft(traps)h(are)h(not)g(inherited)g(unless)f(the)h(function)
-f(has)h(b)s(een)150 2929 y(giv)m(en)h(the)f Fs(trace)e
+f(has)h(b)s(een)150 3952 y(giv)m(en)h(the)f Fs(trace)e
Ft(attribute)j(using)e(the)h Fs(declare)e Ft(builtin)h(or)h(the)g
-Fs(-o)e(functrace)f Ft(option)j(has)g(b)s(een)150 3039
+Fs(-o)e(functrace)f Ft(option)j(has)g(b)s(een)150 4061
y(enabled)39 b(with)f(the)h Fs(set)e Ft(builtin,)k(\(in)e(whic)m(h)f
(case)i(all)f(functions)f(inherit)h(the)f Fs(DEBUG)g
-Ft(and)g Fs(RETURN)150 3148 y Ft(traps\).)66 b(See)40
+Ft(and)g Fs(RETURN)150 4171 y Ft(traps\).)66 b(See)40
b(Section)f(4.1)h([Bourne)f(Shell)g(Builtins],)j(page)e(33,)i(for)d
-(the)g(description)g(of)g(the)g Fs(trap)150 3258 y Ft(builtin.)275
-3395 y(If)e(the)g(builtin)g(command)h Fs(return)d Ft(is)j(executed)g
+(the)g(description)g(of)g(the)g Fs(trap)150 4281 y Ft(builtin.)275
+4427 y(If)e(the)g(builtin)g(command)h Fs(return)d Ft(is)j(executed)g
(in)g(a)g(function,)h(the)e(function)h(completes)h(and)150
-3504 y(execution)25 b(resumes)e(with)h(the)g(next)g(command)f(after)i
+4536 y(execution)25 b(resumes)e(with)h(the)g(next)g(command)f(after)i
(the)f(function)f(call.)40 b(An)m(y)24 b(command)f(asso)s(ciated)150
-3614 y(with)36 b(the)h Fs(RETURN)d Ft(trap)i(is)h(executed)g(b)s(efore)
+4646 y(with)36 b(the)h Fs(RETURN)d Ft(trap)i(is)h(executed)g(b)s(efore)
f(execution)i(resumes.)57 b(When)37 b(a)f(function)g(completes,)150
-3724 y(the)h(v)-5 b(alues)38 b(of)f(the)g(p)s(ositional)h(parameters)f
+4755 y(the)h(v)-5 b(alues)38 b(of)f(the)g(p)s(ositional)h(parameters)f
(and)g(the)g(sp)s(ecial)h(parameter)f(`)p Fs(#)p Ft(')g(are)h(restored)
-f(to)h(the)150 3833 y(v)-5 b(alues)26 b(they)f(had)g(prior)f(to)i(the)g
+f(to)h(the)150 4865 y(v)-5 b(alues)26 b(they)f(had)g(prior)f(to)i(the)g
(function's)f(execution.)40 b(If)25 b(a)h(n)m(umeric)f(argumen)m(t)h
-(is)f(giv)m(en)h(to)g Fs(return)p Ft(,)150 3943 y(that)j(is)g(the)f
+(is)f(giv)m(en)h(to)g Fs(return)p Ft(,)150 4975 y(that)j(is)g(the)f
(function's)h(return)e(status;)j(otherwise)f(the)f(function's)h(return)
-e(status)i(is)f(the)h(exit)h(status)150 4052 y(of)h(the)f(last)h
+e(status)i(is)f(the)h(exit)h(status)150 5084 y(of)h(the)f(last)h
(command)f(executed)i(b)s(efore)e(the)g Fs(return)p Ft(.)275
-4189 y(V)-8 b(ariables)31 b(lo)s(cal)g(to)f(the)g(function)f(ma)m(y)i
+5230 y(V)-8 b(ariables)31 b(lo)s(cal)g(to)f(the)g(function)f(ma)m(y)i
(b)s(e)e(declared)h(with)f(the)h Fs(local)f Ft(builtin.)40
-b(These)29 b(v)-5 b(ariables)150 4299 y(are)31 b(visible)g(only)f(to)h
-(the)g(function)f(and)g(the)g(commands)g(it)h(in)m(v)m(ok)m(es.)275
-4436 y(F)-8 b(unction)38 b(names)f(and)g(de\014nitions)g(ma)m(y)i(b)s
-(e)e(listed)h(with)f(the)h(`)p Fs(-f)p Ft(')f(option)h(to)h(the)e
-Fs(declare)f Ft(or)150 4545 y Fs(typeset)d Ft(builtin)h(commands)h
+b(These)29 b(v)-5 b(ariables)150 5340 y(are)31 b(visible)g(only)f(to)h
+(the)g(function)f(and)g(the)g(commands)g(it)h(in)m(v)m(ok)m(es.)p
+eop end
+%%Page: 15 21
+TeXDict begin 15 20 bop 150 -116 a Ft(Chapter)30 b(3:)41
+b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(15)275 299
+y(F)-8 b(unction)38 b(names)f(and)g(de\014nitions)g(ma)m(y)i(b)s(e)e
+(listed)h(with)f(the)h(`)p Fs(-f)p Ft(')f(option)h(to)h(the)e
+Fs(declare)f Ft(or)150 408 y Fs(typeset)d Ft(builtin)h(commands)h
(\(see)h(Section)g(4.2)g([Bash)f(Builtins],)i(page)f(39\).)55
-b(The)35 b(`)p Fs(-F)p Ft(')g(option)g(to)150 4655 y
-Fs(declare)f Ft(or)i Fs(typeset)e Ft(will)i(list)h(the)f(function)g
-(names)g(only)g(\(and)g(optionally)h(the)f(source)g(\014le)h(and)150
-4765 y(line)c(n)m(um)m(b)s(er,)g(if)f(the)h Fs(extdebug)e
+b(The)35 b(`)p Fs(-F)p Ft(')g(option)g(to)150 518 y Fs(declare)f
+Ft(or)i Fs(typeset)e Ft(will)i(list)h(the)f(function)g(names)g(only)g
+(\(and)g(optionally)h(the)f(source)g(\014le)h(and)150
+628 y(line)c(n)m(um)m(b)s(er,)g(if)f(the)h Fs(extdebug)e
Ft(shell)i(option)g(is)g(enabled\).)49 b(F)-8 b(unctions)33
-b(ma)m(y)h(b)s(e)e(exp)s(orted)g(so)h(that)150 4874 y(subshells)f
+b(ma)m(y)h(b)s(e)e(exp)s(orted)g(so)h(that)150 737 y(subshells)f
(automatically)37 b(ha)m(v)m(e)d(them)g(de\014ned)e(with)h(the)g(`)p
Fs(-f)p Ft(')h(option)g(to)g(the)f Fs(export)f Ft(builtin)h(\(see)150
-4984 y(Section)g(4.1)g([Bourne)f(Shell)g(Builtins],)i(page)f(33\).)47
+847 y(Section)g(4.1)g([Bourne)f(Shell)g(Builtins],)i(page)f(33\).)47
b(Note)33 b(that)g(shell)f(functions)g(and)f(v)-5 b(ariables)33
-b(with)150 5093 y(the)d(same)g(name)g(ma)m(y)g(result)g(in)g(m)m
+b(with)150 956 y(the)d(same)g(name)g(ma)m(y)g(result)g(in)g(m)m
(ultiple)g(iden)m(tically-named)i(en)m(tries)f(in)e(the)h(en)m
-(vironmen)m(t)g(passed)150 5203 y(to)h(the)g(shell's)f(c)m(hildren.)41
+(vironmen)m(t)g(passed)150 1066 y(to)h(the)g(shell's)f(c)m(hildren.)41
b(Care)30 b(should)g(b)s(e)f(tak)m(en)j(in)e(cases)h(where)f(this)g(ma)
-m(y)h(cause)g(a)g(problem.)275 5340 y(F)-8 b(unctions)30
+m(y)h(cause)g(a)g(problem.)275 1199 y(F)-8 b(unctions)30
b(ma)m(y)h(b)s(e)f(recursiv)m(e.)41 b(No)31 b(limit)g(is)g(placed)g(on)
-f(the)g(n)m(um)m(b)s(er)g(of)g(recursiv)m(e)h(calls.)p
-eop end
-%%Page: 15 21
-TeXDict begin 15 20 bop 150 -116 a Ft(Chapter)30 b(3:)41
-b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(15)150 299
-y Fr(3.4)68 b(Shell)45 b(P)l(arameters)275 542 y Ft(A)32
-b Fq(parameter)40 b Ft(is)32 b(an)h(en)m(tit)m(y)h(that)f(stores)g(v)-5
-b(alues.)48 b(It)33 b(can)g(b)s(e)e(a)i Fs(name)p Ft(,)g(a)g(n)m(um)m
-(b)s(er,)f(or)g(one)h(of)g(the)150 652 y(sp)s(ecial)i(c)m(haracters)h
-(listed)g(b)s(elo)m(w.)53 b(A)35 b Fq(v)-5 b(ariable)41
-b Ft(is)34 b(a)h(parameter)h(denoted)e(b)m(y)h(a)g Fs(name)p
-Ft(.)52 b(A)35 b(v)-5 b(ariable)150 761 y(has)29 b(a)h
-Fq(v)-5 b(alue)35 b Ft(and)28 b(zero)j(or)e(more)g Fq(attributes)p
-Ft(.)41 b(A)m(ttributes)30 b(are)g(assigned)g(using)f(the)g
-Fs(declare)e Ft(builtin)150 871 y(command)22 b(\(see)h(the)f
-(description)g(of)g(the)g Fs(declare)f Ft(builtin)g(in)h(Section)h(4.2)
-g([Bash)f(Builtins],)j(page)d(39\).)275 1004 y(A)28 b(parameter)h(is)g
-(set)g(if)f(it)h(has)f(b)s(een)g(assigned)h(a)g(v)-5
-b(alue.)40 b(The)28 b(n)m(ull)h(string)f(is)h(a)g(v)-5
-b(alid)28 b(v)-5 b(alue.)41 b(Once)150 1114 y(a)31 b(v)-5
-b(ariable)31 b(is)f(set,)i(it)e(ma)m(y)h(b)s(e)f(unset)g(only)h(b)m(y)f
-(using)g(the)g Fs(unset)f Ft(builtin)h(command.)275 1247
-y(A)g(v)-5 b(ariable)31 b(ma)m(y)g(b)s(e)f(assigned)g(to)i(b)m(y)e(a)h
-(statemen)m(t)h(of)e(the)h(form)390 1381 y Fj(name)11
-b Fs(=[)p Fj(value)g Fs(])150 1514 y Ft(If)34 b Fq(v)-5
+f(the)g(n)m(um)m(b)s(er)g(of)g(recursiv)m(e)h(calls.)150
+1451 y Fr(3.4)68 b(Shell)45 b(P)l(arameters)275 1694
+y Ft(A)32 b Fq(parameter)40 b Ft(is)32 b(an)h(en)m(tit)m(y)h(that)f
+(stores)g(v)-5 b(alues.)48 b(It)33 b(can)g(b)s(e)e(a)i
+Fs(name)p Ft(,)g(a)g(n)m(um)m(b)s(er,)f(or)g(one)h(of)g(the)150
+1803 y(sp)s(ecial)i(c)m(haracters)h(listed)g(b)s(elo)m(w.)53
+b(A)35 b Fq(v)-5 b(ariable)41 b Ft(is)34 b(a)h(parameter)h(denoted)e(b)
+m(y)h(a)g Fs(name)p Ft(.)52 b(A)35 b(v)-5 b(ariable)150
+1913 y(has)29 b(a)h Fq(v)-5 b(alue)35 b Ft(and)28 b(zero)j(or)e(more)g
+Fq(attributes)p Ft(.)41 b(A)m(ttributes)30 b(are)g(assigned)g(using)f
+(the)g Fs(declare)e Ft(builtin)150 2022 y(command)22
+b(\(see)h(the)f(description)g(of)g(the)g Fs(declare)f
+Ft(builtin)g(in)h(Section)h(4.2)g([Bash)f(Builtins],)j(page)d(39\).)275
+2155 y(A)28 b(parameter)h(is)g(set)g(if)f(it)h(has)f(b)s(een)g
+(assigned)h(a)g(v)-5 b(alue.)40 b(The)28 b(n)m(ull)h(string)f(is)h(a)g
+(v)-5 b(alid)28 b(v)-5 b(alue.)41 b(Once)150 2265 y(a)31
+b(v)-5 b(ariable)31 b(is)f(set,)i(it)e(ma)m(y)h(b)s(e)f(unset)g(only)h
+(b)m(y)f(using)g(the)g Fs(unset)f Ft(builtin)h(command.)275
+2398 y(A)g(v)-5 b(ariable)31 b(ma)m(y)g(b)s(e)f(assigned)g(to)i(b)m(y)e
+(a)h(statemen)m(t)h(of)e(the)h(form)390 2531 y Fj(name)11
+b Fs(=[)p Fj(value)g Fs(])150 2663 y Ft(If)34 b Fq(v)-5
b(alue)40 b Ft(is)35 b(not)g(giv)m(en,)h(the)f(v)-5 b(ariable)35
b(is)g(assigned)g(the)f(n)m(ull)h(string.)53 b(All)35
b Fq(v)-5 b(alue)5 b Ft(s)35 b(undergo)f(tilde)h(ex-)150
-1624 y(pansion,)h(parameter)f(and)f(v)-5 b(ariable)36
+2773 y(pansion,)h(parameter)f(and)f(v)-5 b(ariable)36
b(expansion,)f(command)g(substitution,)h(arithmetic)g(expansion,)150
-1733 y(and)k(quote)h(remo)m(v)-5 b(al)42 b(\(detailed)h(b)s(elo)m(w\).)
+2883 y(and)k(quote)h(remo)m(v)-5 b(al)42 b(\(detailed)h(b)s(elo)m(w\).)
72 b(If)40 b(the)h(v)-5 b(ariable)41 b(has)g(its)g Fs(integer)e
-Ft(attribute)i(set,)j(then)150 1843 y Fq(v)-5 b(alue)38
+Ft(attribute)i(set,)j(then)150 2992 y Fq(v)-5 b(alue)38
b Ft(is)33 b(ev)-5 b(aluated)34 b(as)f(an)g(arithmetic)h(expression)f
(ev)m(en)h(if)e(the)h Fs($\(\(...)o(\)\))f Ft(expansion)h(is)g(not)g
-(used)150 1953 y(\(see)e(Section)g(3.5.5)i([Arithmetic)e(Expansion],)f
-(page)h(21\).)42 b(W)-8 b(ord)31 b(splitting)g(is)g(not)f(p)s
-(erformed,)f(with)150 2062 y(the)35 b(exception)h(of)f
+(used)150 3102 y(\(see)e(Section)g(3.5.5)i([Arithmetic)e(Expansion],)f
+(page)h(22\).)42 b(W)-8 b(ord)31 b(splitting)g(is)g(not)f(p)s
+(erformed,)f(with)150 3211 y(the)35 b(exception)h(of)f
Fs("$@")f Ft(as)h(explained)g(b)s(elo)m(w.)54 b(Filename)36
b(expansion)f(is)g(not)g(p)s(erformed.)53 b(Assign-)150
-2172 y(men)m(t)33 b(statemen)m(ts)h(ma)m(y)f(also)g(app)s(ear)f(as)g
+3321 y(men)m(t)33 b(statemen)m(ts)h(ma)m(y)f(also)g(app)s(ear)f(as)g
(argumen)m(ts)h(to)g(the)g Fs(alias)p Ft(,)e Fs(declare)p
-Ft(,)g Fs(typeset)p Ft(,)g Fs(export)p Ft(,)150 2281
+Ft(,)g Fs(typeset)p Ft(,)g Fs(export)p Ft(,)150 3430
y Fs(readonly)p Ft(,)d(and)i Fs(local)f Ft(builtin)h(commands.)275
-2415 y(In)f(the)h(con)m(text)i(where)d(an)h(assignmen)m(t)h(statemen)m
+3563 y(In)f(the)h(con)m(text)i(where)d(an)h(assignmen)m(t)h(statemen)m
(t)h(is)e(assigning)g(a)h(v)-5 b(alue)30 b(to)h(a)f(shell)g(v)-5
-b(ariable)31 b(or)150 2525 y(arra)m(y)f(index)g(\(see)h(Section)g(6.7)g
-([Arra)m(ys],)g(page)g(72\),)g(the)f(`)p Fs(+=)p Ft(')g(op)s(erator)g
-(can)h(b)s(e)e(used)g(to)i(app)s(end)d(to)150 2634 y(or)36
+b(ariable)31 b(or)150 3673 y(arra)m(y)f(index)g(\(see)h(Section)g(6.7)g
+([Arra)m(ys],)g(page)g(74\),)g(the)f(`)p Fs(+=)p Ft(')g(op)s(erator)g
+(can)h(b)s(e)e(used)g(to)i(app)s(end)d(to)150 3782 y(or)36
b(add)g(to)h(the)f(v)-5 b(ariable's)37 b(previous)f(v)-5
b(alue.)59 b(When)36 b(`)p Fs(+=)p Ft(')g(is)g(applied)g(to)h(a)g(v)-5
-b(ariable)37 b(for)f(whic)m(h)g(the)150 2744 y(in)m(teger)k(attribute)e
+b(ariable)37 b(for)f(whic)m(h)g(the)150 3892 y(in)m(teger)k(attribute)e
(has)g(b)s(een)g(set,)j Fq(v)-5 b(alue)44 b Ft(is)38
b(ev)-5 b(aluated)39 b(as)g(an)f(arithmetic)h(expression)f(and)g(added)
-150 2853 y(to)e(the)f(v)-5 b(ariable's)36 b(curren)m(t)f(v)-5
+150 4002 y(to)e(the)f(v)-5 b(ariable's)36 b(curren)m(t)f(v)-5
b(alue,)37 b(whic)m(h)e(is)g(also)h(ev)-5 b(aluated.)56
b(When)35 b(`)p Fs(+=)p Ft(')g(is)h(applied)f(to)g(an)g(arra)m(y)150
-2963 y(v)-5 b(ariable)26 b(using)e(comp)s(ound)f(assignmen)m(t)j(\(see)
-f(Section)h(6.7)f([Arra)m(ys],)i(page)f(72\),)h(the)e(v)-5
-b(ariable's)25 b(v)-5 b(alue)150 3072 y(is)32 b(not)f(unset)h(\(as)g
+4111 y(v)-5 b(ariable)26 b(using)e(comp)s(ound)f(assignmen)m(t)j(\(see)
+f(Section)h(6.7)f([Arra)m(ys],)i(page)f(74\),)h(the)e(v)-5
+b(ariable's)25 b(v)-5 b(alue)150 4221 y(is)32 b(not)f(unset)h(\(as)g
(it)g(is)f(when)g(using)g(`)p Fs(=)p Ft('\),)i(and)e(new)g(v)-5
b(alues)32 b(are)g(app)s(ended)d(to)k(the)f(arra)m(y)g(b)s(eginning)150
-3182 y(at)e(one)g(greater)h(than)f(the)g(arra)m(y's)g(maxim)m(um)f
+4330 y(at)e(one)g(greater)h(than)f(the)g(arra)m(y's)g(maxim)m(um)f
(index.)40 b(When)30 b(applied)f(to)i(a)f(string-v)-5
-b(alued)30 b(v)-5 b(ariable,)150 3292 y Fq(v)g(alue)36
+b(alued)30 b(v)-5 b(ariable,)150 4440 y Fq(v)g(alue)36
b Ft(is)30 b(expanded)g(and)g(app)s(ended)e(to)j(the)g(v)-5
-b(ariable's)31 b(v)-5 b(alue.)150 3513 y Fk(3.4.1)63
-b(P)m(ositional)41 b(P)m(arameters)275 3756 y Ft(A)36
+b(ariable's)31 b(v)-5 b(alue.)150 4659 y Fk(3.4.1)63
+b(P)m(ositional)41 b(P)m(arameters)275 4902 y Ft(A)36
b Fq(p)s(ositional)i(parameter)44 b Ft(is)37 b(a)g(parameter)g(denoted)
g(b)m(y)g(one)g(or)g(more)g(digits,)i(other)e(than)g(the)150
-3866 y(single)k(digit)f Fs(0)p Ft(.)69 b(P)m(ositional)42
+5011 y(single)k(digit)f Fs(0)p Ft(.)69 b(P)m(ositional)42
b(parameters)f(are)f(assigned)g(from)g(the)g(shell's)g(argumen)m(ts)g
-(when)f(it)i(is)150 3975 y(in)m(v)m(ok)m(ed,)f(and)d(ma)m(y)g(b)s(e)g
+(when)f(it)i(is)150 5121 y(in)m(v)m(ok)m(ed,)f(and)d(ma)m(y)g(b)s(e)g
(reassigned)g(using)f(the)i Fs(set)e Ft(builtin)g(command.)61
-b(P)m(ositional)39 b(parameter)e Fs(N)150 4085 y Ft(ma)m(y)27
+b(P)m(ositional)39 b(parameter)e Fs(N)150 5230 y Ft(ma)m(y)27
b(b)s(e)g(referenced)f(as)h Fs(${N})p Ft(,)g(or)g(as)g
Fs($N)f Ft(when)g Fs(N)g Ft(consists)i(of)f(a)g(single)g(digit.)41
-b(P)m(ositional)29 b(parameters)150 4194 y(ma)m(y)j(not)f(b)s(e)g
+b(P)m(ositional)29 b(parameters)150 5340 y(ma)m(y)j(not)f(b)s(e)g
(assigned)h(to)g(with)f(assignmen)m(t)h(statemen)m(ts.)45
-b(The)30 b Fs(set)h Ft(and)g Fs(shift)e Ft(builtins)i(are)h(used)150
-4304 y(to)h(set)f(and)f(unset)h(them)g(\(see)h(Chapter)e(4)h([Shell)g
-(Builtin)h(Commands],)e(page)i(33\).)47 b(The)31 b(p)s(ositional)150
-4413 y(parameters)24 b(are)g(temp)s(orarily)g(replaced)h(when)d(a)j
-(shell)f(function)f(is)h(executed)h(\(see)f(Section)h(3.3)g([Shell)150
-4523 y(F)-8 b(unctions],)31 b(page)h(13\).)275 4657 y(When)27
-b(a)i(p)s(ositional)g(parameter)g(consisting)f(of)h(more)f(than)g(a)g
-(single)h(digit)g(is)f(expanded,)g(it)h(m)m(ust)150 4766
-y(b)s(e)h(enclosed)h(in)f(braces.)150 4987 y Fk(3.4.2)63
-b(Sp)s(ecial)41 b(P)m(arameters)275 5230 y Ft(The)27
-b(shell)h(treats)h(sev)m(eral)g(parameters)g(sp)s(ecially)-8
-b(.)41 b(These)28 b(parameters)g(ma)m(y)g(only)g(b)s(e)g(referenced;)
-150 5340 y(assignmen)m(t)j(to)g(them)g(is)f(not)h(allo)m(w)m(ed.)p
+b(The)30 b Fs(set)h Ft(and)g Fs(shift)e Ft(builtins)i(are)h(used)p
eop end
%%Page: 16 22
TeXDict begin 16 21 bop 150 -116 a Ft(16)2572 b(Bash)31
-b(Reference)g(Man)m(ual)150 299 y Fs(*)432 b Ft(Expands)29
-b(to)h(the)h(p)s(ositional)f(parameters,)h(starting)g(from)e(one.)41
-b(When)30 b(the)g(expansion)630 408 y(o)s(ccurs)e(within)f(double)h
+b(Reference)g(Man)m(ual)150 299 y(to)i(set)f(and)f(unset)h(them)g
+(\(see)h(Chapter)e(4)h([Shell)g(Builtin)h(Commands],)e(page)i(33\).)47
+b(The)31 b(p)s(ositional)150 408 y(parameters)24 b(are)g(temp)s
+(orarily)g(replaced)h(when)d(a)j(shell)f(function)f(is)h(executed)h
+(\(see)f(Section)h(3.3)g([Shell)150 518 y(F)-8 b(unctions],)31
+b(page)h(14\).)275 656 y(When)27 b(a)i(p)s(ositional)g(parameter)g
+(consisting)f(of)h(more)f(than)g(a)g(single)h(digit)g(is)f(expanded,)g
+(it)h(m)m(ust)150 765 y(b)s(e)h(enclosed)h(in)f(braces.)150
+996 y Fk(3.4.2)63 b(Sp)s(ecial)41 b(P)m(arameters)275
+1244 y Ft(The)27 b(shell)h(treats)h(sev)m(eral)g(parameters)g(sp)s
+(ecially)-8 b(.)41 b(These)28 b(parameters)g(ma)m(y)g(only)g(b)s(e)g
+(referenced;)150 1353 y(assignmen)m(t)j(to)g(them)g(is)f(not)h(allo)m
+(w)m(ed.)150 1518 y Fs(*)432 b Ft(Expands)29 b(to)h(the)h(p)s
+(ositional)f(parameters,)h(starting)g(from)e(one.)41
+b(When)30 b(the)g(expansion)630 1627 y(o)s(ccurs)e(within)f(double)h
(quotes,)h(it)g(expands)e(to)i(a)f(single)h(w)m(ord)f(with)g(the)g(v)-5
-b(alue)29 b(of)f(eac)m(h)630 518 y(parameter)i(separated)g(b)m(y)f(the)
-g(\014rst)g(c)m(haracter)i(of)e(the)h Fs(IFS)e Ft(sp)s(ecial)i(v)-5
-b(ariable.)41 b(That)30 b(is,)630 628 y Fs("$*")h Ft(is)i(equiv)-5
-b(alen)m(t)33 b(to)h Fs("$1)p Fj(c)11 b Fs($2)p Fj(c)g
-Fs(...)l(")p Ft(,)33 b(where)f Fq(c)38 b Ft(is)32 b(the)h(\014rst)e(c)m
-(haracter)j(of)f(the)f(v)-5 b(alue)630 737 y(of)30 b(the)g
-Fs(IFS)g Ft(v)-5 b(ariable.)41 b(If)30 b Fs(IFS)f Ft(is)h(unset,)g(the)
-g(parameters)g(are)h(separated)f(b)m(y)g(spaces.)41 b(If)630
-847 y Fs(IFS)29 b Ft(is)i(n)m(ull,)f(the)h(parameters)g(are)f(joined)h
-(without)f(in)m(terv)m(ening)i(separators.)150 1007 y
-Fs(@)432 b Ft(Expands)29 b(to)h(the)h(p)s(ositional)f(parameters,)h
-(starting)g(from)e(one.)41 b(When)30 b(the)g(expansion)630
-1117 y(o)s(ccurs)c(within)g(double)f(quotes,)j(eac)m(h)f(parameter)g
-(expands)e(to)i(a)g(separate)g(w)m(ord.)39 b(That)630
-1226 y(is,)29 b Fs("$@")e Ft(is)i(equiv)-5 b(alen)m(t)30
-b(to)f Fs("$1")g("$2")h(...)o Ft(.)40 b(If)28 b(the)g(double-quoted)h
-(expansion)f(o)s(ccurs)630 1336 y(within)d(a)h(w)m(ord,)g(the)g
-(expansion)f(of)h(the)g(\014rst)f(parameter)h(is)f(joined)h(with)f(the)
-h(b)s(eginning)630 1445 y(part)f(of)g(the)g(original)g(w)m(ord,)h(and)e
-(the)h(expansion)g(of)g(the)g(last)h(parameter)f(is)g(joined)f(with)630
-1555 y(the)37 b(last)g(part)g(of)f(the)h(original)h(w)m(ord.)59
+b(alue)29 b(of)f(eac)m(h)630 1737 y(parameter)i(separated)g(b)m(y)f
+(the)g(\014rst)g(c)m(haracter)i(of)e(the)h Fs(IFS)e Ft(sp)s(ecial)i(v)
+-5 b(ariable.)41 b(That)30 b(is,)630 1846 y Fs("$*")h
+Ft(is)i(equiv)-5 b(alen)m(t)33 b(to)h Fs("$1)p Fj(c)11
+b Fs($2)p Fj(c)g Fs(...)l(")p Ft(,)33 b(where)f Fq(c)38
+b Ft(is)32 b(the)h(\014rst)e(c)m(haracter)j(of)f(the)f(v)-5
+b(alue)630 1956 y(of)30 b(the)g Fs(IFS)g Ft(v)-5 b(ariable.)41
+b(If)30 b Fs(IFS)f Ft(is)h(unset,)g(the)g(parameters)g(are)h(separated)
+f(b)m(y)g(spaces.)41 b(If)630 2066 y Fs(IFS)29 b Ft(is)i(n)m(ull,)f
+(the)h(parameters)g(are)f(joined)h(without)f(in)m(terv)m(ening)i
+(separators.)150 2228 y Fs(@)432 b Ft(Expands)29 b(to)h(the)h(p)s
+(ositional)f(parameters,)h(starting)g(from)e(one.)41
+b(When)30 b(the)g(expansion)630 2338 y(o)s(ccurs)c(within)g(double)f
+(quotes,)j(eac)m(h)f(parameter)g(expands)e(to)i(a)g(separate)g(w)m
+(ord.)39 b(That)630 2447 y(is,)29 b Fs("$@")e Ft(is)i(equiv)-5
+b(alen)m(t)30 b(to)f Fs("$1")g("$2")h(...)o Ft(.)40 b(If)28
+b(the)g(double-quoted)h(expansion)f(o)s(ccurs)630 2557
+y(within)d(a)h(w)m(ord,)g(the)g(expansion)f(of)h(the)g(\014rst)f
+(parameter)h(is)f(joined)h(with)f(the)h(b)s(eginning)630
+2667 y(part)f(of)g(the)g(original)g(w)m(ord,)h(and)e(the)h(expansion)g
+(of)g(the)g(last)h(parameter)f(is)g(joined)f(with)630
+2776 y(the)37 b(last)g(part)g(of)f(the)h(original)h(w)m(ord.)59
b(When)36 b(there)h(are)g(no)f(p)s(ositional)h(parameters,)630
-1665 y Fs("$@")29 b Ft(and)h Fs($@)g Ft(expand)f(to)j(nothing)e
-(\(i.e.,)i(they)e(are)h(remo)m(v)m(ed\).)150 1825 y Fs(#)432
+2886 y Fs("$@")29 b Ft(and)h Fs($@)g Ft(expand)f(to)j(nothing)e
+(\(i.e.,)i(they)e(are)h(remo)m(v)m(ed\).)150 3049 y Fs(#)432
b Ft(Expands)29 b(to)i(the)g(n)m(um)m(b)s(er)e(of)h(p)s(ositional)h
-(parameters)g(in)f(decimal.)150 1985 y Fs(?)432 b Ft(Expands)29
+(parameters)g(in)f(decimal.)150 3211 y Fs(?)432 b Ft(Expands)29
b(to)i(the)g(exit)g(status)g(of)f(the)h(most)f(recen)m(tly)i(executed)f
-(foreground)f(pip)s(eline.)150 2145 y Fs(-)432 b Ft(\(A)31
+(foreground)f(pip)s(eline.)150 3374 y Fs(-)432 b Ft(\(A)31
b(h)m(yphen.\))42 b(Expands)30 b(to)h(the)g(curren)m(t)g(option)h
(\015ags)f(as)g(sp)s(eci\014ed)f(up)s(on)g(in)m(v)m(o)s(cation,)630
-2255 y(b)m(y)35 b(the)h Fs(set)e Ft(builtin)h(command,)h(or)g(those)g
+3484 y(b)m(y)35 b(the)h Fs(set)e Ft(builtin)h(command,)h(or)g(those)g
(set)f(b)m(y)h(the)f(shell)h(itself)g(\(suc)m(h)f(as)h(the)f(`)p
-Fs(-i)p Ft(')630 2365 y(option\).)150 2525 y Fs($)432
+Fs(-i)p Ft(')630 3593 y(option\).)150 3756 y Fs($)432
b Ft(Expands)39 b(to)j(the)f(pro)s(cess)f Fl(id)h Ft(of)g(the)g(shell.)
73 b(In)40 b(a)h Fs(\(\))f Ft(subshell,)j(it)e(expands)f(to)i(the)630
-2634 y(pro)s(cess)30 b Fl(id)g Ft(of)h(the)g(in)m(v)m(oking)g(shell,)g
-(not)g(the)f(subshell.)150 2795 y Fs(!)432 b Ft(Expands)39
+3866 y(pro)s(cess)30 b Fl(id)g Ft(of)h(the)g(in)m(v)m(oking)g(shell,)g
+(not)g(the)f(subshell.)150 4028 y Fs(!)432 b Ft(Expands)39
b(to)i(the)g(pro)s(cess)e Fl(id)i Ft(of)f(the)h(most)g(recen)m(tly)g
-(executed)g(bac)m(kground)g(\(asyn-)630 2904 y(c)m(hronous\))30
-b(command.)150 3065 y Fs(0)432 b Ft(Expands)20 b(to)j(the)f(name)g(of)g
+(executed)g(bac)m(kground)g(\(asyn-)630 4138 y(c)m(hronous\))30
+b(command.)150 4301 y Fs(0)432 b Ft(Expands)20 b(to)j(the)f(name)g(of)g
(the)g(shell)g(or)f(shell)h(script.)38 b(This)21 b(is)h(set)g(at)h
-(shell)f(initialization.)630 3174 y(If)44 b(Bash)g(is)g(in)m(v)m(ok)m
+(shell)f(initialization.)630 4410 y(If)44 b(Bash)g(is)g(in)m(v)m(ok)m
(ed)i(with)e(a)g(\014le)g(of)h(commands)e(\(see)j(Section)f(3.8)g
-([Shell)f(Scripts],)630 3284 y(page)39 b(32\),)i Fs($0)d
+([Shell)f(Scripts],)630 4520 y(page)39 b(32\),)i Fs($0)d
Ft(is)g(set)g(to)h(the)f(name)g(of)g(that)h(\014le.)64
b(If)37 b(Bash)i(is)f(started)g(with)g(the)g(`)p Fs(-c)p
-Ft(')630 3393 y(option)i(\(see)g(Section)h(6.1)f([In)m(v)m(oking)h
-(Bash],)h(page)e(63\),)j(then)d Fs($0)e Ft(is)i(set)g(to)g(the)g
-(\014rst)630 3503 y(argumen)m(t)31 b(after)g(the)g(string)g(to)g(b)s(e)
+Ft(')630 4629 y(option)i(\(see)g(Section)h(6.1)f([In)m(v)m(oking)h
+(Bash],)h(page)e(65\),)j(then)d Fs($0)e Ft(is)i(set)g(to)g(the)g
+(\014rst)630 4739 y(argumen)m(t)31 b(after)g(the)g(string)g(to)g(b)s(e)
f(executed,)i(if)f(one)g(is)f(presen)m(t.)42 b(Otherwise,)31
-b(it)g(is)f(set)630 3613 y(to)h(the)g(\014lename)f(used)g(to)h(in)m(v)m
+b(it)g(is)f(set)630 4848 y(to)h(the)g(\014lename)f(used)g(to)h(in)m(v)m
(ok)m(e)h(Bash,)f(as)g(giv)m(en)g(b)m(y)f(argumen)m(t)h(zero.)150
-3773 y Fs(_)432 b Ft(\(An)27 b(underscore.\))39 b(A)m(t)29
+5011 y Fs(_)432 b Ft(\(An)27 b(underscore.\))39 b(A)m(t)29
b(shell)e(startup,)h(set)f(to)h(the)g(absolute)g(pathname)f(used)f(to)i
-(in)m(v)m(ok)m(e)630 3882 y(the)22 b(shell)g(or)g(shell)g(script)f(b)s
+(in)m(v)m(ok)m(e)630 5121 y(the)22 b(shell)g(or)g(shell)g(script)f(b)s
(eing)h(executed)h(as)f(passed)f(in)g(the)h(en)m(vironmen)m(t)h(or)e
-(argumen)m(t)630 3992 y(list.)72 b(Subsequen)m(tly)-8
+(argumen)m(t)630 5230 y(list.)72 b(Subsequen)m(tly)-8
b(,)43 b(expands)c(to)j(the)e(last)i(argumen)m(t)f(to)g(the)g(previous)
-f(command,)630 4102 y(after)35 b(expansion.)54 b(Also)36
+f(command,)630 5340 y(after)35 b(expansion.)54 b(Also)36
b(set)f(to)h(the)f(full)f(pathname)h(used)f(to)h(in)m(v)m(ok)m(e)i(eac)
-m(h)f(command)630 4211 y(executed)42 b(and)e(placed)i(in)e(the)h(en)m
-(vironmen)m(t)h(exp)s(orted)f(to)g(that)h(command.)72
-b(When)630 4321 y(c)m(hec)m(king)32 b(mail,)f(this)g(parameter)g(holds)
-e(the)i(name)f(of)h(the)g(mail)g(\014le.)150 4580 y Fr(3.5)68
-b(Shell)45 b(Expansions)275 4825 y Ft(Expansion)29 b(is)h(p)s(erformed)
-e(on)i(the)g(command)g(line)g(after)h(it)f(has)g(b)s(een)f(split)h(in)m
-(to)h Fs(token)p Ft(s.)39 b(There)150 4935 y(are)31 b(sev)m(en)g(kinds)
-e(of)i(expansion)f(p)s(erformed:)225 5070 y Fp(\017)60
-b Ft(brace)31 b(expansion)225 5205 y Fp(\017)60 b Ft(tilde)31
-b(expansion)225 5340 y Fp(\017)60 b Ft(parameter)31 b(and)f(v)-5
-b(ariable)31 b(expansion)p eop end
+m(h)f(command)p eop end
%%Page: 17 23
TeXDict begin 17 22 bop 150 -116 a Ft(Chapter)30 b(3:)41
-b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(17)225 299
-y Fp(\017)60 b Ft(command)30 b(substitution)225 436 y
-Fp(\017)60 b Ft(arithmetic)32 b(expansion)225 574 y Fp(\017)60
-b Ft(w)m(ord)30 b(splitting)225 711 y Fp(\017)60 b Ft(\014lename)31
-b(expansion)275 880 y(The)i(order)g(of)h(expansions)g(is:)47
-b(brace)34 b(expansion,)h(tilde)g(expansion,)f(parameter,)i(v)-5
-b(ariable,)36 b(and)150 990 y(arithmetic)46 b(expansion)f(and)g
-(command)f(substitution)h(\(done)g(in)g(a)g(left-to-righ)m(t)j
-(fashion\),)h(w)m(ord)150 1099 y(splitting,)31 b(and)f(\014lename)h
-(expansion.)275 1240 y(On)42 b(systems)h(that)h(can)g(supp)s(ort)e(it,)
-47 b(there)d(is)f(an)h(additional)g(expansion)f(a)m(v)-5
-b(ailable:)69 b Fq(pro)s(cess)150 1349 y(substitution)p
+b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(17)630 299
+y(executed)42 b(and)e(placed)i(in)e(the)h(en)m(vironmen)m(t)h(exp)s
+(orted)f(to)g(that)h(command.)72 b(When)630 408 y(c)m(hec)m(king)32
+b(mail,)f(this)g(parameter)g(holds)e(the)i(name)f(of)h(the)g(mail)g
+(\014le.)150 662 y Fr(3.5)68 b(Shell)45 b(Expansions)275
+905 y Ft(Expansion)29 b(is)h(p)s(erformed)e(on)i(the)g(command)g(line)g
+(after)h(it)f(has)g(b)s(een)f(split)h(in)m(to)h Fs(token)p
+Ft(s.)39 b(There)150 1015 y(are)31 b(sev)m(en)g(kinds)e(of)i(expansion)
+f(p)s(erformed:)225 1148 y Fp(\017)60 b Ft(brace)31 b(expansion)225
+1281 y Fp(\017)60 b Ft(tilde)31 b(expansion)225 1414
+y Fp(\017)60 b Ft(parameter)31 b(and)f(v)-5 b(ariable)31
+b(expansion)225 1548 y Fp(\017)60 b Ft(command)30 b(substitution)225
+1681 y Fp(\017)60 b Ft(arithmetic)32 b(expansion)225
+1814 y Fp(\017)60 b Ft(w)m(ord)30 b(splitting)225 1947
+y Fp(\017)60 b Ft(\014lename)31 b(expansion)275 2104
+y(The)i(order)g(of)h(expansions)g(is:)47 b(brace)34 b(expansion,)h
+(tilde)g(expansion,)f(parameter,)i(v)-5 b(ariable,)36
+b(and)150 2214 y(arithmetic)46 b(expansion)f(and)g(command)f
+(substitution)h(\(done)g(in)g(a)g(left-to-righ)m(t)j(fashion\),)h(w)m
+(ord)150 2324 y(splitting,)31 b(and)f(\014lename)h(expansion.)275
+2457 y(On)42 b(systems)h(that)h(can)g(supp)s(ort)e(it,)47
+b(there)d(is)f(an)h(additional)g(expansion)f(a)m(v)-5
+b(ailable:)69 b Fq(pro)s(cess)150 2566 y(substitution)p
Ft(.)61 b(This)36 b(is)h(p)s(erformed)f(at)i(the)f(same)h(time)f(as)h
(parameter,)h(v)-5 b(ariable,)40 b(and)d(arithmetic)150
-1459 y(expansion)30 b(and)g(command)g(substitution.)275
-1599 y(Only)35 b(brace)i(expansion,)h(w)m(ord)e(splitting,)j(and)d
+2676 y(expansion)30 b(and)g(command)g(substitution.)275
+2809 y(Only)35 b(brace)i(expansion,)h(w)m(ord)e(splitting,)j(and)d
(\014lename)g(expansion)g(can)h(c)m(hange)h(the)e(n)m(um)m(b)s(er)150
-1709 y(of)h(w)m(ords)f(of)g(the)h(expansion;)i(other)e(expansions)f
+2919 y(of)h(w)m(ords)f(of)g(the)h(expansion;)i(other)e(expansions)f
(expand)g(a)h(single)g(w)m(ord)f(to)h(a)g(single)g(w)m(ord.)58
-b(The)150 1819 y(only)32 b(exceptions)i(to)f(this)f(are)h(the)f
+b(The)150 3028 y(only)32 b(exceptions)i(to)f(this)f(are)h(the)f
(expansions)g(of)h Fs("$@")e Ft(\(see)i(Section)g(3.4.2)h([Sp)s(ecial)f
-(P)m(arameters],)150 1928 y(page)e(15\))h(and)d Fs("${)p
+(P)m(arameters],)150 3138 y(page)e(16\))h(and)d Fs("${)p
Fj(name)11 b Fs([@]}")27 b Ft(\(see)k(Section)h(6.7)f([Arra)m(ys],)g
-(page)g(72\).)275 2069 y(After)41 b(all)i(expansions,)h
+(page)g(74\).)275 3271 y(After)41 b(all)i(expansions,)h
Fs(quote)29 b(removal)40 b Ft(\(see)i(Section)h(3.5.9)g([Quote)f(Remo)m
-(v)-5 b(al],)47 b(page)42 b(24\))h(is)150 2178 y(p)s(erformed.)150
-2415 y Fk(3.5.1)63 b(Brace)40 b(Expansion)275 2665 y
+(v)-5 b(al],)47 b(page)42 b(24\))h(is)150 3381 y(p)s(erformed.)150
+3601 y Fk(3.5.1)63 b(Brace)40 b(Expansion)275 3844 y
Ft(Brace)21 b(expansion)g(is)g(a)g(mec)m(hanism)g(b)m(y)g(whic)m(h)f
(arbitrary)h(strings)f(ma)m(y)i(b)s(e)e(generated.)38
-b(This)20 b(mec)m(h-)150 2774 y(anism)35 b(is)h(similar)f(to)h
+b(This)20 b(mec)m(h-)150 3954 y(anism)35 b(is)h(similar)f(to)h
Fq(\014lename)g(expansion)f Ft(\(see)i(Section)f(3.5.8)h([Filename)g
-(Expansion],)f(page)g(23\),)150 2884 y(but)31 b(the)h(\014le)g(names)f
+(Expansion],)f(page)g(23\),)150 4063 y(but)31 b(the)h(\014le)g(names)f
(generated)i(need)f(not)g(exist.)45 b(P)m(atterns)33
b(to)f(b)s(e)f(brace)h(expanded)f(tak)m(e)i(the)f(form)150
-2993 y(of)26 b(an)f(optional)h Fq(pream)m(ble)p Ft(,)h(follo)m(w)m(ed)g
+4173 y(of)26 b(an)f(optional)h Fq(pream)m(ble)p Ft(,)h(follo)m(w)m(ed)g
(b)m(y)f(either)g(a)f(series)h(of)g(comma-separated)h(strings)e(or)g(a)
-h(sequnce)150 3103 y(expression)36 b(b)s(et)m(w)m(een)g(a)h(pair)e(of)i
+h(sequnce)150 4283 y(expression)36 b(b)s(et)m(w)m(een)g(a)h(pair)e(of)i
(braces,)g(follo)m(w)m(ed)h(b)m(y)e(an)g(optional)h Fq(p)s(ostscript)p
-Ft(.)57 b(The)36 b(pream)m(ble)g(is)150 3213 y(pre\014xed)28
+Ft(.)57 b(The)36 b(pream)m(ble)g(is)150 4392 y(pre\014xed)28
b(to)h(eac)m(h)h(string)f(con)m(tained)h(within)e(the)h(braces,)g(and)g
(the)g(p)s(ostscript)f(is)h(then)f(app)s(ended)f(to)150
-3322 y(eac)m(h)32 b(resulting)e(string,)h(expanding)e(left)j(to)f(righ)
-m(t.)275 3463 y(Brace)37 b(expansions)f(ma)m(y)h(b)s(e)f(nested.)59
+4502 y(eac)m(h)32 b(resulting)e(string,)h(expanding)e(left)j(to)f(righ)
+m(t.)275 4635 y(Brace)37 b(expansions)f(ma)m(y)h(b)s(e)f(nested.)59
b(The)36 b(results)g(of)h(eac)m(h)g(expanded)f(string)g(are)h(not)g
-(sorted;)150 3572 y(left)31 b(to)g(righ)m(t)g(order)f(is)g(preserv)m
-(ed.)41 b(F)-8 b(or)31 b(example,)390 3713 y Fs(bash$)46
-b(echo)h(a{d,c,b}e)390 3822 y(ade)g(ace)g(abe)275 3963
+(sorted;)150 4745 y(left)31 b(to)g(righ)m(t)g(order)f(is)g(preserv)m
+(ed.)41 b(F)-8 b(or)31 b(example,)390 4878 y Fs(bash$)46
+b(echo)h(a{d,c,b}e)390 4988 y(ade)g(ace)g(abe)275 5121
y Ft(A)24 b(sequence)h(expression)g(tak)m(es)h(the)f(form)f
Fs({)p Fj(x)p Fs(..)p Fj(y)11 b Fs(})p Ft(,)23 b(where)i
Fq(x)30 b Ft(and)24 b Fq(y)33 b Ft(are)25 b(either)g(in)m(tegers)h(or)e
-(single)150 4073 y(c)m(haracters.)43 b(When)30 b(in)m(tegers)i(are)f
+(single)150 5230 y(c)m(haracters.)43 b(When)30 b(in)m(tegers)i(are)f
(supplied,)e(the)i(expression)f(expands)g(to)h(eac)m(h)h(n)m(um)m(b)s
-(er)d(b)s(et)m(w)m(een)i Fq(x)150 4182 y Ft(and)i Fq(y)p
+(er)d(b)s(et)m(w)m(een)i Fq(x)150 5340 y Ft(and)i Fq(y)p
Ft(,)i(inclusiv)m(e.)53 b(When)34 b(c)m(haracters)h(are)f(supplied,)g
-(the)h(expression)e(expands)g(to)i(eac)m(h)g(c)m(haracter)150
-4292 y(lexicographically)e(b)s(et)m(w)m(een)e Fq(x)37
-b Ft(and)30 b Fq(y)p Ft(,)h(inclusiv)m(e.)42 b(Note)31
-b(that)g(b)s(oth)f Fq(x)37 b Ft(and)30 b Fq(y)38 b Ft(m)m(ust)30
-b(b)s(e)g(of)h(the)g(same)150 4401 y(t)m(yp)s(e.)275
-4542 y(Brace)36 b(expansion)g(is)f(p)s(erformed)f(b)s(efore)h(an)m(y)h
+(the)h(expression)e(expands)g(to)i(eac)m(h)g(c)m(haracter)p
+eop end
+%%Page: 18 24
+TeXDict begin 18 23 bop 150 -116 a Ft(18)2572 b(Bash)31
+b(Reference)g(Man)m(ual)150 299 y(lexicographically)i(b)s(et)m(w)m(een)
+e Fq(x)37 b Ft(and)30 b Fq(y)p Ft(,)h(inclusiv)m(e.)42
+b(Note)31 b(that)g(b)s(oth)f Fq(x)37 b Ft(and)30 b Fq(y)38
+b Ft(m)m(ust)30 b(b)s(e)g(of)h(the)g(same)150 408 y(t)m(yp)s(e.)275
+547 y(Brace)36 b(expansion)g(is)f(p)s(erformed)f(b)s(efore)h(an)m(y)h
(other)g(expansions,)h(and)e(an)m(y)g(c)m(haracters)i(sp)s(ecial)150
-4651 y(to)32 b(other)g(expansions)g(are)g(preserv)m(ed)f(in)h(the)f
+656 y(to)32 b(other)g(expansions)g(are)g(preserv)m(ed)f(in)h(the)f
(result.)45 b(It)32 b(is)g(strictly)g(textual.)46 b(Bash)32
-b(do)s(es)f(not)h(apply)150 4761 y(an)m(y)27 b(syn)m(tactic)i(in)m
+b(do)s(es)f(not)h(apply)150 766 y(an)m(y)27 b(syn)m(tactic)i(in)m
(terpretation)g(to)f(the)f(con)m(text)i(of)e(the)g(expansion)g(or)g
-(the)h(text)g(b)s(et)m(w)m(een)f(the)h(braces.)150 4871
+(the)h(text)g(b)s(et)m(w)m(een)f(the)h(braces.)150 875
y(T)-8 b(o)37 b(a)m(v)m(oid)g(con\015icts)g(with)f(parameter)h
(expansion,)g(the)g(string)f(`)p Fs(${)p Ft(')g(is)g(not)g(considered)g
-(eligible)i(for)150 4980 y(brace)31 b(expansion.)275
-5121 y(A)e(correctly-formed)i(brace)f(expansion)f(m)m(ust)h(con)m(tain)
-h(unquoted)e(op)s(ening)g(and)g(closing)i(braces,)150
-5230 y(and)h(at)i(least)g(one)f(unquoted)g(comma)g(or)g(a)h(v)-5
+(eligible)i(for)150 985 y(brace)31 b(expansion.)275 1123
+y(A)e(correctly-formed)i(brace)f(expansion)f(m)m(ust)h(con)m(tain)h
+(unquoted)e(op)s(ening)g(and)g(closing)i(braces,)150
+1233 y(and)h(at)i(least)g(one)f(unquoted)g(comma)g(or)g(a)h(v)-5
b(alid)33 b(sequence)g(expression.)48 b(An)m(y)33 b(incorrectly)h
-(formed)150 5340 y(brace)d(expansion)f(is)g(left)h(unc)m(hanged.)p
-eop end
-%%Page: 18 24
-TeXDict begin 18 23 bop 150 -116 a Ft(18)2572 b(Bash)31
-b(Reference)g(Man)m(ual)275 299 y(A)25 b Fs({)g Ft(or)g(`)p
-Fs(,)p Ft(')g(ma)m(y)h(b)s(e)f(quoted)g(with)g(a)h(bac)m(kslash)f(to)h
-(prev)m(en)m(t)g(its)g(b)s(eing)f(considered)g(part)g(of)g(a)h(brace)
-150 408 y(expression.)51 b(T)-8 b(o)34 b(a)m(v)m(oid)i(con\015icts)e
-(with)g(parameter)g(expansion,)h(the)f(string)g(`)p Fs(${)p
-Ft(')g(is)g(not)g(considered)150 518 y(eligible)e(for)e(brace)h
-(expansion.)275 652 y(This)f(construct)h(is)g(t)m(ypically)i(used)d(as)
-h(shorthand)f(when)g(the)h(common)g(pre\014x)f(of)h(the)g(strings)g(to)
-150 762 y(b)s(e)f(generated)h(is)g(longer)g(than)f(in)g(the)g(ab)s(o)m
-(v)m(e)i(example:)390 896 y Fs(mkdir)46 b(/usr/local/src/bash/{old,n)o
-(ew,)o(dist)o(,bug)o(s})275 1030 y Ft(or)390 1164 y Fs(chown)g(root)h
+(formed)150 1342 y(brace)d(expansion)f(is)g(left)h(unc)m(hanged.)275
+1480 y(A)25 b Fs({)g Ft(or)g(`)p Fs(,)p Ft(')g(ma)m(y)h(b)s(e)f(quoted)
+g(with)g(a)h(bac)m(kslash)f(to)h(prev)m(en)m(t)g(its)g(b)s(eing)f
+(considered)g(part)g(of)g(a)h(brace)150 1590 y(expression.)51
+b(T)-8 b(o)34 b(a)m(v)m(oid)i(con\015icts)e(with)g(parameter)g
+(expansion,)h(the)f(string)g(`)p Fs(${)p Ft(')g(is)g(not)g(considered)
+150 1700 y(eligible)e(for)e(brace)h(expansion.)275 1838
+y(This)f(construct)h(is)g(t)m(ypically)i(used)d(as)h(shorthand)f(when)g
+(the)h(common)g(pre\014x)f(of)h(the)g(strings)g(to)150
+1947 y(b)s(e)f(generated)h(is)g(longer)g(than)f(in)g(the)g(ab)s(o)m(v)m
+(e)i(example:)390 2085 y Fs(mkdir)46 b(/usr/local/src/bash/{old,n)o
+(ew,)o(dist)o(,bug)o(s})275 2223 y Ft(or)390 2362 y Fs(chown)g(root)h
(/usr/{ucb/{ex,edit},lib/)o({ex?)o(.?*,)o(how)o(_ex})o(})150
-1387 y Fk(3.5.2)63 b(Tilde)41 b(Expansion)275 1630 y
+2593 y Fk(3.5.2)63 b(Tilde)41 b(Expansion)275 2841 y
Ft(If)i(a)i(w)m(ord)e(b)s(egins)h(with)f(an)h(unquoted)f(tilde)i(c)m
(haracter)h(\(`)p Fs(~)p Ft('\),)i(all)d(of)g(the)f(c)m(haracters)h(up)
-e(to)150 1740 y(the)35 b(\014rst)f(unquoted)f(slash)i(\(or)g(all)g(c)m
+e(to)150 2950 y(the)35 b(\014rst)f(unquoted)f(slash)i(\(or)g(all)g(c)m
(haracters,)i(if)e(there)g(is)f(no)h(unquoted)e(slash\))i(are)g
-(considered)g(a)150 1850 y Fq(tilde-pre\014x)p Ft(.)55
+(considered)g(a)150 3060 y Fq(tilde-pre\014x)p Ft(.)55
b(If)35 b(none)g(of)g(the)g(c)m(haracters)i(in)d(the)i(tilde-pre\014x)f
-(are)g(quoted,)i(the)e(c)m(haracters)i(in)e(the)150 1959
+(are)g(quoted,)i(the)e(c)m(haracters)i(in)e(the)150 3169
y(tilde-pre\014x)27 b(follo)m(wing)h(the)f(tilde)h(are)f(treated)h(as)f
(a)g(p)s(ossible)f Fq(login)i(name)p Ft(.)39 b(If)27
-b(this)f(login)i(name)f(is)g(the)150 2069 y(n)m(ull)k(string,)h(the)f
+b(this)f(login)i(name)f(is)g(the)150 3279 y(n)m(ull)k(string,)h(the)f
(tilde)h(is)g(replaced)g(with)f(the)g(v)-5 b(alue)32
b(of)f(the)h Fs(HOME)e Ft(shell)h(v)-5 b(ariable.)45
-b(If)31 b Fs(HOME)f Ft(is)h(unset,)150 2178 y(the)37
+b(If)31 b Fs(HOME)f Ft(is)h(unset,)150 3389 y(the)37
b(home)f(directory)h(of)g(the)f(user)g(executing)i(the)f(shell)f(is)h
(substituted)f(instead.)59 b(Otherwise,)38 b(the)150
-2288 y(tilde-pre\014x)30 b(is)h(replaced)g(with)f(the)g(home)h
+3498 y(tilde-pre\014x)30 b(is)h(replaced)g(with)f(the)g(home)h
(directory)g(asso)s(ciated)g(with)f(the)h(sp)s(eci\014ed)f(login)h
-(name.)275 2422 y(If)h(the)h(tilde-pre\014x)f(is)h(`)p
+(name.)275 3636 y(If)h(the)h(tilde-pre\014x)f(is)h(`)p
Fs(~+)p Ft(',)g(the)g(v)-5 b(alue)33 b(of)g(the)g(shell)g(v)-5
b(ariable)34 b Fs(PWD)d Ft(replaces)j(the)f(tilde-pre\014x.)47
-b(If)150 2532 y(the)31 b(tilde-pre\014x)f(is)g(`)p Fs(~-)p
+b(If)150 3746 y(the)31 b(tilde-pre\014x)f(is)g(`)p Fs(~-)p
Ft(',)h(the)f(v)-5 b(alue)31 b(of)g(the)f(shell)h(v)-5
b(ariable)31 b Fs(OLDPWD)p Ft(,)e(if)h(it)h(is)g(set,)g(is)f
-(substituted.)275 2666 y(If)f(the)h(c)m(haracters)h(follo)m(wing)h(the)
+(substituted.)275 3884 y(If)f(the)h(c)m(haracters)h(follo)m(wing)h(the)
e(tilde)g(in)g(the)g(tilde-pre\014x)g(consist)g(of)g(a)h(n)m(um)m(b)s
-(er)d Fq(N)p Ft(,)j(optionally)150 2775 y(pre\014xed)22
+(er)d Fq(N)p Ft(,)j(optionally)150 3994 y(pre\014xed)22
b(b)m(y)h(a)h(`)p Fs(+)p Ft(')f(or)h(a)f(`)p Fs(-)p Ft(',)j(the)d
(tilde-pre\014x)g(is)h(replaced)f(with)g(the)h(corresp)s(onding)e
-(elemen)m(t)j(from)e(the)150 2885 y(directory)36 b(stac)m(k,)i(as)e(it)
+(elemen)m(t)j(from)e(the)150 4103 y(directory)36 b(stac)m(k,)i(as)e(it)
g(w)m(ould)f(b)s(e)g(displa)m(y)m(ed)h(b)m(y)g(the)f
Fs(dirs)g Ft(builtin)g(in)m(v)m(ok)m(ed)i(with)e(the)g(c)m(haracters)
-150 2994 y(follo)m(wing)40 b(tilde)f(in)g(the)f(tilde-pre\014x)h(as)g
+150 4213 y(follo)m(wing)40 b(tilde)f(in)g(the)f(tilde-pre\014x)h(as)g
(an)f(argumen)m(t)h(\(see)h(Section)f(6.8)h([The)e(Directory)i(Stac)m
-(k],)150 3104 y(page)c(73\).)57 b(If)35 b(the)g(tilde-pre\014x,)i(sans)
+(k],)150 4322 y(page)c(75\).)57 b(If)35 b(the)g(tilde-pre\014x,)i(sans)
e(the)h(tilde,)h(consists)f(of)g(a)f(n)m(um)m(b)s(er)f(without)i(a)f
-(leading)h(`)p Fs(+)p Ft(')g(or)150 3214 y(`)p Fs(-)p
-Ft(',)31 b(`)p Fs(+)p Ft(')f(is)h(assumed.)275 3348 y(If)e(the)i(login)
+(leading)h(`)p Fs(+)p Ft(')g(or)150 4432 y(`)p Fs(-)p
+Ft(',)31 b(`)p Fs(+)p Ft(')f(is)h(assumed.)275 4570 y(If)e(the)i(login)
g(name)g(is)f(in)m(v)-5 b(alid,)31 b(or)g(the)f(tilde)h(expansion)f
(fails,)i(the)e(w)m(ord)g(is)h(left)g(unc)m(hanged.)275
-3482 y(Eac)m(h)38 b(v)-5 b(ariable)38 b(assignmen)m(t)h(is)e(c)m(hec)m
+4708 y(Eac)m(h)38 b(v)-5 b(ariable)38 b(assignmen)m(t)h(is)e(c)m(hec)m
(k)m(ed)j(for)d(unquoted)g(tilde-pre\014xes)h(immediately)g(follo)m
-(wing)150 3591 y(a)d(`)p Fs(:)p Ft(')g(or)g(the)g(\014rst)f(`)p
+(wing)150 4818 y(a)d(`)p Fs(:)p Ft(')g(or)g(the)g(\014rst)f(`)p
Fs(=)p Ft('.)54 b(In)34 b(these)h(cases,)i(tilde)e(expansion)g(is)g
(also)h(p)s(erformed.)52 b(Consequen)m(tly)-8 b(,)37
-b(one)150 3701 y(ma)m(y)27 b(use)e(\014le)h(names)g(with)g(tildes)g(in)
+b(one)150 4927 y(ma)m(y)27 b(use)e(\014le)h(names)g(with)g(tildes)g(in)
g(assignmen)m(ts)h(to)g Fs(PATH)p Ft(,)f Fs(MAILPATH)p
Ft(,)e(and)i Fs(CDPATH)p Ft(,)f(and)h(the)g(shell)150
-3810 y(assigns)31 b(the)f(expanded)g(v)-5 b(alue.)275
-3944 y(The)29 b(follo)m(wing)j(table)g(sho)m(ws)e(ho)m(w)g(Bash)h
-(treats)g(unquoted)e(tilde-pre\014xes:)150 4103 y Fs(~)432
-b Ft(The)30 b(v)-5 b(alue)31 b(of)f Fs($HOME)150 4262
-y(~/foo)240 b Ft(`)p Fs($HOME/foo)p Ft(')150 4420 y Fs(~fred/foo)630
-4530 y Ft(The)30 b(sub)s(directory)f Fs(foo)h Ft(of)g(the)h(home)f
-(directory)h(of)g(the)f(user)g Fs(fred)150 4688 y(~+/foo)192
-b Ft(`)p Fs($PWD/foo)p Ft(')150 4847 y Fs(~-/foo)g Ft(`)p
-Fs(${OLDPWD-'~-'}/foo)p Ft(')150 5005 y Fs(~)p Fj(N)384
-b Ft(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g(displa)m(y)m(ed)h(b)m
-(y)f(`)p Fs(dirs)g(+)p Fj(N)11 b Ft(')150 5164 y Fs(~+)p
-Fj(N)336 b Ft(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g(displa)m(y)m
-(ed)h(b)m(y)f(`)p Fs(dirs)g(+)p Fj(N)11 b Ft(')150 5322
-y Fs(~-)p Fj(N)336 b Ft(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g
-(displa)m(y)m(ed)h(b)m(y)f(`)p Fs(dirs)g(-)p Fj(N)11
-b Ft(')p eop end
+5037 y(assigns)31 b(the)f(expanded)g(v)-5 b(alue.)275
+5175 y(The)29 b(follo)m(wing)j(table)g(sho)m(ws)e(ho)m(w)g(Bash)h
+(treats)g(unquoted)e(tilde-pre\014xes:)150 5340 y Fs(~)432
+b Ft(The)30 b(v)-5 b(alue)31 b(of)f Fs($HOME)p eop end
%%Page: 19 25
TeXDict begin 19 24 bop 150 -116 a Ft(Chapter)30 b(3:)41
b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(19)150 299
-y Fk(3.5.3)63 b(Shell)41 b(P)m(arameter)f(Expansion)275
-539 y Ft(The)26 b(`)p Fs($)p Ft(')i(c)m(haracter)h(in)m(tro)s(duces)e
-(parameter)h(expansion,)g(command)f(substitution,)h(or)g(arithmetic)150
-648 y(expansion.)38 b(The)22 b(parameter)h(name)f(or)g(sym)m(b)s(ol)h
-(to)g(b)s(e)e(expanded)h(ma)m(y)h(b)s(e)f(enclosed)h(in)f(braces,)i
-(whic)m(h)150 758 y(are)31 b(optional)g(but)f(serv)m(e)h(to)h(protect)f
-(the)g(v)-5 b(ariable)31 b(to)g(b)s(e)f(expanded)g(from)g(c)m
-(haracters)i(immediately)150 867 y(follo)m(wing)g(it)f(whic)m(h)f
-(could)g(b)s(e)g(in)m(terpreted)h(as)f(part)h(of)f(the)h(name.)275
-998 y(When)44 b(braces)i(are)f(used,)j(the)e(matc)m(hing)g(ending)f
-(brace)g(is)g(the)g(\014rst)g(`)p Fs(})p Ft(')g(not)g(escap)s(ed)h(b)m
-(y)f(a)150 1107 y(bac)m(kslash)40 b(or)f(within)g(a)g(quoted)g(string,)
-j(and)c(not)i(within)e(an)h(em)m(b)s(edded)f(arithmetic)j(expansion,)
-150 1217 y(command)30 b(substitution,)g(or)h(parameter)g(expansion.)275
-1347 y(The)40 b(basic)h(form)g(of)g(parameter)h(expansion)e(is)h($)p
+y Fs(~/foo)240 b Ft(`)p Fs($HOME/foo)p Ft(')150 458 y
+Fs(~fred/foo)630 567 y Ft(The)30 b(sub)s(directory)f
+Fs(foo)h Ft(of)g(the)h(home)f(directory)h(of)g(the)f(user)g
+Fs(fred)150 726 y(~+/foo)192 b Ft(`)p Fs($PWD/foo)p Ft(')150
+885 y Fs(~-/foo)g Ft(`)p Fs(${OLDPWD-'~-'}/foo)p Ft(')150
+1044 y Fs(~)p Fj(N)384 b Ft(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g
+(displa)m(y)m(ed)h(b)m(y)f(`)p Fs(dirs)g(+)p Fj(N)11
+b Ft(')150 1203 y Fs(~+)p Fj(N)336 b Ft(The)30 b(string)g(that)h(w)m
+(ould)f(b)s(e)g(displa)m(y)m(ed)h(b)m(y)f(`)p Fs(dirs)g(+)p
+Fj(N)11 b Ft(')150 1362 y Fs(~-)p Fj(N)336 b Ft(The)30
+b(string)g(that)h(w)m(ould)f(b)s(e)g(displa)m(y)m(ed)h(b)m(y)f(`)p
+Fs(dirs)g(-)p Fj(N)11 b Ft(')150 1586 y Fk(3.5.3)63 b(Shell)41
+b(P)m(arameter)f(Expansion)275 1830 y Ft(The)26 b(`)p
+Fs($)p Ft(')i(c)m(haracter)h(in)m(tro)s(duces)e(parameter)h(expansion,)
+g(command)f(substitution,)h(or)g(arithmetic)150 1940
+y(expansion.)38 b(The)22 b(parameter)h(name)f(or)g(sym)m(b)s(ol)h(to)g
+(b)s(e)e(expanded)h(ma)m(y)h(b)s(e)f(enclosed)h(in)f(braces,)i(whic)m
+(h)150 2049 y(are)31 b(optional)g(but)f(serv)m(e)h(to)h(protect)f(the)g
+(v)-5 b(ariable)31 b(to)g(b)s(e)f(expanded)g(from)g(c)m(haracters)i
+(immediately)150 2159 y(follo)m(wing)g(it)f(whic)m(h)f(could)g(b)s(e)g
+(in)m(terpreted)h(as)f(part)h(of)f(the)h(name.)275 2293
+y(When)44 b(braces)i(are)f(used,)j(the)e(matc)m(hing)g(ending)f(brace)g
+(is)g(the)g(\014rst)g(`)p Fs(})p Ft(')g(not)g(escap)s(ed)h(b)m(y)f(a)
+150 2403 y(bac)m(kslash)40 b(or)f(within)g(a)g(quoted)g(string,)j(and)c
+(not)i(within)e(an)h(em)m(b)s(edded)f(arithmetic)j(expansion,)150
+2512 y(command)30 b(substitution,)g(or)h(parameter)g(expansion.)275
+2646 y(The)40 b(basic)h(form)g(of)g(parameter)h(expansion)e(is)h($)p
Fs({)p Fq(parameter)7 b Fs(})p Ft(.)73 b(The)40 b(v)-5
-b(alue)42 b(of)f Fq(parameter)48 b Ft(is)150 1456 y(substituted.)43
+b(alue)42 b(of)f Fq(parameter)48 b Ft(is)150 2756 y(substituted.)43
b(The)31 b(braces)g(are)h(required)e(when)h Fq(parameter)38
b Ft(is)31 b(a)h(p)s(ositional)g(parameter)g(with)f(more)150
-1566 y(than)h(one)g(digit,)i(or)e(when)g Fq(parameter)39
+2866 y(than)h(one)g(digit,)i(or)e(when)g Fq(parameter)39
b Ft(is)32 b(follo)m(w)m(ed)i(b)m(y)e(a)h(c)m(haracter)h(that)e(is)h
-(not)f(to)h(b)s(e)f(in)m(terpreted)150 1676 y(as)f(part)f(of)g(its)h
-(name.)275 1806 y(If)26 b(the)i(\014rst)f(c)m(haracter)i(of)e
+(not)f(to)h(b)s(e)f(in)m(terpreted)150 2975 y(as)f(part)f(of)g(its)h
+(name.)275 3110 y(If)26 b(the)i(\014rst)f(c)m(haracter)i(of)e
Fq(parameter)35 b Ft(is)27 b(an)g(exclamation)j(p)s(oin)m(t,)e(a)g(lev)
-m(el)h(of)e(v)-5 b(ariable)29 b(indirection)150 1915
+m(el)h(of)e(v)-5 b(ariable)29 b(indirection)150 3219
y(is)38 b(in)m(tro)s(duced.)62 b(Bash)38 b(uses)f(the)h(v)-5
b(alue)38 b(of)g(the)g(v)-5 b(ariable)39 b(formed)e(from)g(the)h(rest)g
-(of)g Fq(parameter)45 b Ft(as)150 2025 y(the)32 b(name)h(of)f(the)h(v)
+(of)g Fq(parameter)45 b Ft(as)150 3329 y(the)32 b(name)h(of)f(the)h(v)
-5 b(ariable;)34 b(this)e(v)-5 b(ariable)33 b(is)g(then)f(expanded)f
(and)h(that)h(v)-5 b(alue)32 b(is)h(used)e(in)h(the)h(rest)150
-2134 y(of)h(the)f(substitution,)i(rather)e(than)g(the)h(v)-5
+3438 y(of)h(the)f(substitution,)i(rather)e(than)g(the)h(v)-5
b(alue)34 b(of)g Fq(parameter)40 b Ft(itself.)51 b(This)33
-b(is)g(kno)m(wn)g(as)h Fs(indirect)150 2244 y(expansion)p
+b(is)g(kno)m(wn)g(as)h Fs(indirect)150 3548 y(expansion)p
Ft(.)81 b(The)44 b(exceptions)h(to)h(this)e(are)h(the)g(expansions)f
(of)h($)p Fs({)p Ft(!)p Fq(pre\014x*)8 b Fs(})43 b Ft(and)h($)p
Fs({)p Ft(!)p Fq(name)5 b Ft([)p Fs(@)p Ft(])p Fs(})150
-2354 y Ft(describ)s(ed)28 b(b)s(elo)m(w.)41 b(The)28
+3657 y Ft(describ)s(ed)28 b(b)s(elo)m(w.)41 b(The)28
b(exclamation)j(p)s(oin)m(t)f(m)m(ust)f(immediately)h(follo)m(w)g(the)g
-(left)f(brace)h(in)f(order)f(to)150 2463 y(in)m(tro)s(duce)i
-(indirection.)275 2593 y(In)39 b(eac)m(h)i(of)g(the)f(cases)h(b)s(elo)m
+(left)f(brace)h(in)f(order)f(to)150 3767 y(in)m(tro)s(duce)i
+(indirection.)275 3901 y(In)39 b(eac)m(h)i(of)g(the)f(cases)h(b)s(elo)m
(w,)i Fq(w)m(ord)h Ft(is)c(sub)5 b(ject)40 b(to)h(tilde)f(expansion,)j
-(parameter)e(expansion,)150 2703 y(command)30 b(substitution,)g(and)g
-(arithmetic)i(expansion.)275 2833 y(When)h(not)g(p)s(erforming)f
+(parameter)e(expansion,)150 4011 y(command)30 b(substitution,)g(and)g
+(arithmetic)i(expansion.)275 4145 y(When)h(not)g(p)s(erforming)f
(substring)g(expansion,)j(Bash)e(tests)h(for)f(a)h(parameter)g(that)g
-(is)f(unset)g(or)150 2943 y(n)m(ull;)38 b(omitting)e(the)f(colon)h
+(is)f(unset)g(or)150 4255 y(n)m(ull;)38 b(omitting)e(the)f(colon)h
(results)f(in)g(a)h(test)g(only)f(for)g(a)g(parameter)h(that)f(is)h
-(unset.)54 b(Put)35 b(another)150 3052 y(w)m(a)m(y)-8
+(unset.)54 b(Put)35 b(another)150 4364 y(w)m(a)m(y)-8
b(,)31 b(if)e(the)g(colon)h(is)f(included,)f(the)h(op)s(erator)h(tests)
f(for)g(b)s(oth)f(existence)i(and)f(that)g(the)g(v)-5
-b(alue)30 b(is)f(not)150 3162 y(n)m(ull;)i(if)f(the)g(colon)i(is)e
+b(alue)30 b(is)f(not)150 4474 y(n)m(ull;)i(if)f(the)g(colon)i(is)e
(omitted,)i(the)e(op)s(erator)h(tests)g(only)g(for)f(existence.)150
-3313 y Fs(${)p Fj(parameter)11 b Fs(:)p Fp(\000)p Fj(word)g
-Fs(})630 3422 y Ft(If)30 b Fq(parameter)37 b Ft(is)30
+4633 y Fs(${)p Fj(parameter)11 b Fs(:)p Fp(\000)p Fj(word)g
+Fs(})630 4743 y Ft(If)30 b Fq(parameter)37 b Ft(is)30
b(unset)g(or)h(n)m(ull,)f(the)h(expansion)f(of)g Fq(w)m(ord)k
-Ft(is)c(substituted.)40 b(Otherwise,)630 3532 y(the)31
+Ft(is)c(substituted.)40 b(Otherwise,)630 4852 y(the)31
b(v)-5 b(alue)30 b(of)h Fq(parameter)37 b Ft(is)31 b(substituted.)150
-3682 y Fs(${)p Fj(parameter)11 b Fs(:=)p Fj(word)g Fs(})630
-3792 y Ft(If)33 b Fq(parameter)40 b Ft(is)33 b(unset)f(or)h(n)m(ull,)h
+5011 y Fs(${)p Fj(parameter)11 b Fs(:=)p Fj(word)g Fs(})630
+5121 y Ft(If)33 b Fq(parameter)40 b Ft(is)33 b(unset)f(or)h(n)m(ull,)h
(the)f(expansion)g(of)g Fq(w)m(ord)j Ft(is)d(assigned)g(to)h
-Fq(parameter)p Ft(.)630 3902 y(The)c(v)-5 b(alue)32 b(of)f
+Fq(parameter)p Ft(.)630 5230 y(The)c(v)-5 b(alue)32 b(of)f
Fq(parameter)38 b Ft(is)31 b(then)g(substituted.)42 b(P)m(ositional)33
-b(parameters)e(and)f(sp)s(ecial)630 4011 y(parameters)h(ma)m(y)g(not)f
-(b)s(e)g(assigned)h(to)g(in)f(this)g(w)m(a)m(y)-8 b(.)150
-4162 y Fs(${)p Fj(parameter)11 b Fs(:?)p Fj(word)g Fs(})630
-4271 y Ft(If)26 b Fq(parameter)33 b Ft(is)26 b(n)m(ull)g(or)g(unset,)h
-(the)f(expansion)g(of)g Fq(w)m(ord)k Ft(\(or)c(a)h(message)g(to)g(that)
-f(e\013ect)630 4381 y(if)i Fq(w)m(ord)j Ft(is)d(not)g(presen)m(t\))h
-(is)f(written)g(to)h(the)f(standard)f(error)h(and)f(the)h(shell,)h(if)f
-(it)h(is)f(not)630 4491 y(in)m(teractiv)m(e,)33 b(exits.)42
-b(Otherwise,)30 b(the)h(v)-5 b(alue)31 b(of)f Fq(parameter)38
-b Ft(is)30 b(substituted.)150 4641 y Fs(${)p Fj(parameter)11
-b Fs(:+)p Fj(word)g Fs(})630 4751 y Ft(If)35 b Fq(parameter)42
-b Ft(is)36 b(n)m(ull)f(or)h(unset,)g(nothing)g(is)f(substituted,)i
-(otherwise)e(the)h(expansion)630 4861 y(of)31 b Fq(w)m(ord)i
-Ft(is)e(substituted.)150 5011 y Fs(${)p Fj(parameter)11
-b Fs(:)p Fj(offset)g Fs(})150 5121 y(${)p Fj(parameter)g
+b(parameters)e(and)f(sp)s(ecial)630 5340 y(parameters)h(ma)m(y)g(not)f
+(b)s(e)g(assigned)h(to)g(in)f(this)g(w)m(a)m(y)-8 b(.)p
+eop end
+%%Page: 20 26
+TeXDict begin 20 25 bop 150 -116 a Ft(20)2572 b(Bash)31
+b(Reference)g(Man)m(ual)150 299 y Fs(${)p Fj(parameter)11
+b Fs(:?)p Fj(word)g Fs(})630 408 y Ft(If)26 b Fq(parameter)33
+b Ft(is)26 b(n)m(ull)g(or)g(unset,)h(the)f(expansion)g(of)g
+Fq(w)m(ord)k Ft(\(or)c(a)h(message)g(to)g(that)f(e\013ect)630
+518 y(if)i Fq(w)m(ord)j Ft(is)d(not)g(presen)m(t\))h(is)f(written)g(to)
+h(the)f(standard)f(error)h(and)f(the)h(shell,)h(if)f(it)h(is)f(not)630
+628 y(in)m(teractiv)m(e,)33 b(exits.)42 b(Otherwise,)30
+b(the)h(v)-5 b(alue)31 b(of)f Fq(parameter)38 b Ft(is)30
+b(substituted.)150 788 y Fs(${)p Fj(parameter)11 b Fs(:+)p
+Fj(word)g Fs(})630 897 y Ft(If)35 b Fq(parameter)42 b
+Ft(is)36 b(n)m(ull)f(or)h(unset,)g(nothing)g(is)f(substituted,)i
+(otherwise)e(the)h(expansion)630 1007 y(of)31 b Fq(w)m(ord)i
+Ft(is)e(substituted.)150 1167 y Fs(${)p Fj(parameter)11
+b Fs(:)p Fj(offset)g Fs(})150 1277 y(${)p Fj(parameter)g
Fs(:)p Fj(offset)g Fs(:)p Fj(le)o(ngt)o(h)g Fs(})630
-5230 y Ft(Expands)44 b(to)i(up)e(to)i Fq(length)g Ft(c)m(haracters)h
+1386 y Ft(Expands)44 b(to)i(up)e(to)i Fq(length)g Ft(c)m(haracters)h
(of)e Fq(parameter)53 b Ft(starting)46 b(at)g(the)f(c)m(haracter)630
-5340 y(sp)s(eci\014ed)30 b(b)m(y)h Fq(o\013set)p Ft(.)42
+1496 y(sp)s(eci\014ed)30 b(b)m(y)h Fq(o\013set)p Ft(.)42
b(If)31 b Fq(length)g Ft(is)g(omitted,)h(expands)e(to)h(the)g
-(substring)f(of)g Fq(parameter)p eop end
-%%Page: 20 26
-TeXDict begin 20 25 bop 150 -116 a Ft(20)2572 b(Bash)31
-b(Reference)g(Man)m(ual)630 299 y(starting)38 b(at)g(the)f(c)m
-(haracter)i(sp)s(eci\014ed)e(b)m(y)g Fq(o\013set)p Ft(.)62
-b Fq(length)38 b Ft(and)f Fq(o\013set)j Ft(are)e(arithmetic)630
-408 y(expressions)30 b(\(see)i(Section)g(6.5)g([Shell)f(Arithmetic],)h
-(page)g(70\).)43 b(This)30 b(is)h(referred)f(to)i(as)630
-518 y(Substring)d(Expansion.)630 648 y Fq(length)j Ft(m)m(ust)f(ev)-5
-b(aluate)33 b(to)f(a)g(n)m(um)m(b)s(er)e(greater)i(than)f(or)g(equal)h
-(to)g(zero.)45 b(If)30 b Fq(o\013set)35 b Ft(ev)-5 b(al-)630
-757 y(uates)36 b(to)h(a)f(n)m(um)m(b)s(er)e(less)i(than)f(zero,)j(the)e
-(v)-5 b(alue)36 b(is)g(used)f(as)g(an)h(o\013set)h(from)e(the)h(end)630
-867 y(of)i(the)f(v)-5 b(alue)38 b(of)g Fq(parameter)p
+(substring)f(of)g Fq(parameter)630 1606 y Ft(starting)38
+b(at)g(the)f(c)m(haracter)i(sp)s(eci\014ed)e(b)m(y)g
+Fq(o\013set)p Ft(.)62 b Fq(length)38 b Ft(and)f Fq(o\013set)j
+Ft(are)e(arithmetic)630 1715 y(expressions)30 b(\(see)i(Section)g(6.5)g
+([Shell)f(Arithmetic],)h(page)g(72\).)43 b(This)30 b(is)h(referred)f
+(to)i(as)630 1825 y(Substring)d(Expansion.)630 1960 y
+Fq(length)j Ft(m)m(ust)f(ev)-5 b(aluate)33 b(to)f(a)g(n)m(um)m(b)s(er)e
+(greater)i(than)f(or)g(equal)h(to)g(zero.)45 b(If)30
+b Fq(o\013set)35 b Ft(ev)-5 b(al-)630 2069 y(uates)36
+b(to)h(a)f(n)m(um)m(b)s(er)e(less)i(than)f(zero,)j(the)e(v)-5
+b(alue)36 b(is)g(used)f(as)g(an)h(o\013set)h(from)e(the)h(end)630
+2179 y(of)i(the)f(v)-5 b(alue)38 b(of)g Fq(parameter)p
Ft(.)62 b(If)37 b Fq(parameter)45 b Ft(is)37 b(`)p Fs(@)p
Ft(',)j(the)d(result)h(is)f Fq(length)h Ft(p)s(ositional)630
-976 y(parameters)d(b)s(eginning)e(at)i Fq(o\013set)p
+2288 y(parameters)d(b)s(eginning)e(at)i Fq(o\013set)p
Ft(.)54 b(If)34 b Fq(parameter)41 b Ft(is)34 b(an)h(arra)m(y)f(name)h
-(indexed)f(b)m(y)g(`)p Fs(@)p Ft(')630 1086 y(or)f(`)p
+(indexed)f(b)m(y)g(`)p Fs(@)p Ft(')630 2398 y(or)f(`)p
Fs(*)p Ft(',)g(the)g(result)g(is)g(the)g Fq(length)g
Ft(mem)m(b)s(ers)f(of)h(the)g(arra)m(y)g(b)s(eginning)f(with)g
-Fs(${)p Fj(param-)630 1196 y(eter)11 b Fs([)p Fj(offset)g
+Fs(${)p Fj(param-)630 2508 y(eter)11 b Fs([)p Fj(offset)g
Fs(]})p Ft(.)65 b(A)40 b(negativ)m(e)j Fq(o\013set)g
Ft(is)d(tak)m(en)h(relativ)m(e)h(to)f(one)g(greater)g(than)f(the)630
-1305 y(maxim)m(um)27 b(index)g(of)g(the)h(sp)s(eci\014ed)e(arra)m(y)-8
+2617 y(maxim)m(um)27 b(index)g(of)g(the)h(sp)s(eci\014ed)e(arra)m(y)-8
b(.)41 b(Note)28 b(that)g(a)g(negativ)m(e)h(o\013set)f(m)m(ust)f(b)s(e)
-g(sep-)630 1415 y(arated)d(from)e(the)i(colon)g(b)m(y)f(at)h(least)g
+g(sep-)630 2727 y(arated)d(from)e(the)i(colon)g(b)m(y)f(at)h(least)g
(one)g(space)f(to)h(a)m(v)m(oid)h(b)s(eing)d(confused)h(with)g(the)g(`)
-p Fs(:-)p Ft(')630 1524 y(expansion.)61 b(Substring)35
+p Fs(:-)p Ft(')630 2836 y(expansion.)61 b(Substring)35
b(indexing)i(is)g(zero-based)h(unless)e(the)i(p)s(ositional)g
-(parameters)630 1634 y(are)31 b(used,)f(in)g(whic)m(h)g(case)h(the)g
-(indexing)f(starts)h(at)g(1.)150 1783 y Fs(${!)p Fj(prefix)11
-b Fs(*})150 1893 y(${!)p Fj(prefix)g Fs(@})630 2002 y
+(parameters)630 2946 y(are)31 b(used,)f(in)g(whic)m(h)g(case)h(the)g
+(indexing)f(starts)h(at)g(1.)150 3106 y Fs(${!)p Fj(prefix)11
+b Fs(*})150 3216 y(${!)p Fj(prefix)g Fs(@})630 3325 y
Ft(Expands)34 b(to)j(the)f(names)g(of)g(v)-5 b(ariables)37
b(whose)e(names)h(b)s(egin)f(with)h Fq(pre\014x)p Ft(,)g(separated)630
-2112 y(b)m(y)30 b(the)h(\014rst)e(c)m(haracter)j(of)f(the)g
-Fs(IFS)e Ft(sp)s(ecial)i(v)-5 b(ariable.)150 2262 y Fs(${!)p
-Fj(name)11 b Fs([@]})150 2371 y(${!)p Fj(name)g Fs([*]})630
-2481 y Ft(If)26 b Fq(name)32 b Ft(is)27 b(an)f(arra)m(y)h(v)-5
+3435 y(b)m(y)30 b(the)h(\014rst)e(c)m(haracter)j(of)f(the)g
+Fs(IFS)e Ft(sp)s(ecial)i(v)-5 b(ariable.)150 3595 y Fs(${!)p
+Fj(name)11 b Fs([@]})150 3705 y(${!)p Fj(name)g Fs([*]})630
+3814 y Ft(If)26 b Fq(name)32 b Ft(is)27 b(an)f(arra)m(y)h(v)-5
b(ariable,)29 b(expands)d(to)h(the)g(list)g(of)g(arra)m(y)g(indices)g
-(\(k)m(eys\))h(assigned)630 2590 y(in)c Fq(name)p Ft(.)39
+(\(k)m(eys\))h(assigned)630 3924 y(in)c Fq(name)p Ft(.)39
b(If)24 b Fq(name)30 b Ft(is)24 b(not)h(an)f(arra)m(y)-8
b(,)27 b(expands)c(to)j(0)f(if)f Fq(name)30 b Ft(is)24
-b(set)h(and)f(n)m(ull)g(otherwise.)630 2700 y(When)39
+b(set)h(and)f(n)m(ull)g(otherwise.)630 4033 y(When)39
b(`)p Fs(@)p Ft(')h(is)f(used)g(and)f(the)i(expansion)f(app)s(ears)g
-(within)f(double)h(quotes,)k(eac)m(h)d(k)m(ey)630 2809
-y(expands)30 b(to)h(a)f(separate)i(w)m(ord.)150 2959
-y Fs(${#)p Fj(parameter)11 b Fs(})630 3068 y Ft(The)40
+(within)f(double)h(quotes,)k(eac)m(h)d(k)m(ey)630 4143
+y(expands)30 b(to)h(a)f(separate)i(w)m(ord.)150 4303
+y Fs(${#)p Fj(parameter)11 b Fs(})630 4413 y Ft(The)40
b(length)g(in)g(c)m(haracters)i(of)e(the)h(expanded)e(v)-5
b(alue)41 b(of)f Fq(parameter)47 b Ft(is)40 b(substituted.)630
-3178 y(If)i Fq(parameter)50 b Ft(is)43 b(`)p Fs(*)p Ft(')g(or)g(`)p
+4522 y(If)i Fq(parameter)50 b Ft(is)43 b(`)p Fs(*)p Ft(')g(or)g(`)p
Fs(@)p Ft(',)k(the)c(v)-5 b(alue)43 b(substituted)f(is)h(the)g(n)m(um)m
-(b)s(er)f(of)h(p)s(ositional)630 3288 y(parameters.)i(If)32
+(b)s(er)f(of)h(p)s(ositional)630 4632 y(parameters.)i(If)32
b Fq(parameter)38 b Ft(is)32 b(an)g(arra)m(y)g(name)g(subscripted)f(b)m
(y)g(`)p Fs(*)p Ft(')h(or)g(`)p Fs(@)p Ft(',)g(the)g(v)-5
-b(alue)630 3397 y(substituted)30 b(is)g(the)h(n)m(um)m(b)s(er)e(of)h
-(elemen)m(ts)i(in)e(the)h(arra)m(y)-8 b(.)150 3547 y
-Fs(${)p Fj(parameter)11 b Fs(#)p Fj(word)g Fs(})150 3656
-y(${)p Fj(parameter)g Fs(##)p Fj(word)g Fs(})630 3766
+b(alue)630 4741 y(substituted)30 b(is)g(the)h(n)m(um)m(b)s(er)e(of)h
+(elemen)m(ts)i(in)e(the)h(arra)m(y)-8 b(.)150 4902 y
+Fs(${)p Fj(parameter)11 b Fs(#)p Fj(word)g Fs(})150 5011
+y(${)p Fj(parameter)g Fs(##)p Fj(word)g Fs(})630 5121
y Ft(The)31 b Fq(w)m(ord)k Ft(is)d(expanded)f(to)i(pro)s(duce)e(a)h
(pattern)g(just)f(as)i(in)e(\014lename)h(expansion)g(\(see)630
-3875 y(Section)k(3.5.8)h([Filename)g(Expansion],)g(page)f(23\).)56
+5230 y(Section)k(3.5.8)h([Filename)g(Expansion],)g(page)f(23\).)56
b(If)35 b(the)h(pattern)f(matc)m(hes)i(the)e(b)s(e-)630
-3985 y(ginning)28 b(of)g(the)h(expanded)e(v)-5 b(alue)29
+5340 y(ginning)28 b(of)g(the)h(expanded)e(v)-5 b(alue)29
b(of)f Fq(parameter)p Ft(,)h(then)f(the)g(result)g(of)h(the)f
-(expansion)g(is)630 4095 y(the)36 b(expanded)f(v)-5 b(alue)36
-b(of)g Fq(parameter)43 b Ft(with)35 b(the)h(shortest)g(matc)m(hing)h
-(pattern)f(\(the)g(`)p Fs(#)p Ft(')630 4204 y(case\))26
-b(or)f(the)g(longest)g(matc)m(hing)h(pattern)f(\(the)g(`)p
-Fs(##)p Ft(')g(case\))h(deleted.)39 b(If)24 b Fq(parameter)32
-b Ft(is)25 b(`)p Fs(@)p Ft(')630 4314 y(or)j(`)p Fs(*)p
-Ft(',)i(the)e(pattern)h(remo)m(v)-5 b(al)29 b(op)s(eration)g(is)f
-(applied)h(to)g(eac)m(h)g(p)s(ositional)g(parameter)g(in)630
-4423 y(turn,)i(and)g(the)h(expansion)g(is)g(the)g(resultan)m(t)g(list.)
-45 b(If)32 b Fq(parameter)38 b Ft(is)32 b(an)g(arra)m(y)g(v)-5
-b(ariable)630 4533 y(subscripted)39 b(with)g(`)p Fs(@)p
-Ft(')h(or)g(`)p Fs(*)p Ft(',)j(the)d(pattern)h(remo)m(v)-5
-b(al)41 b(op)s(eration)f(is)g(applied)g(to)h(eac)m(h)630
-4643 y(mem)m(b)s(er)30 b(of)g(the)h(arra)m(y)g(in)f(turn,)f(and)h(the)h
-(expansion)f(is)g(the)h(resultan)m(t)g(list.)150 4792
+(expansion)g(is)p eop end
+%%Page: 21 27
+TeXDict begin 21 26 bop 150 -116 a Ft(Chapter)30 b(3:)41
+b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(21)630 299
+y(the)36 b(expanded)f(v)-5 b(alue)36 b(of)g Fq(parameter)43
+b Ft(with)35 b(the)h(shortest)g(matc)m(hing)h(pattern)f(\(the)g(`)p
+Fs(#)p Ft(')630 408 y(case\))26 b(or)f(the)g(longest)g(matc)m(hing)h
+(pattern)f(\(the)g(`)p Fs(##)p Ft(')g(case\))h(deleted.)39
+b(If)24 b Fq(parameter)32 b Ft(is)25 b(`)p Fs(@)p Ft(')630
+518 y(or)j(`)p Fs(*)p Ft(',)i(the)e(pattern)h(remo)m(v)-5
+b(al)29 b(op)s(eration)g(is)f(applied)h(to)g(eac)m(h)g(p)s(ositional)g
+(parameter)g(in)630 628 y(turn,)i(and)g(the)h(expansion)g(is)g(the)g
+(resultan)m(t)g(list.)45 b(If)32 b Fq(parameter)38 b
+Ft(is)32 b(an)g(arra)m(y)g(v)-5 b(ariable)630 737 y(subscripted)39
+b(with)g(`)p Fs(@)p Ft(')h(or)g(`)p Fs(*)p Ft(',)j(the)d(pattern)h
+(remo)m(v)-5 b(al)41 b(op)s(eration)f(is)g(applied)g(to)h(eac)m(h)630
+847 y(mem)m(b)s(er)30 b(of)g(the)h(arra)m(y)g(in)f(turn,)f(and)h(the)h
+(expansion)f(is)g(the)h(resultan)m(t)g(list.)150 1001
y Fs(${)p Fj(parameter)11 b Fs(\045)p Fj(word)g Fs(})150
-4902 y(${)p Fj(parameter)g Fs(\045\045)p Fj(word)g Fs(})630
-5011 y Ft(The)35 b Fq(w)m(ord)k Ft(is)c(expanded)g(to)h(pro)s(duce)e(a)
+1110 y(${)p Fj(parameter)g Fs(\045\045)p Fj(word)g Fs(})630
+1220 y Ft(The)35 b Fq(w)m(ord)k Ft(is)c(expanded)g(to)h(pro)s(duce)e(a)
i(pattern)f(just)g(as)h(in)f(\014lename)h(expansion.)55
-b(If)630 5121 y(the)43 b(pattern)g(matc)m(hes)h(a)g(trailing)g(p)s
+b(If)630 1330 y(the)43 b(pattern)g(matc)m(hes)h(a)g(trailing)g(p)s
(ortion)e(of)h(the)g(expanded)g(v)-5 b(alue)43 b(of)g
-Fq(parameter)p Ft(,)630 5230 y(then)c(the)g(result)g(of)h(the)f
+Fq(parameter)p Ft(,)630 1439 y(then)c(the)g(result)g(of)h(the)f
(expansion)g(is)h(the)f(v)-5 b(alue)40 b(of)f Fq(parameter)46
-b Ft(with)39 b(the)h(shortest)630 5340 y(matc)m(hing)31
+b Ft(with)39 b(the)h(shortest)630 1549 y(matc)m(hing)31
b(pattern)e(\(the)h(`)p Fs(\045)p Ft(')g(case\))h(or)e(the)h(longest)h
-(matc)m(hing)f(pattern)g(\(the)g(`)p Fs(\045\045)p Ft(')g(case\))p
-eop end
-%%Page: 21 27
-TeXDict begin 21 26 bop 150 -116 a Ft(Chapter)30 b(3:)41
-b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(21)630 299
-y(deleted.)49 b(If)32 b Fq(parameter)40 b Ft(is)33 b(`)p
-Fs(@)p Ft(')g(or)g(`)p Fs(*)p Ft(',)h(the)f(pattern)g(remo)m(v)-5
-b(al)34 b(op)s(eration)g(is)f(applied)f(to)630 408 y(eac)m(h)38
+(matc)m(hing)f(pattern)g(\(the)g(`)p Fs(\045\045)p Ft(')g(case\))630
+1658 y(deleted.)49 b(If)32 b Fq(parameter)40 b Ft(is)33
+b(`)p Fs(@)p Ft(')g(or)g(`)p Fs(*)p Ft(',)h(the)f(pattern)g(remo)m(v)-5
+b(al)34 b(op)s(eration)g(is)f(applied)f(to)630 1768 y(eac)m(h)38
b(p)s(ositional)g(parameter)g(in)f(turn,)h(and)e(the)h(expansion)g(is)h
-(the)f(resultan)m(t)h(list.)61 b(If)630 518 y Fq(parameter)38
+(the)f(resultan)m(t)h(list.)61 b(If)630 1878 y Fq(parameter)38
b Ft(is)32 b(an)f(arra)m(y)h(v)-5 b(ariable)32 b(subscripted)e(with)h
(`)p Fs(@)p Ft(')g(or)h(`)p Fs(*)p Ft(',)g(the)f(pattern)h(remo)m(v)-5
-b(al)630 628 y(op)s(eration)30 b(is)g(applied)f(to)i(eac)m(h)g(mem)m(b)
-s(er)e(of)h(the)g(arra)m(y)g(in)f(turn,)g(and)g(the)h(expansion)g(is)
-630 737 y(the)h(resultan)m(t)g(list.)150 900 y Fs(${)p
-Fj(parameter)11 b Fs(/)p Fj(pattern)g Fs(/)p Fj(s)o(tri)o(ng)f
-Fs(})150 1009 y(${)p Fj(parameter)h Fs(//)p Fj(pattern)g
-Fs(/)o Fj(str)o(ing)f Fs(})630 1119 y Ft(The)37 b Fq(pattern)g
-Ft(is)g(expanded)g(to)h(pro)s(duce)e(a)h(pattern)g(just)g(as)h(in)e
-(\014lename)i(expansion.)630 1229 y Fq(P)m(arameter)46
-b Ft(is)38 b(expanded)f(and)g(the)i(longest)g(matc)m(h)g(of)f
-Fq(pattern)g Ft(against)h(its)f(v)-5 b(alue)39 b(is)630
-1338 y(replaced)e(with)f Fq(string)p Ft(.)58 b(In)35
-b(the)i(\014rst)e(form,)j(only)e(the)h(\014rst)e(matc)m(h)i(is)g
-(replaced.)58 b(The)630 1448 y(second)26 b(form)g(causes)h(all)g(matc)m
-(hes)g(of)g Fq(pattern)f Ft(to)h(b)s(e)f(replaced)h(with)f
-Fq(string)p Ft(.)39 b(If)26 b Fq(pattern)630 1557 y Ft(b)s(egins)35
+b(al)630 1987 y(op)s(eration)30 b(is)g(applied)f(to)i(eac)m(h)g(mem)m
+(b)s(er)e(of)h(the)g(arra)m(y)g(in)f(turn,)g(and)g(the)h(expansion)g
+(is)630 2097 y(the)h(resultan)m(t)g(list.)150 2251 y
+Fs(${)p Fj(parameter)11 b Fs(/)p Fj(pattern)g Fs(/)p
+Fj(s)o(tri)o(ng)f Fs(})150 2360 y(${)p Fj(parameter)h
+Fs(//)p Fj(pattern)g Fs(/)o Fj(str)o(ing)f Fs(})630 2470
+y Ft(The)37 b Fq(pattern)g Ft(is)g(expanded)g(to)h(pro)s(duce)e(a)h
+(pattern)g(just)g(as)h(in)e(\014lename)i(expansion.)630
+2580 y Fq(P)m(arameter)46 b Ft(is)38 b(expanded)f(and)g(the)i(longest)g
+(matc)m(h)g(of)f Fq(pattern)g Ft(against)h(its)f(v)-5
+b(alue)39 b(is)630 2689 y(replaced)e(with)f Fq(string)p
+Ft(.)58 b(In)35 b(the)i(\014rst)e(form,)j(only)e(the)h(\014rst)e(matc)m
+(h)i(is)g(replaced.)58 b(The)630 2799 y(second)26 b(form)g(causes)h
+(all)g(matc)m(hes)g(of)g Fq(pattern)f Ft(to)h(b)s(e)f(replaced)h(with)f
+Fq(string)p Ft(.)39 b(If)26 b Fq(pattern)630 2908 y Ft(b)s(egins)35
b(with)g(`)p Fs(#)p Ft(',)i(it)f(m)m(ust)f(matc)m(h)h(at)g(the)g(b)s
(eginning)f(of)g(the)h(expanded)e(v)-5 b(alue)36 b(of)g
-Fq(pa-)630 1667 y(rameter)p Ft(.)45 b(If)32 b Fq(pattern)g
+Fq(pa-)630 3018 y(rameter)p Ft(.)45 b(If)32 b Fq(pattern)g
Ft(b)s(egins)f(with)g(`)p Fs(\045)p Ft(',)i(it)f(m)m(ust)g(matc)m(h)g
-(at)h(the)f(end)f(of)h(the)g(expanded)630 1777 y(v)-5
+(at)h(the)f(end)f(of)h(the)g(expanded)630 3128 y(v)-5
b(alue)33 b(of)g Fq(parameter)p Ft(.)47 b(If)32 b Fq(string)40
b Ft(is)33 b(n)m(ull,)g(matc)m(hes)g(of)g Fq(pattern)g
-Ft(are)g(deleted)g(and)f(the)g Fs(/)630 1886 y Ft(follo)m(wing)37
+Ft(are)g(deleted)g(and)f(the)g Fs(/)630 3237 y Ft(follo)m(wing)37
b Fq(pattern)e Ft(ma)m(y)h(b)s(e)e(omitted.)56 b(If)35
b Fq(parameter)42 b Ft(is)36 b(`)p Fs(@)p Ft(')f(or)g(`)p
-Fs(*)p Ft(',)i(the)e(substitution)630 1996 y(op)s(eration)30
+Fs(*)p Ft(',)i(the)e(substitution)630 3347 y(op)s(eration)30
b(is)f(applied)g(to)h(eac)m(h)g(p)s(ositional)g(parameter)g(in)e(turn,)
-h(and)g(the)g(expansion)g(is)630 2105 y(the)i(resultan)m(t)h(list.)45
+h(and)g(the)g(expansion)g(is)630 3456 y(the)i(resultan)m(t)h(list.)45
b(If)30 b Fq(parameter)39 b Ft(is)31 b(an)g(arra)m(y)h(v)-5
b(ariable)32 b(subscripted)e(with)h(`)p Fs(@)p Ft(')g(or)h(`)p
-Fs(*)p Ft(',)630 2215 y(the)e(substitution)g(op)s(eration)h(is)f
+Fs(*)p Ft(',)630 3566 y(the)e(substitution)g(op)s(eration)h(is)f
(applied)g(to)h(eac)m(h)h(mem)m(b)s(er)e(of)g(the)g(arra)m(y)h(in)f
-(turn,)g(and)630 2324 y(the)h(expansion)f(is)g(the)h(resultan)m(t)g
-(list.)150 2555 y Fk(3.5.4)63 b(Command)41 b(Substitution)275
-2802 y Ft(Command)29 b(substitution)i(allo)m(ws)h(the)f(output)g(of)g
+(turn,)g(and)630 3675 y(the)h(expansion)f(is)g(the)h(resultan)m(t)g
+(list.)150 3892 y Fk(3.5.4)63 b(Command)41 b(Substitution)275
+4133 y Ft(Command)29 b(substitution)i(allo)m(ws)h(the)f(output)g(of)g
(a)g(command)g(to)g(replace)h(the)f(command)g(itself.)150
-2912 y(Command)e(substitution)h(o)s(ccurs)h(when)e(a)i(command)f(is)g
-(enclosed)h(as)g(follo)m(ws:)390 3050 y Fs($\()p Fj(command)11
-b Fs(\))150 3187 y Ft(or)390 3325 y Fs(`)p Fj(command)g
-Fs(`)150 3463 y Ft(Bash)45 b(p)s(erforms)f(the)h(expansion)f(b)m(y)h
+4243 y(Command)e(substitution)h(o)s(ccurs)h(when)e(a)i(command)f(is)g
+(enclosed)h(as)g(follo)m(ws:)390 4374 y Fs($\()p Fj(command)11
+b Fs(\))150 4506 y Ft(or)390 4638 y Fs(`)p Fj(command)g
+Fs(`)150 4770 y Ft(Bash)45 b(p)s(erforms)f(the)h(expansion)f(b)m(y)h
(executing)i Fq(command)h Ft(and)c(replacing)i(the)f(command)g(sub-)150
-3572 y(stitution)c(with)f(the)g(standard)g(output)g(of)g(the)g
+4879 y(stitution)c(with)f(the)g(standard)g(output)g(of)g(the)g
(command,)j(with)d(an)m(y)h(trailing)g(newlines)f(deleted.)150
-3682 y(Em)m(b)s(edded)30 b(newlines)h(are)h(not)f(deleted,)i(but)e
+4989 y(Em)m(b)s(edded)30 b(newlines)h(are)h(not)f(deleted,)i(but)e
(they)g(ma)m(y)h(b)s(e)f(remo)m(v)m(ed)i(during)d(w)m(ord)h(splitting.)
-44 b(The)150 3791 y(command)21 b(substitution)g Fs($\(cat)29
+44 b(The)150 5099 y(command)21 b(substitution)g Fs($\(cat)29
b Fj(file)11 b Fs(\))20 b Ft(can)i(b)s(e)f(replaced)g(b)m(y)h(the)g
(equiv)-5 b(alen)m(t)22 b(but)f(faster)h Fs($\(<)30 b
-Fj(file)11 b Fs(\))p Ft(.)275 3929 y(When)33 b(the)i(old-st)m(yle)h
+Fj(file)11 b Fs(\))p Ft(.)275 5230 y(When)33 b(the)i(old-st)m(yle)h
(bac)m(kquote)f(form)f(of)g(substitution)g(is)g(used,)h(bac)m(kslash)f
-(retains)h(its)f(literal)150 4039 y(meaning)k(except)h(when)e(follo)m
+(retains)h(its)f(literal)150 5340 y(meaning)k(except)h(when)e(follo)m
(w)m(ed)j(b)m(y)e(`)p Fs($)p Ft(',)j(`)p Fs(`)p Ft(',)f(or)e(`)p
Fs(\\)p Ft('.)64 b(The)38 b(\014rst)f(bac)m(kquote)j(not)e(preceded)g
-(b)m(y)g(a)150 4148 y(bac)m(kslash)j(terminates)g(the)f(command)g
-(substitution.)69 b(When)40 b(using)g(the)g Fs($\()p
-Fj(command)11 b Fs(\))37 b Ft(form,)42 b(all)150 4258
-y(c)m(haracters)32 b(b)s(et)m(w)m(een)f(the)f(paren)m(theses)h(mak)m(e)
-g(up)f(the)g(command;)h(none)f(are)h(treated)g(sp)s(ecially)-8
-b(.)275 4396 y(Command)22 b(substitutions)g(ma)m(y)i(b)s(e)e(nested.)39
+(b)m(y)g(a)p eop end
+%%Page: 22 28
+TeXDict begin 22 27 bop 150 -116 a Ft(22)2572 b(Bash)31
+b(Reference)g(Man)m(ual)150 299 y(bac)m(kslash)41 b(terminates)g(the)f
+(command)g(substitution.)69 b(When)40 b(using)g(the)g
+Fs($\()p Fj(command)11 b Fs(\))37 b Ft(form,)42 b(all)150
+408 y(c)m(haracters)32 b(b)s(et)m(w)m(een)f(the)f(paren)m(theses)h(mak)
+m(e)g(up)f(the)g(command;)h(none)f(are)h(treated)g(sp)s(ecially)-8
+b(.)275 541 y(Command)22 b(substitutions)g(ma)m(y)i(b)s(e)e(nested.)39
b(T)-8 b(o)23 b(nest)g(when)f(using)h(the)g(bac)m(kquoted)h(form,)g
-(escap)s(e)150 4505 y(the)31 b(inner)e(bac)m(kquotes)j(with)e(bac)m
-(kslashes.)275 4643 y(If)e(the)i(substitution)e(app)s(ears)h(within)g
+(escap)s(e)150 651 y(the)31 b(inner)e(bac)m(kquotes)j(with)e(bac)m
+(kslashes.)275 784 y(If)e(the)i(substitution)e(app)s(ears)h(within)g
(double)f(quotes,)i(w)m(ord)f(splitting)h(and)f(\014lename)g(expansion)
-150 4753 y(are)i(not)f(p)s(erformed)f(on)h(the)h(results.)150
-4983 y Fk(3.5.5)63 b(Arithmetic)40 b(Expansion)275 5230
+150 894 y(are)i(not)f(p)s(erformed)f(on)h(the)h(results.)150
+1113 y Fk(3.5.5)63 b(Arithmetic)40 b(Expansion)275 1356
y Ft(Arithmetic)33 b(expansion)f(allo)m(ws)i(the)e(ev)-5
b(aluation)34 b(of)f(an)f(arithmetic)i(expression)e(and)g(the)g
-(substi-)150 5340 y(tution)f(of)f(the)h(result.)40 b(The)30
-b(format)h(for)f(arithmetic)i(expansion)e(is:)p eop end
-%%Page: 22 28
-TeXDict begin 22 27 bop 150 -116 a Ft(22)2572 b(Bash)31
-b(Reference)g(Man)m(ual)390 299 y Fs($\(\()47 b Fj(expression)55
-b Fs(\)\))275 455 y Ft(The)33 b(expression)g(is)h(treated)g(as)g(if)g
-(it)g(w)m(ere)g(within)f(double)h(quotes,)h(but)e(a)h(double)f(quote)h
-(inside)150 565 y(the)27 b(paren)m(theses)g(is)g(not)g(treated)h(sp)s
-(ecially)-8 b(.)41 b(All)27 b(tok)m(ens)h(in)e(the)h(expression)g
-(undergo)f(parameter)h(ex-)150 674 y(pansion,)h(command)f
-(substitution,)h(and)f(quote)i(remo)m(v)-5 b(al.)41 b(Arithmetic)28
-b(expansions)g(ma)m(y)g(b)s(e)f(nested.)275 831 y(The)34
-b(ev)-5 b(aluation)37 b(is)f(p)s(erformed)e(according)i(to)g(the)g
-(rules)f(listed)h(b)s(elo)m(w)g(\(see)g(Section)g(6.5)h([Shell)150
-940 y(Arithmetic],)32 b(page)f(70\).)42 b(If)30 b(the)h(expression)f
-(is)g(in)m(v)-5 b(alid,)32 b(Bash)e(prin)m(ts)g(a)h(message)g
-(indicating)h(failure)150 1050 y(to)f(the)g(standard)e(error)h(and)g
-(no)g(substitution)g(o)s(ccurs.)150 1318 y Fk(3.5.6)63
-b(Pro)s(cess)42 b(Substitution)275 1583 y Ft(Pro)s(cess)33
-b(substitution)h(is)g(supp)s(orted)e(on)h(systems)h(that)h(supp)s(ort)d
-(named)h(pip)s(es)g(\()p Fl(fif)n(o)p Ft(s\))h(or)g(the)150
-1693 y(`)p Fs(/dev/fd)p Ft(')29 b(metho)s(d)h(of)g(naming)g(op)s(en)g
-(\014les.)41 b(It)30 b(tak)m(es)i(the)f(form)f(of)390
-1849 y Fs(<\()p Fj(list)11 b Fs(\))150 2006 y Ft(or)390
-2162 y Fs(>\()p Fj(list)g Fs(\))150 2318 y Ft(The)23
-b(pro)s(cess)g Fq(list)j Ft(is)d(run)f(with)h(its)h(input)f(or)g
-(output)g(connected)h(to)h(a)e Fl(fif)n(o)g Ft(or)h(some)g(\014le)f(in)
-g(`)p Fs(/dev/fd)p Ft('.)150 2428 y(The)28 b(name)h(of)g(this)f(\014le)
-h(is)g(passed)f(as)h(an)f(argumen)m(t)h(to)h(the)f(curren)m(t)f
-(command)h(as)f(the)h(result)g(of)g(the)150 2537 y(expansion.)40
-b(If)28 b(the)h Fs(>\()p Fj(list)11 b Fs(\))26 b Ft(form)i(is)h(used,)f
-(writing)h(to)g(the)g(\014le)f(will)h(pro)m(vide)g(input)f(for)g
-Fq(list)p Ft(.)41 b(If)28 b(the)150 2647 y Fs(<\()p Fj(list)11
+(substi-)150 1465 y(tution)f(of)f(the)h(result.)40 b(The)30
+b(format)h(for)f(arithmetic)i(expansion)e(is:)390 1598
+y Fs($\(\()47 b Fj(expression)55 b Fs(\)\))275 1731 y
+Ft(The)33 b(expression)g(is)h(treated)g(as)g(if)g(it)g(w)m(ere)g
+(within)f(double)h(quotes,)h(but)e(a)h(double)f(quote)h(inside)150
+1841 y(the)27 b(paren)m(theses)g(is)g(not)g(treated)h(sp)s(ecially)-8
+b(.)41 b(All)27 b(tok)m(ens)h(in)e(the)h(expression)g(undergo)f
+(parameter)h(ex-)150 1951 y(pansion,)h(command)f(substitution,)h(and)f
+(quote)i(remo)m(v)-5 b(al.)41 b(Arithmetic)28 b(expansions)g(ma)m(y)g
+(b)s(e)f(nested.)275 2083 y(The)34 b(ev)-5 b(aluation)37
+b(is)f(p)s(erformed)e(according)i(to)g(the)g(rules)f(listed)h(b)s(elo)m
+(w)g(\(see)g(Section)g(6.5)h([Shell)150 2193 y(Arithmetic],)32
+b(page)f(72\).)42 b(If)30 b(the)h(expression)f(is)g(in)m(v)-5
+b(alid,)32 b(Bash)e(prin)m(ts)g(a)h(message)g(indicating)h(failure)150
+2303 y(to)f(the)g(standard)e(error)h(and)g(no)g(substitution)g(o)s
+(ccurs.)150 2522 y Fk(3.5.6)63 b(Pro)s(cess)42 b(Substitution)275
+2765 y Ft(Pro)s(cess)33 b(substitution)h(is)g(supp)s(orted)e(on)h
+(systems)h(that)h(supp)s(ort)d(named)h(pip)s(es)g(\()p
+Fl(fif)n(o)p Ft(s\))h(or)g(the)150 2874 y(`)p Fs(/dev/fd)p
+Ft(')29 b(metho)s(d)h(of)g(naming)g(op)s(en)g(\014les.)41
+b(It)30 b(tak)m(es)i(the)f(form)f(of)390 3007 y Fs(<\()p
+Fj(list)11 b Fs(\))150 3140 y Ft(or)390 3273 y Fs(>\()p
+Fj(list)g Fs(\))150 3406 y Ft(The)23 b(pro)s(cess)g Fq(list)j
+Ft(is)d(run)f(with)h(its)h(input)f(or)g(output)g(connected)h(to)h(a)e
+Fl(fif)n(o)g Ft(or)h(some)g(\014le)f(in)g(`)p Fs(/dev/fd)p
+Ft('.)150 3516 y(The)28 b(name)h(of)g(this)f(\014le)h(is)g(passed)f(as)
+h(an)f(argumen)m(t)h(to)h(the)f(curren)m(t)f(command)h(as)f(the)h
+(result)g(of)g(the)150 3626 y(expansion.)40 b(If)28 b(the)h
+Fs(>\()p Fj(list)11 b Fs(\))26 b Ft(form)i(is)h(used,)f(writing)h(to)g
+(the)g(\014le)f(will)h(pro)m(vide)g(input)f(for)g Fq(list)p
+Ft(.)41 b(If)28 b(the)150 3735 y Fs(<\()p Fj(list)11
b Fs(\))23 b Ft(form)h(is)i(used,)f(the)h(\014le)f(passed)g(as)g(an)g
(argumen)m(t)h(should)e(b)s(e)h(read)g(to)h(obtain)g(the)f(output)g(of)
-150 2757 y Fq(list)p Ft(.)41 b(Note)31 b(that)f(no)g(space)g(ma)m(y)g
+150 3845 y Fq(list)p Ft(.)41 b(Note)31 b(that)f(no)g(space)g(ma)m(y)g
(app)s(ear)f(b)s(et)m(w)m(een)h(the)g Fs(<)f Ft(or)h
Fs(>)f Ft(and)g(the)h(left)g(paren)m(thesis,)h(otherwise)150
-2866 y(the)g(construct)f(w)m(ould)g(b)s(e)g(in)m(terpreted)h(as)f(a)h
-(redirection.)275 3022 y(When)36 b(a)m(v)-5 b(ailable,)40
+3954 y(the)g(construct)f(w)m(ould)g(b)s(e)g(in)m(terpreted)h(as)f(a)h
+(redirection.)275 4087 y(When)36 b(a)m(v)-5 b(ailable,)40
b(pro)s(cess)c(substitution)h(is)f(p)s(erformed)f(sim)m(ultaneously)i
-(with)g(parameter)g(and)150 3132 y(v)-5 b(ariable)31
+(with)g(parameter)g(and)150 4197 y(v)-5 b(ariable)31
b(expansion,)g(command)f(substitution,)g(and)g(arithmetic)i(expansion.)
-150 3400 y Fk(3.5.7)63 b(W)-10 b(ord)41 b(Splitting)275
-3666 y Ft(The)35 b(shell)i(scans)f(the)g(results)g(of)g(parameter)h
+150 4416 y Fk(3.5.7)63 b(W)-10 b(ord)41 b(Splitting)275
+4659 y Ft(The)35 b(shell)i(scans)f(the)g(results)g(of)g(parameter)h
(expansion,)h(command)d(substitution,)j(and)e(arith-)150
-3775 y(metic)31 b(expansion)g(that)g(did)e(not)i(o)s(ccur)f(within)g
-(double)g(quotes)h(for)f(w)m(ord)g(splitting.)275 3932
+4769 y(metic)31 b(expansion)g(that)g(did)e(not)i(o)s(ccur)f(within)g
+(double)g(quotes)h(for)f(w)m(ord)g(splitting.)275 4902
y(The)43 b(shell)h(treats)h(eac)m(h)h(c)m(haracter)f(of)g
Fs($IFS)e Ft(as)h(a)g(delimiter,)49 b(and)43 b(splits)h(the)h(results)e
-(of)i(the)150 4041 y(other)40 b(expansions)f(in)m(to)i(w)m(ords)e(on)h
+(of)i(the)150 5011 y(other)40 b(expansions)f(in)m(to)i(w)m(ords)e(on)h
(these)g(c)m(haracters.)70 b(If)39 b Fs(IFS)g Ft(is)h(unset,)i(or)d
-(its)h(v)-5 b(alue)40 b(is)g(exactly)150 4151 y Fs
+(its)h(v)-5 b(alue)40 b(is)g(exactly)150 5121 y Fs
(<space><tab><newline>)p Ft(,)20 b(the)25 b(default,)h(then)e(an)m(y)g
(sequence)h(of)g Fs(IFS)e Ft(c)m(haracters)j(serv)m(es)f(to)g(delimit)
-150 4260 y(w)m(ords.)38 b(If)21 b Fs(IFS)h Ft(has)g(a)h(v)-5
+150 5230 y(w)m(ords.)38 b(If)21 b Fs(IFS)h Ft(has)g(a)h(v)-5
b(alue)23 b(other)f(than)h(the)f(default,)j(then)d(sequences)g(of)h
-(the)f(whitespace)h(c)m(haracters)150 4370 y Fs(space)j
+(the)f(whitespace)h(c)m(haracters)150 5340 y Fs(space)j
Ft(and)h Fs(tab)g Ft(are)h(ignored)g(at)h(the)f(b)s(eginning)f(and)g
-(end)g(of)h(the)g(w)m(ord,)g(as)g(long)g(as)g(the)g(whitespace)150
-4479 y(c)m(haracter)34 b(is)f(in)f(the)h(v)-5 b(alue)33
-b(of)f Fs(IFS)g Ft(\(an)h Fs(IFS)e Ft(whitespace)j(c)m(haracter\).)49
+(end)g(of)h(the)g(w)m(ord,)g(as)g(long)g(as)g(the)g(whitespace)p
+eop end
+%%Page: 23 29
+TeXDict begin 23 28 bop 150 -116 a Ft(Chapter)30 b(3:)41
+b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(23)150 299
+y(c)m(haracter)34 b(is)f(in)f(the)h(v)-5 b(alue)33 b(of)f
+Fs(IFS)g Ft(\(an)h Fs(IFS)e Ft(whitespace)j(c)m(haracter\).)49
b(An)m(y)32 b(c)m(haracter)i(in)f Fs(IFS)e Ft(that)150
-4589 y(is)f(not)h Fs(IFS)f Ft(whitespace,)h(along)g(with)f(an)m(y)h
+408 y(is)f(not)h Fs(IFS)f Ft(whitespace,)h(along)g(with)f(an)m(y)h
(adjacen)m(t)h Fs(IFS)d Ft(whitespace)i(c)m(haracters,)h(delimits)f(a)g
-(\014eld.)150 4699 y(A)h(sequence)h(of)f Fs(IFS)f Ft(whitespace)i(c)m
+(\014eld.)150 518 y(A)h(sequence)h(of)f Fs(IFS)f Ft(whitespace)i(c)m
(haracters)h(is)e(also)h(treated)g(as)g(a)f(delimiter.)47
-b(If)32 b(the)g(v)-5 b(alue)33 b(of)f Fs(IFS)150 4808
+b(If)32 b(the)g(v)-5 b(alue)33 b(of)f Fs(IFS)150 628
y Ft(is)e(n)m(ull,)h(no)f(w)m(ord)g(splitting)h(o)s(ccurs.)275
-4965 y(Explicit)44 b(n)m(ull)f(argumen)m(ts)g(\()p Fs("")g
+764 y(Explicit)44 b(n)m(ull)f(argumen)m(ts)g(\()p Fs("")g
Ft(or)h Fs('')p Ft(\))f(are)g(retained.)80 b(Unquoted)43
-b(implicit)h(n)m(ull)f(argumen)m(ts,)150 5074 y(resulting)24
+b(implicit)h(n)m(ull)f(argumen)m(ts,)150 873 y(resulting)24
b(from)f(the)g(expansion)g(of)h(parameters)g(that)g(ha)m(v)m(e)h(no)e
(v)-5 b(alues,)25 b(are)f(remo)m(v)m(ed.)40 b(If)23 b(a)g(parameter)150
-5184 y(with)30 b(no)g(v)-5 b(alue)31 b(is)g(expanded)e(within)h(double)
-g(quotes,)h(a)g(n)m(ull)f(argumen)m(t)h(results)f(and)g(is)g(retained.)
-275 5340 y(Note)h(that)g(if)g(no)f(expansion)g(o)s(ccurs,)g(no)h
-(splitting)g(is)f(p)s(erformed.)p eop end
-%%Page: 23 29
-TeXDict begin 23 28 bop 150 -116 a Ft(Chapter)30 b(3:)41
-b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(23)150 299
-y Fk(3.5.8)63 b(Filename)41 b(Expansion)275 545 y Ft(After)22
-b(w)m(ord)g(splitting,)j(unless)d(the)h(`)p Fs(-f)p Ft(')f(option)h
-(has)f(b)s(een)g(set)h(\(see)g(Section)h(4.3)f([The)f(Set)h(Builtin],)
-150 655 y(page)k(50\),)i(Bash)d(scans)h(eac)m(h)h(w)m(ord)e(for)g(the)h
-(c)m(haracters)g(`)p Fs(*)p Ft(',)h(`)p Fs(?)p Ft(',)g(and)e(`)p
+983 y(with)30 b(no)g(v)-5 b(alue)31 b(is)g(expanded)e(within)h(double)g
+(quotes,)h(a)g(n)m(ull)f(argumen)m(t)h(results)f(and)g(is)g(retained.)
+275 1119 y(Note)h(that)g(if)g(no)f(expansion)g(o)s(ccurs,)g(no)h
+(splitting)g(is)f(p)s(erformed.)150 1345 y Fk(3.5.8)63
+b(Filename)41 b(Expansion)275 1591 y Ft(After)22 b(w)m(ord)g
+(splitting,)j(unless)d(the)h(`)p Fs(-f)p Ft(')f(option)h(has)f(b)s(een)
+g(set)h(\(see)g(Section)h(4.3)f([The)f(Set)h(Builtin],)150
+1701 y(page)k(50\),)i(Bash)d(scans)h(eac)m(h)h(w)m(ord)e(for)g(the)h(c)
+m(haracters)g(`)p Fs(*)p Ft(',)h(`)p Fs(?)p Ft(',)g(and)e(`)p
Fs([)p Ft('.)39 b(If)26 b(one)h(of)g(these)f(c)m(haracters)150
-764 y(app)s(ears,)h(then)f(the)h(w)m(ord)f(is)h(regarded)g(as)g(a)g
+1810 y(app)s(ears,)h(then)f(the)h(w)m(ord)f(is)h(regarded)g(as)g(a)g
Fq(pattern)p Ft(,)g(and)g(replaced)g(with)f(an)h(alphab)s(etically)h
-(sorted)150 874 y(list)k(of)g(\014le)g(names)g(matc)m(hing)h(the)f
+(sorted)150 1920 y(list)k(of)g(\014le)g(names)g(matc)m(hing)h(the)f
(pattern.)45 b(If)32 b(no)f(matc)m(hing)i(\014le)f(names)g(are)g
-(found,)f(and)h(the)g(shell)150 983 y(option)c Fs(nullglob)e
+(found,)f(and)h(the)g(shell)150 2029 y(option)c Fs(nullglob)e
Ft(is)i(disabled,)h(the)f(w)m(ord)g(is)g(left)g(unc)m(hanged.)40
b(If)28 b(the)g Fs(nullglob)e Ft(option)i(is)g(set,)i(and)150
-1093 y(no)38 b(matc)m(hes)h(are)f(found,)h(the)f(w)m(ord)f(is)h(remo)m
+2139 y(no)38 b(matc)m(hes)h(are)f(found,)h(the)f(w)m(ord)f(is)h(remo)m
(v)m(ed.)65 b(If)37 b(the)h Fs(failglob)e Ft(shell)i(option)g(is)g
-(set,)j(and)c(no)150 1203 y(matc)m(hes)f(are)g(found,)f(an)g(error)f
+(set,)j(and)c(no)150 2248 y(matc)m(hes)f(are)g(found,)f(an)g(error)f
(message)j(is)e(prin)m(ted)f(and)h(the)g(command)g(is)g(not)g
-(executed.)56 b(If)35 b(the)150 1312 y(shell)e(option)h
+(executed.)56 b(If)35 b(the)150 2358 y(shell)e(option)h
Fs(nocaseglob)c Ft(is)j(enabled,)h(the)g(matc)m(h)g(is)f(p)s(erformed)e
-(without)i(regard)g(to)h(the)g(case)g(of)150 1422 y(alphab)s(etic)d(c)m
-(haracters.)275 1559 y(When)21 b(a)i(pattern)f(is)g(used)g(for)f
+(without)i(regard)g(to)h(the)g(case)g(of)150 2468 y(alphab)s(etic)d(c)m
+(haracters.)275 2604 y(When)21 b(a)i(pattern)f(is)g(used)g(for)f
(\014lename)i(generation,)i(the)d(c)m(haracter)i(`)p
Fs(.)p Ft(')e(at)h(the)f(start)h(of)f(a)h(\014lename)150
-1668 y(or)g(immediately)i(follo)m(wing)g(a)f(slash)f(m)m(ust)h(b)s(e)f
+2713 y(or)g(immediately)i(follo)m(wing)g(a)f(slash)f(m)m(ust)h(b)s(e)f
(matc)m(hed)h(explicitly)-8 b(,)27 b(unless)c(the)g(shell)h(option)g
-Fs(dotglob)150 1778 y Ft(is)31 b(set.)45 b(When)31 b(matc)m(hing)h(a)g
+Fs(dotglob)150 2823 y Ft(is)31 b(set.)45 b(When)31 b(matc)m(hing)h(a)g
(\014le)f(name,)h(the)g(slash)f(c)m(haracter)i(m)m(ust)e(alw)m(a)m(ys)i
-(b)s(e)e(matc)m(hed)h(explicitly)-8 b(.)150 1887 y(In)30
+(b)s(e)e(matc)m(hed)h(explicitly)-8 b(.)150 2932 y(In)30
b(other)g(cases,)i(the)e(`)p Fs(.)p Ft(')h(c)m(haracter)h(is)e(not)h
-(treated)g(sp)s(ecially)-8 b(.)275 2024 y(See)30 b(the)g(description)f
+(treated)g(sp)s(ecially)-8 b(.)275 3068 y(See)30 b(the)g(description)f
(of)h Fs(shopt)f Ft(in)g(Section)i(4.2)g([Bash)f(Builtins],)h(page)f
-(39,)h(for)f(a)g(description)g(of)150 2134 y(the)h Fs(nocaseglob)p
+(39,)h(for)f(a)g(description)g(of)150 3178 y(the)h Fs(nocaseglob)p
Ft(,)c Fs(nullglob)p Ft(,)i Fs(failglob)p Ft(,)f(and)i
-Fs(dotglob)e Ft(options.)275 2270 y(The)k Fs(GLOBIGNORE)f
+Fs(dotglob)e Ft(options.)275 3314 y(The)k Fs(GLOBIGNORE)f
Ft(shell)i(v)-5 b(ariable)34 b(ma)m(y)g(b)s(e)f(used)f(to)i(restrict)g
-(the)g(set)f(of)h(\014lenames)f(matc)m(hing)i(a)150 2380
+(the)g(set)f(of)h(\014lenames)f(matc)m(hing)i(a)150 3423
y(pattern.)k(If)25 b Fs(GLOBIGNORE)e Ft(is)j(set,)h(eac)m(h)g(matc)m
(hing)g(\014lename)f(that)g(also)h(matc)m(hes)f(one)g(of)g(the)g
-(patterns)150 2489 y(in)33 b Fs(GLOBIGNORE)d Ft(is)j(remo)m(v)m(ed)h
+(patterns)150 3533 y(in)33 b Fs(GLOBIGNORE)d Ft(is)j(remo)m(v)m(ed)h
(from)e(the)i(list)f(of)g(matc)m(hes.)50 b(The)33 b(\014lenames)g(`)p
Fs(.)p Ft(')g(and)f(`)p Fs(..)p Ft(')h(are)g(alw)m(a)m(ys)150
-2599 y(ignored)g(when)e Fs(GLOBIGNORE)f Ft(is)j(set)g(and)f(not)h(n)m
+3642 y(ignored)g(when)e Fs(GLOBIGNORE)f Ft(is)j(set)g(and)f(not)h(n)m
(ull.)48 b(Ho)m(w)m(ev)m(er,)35 b(setting)f Fs(GLOBIGNORE)c
-Ft(to)j(a)g(non-n)m(ull)150 2709 y(v)-5 b(alue)34 b(has)f(the)h
+Ft(to)j(a)g(non-n)m(ull)150 3752 y(v)-5 b(alue)34 b(has)f(the)h
(e\013ect)h(of)f(enabling)g(the)g Fs(dotglob)e Ft(shell)h(option,)j(so)
-e(all)g(other)g(\014lenames)g(b)s(eginning)150 2818 y(with)43
+e(all)g(other)g(\014lenames)g(b)s(eginning)150 3862 y(with)43
b(a)h(`)p Fs(.)p Ft(')f(will)h(matc)m(h.)80 b(T)-8 b(o)44
b(get)h(the)e(old)h(b)s(eha)m(vior)f(of)h(ignoring)f(\014lenames)h(b)s
-(eginning)f(with)g(a)150 2928 y(`)p Fs(.)p Ft(',)c(mak)m(e)g(`)p
+(eginning)f(with)g(a)150 3971 y(`)p Fs(.)p Ft(',)c(mak)m(e)g(`)p
Fs(.*)p Ft(')e(one)g(of)g(the)h(patterns)f(in)g Fs(GLOBIGNORE)p
Ft(.)58 b(The)37 b Fs(dotglob)e Ft(option)j(is)f(disabled)g(when)150
-3037 y Fs(GLOBIGNORE)28 b Ft(is)i(unset.)150 3266 y Fk(3.5.8.1)63
-b(P)m(attern)40 b(Matc)m(hing)275 3512 y Ft(An)m(y)33
+4081 y Fs(GLOBIGNORE)28 b Ft(is)i(unset.)150 4308 y Fk(3.5.8.1)63
+b(P)m(attern)40 b(Matc)m(hing)275 4553 y Ft(An)m(y)33
b(c)m(haracter)i(that)f(app)s(ears)f(in)g(a)h(pattern,)g(other)g(than)f
(the)g(sp)s(ecial)h(pattern)g(c)m(haracters)h(de-)150
-3622 y(scrib)s(ed)30 b(b)s(elo)m(w,)h(matc)m(hes)h(itself.)43
+4663 y(scrib)s(ed)30 b(b)s(elo)m(w,)h(matc)m(hes)h(itself.)43
b(The)31 b Fl(nul)f Ft(c)m(haracter)i(ma)m(y)f(not)h(o)s(ccur)e(in)h(a)
-g(pattern.)42 b(A)31 b(bac)m(kslash)150 3731 y(escap)s(es)36
+g(pattern.)42 b(A)31 b(bac)m(kslash)150 4772 y(escap)s(es)36
b(the)f(follo)m(wing)i(c)m(haracter;)j(the)c(escaping)g(bac)m(kslash)g
-(is)f(discarded)g(when)g(matc)m(hing.)56 b(The)150 3841
+(is)f(discarded)g(when)g(matc)m(hing.)56 b(The)150 4882
y(sp)s(ecial)31 b(pattern)f(c)m(haracters)i(m)m(ust)f(b)s(e)e(quoted)i
(if)f(they)h(are)f(to)i(b)s(e)d(matc)m(hed)i(literally)-8
-b(.)275 3977 y(The)29 b(sp)s(ecial)i(pattern)g(c)m(haracters)h(ha)m(v)m
-(e)f(the)g(follo)m(wing)h(meanings:)150 4140 y Fs(*)432
+b(.)275 5018 y(The)29 b(sp)s(ecial)i(pattern)g(c)m(haracters)h(ha)m(v)m
+(e)f(the)g(follo)m(wing)h(meanings:)150 5179 y Fs(*)432
b Ft(Matc)m(hes)32 b(an)m(y)f(string,)f(including)g(the)h(n)m(ull)f
-(string.)150 4302 y Fs(?)432 b Ft(Matc)m(hes)32 b(an)m(y)f(single)g(c)m
-(haracter.)150 4463 y Fs([...)o(])241 b Ft(Matc)m(hes)27
+(string.)150 5340 y Fs(?)432 b Ft(Matc)m(hes)32 b(an)m(y)f(single)g(c)m
+(haracter.)p eop end
+%%Page: 24 30
+TeXDict begin 24 29 bop 150 -116 a Ft(24)2572 b(Bash)31
+b(Reference)g(Man)m(ual)150 299 y Fs([...)o(])241 b Ft(Matc)m(hes)27
b(an)m(y)e(one)g(of)g(the)g(enclosed)g(c)m(haracters.)41
b(A)25 b(pair)f(of)h(c)m(haracters)i(separated)e(b)m(y)g(a)630
-4573 y(h)m(yphen)i(denotes)h(a)g Fq(range)g(expression)p
+408 y(h)m(yphen)i(denotes)h(a)g Fq(range)g(expression)p
Ft(;)g(an)m(y)h(c)m(haracter)g(that)f(sorts)g(b)s(et)m(w)m(een)g(those)
-h(t)m(w)m(o)630 4682 y(c)m(haracters,)f(inclusiv)m(e,)f(using)d(the)h
+h(t)m(w)m(o)630 518 y(c)m(haracters,)f(inclusiv)m(e,)f(using)d(the)h
(curren)m(t)f(lo)s(cale's)j(collating)g(sequence)e(and)f(c)m(haracter)
-630 4792 y(set,)31 b(is)f(matc)m(hed.)42 b(If)30 b(the)g(\014rst)g(c)m
+630 628 y(set,)31 b(is)f(matc)m(hed.)42 b(If)30 b(the)g(\014rst)g(c)m
(haracter)i(follo)m(wing)g(the)e(`)p Fs([)p Ft(')h(is)f(a)h(`)p
Fs(!)p Ft(')f(or)g(a)h(`)p Fs(^)p Ft(')g(then)f(an)m(y)630
-4902 y(c)m(haracter)c(not)f(enclosed)g(is)g(matc)m(hed.)40
+737 y(c)m(haracter)c(not)f(enclosed)g(is)g(matc)m(hed.)40
b(A)25 b(`)p Fp(\000)p Ft(')f(ma)m(y)i(b)s(e)e(matc)m(hed)h(b)m(y)f
-(including)h(it)g(as)g(the)630 5011 y(\014rst)32 b(or)h(last)h(c)m
+(including)h(it)g(as)g(the)630 847 y(\014rst)32 b(or)h(last)h(c)m
(haracter)h(in)e(the)g(set.)50 b(A)33 b(`)p Fs(])p Ft(')g(ma)m(y)h(b)s
(e)e(matc)m(hed)i(b)m(y)f(including)g(it)g(as)h(the)630
-5121 y(\014rst)25 b(c)m(haracter)i(in)e(the)h(set.)40
+956 y(\014rst)25 b(c)m(haracter)i(in)e(the)h(set.)40
b(The)25 b(sorting)h(order)f(of)h(c)m(haracters)h(in)f(range)g
-(expressions)f(is)630 5230 y(determined)e(b)m(y)g(the)g(curren)m(t)f
+(expressions)f(is)630 1066 y(determined)e(b)m(y)g(the)g(curren)m(t)f
(lo)s(cale)j(and)e(the)g(v)-5 b(alue)23 b(of)g(the)h
-Fs(LC_COLLATE)c Ft(shell)j(v)-5 b(ariable,)630 5340 y(if)30
-b(set.)p eop end
-%%Page: 24 30
-TeXDict begin 24 29 bop 150 -116 a Ft(24)2572 b(Bash)31
-b(Reference)g(Man)m(ual)630 299 y(F)-8 b(or)34 b(example,)g(in)f(the)g
-(default)g(C)f(lo)s(cale,)k(`)p Fs([a-dx-z])p Ft(')31
-b(is)i(equiv)-5 b(alen)m(t)34 b(to)g(`)p Fs([abcdxyz])p
-Ft('.)630 408 y(Man)m(y)68 b(lo)s(cales)h(sort)f(c)m(haracters)h(in)e
-(dictionary)i(order,)76 b(and)67 b(in)g(these)h(lo)s(cales)630
-518 y(`)p Fs([a-dx-z])p Ft(')36 b(is)i(t)m(ypically)i(not)e(equiv)-5
+Fs(LC_COLLATE)c Ft(shell)j(v)-5 b(ariable,)630 1176 y(if)30
+b(set.)630 1303 y(F)-8 b(or)34 b(example,)g(in)f(the)g(default)g(C)f
+(lo)s(cale,)k(`)p Fs([a-dx-z])p Ft(')31 b(is)i(equiv)-5
+b(alen)m(t)34 b(to)g(`)p Fs([abcdxyz])p Ft('.)630 1413
+y(Man)m(y)68 b(lo)s(cales)h(sort)f(c)m(haracters)h(in)e(dictionary)i
+(order,)76 b(and)67 b(in)g(these)h(lo)s(cales)630 1522
+y(`)p Fs([a-dx-z])p Ft(')36 b(is)i(t)m(ypically)i(not)e(equiv)-5
b(alen)m(t)39 b(to)g(`)p Fs([abcdxyz])p Ft(';)g(it)g(migh)m(t)f(b)s(e)f
-(equiv)-5 b(alen)m(t)630 628 y(to)34 b(`)p Fs([aBbCcDdxXyYz])p
+(equiv)-5 b(alen)m(t)630 1632 y(to)34 b(`)p Fs([aBbCcDdxXyYz])p
Ft(',)c(for)j(example.)49 b(T)-8 b(o)33 b(obtain)h(the)f(traditional)h
-(in)m(terpretation)h(of)630 737 y(ranges)e(in)f(brac)m(k)m(et)i
+(in)m(terpretation)h(of)630 1742 y(ranges)e(in)f(brac)m(k)m(et)i
(expressions,)g(y)m(ou)f(can)g(force)g(the)g(use)f(of)h(the)g(C)f(lo)s
-(cale)i(b)m(y)f(setting)630 847 y(the)e Fs(LC_COLLATE)c
+(cale)i(b)m(y)f(setting)630 1851 y(the)e Fs(LC_COLLATE)c
Ft(or)k Fs(LC_ALL)d Ft(en)m(vironmen)m(t)j(v)-5 b(ariable)31
-b(to)g(the)g(v)-5 b(alue)31 b(`)p Fs(C)p Ft('.)630 978
+b(to)g(the)g(v)-5 b(alue)31 b(`)p Fs(C)p Ft('.)630 1979
y(Within)23 b(`)p Fs([)p Ft(')h(and)e(`)p Fs(])p Ft(',)j
Fq(c)m(haracter)g(classes)j Ft(can)c(b)s(e)e(sp)s(eci\014ed)h(using)f
(the)i(syn)m(tax)f Fs([:)p Fq(class)t Fs(:])p Ft(,)630
-1088 y(where)j Fq(class)31 b Ft(is)c(one)g(of)g(the)g(follo)m(wing)h
+2089 y(where)j Fq(class)31 b Ft(is)c(one)g(of)g(the)g(follo)m(wing)h
(classes)g(de\014ned)d(in)i(the)f Fl(posix)g Ft(1003.2)k(standard:)870
-1219 y Fs(alnum)142 b(alpha)g(ascii)f(blank)h(cntrl)g(digit)g(graph)g
-(lower)870 1329 y(print)g(punct)g(space)f(upper)h(word)190
-b(xdigit)630 1460 y Ft(A)42 b(c)m(haracter)h(class)f(matc)m(hes)h(an)m
+2216 y Fs(alnum)142 b(alpha)g(ascii)f(blank)h(cntrl)g(digit)g(graph)g
+(lower)870 2326 y(print)g(punct)g(space)f(upper)h(word)190
+b(xdigit)630 2454 y Ft(A)42 b(c)m(haracter)h(class)f(matc)m(hes)h(an)m
(y)f(c)m(haracter)h(b)s(elonging)f(to)g(that)g(class.)75
-b(The)41 b Fs(word)630 1570 y Ft(c)m(haracter)32 b(class)f(matc)m(hes)h
+b(The)41 b Fs(word)630 2563 y Ft(c)m(haracter)32 b(class)f(matc)m(hes)h
(letters,)f(digits,)h(and)d(the)i(c)m(haracter)h(`)p
-Fs(_)p Ft('.)630 1701 y(Within)25 b(`)p Fs([)p Ft(')f(and)g(`)p
+Fs(_)p Ft('.)630 2691 y(Within)25 b(`)p Fs([)p Ft(')f(and)g(`)p
Fs(])p Ft(',)i(an)e Fq(equiv)-5 b(alence)26 b(class)j
Ft(can)24 b(b)s(e)g(sp)s(eci\014ed)g(using)g(the)g(syn)m(tax)h
-Fs([=)p Fq(c)6 b Fs(=])p Ft(,)630 1811 y(whic)m(h)29
+Fs([=)p Fq(c)6 b Fs(=])p Ft(,)630 2800 y(whic)m(h)29
b(matc)m(hes)i(all)f(c)m(haracters)h(with)e(the)h(same)g(collation)h(w)
-m(eigh)m(t)g(\(as)f(de\014ned)e(b)m(y)i(the)630 1920
+m(eigh)m(t)g(\(as)f(de\014ned)e(b)m(y)i(the)630 2910
y(curren)m(t)g(lo)s(cale\))j(as)d(the)h(c)m(haracter)h
-Fq(c)p Ft(.)630 2052 y(Within)22 b(`)p Fs([)p Ft(')f(and)g(`)p
+Fq(c)p Ft(.)630 3038 y(Within)22 b(`)p Fs([)p Ft(')f(and)g(`)p
Fs(])p Ft(',)j(the)d(syn)m(tax)h Fs([.)p Fq(sym)m(b)s(ol)t
Fs(.])e Ft(matc)m(hes)i(the)g(collating)i(sym)m(b)s(ol)d
-Fq(sym)m(b)s(ol)p Ft(.)275 2205 y(If)29 b(the)g Fs(extglob)f
+Fq(sym)m(b)s(ol)p Ft(.)275 3184 y(If)29 b(the)g Fs(extglob)f
Ft(shell)h(option)h(is)g(enabled)f(using)g(the)h Fs(shopt)e
-Ft(builtin,)h(sev)m(eral)i(extended)f(pattern)150 2314
+Ft(builtin,)h(sev)m(eral)i(extended)f(pattern)150 3293
y(matc)m(hing)37 b(op)s(erators)e(are)h(recognized.)58
b(In)35 b(the)g(follo)m(wing)i(description,)g(a)f Fq(pattern-list)j
-Ft(is)d(a)g(list)g(of)150 2424 y(one)d(or)f(more)h(patterns)f
+Ft(is)d(a)g(list)g(of)150 3403 y(one)d(or)f(more)h(patterns)f
(separated)h(b)m(y)f(a)h(`)p Fs(|)p Ft('.)47 b(Comp)s(osite)33
b(patterns)f(ma)m(y)i(b)s(e)d(formed)h(using)g(one)h(or)150
-2534 y(more)e(of)f(the)h(follo)m(wing)g(sub-patterns:)150
-2687 y Fs(?\()p Fj(pattern-list)11 b Fs(\))630 2796 y
+3512 y(more)e(of)f(the)h(follo)m(wing)g(sub-patterns:)150
+3658 y Fs(?\()p Fj(pattern-list)11 b Fs(\))630 3768 y
Ft(Matc)m(hes)32 b(zero)f(or)g(one)f(o)s(ccurrence)h(of)f(the)h(giv)m
-(en)g(patterns.)150 2949 y Fs(*\()p Fj(pattern-list)11
-b Fs(\))630 3059 y Ft(Matc)m(hes)32 b(zero)f(or)g(more)f(o)s
-(ccurrences)h(of)f(the)h(giv)m(en)g(patterns.)150 3212
-y Fs(+\()p Fj(pattern-list)11 b Fs(\))630 3322 y Ft(Matc)m(hes)32
+(en)g(patterns.)150 3914 y Fs(*\()p Fj(pattern-list)11
+b Fs(\))630 4023 y Ft(Matc)m(hes)32 b(zero)f(or)g(more)f(o)s
+(ccurrences)h(of)f(the)h(giv)m(en)g(patterns.)150 4169
+y Fs(+\()p Fj(pattern-list)11 b Fs(\))630 4279 y Ft(Matc)m(hes)32
b(one)f(or)f(more)h(o)s(ccurrences)f(of)h(the)f(giv)m(en)i(patterns.)
-150 3475 y Fs(@\()p Fj(pattern-list)11 b Fs(\))630 3585
+150 4424 y Fs(@\()p Fj(pattern-list)11 b Fs(\))630 4534
y Ft(Matc)m(hes)32 b(one)f(of)f(the)h(giv)m(en)g(patterns.)150
-3738 y Fs(!\()p Fj(pattern-list)11 b Fs(\))630 3847 y
+4680 y Fs(!\()p Fj(pattern-list)11 b Fs(\))630 4789 y
Ft(Matc)m(hes)32 b(an)m(ything)f(except)g(one)g(of)f(the)h(giv)m(en)g
-(patterns.)150 4062 y Fk(3.5.9)63 b(Quote)41 b(Remo)m(v)-7
-b(al)275 4303 y Ft(After)32 b(the)h(preceding)f(expansions,)h(all)g
+(patterns.)150 4993 y Fk(3.5.9)63 b(Quote)41 b(Remo)m(v)-7
+b(al)275 5230 y Ft(After)32 b(the)h(preceding)f(expansions,)h(all)g
(unquoted)f(o)s(ccurrences)g(of)h(the)f(c)m(haracters)i(`)p
-Fs(\\)p Ft(',)f(`)p Fs(')p Ft(',)h(and)150 4413 y(`)p
+Fs(\\)p Ft(',)f(`)p Fs(')p Ft(',)h(and)150 5340 y(`)p
Fs(")p Ft(')d(that)g(did)e(not)i(result)f(from)g(one)h(of)f(the)h(ab)s
-(o)m(v)m(e)g(expansions)f(are)h(remo)m(v)m(ed.)150 4661
-y Fr(3.6)68 b(Redirections)275 4902 y Ft(Before)33 b(a)h(command)e(is)h
+(o)m(v)m(e)g(expansions)f(are)h(remo)m(v)m(ed.)p eop
+end
+%%Page: 25 31
+TeXDict begin 25 30 bop 150 -116 a Ft(Chapter)30 b(3:)41
+b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(25)150 299
+y Fr(3.6)68 b(Redirections)275 536 y Ft(Before)33 b(a)h(command)e(is)h
(executed,)i(its)e(input)f(and)h(output)f(ma)m(y)i(b)s(e)e
-Fq(redirected)37 b Ft(using)32 b(a)h(sp)s(ecial)150 5011
+Fq(redirected)37 b Ft(using)32 b(a)h(sp)s(ecial)150 646
y(notation)g(in)m(terpreted)g(b)m(y)f(the)g(shell.)46
b(Redirection)33 b(ma)m(y)g(also)g(b)s(e)f(used)f(to)i(op)s(en)e(and)h
-(close)h(\014les)f(for)150 5121 y(the)h(curren)m(t)g(shell)g(execution)
-h(en)m(vironmen)m(t.)49 b(The)33 b(follo)m(wing)h(redirection)g(op)s
-(erators)f(ma)m(y)h(precede)150 5230 y(or)29 b(app)s(ear)g(an)m(ywhere)
-g(within)g(a)h(simple)f(command)g(or)h(ma)m(y)g(follo)m(w)g(a)g
-(command.)40 b(Redirections)31 b(are)150 5340 y(pro)s(cessed)f(in)g
-(the)g(order)g(they)h(app)s(ear,)f(from)g(left)h(to)g(righ)m(t.)p
-eop end
-%%Page: 25 31
-TeXDict begin 25 30 bop 150 -116 a Ft(Chapter)30 b(3:)41
-b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(25)275 299
-y(In)27 b(the)i(follo)m(wing)h(descriptions,)g(if)e(the)h(\014le)g
+(close)h(\014les)f(for)150 756 y(the)h(curren)m(t)g(shell)g(execution)h
+(en)m(vironmen)m(t.)49 b(The)33 b(follo)m(wing)h(redirection)g(op)s
+(erators)f(ma)m(y)h(precede)150 865 y(or)29 b(app)s(ear)g(an)m(ywhere)g
+(within)g(a)h(simple)f(command)g(or)h(ma)m(y)g(follo)m(w)g(a)g
+(command.)40 b(Redirections)31 b(are)150 975 y(pro)s(cessed)f(in)g(the)
+g(order)g(they)h(app)s(ear,)f(from)g(left)h(to)g(righ)m(t.)275
+1103 y(In)c(the)i(follo)m(wing)h(descriptions,)g(if)e(the)h(\014le)g
(descriptor)f(n)m(um)m(b)s(er)g(is)g(omitted,)i(and)f(the)f(\014rst)g
-(c)m(har-)150 408 y(acter)42 b(of)f(the)g(redirection)g(op)s(erator)g
+(c)m(har-)150 1212 y(acter)42 b(of)f(the)g(redirection)g(op)s(erator)g
(is)g(`)p Fs(<)p Ft(',)i(the)e(redirection)g(refers)g(to)g(the)g
-(standard)f(input)f(\(\014le)150 518 y(descriptor)33
+(standard)f(input)f(\(\014le)150 1322 y(descriptor)33
b(0\).)49 b(If)33 b(the)g(\014rst)f(c)m(haracter)i(of)g(the)f
(redirection)g(op)s(erator)h(is)f(`)p Fs(>)p Ft(',)h(the)f(redirection)
-g(refers)150 628 y(to)e(the)g(standard)e(output)h(\(\014le)h
-(descriptor)f(1\).)275 756 y(The)h(w)m(ord)h(follo)m(wing)i(the)f
+g(refers)150 1431 y(to)e(the)g(standard)e(output)h(\(\014le)h
+(descriptor)f(1\).)275 1559 y(The)h(w)m(ord)h(follo)m(wing)i(the)f
(redirection)g(op)s(erator)f(in)g(the)h(follo)m(wing)h(descriptions,)f
-(unless)e(other-)150 866 y(wise)21 b(noted,)i(is)e(sub)5
+(unless)e(other-)150 1669 y(wise)21 b(noted,)i(is)e(sub)5
b(jected)21 b(to)h(brace)f(expansion,)i(tilde)f(expansion,)h(parameter)
-e(expansion,)i(command)150 975 y(substitution,)31 b(arithmetic)h
+e(expansion,)i(command)150 1778 y(substitution,)31 b(arithmetic)h
(expansion,)f(quote)h(remo)m(v)-5 b(al,)33 b(\014lename)e(expansion,)g
-(and)f(w)m(ord)h(splitting.)150 1085 y(If)f(it)h(expands)e(to)i(more)g
+(and)f(w)m(ord)h(splitting.)150 1888 y(If)f(it)h(expands)e(to)i(more)g
(than)f(one)h(w)m(ord,)f(Bash)h(rep)s(orts)e(an)h(error.)275
-1213 y(Note)h(that)g(the)g(order)f(of)g(redirections)h(is)g
+2016 y(Note)h(that)g(the)g(order)f(of)g(redirections)h(is)g
(signi\014can)m(t.)41 b(F)-8 b(or)31 b(example,)h(the)e(command)390
-1342 y Fs(ls)47 b(>)h Fj(dirlist)56 b Fs(2>&1)150 1470
+2144 y Fs(ls)47 b(>)h Fj(dirlist)56 b Fs(2>&1)150 2271
y Ft(directs)28 b(b)s(oth)f(standard)g(output)g(\(\014le)h(descriptor)f
(1\))i(and)e(standard)f(error)i(\(\014le)g(descriptor)f(2\))h(to)h(the)
-150 1580 y(\014le)h Fq(dirlist)p Ft(,)h(while)f(the)h(command)390
-1708 y Fs(ls)47 b(2>&1)g(>)g Fj(dirlist)150 1836 y Ft(directs)34
+150 2381 y(\014le)h Fq(dirlist)p Ft(,)h(while)f(the)h(command)390
+2509 y Fs(ls)47 b(2>&1)g(>)g Fj(dirlist)150 2637 y Ft(directs)34
b(only)g(the)f(standard)g(output)g(to)h(\014le)g Fq(dirlist)p
Ft(,)h(b)s(ecause)e(the)h(standard)f(error)g(w)m(as)h(duplicated)150
-1946 y(as)d(standard)e(output)h(b)s(efore)g(the)h(standard)e(output)h
-(w)m(as)h(redirected)g(to)g Fq(dirlist)p Ft(.)275 2074
+2746 y(as)d(standard)e(output)h(b)s(efore)g(the)h(standard)e(output)h
+(w)m(as)h(redirected)g(to)g Fq(dirlist)p Ft(.)275 2874
y(Bash)26 b(handles)f(sev)m(eral)j(\014lenames)e(sp)s(ecially)h(when)f
(they)g(are)g(used)g(in)g(redirections,)i(as)e(describ)s(ed)150
-2184 y(in)k(the)h(follo)m(wing)g(table:)150 2331 y Fs(/dev/fd/)p
-Fj(fd)630 2441 y Ft(If)f Fq(fd)j Ft(is)d(a)h(v)-5 b(alid)31
+2984 y(in)k(the)h(follo)m(wing)g(table:)150 3130 y Fs(/dev/fd/)p
+Fj(fd)630 3240 y Ft(If)f Fq(fd)j Ft(is)d(a)h(v)-5 b(alid)31
b(in)m(teger,)h(\014le)e(descriptor)h Fq(fd)i Ft(is)d(duplicated.)150
-2588 y Fs(/dev/stdin)630 2698 y Ft(File)i(descriptor)e(0)h(is)f
-(duplicated.)150 2845 y Fs(/dev/stdout)630 2954 y Ft(File)i(descriptor)
-e(1)h(is)f(duplicated.)150 3102 y Fs(/dev/stderr)630
-3211 y Ft(File)i(descriptor)e(2)h(is)f(duplicated.)150
-3359 y Fs(/dev/tcp/)p Fj(host)11 b Fs(/)p Fj(port)630
-3468 y Ft(If)41 b Fq(host)i Ft(is)f(a)g(v)-5 b(alid)41
+3386 y Fs(/dev/stdin)630 3495 y Ft(File)i(descriptor)e(0)h(is)f
+(duplicated.)150 3641 y Fs(/dev/stdout)630 3751 y Ft(File)i(descriptor)
+e(1)h(is)f(duplicated.)150 3897 y Fs(/dev/stderr)630
+4007 y Ft(File)i(descriptor)e(2)h(is)f(duplicated.)150
+4153 y Fs(/dev/tcp/)p Fj(host)11 b Fs(/)p Fj(port)630
+4262 y Ft(If)41 b Fq(host)i Ft(is)f(a)g(v)-5 b(alid)41
b(hostname)h(or)f(In)m(ternet)h(address,)i(and)c Fq(p)s(ort)j
-Ft(is)f(an)f(in)m(teger)i(p)s(ort)630 3578 y(n)m(um)m(b)s(er)h(or)h
+Ft(is)f(an)f(in)m(teger)i(p)s(ort)630 4372 y(n)m(um)m(b)s(er)h(or)h
(service)h(name,)j(Bash)c(attempts)h(to)g(op)s(en)f(a)g(TCP)g
-(connection)h(to)g(the)630 3687 y(corresp)s(onding)29
-b(so)s(c)m(k)m(et.)150 3835 y Fs(/dev/udp/)p Fj(host)11
-b Fs(/)p Fj(port)630 3944 y Ft(If)41 b Fq(host)i Ft(is)f(a)g(v)-5
+(connection)h(to)g(the)630 4482 y(corresp)s(onding)29
+b(so)s(c)m(k)m(et.)150 4628 y Fs(/dev/udp/)p Fj(host)11
+b Fs(/)p Fj(port)630 4737 y Ft(If)41 b Fq(host)i Ft(is)f(a)g(v)-5
b(alid)41 b(hostname)h(or)f(In)m(ternet)h(address,)i(and)c
-Fq(p)s(ort)j Ft(is)f(an)f(in)m(teger)i(p)s(ort)630 4054
+Fq(p)s(ort)j Ft(is)f(an)f(in)m(teger)i(p)s(ort)630 4847
y(n)m(um)m(b)s(er)g(or)i(service)g(name,)k(Bash)c(attempts)g(to)h(op)s
-(en)e(a)h(UDP)g(connection)g(to)h(the)630 4163 y(corresp)s(onding)29
-b(so)s(c)m(k)m(et.)275 4311 y(A)h(failure)h(to)g(op)s(en)e(or)i(create)
+(en)e(a)h(UDP)g(connection)g(to)h(the)630 4956 y(corresp)s(onding)29
+b(so)s(c)m(k)m(et.)275 5103 y(A)h(failure)h(to)g(op)s(en)e(or)i(create)
h(a)e(\014le)h(causes)g(the)f(redirection)h(to)g(fail.)275
-4439 y(Redirections)f(using)e(\014le)i(descriptors)f(greater)h(than)f
+5230 y(Redirections)f(using)e(\014le)i(descriptors)f(greater)h(than)f
(9)h(should)e(b)s(e)h(used)f(with)h(care,)h(as)g(they)f(ma)m(y)150
-4548 y(con\015ict)i(with)f(\014le)h(descriptors)f(the)g(shell)h(uses)f
-(in)m(ternally)-8 b(.)150 4754 y Fk(3.6.1)63 b(Redirecting)40
-b(Input)275 4992 y Ft(Redirection)35 b(of)f(input)g(causes)g(the)h
+5340 y(con\015ict)i(with)f(\014le)h(descriptors)f(the)g(shell)h(uses)f
+(in)m(ternally)-8 b(.)p eop end
+%%Page: 26 32
+TeXDict begin 26 31 bop 150 -116 a Ft(26)2572 b(Bash)31
+b(Reference)g(Man)m(ual)150 299 y Fk(3.6.1)63 b(Redirecting)40
+b(Input)275 552 y Ft(Redirection)35 b(of)f(input)g(causes)g(the)h
(\014le)f(whose)g(name)h(results)f(from)g(the)g(expansion)g(of)h
-Fq(w)m(ord)i Ft(to)150 5102 y(b)s(e)d(op)s(ened)g(for)g(reading)g(on)h
+Fq(w)m(ord)i Ft(to)150 662 y(b)s(e)d(op)s(ened)g(for)g(reading)g(on)h
(\014le)f(descriptor)h Fs(n)p Ft(,)g(or)g(the)f(standard)g(input)g
(\(\014le)h(descriptor)f(0\))h(if)g Fs(n)f Ft(is)150
-5212 y(not)d(sp)s(eci\014ed.)275 5340 y(The)e(general)j(format)e(for)h
-(redirecting)g(input)e(is:)p eop end
-%%Page: 26 32
-TeXDict begin 26 31 bop 150 -116 a Ft(26)2572 b(Bash)31
-b(Reference)g(Man)m(ual)390 299 y Fs([)p Fj(n)11 b Fs(]<)p
-Fj(word)150 534 y Fk(3.6.2)63 b(Redirecting)40 b(Output)275
-783 y Ft(Redirection)31 b(of)f(output)g(causes)h(the)g(\014le)f(whose)g
-(name)h(results)f(from)f(the)i(expansion)f(of)h Fq(w)m(ord)i
-Ft(to)150 893 y(b)s(e)e(op)s(ened)g(for)g(writing)h(on)f(\014le)h
-(descriptor)f Fq(n)p Ft(,)h(or)f(the)h(standard)f(output)g(\(\014le)h
-(descriptor)f(1\))h(if)g Fq(n)f Ft(is)150 1002 y(not)j(sp)s(eci\014ed.)
-50 b(If)33 b(the)h(\014le)g(do)s(es)f(not)h(exist)g(it)g(is)g(created;)
-j(if)c(it)h(do)s(es)g(exist)g(it)g(is)g(truncated)g(to)g(zero)150
-1112 y(size.)275 1252 y(The)29 b(general)j(format)e(for)h(redirecting)g
-(output)f(is:)390 1392 y Fs([)p Fj(n)11 b Fs(]>[|])p
-Fj(word)275 1532 y Ft(If)30 b(the)h(redirection)g(op)s(erator)g(is)g(`)
-p Fs(>)p Ft(',)g(and)f(the)h Fs(noclobber)d Ft(option)j(to)g(the)g
-Fs(set)f Ft(builtin)g(has)h(b)s(een)150 1641 y(enabled,)i(the)f
+772 y(not)d(sp)s(eci\014ed.)275 916 y(The)e(general)j(format)e(for)h
+(redirecting)g(input)e(is:)390 1060 y Fs([)p Fj(n)11
+b Fs(]<)p Fj(word)150 1303 y Fk(3.6.2)63 b(Redirecting)40
+b(Output)275 1557 y Ft(Redirection)31 b(of)f(output)g(causes)h(the)g
+(\014le)f(whose)g(name)h(results)f(from)f(the)i(expansion)f(of)h
+Fq(w)m(ord)i Ft(to)150 1666 y(b)s(e)e(op)s(ened)g(for)g(writing)h(on)f
+(\014le)h(descriptor)f Fq(n)p Ft(,)h(or)f(the)h(standard)f(output)g
+(\(\014le)h(descriptor)f(1\))h(if)g Fq(n)f Ft(is)150
+1776 y(not)j(sp)s(eci\014ed.)50 b(If)33 b(the)h(\014le)g(do)s(es)f(not)
+h(exist)g(it)g(is)g(created;)j(if)c(it)h(do)s(es)g(exist)g(it)g(is)g
+(truncated)g(to)g(zero)150 1885 y(size.)275 2029 y(The)29
+b(general)j(format)e(for)h(redirecting)g(output)f(is:)390
+2173 y Fs([)p Fj(n)11 b Fs(]>[|])p Fj(word)275 2317 y
+Ft(If)30 b(the)h(redirection)g(op)s(erator)g(is)g(`)p
+Fs(>)p Ft(',)g(and)f(the)h Fs(noclobber)d Ft(option)j(to)g(the)g
+Fs(set)f Ft(builtin)g(has)h(b)s(een)150 2427 y(enabled,)i(the)f
(redirection)h(will)f(fail)h(if)f(the)g(\014le)g(whose)g(name)g
(results)g(from)g(the)g(expansion)g(of)g Fq(w)m(ord)150
-1751 y Ft(exists)f(and)f(is)g(a)h(regular)g(\014le.)41
+2537 y Ft(exists)f(and)f(is)g(a)h(regular)g(\014le.)41
b(If)30 b(the)h(redirection)g(op)s(erator)g(is)f(`)p
Fs(>|)p Ft(',)h(or)f(the)h(redirection)g(op)s(erator)g(is)150
-1861 y(`)p Fs(>)p Ft(')36 b(and)f(the)g Fs(noclobber)e
+2646 y(`)p Fs(>)p Ft(')36 b(and)f(the)g Fs(noclobber)e
Ft(option)j(is)g(not)g(enabled,)h(the)e(redirection)h(is)g(attempted)g
-(ev)m(en)h(if)e(the)h(\014le)150 1970 y(named)30 b(b)m(y)g
-Fq(w)m(ord)k Ft(exists.)150 2205 y Fk(3.6.3)63 b(App)s(ending)42
-b(Redirected)e(Output)275 2455 y Ft(Redirection)29 b(of)g(output)f(in)g
+(ev)m(en)h(if)e(the)h(\014le)150 2756 y(named)30 b(b)m(y)g
+Fq(w)m(ord)k Ft(exists.)150 2999 y Fk(3.6.3)63 b(App)s(ending)42
+b(Redirected)e(Output)275 3253 y Ft(Redirection)29 b(of)g(output)f(in)g
(this)h(fashion)f(causes)h(the)g(\014le)g(whose)f(name)h(results)f
-(from)g(the)h(expan-)150 2564 y(sion)34 b(of)f Fq(w)m(ord)k
+(from)g(the)h(expan-)150 3362 y(sion)34 b(of)f Fq(w)m(ord)k
Ft(to)e(b)s(e)e(op)s(ened)g(for)g(app)s(ending)f(on)i(\014le)f
(descriptor)h Fq(n)p Ft(,)g(or)g(the)f(standard)g(output)g(\(\014le)150
-2674 y(descriptor)d(1\))h(if)g Fq(n)f Ft(is)g(not)h(sp)s(eci\014ed.)40
+3472 y(descriptor)d(1\))h(if)g Fq(n)f Ft(is)g(not)h(sp)s(eci\014ed.)40
b(If)29 b(the)i(\014le)f(do)s(es)h(not)f(exist)h(it)g(is)g(created.)275
-2814 y(The)e(general)j(format)e(for)h(app)s(ending)e(output)h(is:)390
-2954 y Fs([)p Fj(n)11 b Fs(]>>)p Fj(word)150 3188 y Fk(3.6.4)63
+3616 y(The)e(general)j(format)e(for)h(app)s(ending)e(output)h(is:)390
+3760 y Fs([)p Fj(n)11 b Fs(]>>)p Fj(word)150 4003 y Fk(3.6.4)63
b(Redirecting)40 b(Standard)h(Output)g(and)g(Standard)g(Error)275
-3438 y Ft(Bash)31 b(allo)m(ws)h(b)s(oth)e(the)h(standard)g(output)f
+4257 y Ft(Bash)31 b(allo)m(ws)h(b)s(oth)e(the)h(standard)g(output)f
(\(\014le)i(descriptor)e(1\))i(and)e(the)i(standard)e(error)g(output)
-150 3548 y(\(\014le)d(descriptor)g(2\))h(to)f(b)s(e)g(redirected)g(to)h
+150 4366 y(\(\014le)d(descriptor)g(2\))h(to)f(b)s(e)g(redirected)g(to)h
(the)f(\014le)g(whose)f(name)h(is)g(the)g(expansion)g(of)g
-Fq(w)m(ord)j Ft(with)d(this)150 3657 y(construct.)275
-3797 y(There)i(are)i(t)m(w)m(o)h(formats)e(for)h(redirecting)g
-(standard)e(output)h(and)g(standard)f(error:)390 3937
-y Fs(&>)p Fj(word)150 4077 y Ft(and)390 4217 y Fs(>&)p
-Fj(word)150 4357 y Ft(Of)h(the)g(t)m(w)m(o)i(forms,)e(the)h(\014rst)e
+Fq(w)m(ord)j Ft(with)d(this)150 4476 y(construct.)275
+4620 y(There)i(are)i(t)m(w)m(o)h(formats)e(for)h(redirecting)g
+(standard)e(output)h(and)g(standard)f(error:)390 4764
+y Fs(&>)p Fj(word)150 4908 y Ft(and)390 5052 y Fs(>&)p
+Fj(word)150 5196 y Ft(Of)h(the)g(t)m(w)m(o)i(forms,)e(the)h(\014rst)e
(is)i(preferred.)39 b(This)30 b(is)g(seman)m(tically)j(equiv)-5
-b(alen)m(t)32 b(to)390 4496 y Fs(>)p Fj(word)57 b Fs(2>&1)150
-4731 y Fk(3.6.5)63 b(Here)41 b(Do)s(cumen)m(ts)275 4981
-y Ft(This)28 b(t)m(yp)s(e)h(of)h(redirection)g(instructs)f(the)g(shell)
-h(to)g(read)f(input)f(from)h(the)g(curren)m(t)h(source)f(un)m(til)h(a)
-150 5090 y(line)h(con)m(taining)g(only)g Fq(w)m(ord)i
-Ft(\(with)d(no)h(trailing)g(blanks\))f(is)g(seen.)41
-b(All)31 b(of)f(the)h(lines)f(read)g(up)f(to)i(that)150
-5200 y(p)s(oin)m(t)f(are)h(then)f(used)g(as)g(the)h(standard)f(input)f
-(for)h(a)h(command.)275 5340 y(The)e(format)i(of)g(here-do)s(cumen)m
-(ts)f(is:)p eop end
+b(alen)m(t)32 b(to)390 5340 y Fs(>)p Fj(word)57 b Fs(2>&1)p
+eop end
%%Page: 27 33
TeXDict begin 27 32 bop 150 -116 a Ft(Chapter)30 b(3:)41
-b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(27)390 299
-y Fs(<<[)p Fp(\000)p Fs(])p Fj(word)772 408 y(here-document)390
-518 y(delimiter)275 655 y Ft(No)33 b(parameter)h(expansion,)g(command)f
+b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(27)150 299
+y Fk(3.6.5)63 b(Here)41 b(Do)s(cumen)m(ts)275 560 y Ft(This)28
+b(t)m(yp)s(e)h(of)h(redirection)g(instructs)f(the)g(shell)h(to)g(read)f
+(input)f(from)h(the)g(curren)m(t)h(source)f(un)m(til)h(a)150
+669 y(line)h(con)m(taining)g(only)g Fq(w)m(ord)i Ft(\(with)d(no)h
+(trailing)g(blanks\))f(is)g(seen.)41 b(All)31 b(of)f(the)h(lines)f
+(read)g(up)f(to)i(that)150 779 y(p)s(oin)m(t)f(are)h(then)f(used)g(as)g
+(the)h(standard)f(input)f(for)h(a)h(command.)275 930
+y(The)e(format)i(of)g(here-do)s(cumen)m(ts)f(is:)390
+1081 y Fs(<<[)p Fp(\000)p Fs(])p Fj(word)772 1191 y(here-document)390
+1300 y(delimiter)275 1451 y Ft(No)j(parameter)h(expansion,)g(command)f
(substitution,)h(arithmetic)h(expansion,)f(or)f(\014lename)g(ex-)150
-765 y(pansion)i(is)g(p)s(erformed)e(on)i Fq(w)m(ord)p
+1561 y(pansion)i(is)g(p)s(erformed)e(on)i Fq(w)m(ord)p
Ft(.)55 b(If)34 b(an)m(y)i(c)m(haracters)g(in)f Fq(w)m(ord)j
Ft(are)d(quoted,)i(the)e Fq(delimiter)43 b Ft(is)35 b(the)150
-874 y(result)40 b(of)h(quote)g(remo)m(v)-5 b(al)42 b(on)e
+1670 y(result)40 b(of)h(quote)g(remo)m(v)-5 b(al)42 b(on)e
Fq(w)m(ord)p Ft(,)j(and)d(the)g(lines)h(in)f(the)h(here-do)s(cumen)m(t)
-f(are)h(not)f(expanded.)150 984 y(If)32 b Fq(w)m(ord)k
+f(are)h(not)f(expanded.)150 1780 y(If)32 b Fq(w)m(ord)k
Ft(is)d(unquoted,)f(all)i(lines)f(of)f(the)h(here-do)s(cumen)m(t)g(are)
g(sub)5 b(jected)32 b(to)i(parameter)f(expansion,)150
-1093 y(command)25 b(substitution,)g(and)g(arithmetic)h(expansion.)39
+1890 y(command)25 b(substitution,)g(and)g(arithmetic)h(expansion.)39
b(In)24 b(the)h(latter)h(case,)h(the)e(c)m(haracter)i(sequence)150
-1203 y Fs(\\newline)h Ft(is)j(ignored,)f(and)g(`)p Fs(\\)p
+1999 y Fs(\\newline)h Ft(is)j(ignored,)f(and)g(`)p Fs(\\)p
Ft(')h(m)m(ust)f(b)s(e)g(used)f(to)i(quote)g(the)g(c)m(haracters)h(`)p
Fs(\\)p Ft(',)e(`)p Fs($)p Ft(',)h(and)f(`)p Fs(`)p Ft('.)275
-1340 y(If)21 b(the)i(redirection)g(op)s(erator)g(is)f(`)p
+2150 y(If)21 b(the)i(redirection)g(op)s(erator)g(is)f(`)p
Fs(<<-)p Ft(',)i(then)e(all)h(leading)g(tab)g(c)m(haracters)h(are)e
-(stripp)s(ed)f(from)h(input)150 1449 y(lines)33 b(and)f(the)h(line)h
+(stripp)s(ed)f(from)h(input)150 2260 y(lines)33 b(and)f(the)h(line)h
(con)m(taining)g Fq(delimiter)p Ft(.)49 b(This)32 b(allo)m(ws)i
(here-do)s(cumen)m(ts)f(within)f(shell)i(scripts)e(to)150
-1559 y(b)s(e)e(inden)m(ted)g(in)g(a)h(natural)f(fashion.)150
-1788 y Fk(3.6.6)63 b(Here)41 b(Strings)275 2034 y Ft(A)30
+2369 y(b)s(e)e(inden)m(ted)g(in)g(a)h(natural)f(fashion.)150
+2627 y Fk(3.6.6)63 b(Here)41 b(Strings)275 2888 y Ft(A)30
b(v)-5 b(arian)m(t)31 b(of)g(here)f(do)s(cumen)m(ts,)g(the)h(format)g
-(is:)390 2171 y Fs(<<<)47 b Fj(word)275 2308 y Ft(The)29
+(is:)390 3039 y Fs(<<<)47 b Fj(word)275 3190 y Ft(The)29
b Fq(w)m(ord)34 b Ft(is)c(expanded)g(and)g(supplied)f(to)i(the)f
-(command)h(on)f(its)h(standard)e(input.)150 2537 y Fk(3.6.7)63
-b(Duplicating)41 b(File)g(Descriptors)275 2783 y Ft(The)29
-b(redirection)i(op)s(erator)390 2920 y Fs([)p Fj(n)11
-b Fs(]<&)p Fj(word)150 3057 y Ft(is)35 b(used)e(to)j(duplicate)f(input)
+(command)h(on)f(its)h(standard)e(input.)150 3447 y Fk(3.6.7)63
+b(Duplicating)41 b(File)g(Descriptors)275 3708 y Ft(The)29
+b(redirection)i(op)s(erator)390 3859 y Fs([)p Fj(n)11
+b Fs(]<&)p Fj(word)150 4010 y Ft(is)35 b(used)e(to)j(duplicate)f(input)
f(\014le)g(descriptors.)53 b(If)34 b Fq(w)m(ord)k Ft(expands)c(to)h
-(one)g(or)g(more)g(digits,)h(the)f(\014le)150 3167 y(descriptor)e
+(one)g(or)g(more)g(digits,)h(the)f(\014le)150 4120 y(descriptor)e
(denoted)h(b)m(y)g Fq(n)f Ft(is)g(made)h(to)g(b)s(e)f(a)h(cop)m(y)g(of)
g(that)g(\014le)g(descriptor.)50 b(If)33 b(the)h(digits)g(in)f
-Fq(w)m(ord)150 3276 y Ft(do)c(not)h(sp)s(ecify)f(a)h(\014le)f
+Fq(w)m(ord)150 4229 y Ft(do)c(not)h(sp)s(ecify)f(a)h(\014le)f
(descriptor)g(op)s(en)g(for)g(input,)g(a)h(redirection)g(error)f(o)s
(ccurs.)40 b(If)29 b Fq(w)m(ord)j Ft(ev)-5 b(aluates)150
-3386 y(to)31 b(`)p Fs(-)p Ft(',)g(\014le)g(descriptor)g
+4339 y(to)31 b(`)p Fs(-)p Ft(',)g(\014le)g(descriptor)g
Fq(n)f Ft(is)g(closed.)43 b(If)30 b Fq(n)g Ft(is)g(not)h(sp)s
(eci\014ed,)f(the)h(standard)f(input)g(\(\014le)h(descriptor)f(0\))150
-3495 y(is)g(used.)275 3632 y(The)f(op)s(erator)390 3769
-y Fs([)p Fj(n)11 b Fs(]>&)p Fj(word)150 3906 y Ft(is)40
+4448 y(is)g(used.)275 4599 y(The)f(op)s(erator)390 4751
+y Fs([)p Fj(n)11 b Fs(]>&)p Fj(word)150 4902 y Ft(is)40
b(used)g(similarly)h(to)g(duplicate)f(output)g(\014le)h(descriptors.)70
b(If)40 b Fq(n)f Ft(is)i(not)f(sp)s(eci\014ed,)i(the)f(standard)150
-4016 y(output)30 b(\(\014le)g(descriptor)g(1\))h(is)f(used.)39
+5011 y(output)30 b(\(\014le)g(descriptor)g(1\))h(is)f(used.)39
b(If)30 b(the)g(digits)h(in)e Fq(w)m(ord)34 b Ft(do)29
b(not)i(sp)s(ecify)e(a)i(\014le)f(descriptor)g(op)s(en)150
-4125 y(for)38 b(output,)i(a)e(redirection)h(error)f(o)s(ccurs.)63
+5121 y(for)38 b(output,)i(a)e(redirection)h(error)f(o)s(ccurs.)63
b(As)38 b(a)h(sp)s(ecial)f(case,)k(if)c Fq(n)f Ft(is)h(omitted,)k(and)
-37 b Fq(w)m(ord)k Ft(do)s(es)150 4235 y(not)28 b(expand)f(to)i(one)f
+37 b Fq(w)m(ord)k Ft(do)s(es)150 5230 y(not)28 b(expand)f(to)i(one)f
(or)f(more)h(digits,)i(the)e(standard)e(output)i(and)f(standard)g
-(error)g(are)i(redirected)f(as)150 4344 y(describ)s(ed)h(previously)-8
-b(.)150 4573 y Fk(3.6.8)63 b(Mo)m(ving)41 b(File)h(Descriptors)275
-4820 y Ft(The)29 b(redirection)i(op)s(erator)390 4957
-y Fs([)p Fj(n)11 b Fs(]<&)p Fj(digit)p Fs(-)150 5094
-y Ft(mo)m(v)m(es)33 b(the)f(\014le)g(descriptor)f Fq(digit)k
-Ft(to)d(\014le)g(descriptor)g Fq(n)p Ft(,)f(or)h(the)g(standard)f
-(input)f(\(\014le)j(descriptor)e(0\))150 5203 y(if)f
-Fq(n)g Ft(is)h(not)f(sp)s(eci\014ed.)40 b Fq(digit)33
-b Ft(is)e(closed)g(after)g(b)s(eing)f(duplicated)g(to)h
-Fq(n)p Ft(.)275 5340 y(Similarly)-8 b(,)31 b(the)f(redirection)h(op)s
-(erator)p eop end
+(error)g(are)i(redirected)f(as)150 5340 y(describ)s(ed)h(previously)-8
+b(.)p eop end
%%Page: 28 34
TeXDict begin 28 33 bop 150 -116 a Ft(28)2572 b(Bash)31
-b(Reference)g(Man)m(ual)390 299 y Fs([)p Fj(n)11 b Fs(]>&)p
-Fj(digit)p Fs(-)150 450 y Ft(mo)m(v)m(es)29 b(the)g(\014le)f
-(descriptor)f Fq(digit)k Ft(to)e(\014le)f(descriptor)g
-Fq(n)p Ft(,)g(or)g(the)g(standard)f(output)h(\(\014le)g(descriptor)g
-(1\))150 559 y(if)i Fq(n)g Ft(is)h(not)f(sp)s(eci\014ed.)150
-816 y Fk(3.6.9)63 b(Op)s(ening)42 b(File)f(Descriptors)h(for)g(Reading)
-f(and)g(W)-10 b(riting)275 1076 y Ft(The)29 b(redirection)i(op)s
-(erator)390 1227 y Fs([)p Fj(n)11 b Fs(]<>)p Fj(word)150
-1378 y Ft(causes)39 b(the)g(\014le)g(whose)g(name)g(is)g(the)g
-(expansion)g(of)g Fq(w)m(ord)j Ft(to)d(b)s(e)g(op)s(ened)f(for)g(b)s
-(oth)h(reading)g(and)150 1488 y(writing)33 b(on)f(\014le)h(descriptor)f
-Fq(n)p Ft(,)h(or)g(on)f(\014le)h(descriptor)g(0)g(if)f
-Fq(n)g Ft(is)h(not)g(sp)s(eci\014ed.)47 b(If)32 b(the)h(\014le)f(do)s
-(es)h(not)150 1597 y(exist,)e(it)g(is)g(created.)150
-1895 y Fr(3.7)68 b(Executing)46 b(Commands)150 2262 y
-Fk(3.7.1)63 b(Simple)41 b(Command)h(Expansion)275 2522
-y Ft(When)35 b(a)h(simple)f(command)h(is)f(executed,)j(the)e(shell)g(p)
-s(erforms)e(the)i(follo)m(wing)h(expansions,)f(as-)150
-2632 y(signmen)m(ts,)31 b(and)f(redirections,)h(from)f(left)h(to)g
-(righ)m(t.)199 2783 y(1.)61 b(The)38 b(w)m(ords)f(that)i(the)g(parser)e
+b(Reference)g(Man)m(ual)150 299 y Fk(3.6.8)63 b(Mo)m(ving)41
+b(File)h(Descriptors)275 542 y Ft(The)29 b(redirection)i(op)s(erator)
+390 675 y Fs([)p Fj(n)11 b Fs(]<&)p Fj(digit)p Fs(-)150
+808 y Ft(mo)m(v)m(es)33 b(the)f(\014le)g(descriptor)f
+Fq(digit)k Ft(to)d(\014le)g(descriptor)g Fq(n)p Ft(,)f(or)h(the)g
+(standard)f(input)f(\(\014le)j(descriptor)e(0\))150 918
+y(if)f Fq(n)g Ft(is)h(not)f(sp)s(eci\014ed.)40 b Fq(digit)33
+b Ft(is)e(closed)g(after)g(b)s(eing)f(duplicated)g(to)h
+Fq(n)p Ft(.)275 1051 y(Similarly)-8 b(,)31 b(the)f(redirection)h(op)s
+(erator)390 1184 y Fs([)p Fj(n)11 b Fs(]>&)p Fj(digit)p
+Fs(-)150 1317 y Ft(mo)m(v)m(es)29 b(the)g(\014le)f(descriptor)f
+Fq(digit)k Ft(to)e(\014le)f(descriptor)g Fq(n)p Ft(,)g(or)g(the)g
+(standard)f(output)h(\(\014le)g(descriptor)g(1\))150
+1427 y(if)i Fq(n)g Ft(is)h(not)f(sp)s(eci\014ed.)150
+1647 y Fk(3.6.9)63 b(Op)s(ening)42 b(File)f(Descriptors)h(for)g
+(Reading)f(and)g(W)-10 b(riting)275 1890 y Ft(The)29
+b(redirection)i(op)s(erator)390 2023 y Fs([)p Fj(n)11
+b Fs(]<>)p Fj(word)150 2157 y Ft(causes)39 b(the)g(\014le)g(whose)g
+(name)g(is)g(the)g(expansion)g(of)g Fq(w)m(ord)j Ft(to)d(b)s(e)g(op)s
+(ened)f(for)g(b)s(oth)h(reading)g(and)150 2266 y(writing)33
+b(on)f(\014le)h(descriptor)f Fq(n)p Ft(,)h(or)g(on)f(\014le)h
+(descriptor)g(0)g(if)f Fq(n)g Ft(is)h(not)g(sp)s(eci\014ed.)47
+b(If)32 b(the)h(\014le)f(do)s(es)h(not)150 2376 y(exist,)e(it)g(is)g
+(created.)150 2629 y Fr(3.7)68 b(Executing)46 b(Commands)150
+2959 y Fk(3.7.1)63 b(Simple)41 b(Command)h(Expansion)275
+3202 y Ft(When)35 b(a)h(simple)f(command)h(is)f(executed,)j(the)e
+(shell)g(p)s(erforms)e(the)i(follo)m(wing)h(expansions,)f(as-)150
+3312 y(signmen)m(ts,)31 b(and)f(redirections,)h(from)f(left)h(to)g
+(righ)m(t.)199 3445 y(1.)61 b(The)38 b(w)m(ords)f(that)i(the)g(parser)e
(has)h(mark)m(ed)g(as)h(v)-5 b(ariable)39 b(assignmen)m(ts)g(\(those)g
-(preceding)f(the)330 2892 y(command)30 b(name\))h(and)f(redirections)h
+(preceding)f(the)330 3554 y(command)30 b(name\))h(and)f(redirections)h
(are)f(sa)m(v)m(ed)i(for)e(later)h(pro)s(cessing.)199
-3035 y(2.)61 b(The)39 b(w)m(ords)g(that)i(are)f(not)g(v)-5
+3688 y(2.)61 b(The)39 b(w)m(ords)g(that)i(are)f(not)g(v)-5
b(ariable)40 b(assignmen)m(ts)h(or)e(redirections)i(are)f(expanded)f
-(\(see)h(Sec-)330 3144 y(tion)d(3.5)i([Shell)e(Expansions],)h(page)g
-(16\).)61 b(If)37 b(an)m(y)g(w)m(ords)f(remain)h(after)h(expansion,)h
-(the)e(\014rst)330 3254 y(w)m(ord)31 b(is)g(tak)m(en)h(to)g(b)s(e)f
+(\(see)h(Sec-)330 3797 y(tion)d(3.5)i([Shell)e(Expansions],)h(page)g
+(17\).)61 b(If)37 b(an)m(y)g(w)m(ords)f(remain)h(after)h(expansion,)h
+(the)e(\014rst)330 3907 y(w)m(ord)31 b(is)g(tak)m(en)h(to)g(b)s(e)f
(the)g(name)h(of)f(the)h(command)f(and)f(the)i(remaining)f(w)m(ords)g
-(are)g(the)h(argu-)330 3364 y(men)m(ts.)199 3506 y(3.)61
+(are)g(the)h(argu-)330 4016 y(men)m(ts.)199 4150 y(3.)61
b(Redirections)25 b(are)f(p)s(erformed)f(as)h(describ)s(ed)f(ab)s(o)m
-(v)m(e)i(\(see)g(Section)g(3.6)g([Redirections],)i(page)d(24\).)199
-3649 y(4.)61 b(The)25 b(text)h(after)f(the)g(`)p Fs(=)p
+(v)m(e)i(\(see)g(Section)g(3.6)g([Redirections],)i(page)d(25\).)199
+4283 y(4.)61 b(The)25 b(text)h(after)f(the)g(`)p Fs(=)p
Ft(')h(in)e(eac)m(h)j(v)-5 b(ariable)25 b(assignmen)m(t)h(undergo)s(es)
-e(tilde)i(expansion,)g(parameter)330 3759 y(expansion,)49
+e(tilde)i(expansion,)g(parameter)330 4392 y(expansion,)49
b(command)d(substitution,)j(arithmetic)d(expansion,)k(and)45
-b(quote)h(remo)m(v)-5 b(al)46 b(b)s(efore)330 3868 y(b)s(eing)30
-b(assigned)h(to)g(the)f(v)-5 b(ariable.)275 4052 y(If)32
+b(quote)h(remo)m(v)-5 b(al)46 b(b)s(efore)330 4502 y(b)s(eing)30
+b(assigned)h(to)g(the)f(v)-5 b(ariable.)275 4659 y(If)32
b(no)i(command)f(name)g(results,)h(the)g(v)-5 b(ariable)34
b(assignmen)m(ts)g(a\013ect)h(the)f(curren)m(t)f(shell)h(en)m(viron-)
-150 4162 y(men)m(t.)39 b(Otherwise,)27 b(the)e(v)-5 b(ariables)26
+150 4768 y(men)m(t.)39 b(Otherwise,)27 b(the)e(v)-5 b(ariables)26
b(are)g(added)f(to)h(the)f(en)m(vironmen)m(t)h(of)g(the)f(executed)h
-(command)g(and)150 4271 y(do)35 b(not)f(a\013ect)j(the)d(curren)m(t)h
+(command)g(and)150 4878 y(do)35 b(not)f(a\013ect)j(the)d(curren)m(t)h
(shell)g(en)m(vironmen)m(t.)54 b(If)34 b(an)m(y)h(of)g(the)f(assignmen)
-m(ts)i(attempts)f(to)h(assign)150 4381 y(a)j(v)-5 b(alue)39
+m(ts)i(attempts)f(to)h(assign)150 4988 y(a)j(v)-5 b(alue)39
b(to)g(a)g(readonly)f(v)-5 b(ariable,)42 b(an)c(error)g(o)s(ccurs,)j
(and)c(the)i(command)f(exits)h(with)g(a)f(non-zero)150
-4490 y(status.)275 4641 y(If)33 b(no)g(command)g(name)h(results,)g
+5097 y(status.)275 5230 y(If)33 b(no)g(command)g(name)h(results,)g
(redirections)g(are)g(p)s(erformed,)f(but)g(do)h(not)f(a\013ect)i(the)f
-(curren)m(t)150 4751 y(shell)d(en)m(vironmen)m(t.)41
+(curren)m(t)150 5340 y(shell)d(en)m(vironmen)m(t.)41
b(A)30 b(redirection)h(error)f(causes)h(the)g(command)f(to)h(exit)g
-(with)f(a)h(non-zero)g(status.)275 4902 y(If)26 b(there)i(is)f(a)h
-(command)f(name)h(left)g(after)g(expansion,)g(execution)h(pro)s(ceeds)e
-(as)g(describ)s(ed)f(b)s(elo)m(w.)150 5011 y(Otherwise,)39
-b(the)e(command)g(exits.)62 b(If)37 b(one)g(of)g(the)h(expansions)f
-(con)m(tained)h(a)g(command)f(substitu-)150 5121 y(tion,)i(the)d(exit)h
-(status)g(of)f(the)h(command)f(is)h(the)f(exit)h(status)g(of)f(the)h
-(last)g(command)f(substitution)150 5230 y(p)s(erformed.)55
-b(If)35 b(there)g(w)m(ere)h(no)g(command)f(substitutions,)i(the)e
-(command)h(exits)g(with)f(a)h(status)g(of)150 5340 y(zero.)p
-eop end
+(with)f(a)h(non-zero)g(status.)p eop end
%%Page: 29 35
TeXDict begin 29 34 bop 150 -116 a Ft(Chapter)30 b(3:)41
-b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(29)150 299
-y Fk(3.7.2)63 b(Command)41 b(Searc)m(h)f(and)h(Execution)275
-544 y Ft(After)35 b(a)h(command)f(has)h(b)s(een)e(split)i(in)m(to)g(w)m
-(ords,)h(if)e(it)h(results)g(in)f(a)h(simple)f(command)g(and)g(an)150
-653 y(optional)d(list)f(of)f(argumen)m(ts,)h(the)g(follo)m(wing)g
-(actions)h(are)f(tak)m(en.)199 789 y(1.)61 b(If)24 b(the)g(command)g
-(name)g(con)m(tains)i(no)e(slashes,)i(the)e(shell)h(attempts)g(to)g(lo)
-s(cate)h(it.)39 b(If)24 b(there)g(exists)330 898 y(a)h(shell)g
-(function)f(b)m(y)g(that)h(name,)h(that)f(function)f(is)h(in)m(v)m(ok)m
-(ed)h(as)e(describ)s(ed)g(in)g(Section)h(3.3)h([Shell)330
-1008 y(F)-8 b(unctions],)31 b(page)h(13.)199 1143 y(2.)61
-b(If)41 b(the)g(name)h(do)s(es)f(not)g(matc)m(h)i(a)e(function,)j(the)e
-(shell)f(searc)m(hes)i(for)e(it)h(in)f(the)g(list)h(of)g(shell)330
-1252 y(builtins.)e(If)30 b(a)h(matc)m(h)g(is)f(found,)g(that)h(builtin)
-f(is)g(in)m(v)m(ok)m(ed.)199 1387 y(3.)61 b(If)40 b(the)g(name)h(is)f
-(neither)h(a)f(shell)h(function)f(nor)g(a)g(builtin,)j(and)d(con)m
-(tains)h(no)g(slashes,)i(Bash)330 1497 y(searc)m(hes)c(eac)m(h)g
-(elemen)m(t)g(of)g Fs($PATH)d Ft(for)i(a)g(directory)h(con)m(taining)g
-(an)f(executable)h(\014le)f(b)m(y)g(that)330 1606 y(name.)56
-b(Bash)36 b(uses)f(a)h(hash)e(table)j(to)f(remem)m(b)s(er)f(the)h(full)
-f(pathnames)g(of)h(executable)h(\014les)e(to)330 1716
+b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(29)275 299
+y(If)26 b(there)i(is)f(a)h(command)f(name)h(left)g(after)g(expansion,)g
+(execution)h(pro)s(ceeds)e(as)g(describ)s(ed)f(b)s(elo)m(w.)150
+408 y(Otherwise,)39 b(the)e(command)g(exits.)62 b(If)37
+b(one)g(of)g(the)h(expansions)f(con)m(tained)h(a)g(command)f(substitu-)
+150 518 y(tion,)i(the)d(exit)h(status)g(of)f(the)h(command)f(is)h(the)f
+(exit)h(status)g(of)f(the)h(last)g(command)f(substitution)150
+628 y(p)s(erformed.)55 b(If)35 b(there)g(w)m(ere)h(no)g(command)f
+(substitutions,)i(the)e(command)h(exits)g(with)f(a)h(status)g(of)150
+737 y(zero.)150 978 y Fk(3.7.2)63 b(Command)41 b(Searc)m(h)f(and)h
+(Execution)275 1231 y Ft(After)35 b(a)h(command)f(has)h(b)s(een)e
+(split)i(in)m(to)g(w)m(ords,)h(if)e(it)h(results)g(in)f(a)h(simple)f
+(command)g(and)g(an)150 1340 y(optional)d(list)f(of)f(argumen)m(ts,)h
+(the)g(follo)m(wing)g(actions)h(are)f(tak)m(en.)199 1483
+y(1.)61 b(If)24 b(the)g(command)g(name)g(con)m(tains)i(no)e(slashes,)i
+(the)e(shell)h(attempts)g(to)g(lo)s(cate)h(it.)39 b(If)24
+b(there)g(exists)330 1593 y(a)h(shell)g(function)f(b)m(y)g(that)h
+(name,)h(that)f(function)f(is)h(in)m(v)m(ok)m(ed)h(as)e(describ)s(ed)g
+(in)g(Section)h(3.3)h([Shell)330 1702 y(F)-8 b(unctions],)31
+b(page)h(14.)199 1841 y(2.)61 b(If)41 b(the)g(name)h(do)s(es)f(not)g
+(matc)m(h)i(a)e(function,)j(the)e(shell)f(searc)m(hes)i(for)e(it)h(in)f
+(the)g(list)h(of)g(shell)330 1950 y(builtins.)e(If)30
+b(a)h(matc)m(h)g(is)f(found,)g(that)h(builtin)f(is)g(in)m(v)m(ok)m(ed.)
+199 2089 y(3.)61 b(If)40 b(the)g(name)h(is)f(neither)h(a)f(shell)h
+(function)f(nor)g(a)g(builtin,)j(and)d(con)m(tains)h(no)g(slashes,)i
+(Bash)330 2199 y(searc)m(hes)c(eac)m(h)g(elemen)m(t)g(of)g
+Fs($PATH)d Ft(for)i(a)g(directory)h(con)m(taining)g(an)f(executable)h
+(\014le)f(b)m(y)g(that)330 2308 y(name.)56 b(Bash)36
+b(uses)f(a)h(hash)e(table)j(to)f(remem)m(b)s(er)f(the)h(full)f
+(pathnames)g(of)h(executable)h(\014les)e(to)330 2418
y(a)m(v)m(oid)e(m)m(ultiple)f Fs(PATH)f Ft(searc)m(hes)i(\(see)f(the)g
(description)g(of)f Fs(hash)g Ft(in)g(Section)i(4.1)f([Bourne)g(Shell)
-330 1826 y(Builtins],)37 b(page)f(33\).)55 b(A)35 b(full)g(searc)m(h)g
+330 2528 y(Builtins],)37 b(page)f(33\).)55 b(A)35 b(full)g(searc)m(h)g
(of)g(the)g(directories)h(in)f Fs($PATH)e Ft(is)i(p)s(erformed)f(only)h
-(if)g(the)330 1935 y(command)c(is)g(not)g(found)f(in)g(the)i(hash)e
+(if)g(the)330 2637 y(command)c(is)g(not)g(found)f(in)g(the)i(hash)e
(table.)43 b(If)31 b(the)g(searc)m(h)h(is)f(unsuccessful,)f(the)h
-(shell)g(prin)m(ts)330 2045 y(an)f(error)g(message)i(and)e(returns)f
-(an)h(exit)h(status)g(of)f(127.)199 2180 y(4.)61 b(If)33
+(shell)g(prin)m(ts)330 2747 y(an)f(error)g(message)i(and)e(returns)f
+(an)h(exit)h(status)g(of)f(127.)199 2885 y(4.)61 b(If)33
b(the)g(searc)m(h)h(is)g(successful,)g(or)f(if)g(the)h(command)f(name)g
-(con)m(tains)i(one)f(or)f(more)g(slashes,)i(the)330 2289
+(con)m(tains)i(one)f(or)f(more)g(slashes,)i(the)330 2995
y(shell)g(executes)h(the)f(named)f(program)g(in)h(a)g(separate)h
(execution)f(en)m(vironmen)m(t.)55 b(Argumen)m(t)35 b(0)330
-2399 y(is)30 b(set)h(to)h(the)e(name)h(giv)m(en,)g(and)f(the)h
+3105 y(is)30 b(set)h(to)h(the)e(name)h(giv)m(en,)g(and)f(the)h
(remaining)f(argumen)m(ts)h(to)g(the)g(command)f(are)h(set)g(to)g(the)
-330 2508 y(argumen)m(ts)g(supplied,)e(if)h(an)m(y)-8
-b(.)199 2643 y(5.)61 b(If)35 b(this)h(execution)h(fails)f(b)s(ecause)g
+330 3214 y(argumen)m(ts)g(supplied,)e(if)h(an)m(y)-8
+b(.)199 3353 y(5.)61 b(If)35 b(this)h(execution)h(fails)f(b)s(ecause)g
(the)f(\014le)h(is)g(not)g(in)f(executable)j(format,)f(and)e(the)h
-(\014le)g(is)g(not)330 2753 y(a)d(directory)-8 b(,)34
+(\014le)g(is)g(not)330 3462 y(a)d(directory)-8 b(,)34
b(it)f(is)g(assumed)e(to)j(b)s(e)d(a)i Fq(shell)g(script)h
Ft(and)e(the)h(shell)f(executes)i(it)f(as)g(describ)s(ed)e(in)330
-2862 y(Section)g(3.8)h([Shell)e(Scripts],)g(page)i(32.)199
-2997 y(6.)61 b(If)38 b(the)h(command)f(w)m(as)h(not)g(b)s(egun)e(async)
+3572 y(Section)g(3.8)h([Shell)e(Scripts],)g(page)i(32.)199
+3711 y(6.)61 b(If)38 b(the)h(command)f(w)m(as)h(not)g(b)s(egun)e(async)
m(hronously)-8 b(,)42 b(the)c(shell)h(w)m(aits)h(for)e(the)h(command)f
-(to)330 3107 y(complete)32 b(and)e(collects)i(its)f(exit)g(status.)150
-3333 y Fk(3.7.3)63 b(Command)41 b(Execution)f(En)m(vironmen)m(t)275
-3578 y Ft(The)29 b(shell)i(has)f(an)g Fq(execution)i(en)m(vironmen)m(t)
+(to)330 3820 y(complete)32 b(and)e(collects)i(its)f(exit)g(status.)150
+4061 y Fk(3.7.3)63 b(Command)41 b(Execution)f(En)m(vironmen)m(t)275
+4314 y Ft(The)29 b(shell)i(has)f(an)g Fq(execution)i(en)m(vironmen)m(t)
p Ft(,)f(whic)m(h)f(consists)h(of)g(the)f(follo)m(wing:)225
-3713 y Fp(\017)60 b Ft(op)s(en)32 b(\014les)g(inherited)g(b)m(y)h(the)f
+4456 y Fp(\017)60 b Ft(op)s(en)32 b(\014les)g(inherited)g(b)m(y)h(the)f
(shell)h(at)g(in)m(v)m(o)s(cation,)j(as)c(mo)s(di\014ed)g(b)m(y)g
-(redirections)h(supplied)e(to)330 3822 y(the)g Fs(exec)e
-Ft(builtin)225 3957 y Fp(\017)60 b Ft(the)28 b(curren)m(t)g(w)m(orking)
+(redirections)h(supplied)e(to)330 4566 y(the)g Fs(exec)e
+Ft(builtin)225 4705 y Fp(\017)60 b Ft(the)28 b(curren)m(t)g(w)m(orking)
h(directory)g(as)f(set)h(b)m(y)f Fs(cd)p Ft(,)g Fs(pushd)p
Ft(,)g(or)g Fs(popd)p Ft(,)g(or)g(inherited)g(b)m(y)g(the)h(shell)f(at)
-330 4067 y(in)m(v)m(o)s(cation)225 4202 y Fp(\017)60
+330 4814 y(in)m(v)m(o)s(cation)225 4953 y Fp(\017)60
b Ft(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)g(as)h(set)g(b)m(y)f
Fs(umask)f Ft(or)h(inherited)g(from)g(the)h(shell's)f(paren)m(t)225
-4337 y Fp(\017)60 b Ft(curren)m(t)30 b(traps)g(set)h(b)m(y)f
-Fs(trap)225 4472 y Fp(\017)60 b Ft(shell)30 b(parameters)f(that)h(are)g
+5092 y Fp(\017)60 b Ft(curren)m(t)30 b(traps)g(set)h(b)m(y)f
+Fs(trap)225 5230 y Fp(\017)60 b Ft(shell)30 b(parameters)f(that)h(are)g
(set)g(b)m(y)g(v)-5 b(ariable)30 b(assignmen)m(t)g(or)g(with)f
-Fs(set)f Ft(or)i(inherited)f(from)g(the)330 4581 y(shell's)i(paren)m(t)
-f(in)g(the)h(en)m(vironmen)m(t)225 4716 y Fp(\017)60
-b Ft(shell)44 b(functions)f(de\014ned)f(during)h(execution)i(or)e
-(inherited)h(from)f(the)h(shell's)g(paren)m(t)f(in)h(the)330
-4826 y(en)m(vironmen)m(t)225 4961 y Fp(\017)60 b Ft(options)33
-b(enabled)g(at)h(in)m(v)m(o)s(cation)h(\(either)f(b)m(y)f(default)g(or)
-g(with)g(command-line)g(argumen)m(ts\))h(or)330 5070
-y(b)m(y)c Fs(set)225 5205 y Fp(\017)60 b Ft(options)31
-b(enabled)f(b)m(y)g Fs(shopt)225 5340 y Fp(\017)60 b
-Ft(shell)31 b(aliases)g(de\014ned)f(with)g Fs(alias)f
-Ft(\(see)i(Section)g(6.6)h([Aliases],)g(page)f(71\))p
-eop end
+Fs(set)f Ft(or)i(inherited)f(from)g(the)330 5340 y(shell's)i(paren)m(t)
+f(in)g(the)h(en)m(vironmen)m(t)p eop end
%%Page: 30 36
TeXDict begin 30 35 bop 150 -116 a Ft(30)2572 b(Bash)31
-b(Reference)g(Man)m(ual)225 299 y Fp(\017)60 b Ft(v)-5
-b(arious)50 b(pro)s(cess)f Fl(id)p Ft(s,)55 b(including)49
-b(those)i(of)e(bac)m(kground)h(jobs)f(\(see)i(Section)g(3.2.3)g
-([Lists],)330 408 y(page)31 b(9\),)g(the)g(v)-5 b(alue)31
-b(of)f Fs($$)p Ft(,)g(and)g(the)h(v)-5 b(alue)31 b(of)f
-Fs($PPID)275 562 y Ft(When)k(a)g(simple)h(command)f(other)g(than)g(a)h
-(builtin)f(or)g(shell)h(function)f(is)g(to)h(b)s(e)f(executed,)i(it)f
-(is)150 672 y(in)m(v)m(ok)m(ed)25 b(in)f(a)g(separate)h(execution)g(en)
-m(vironmen)m(t)g(that)f(consists)g(of)h(the)f(follo)m(wing.)40
-b(Unless)24 b(otherwise)150 782 y(noted,)31 b(the)f(v)-5
-b(alues)31 b(are)g(inherited)f(from)g(the)g(shell.)225
-913 y Fp(\017)60 b Ft(the)31 b(shell's)h(op)s(en)e(\014les,)i(plus)e
+b(Reference)g(Man)m(ual)225 299 y Fp(\017)60 b Ft(shell)44
+b(functions)f(de\014ned)f(during)h(execution)i(or)e(inherited)h(from)f
+(the)h(shell's)g(paren)m(t)f(in)h(the)330 408 y(en)m(vironmen)m(t)225
+547 y Fp(\017)60 b Ft(options)33 b(enabled)g(at)h(in)m(v)m(o)s(cation)h
+(\(either)f(b)m(y)f(default)g(or)g(with)g(command-line)g(argumen)m
+(ts\))h(or)330 657 y(b)m(y)c Fs(set)225 796 y Fp(\017)60
+b Ft(options)31 b(enabled)f(b)m(y)g Fs(shopt)225 934
+y Fp(\017)60 b Ft(shell)31 b(aliases)g(de\014ned)f(with)g
+Fs(alias)f Ft(\(see)i(Section)g(6.6)h([Aliases],)g(page)f(73\))225
+1073 y Fp(\017)60 b Ft(v)-5 b(arious)50 b(pro)s(cess)f
+Fl(id)p Ft(s,)55 b(including)49 b(those)i(of)e(bac)m(kground)h(jobs)f
+(\(see)i(Section)g(3.2.3)g([Lists],)330 1183 y(page)31
+b(9\),)g(the)g(v)-5 b(alue)31 b(of)f Fs($$)p Ft(,)g(and)g(the)h(v)-5
+b(alue)31 b(of)f Fs($PPID)275 1355 y Ft(When)k(a)g(simple)h(command)f
+(other)g(than)g(a)h(builtin)f(or)g(shell)h(function)f(is)g(to)h(b)s(e)f
+(executed,)i(it)f(is)150 1465 y(in)m(v)m(ok)m(ed)25 b(in)f(a)g
+(separate)h(execution)g(en)m(vironmen)m(t)g(that)f(consists)g(of)h(the)
+f(follo)m(wing.)40 b(Unless)24 b(otherwise)150 1574 y(noted,)31
+b(the)f(v)-5 b(alues)31 b(are)g(inherited)f(from)g(the)g(shell.)225
+1717 y Fp(\017)60 b Ft(the)31 b(shell's)h(op)s(en)e(\014les,)i(plus)e
(an)m(y)h(mo)s(di\014cations)h(and)e(additions)h(sp)s(eci\014ed)g(b)m
-(y)g(redirections)g(to)330 1023 y(the)g(command)225 1155
+(y)g(redirections)g(to)330 1827 y(the)g(command)225 1965
y Fp(\017)60 b Ft(the)31 b(curren)m(t)f(w)m(orking)g(directory)225
-1286 y Fp(\017)60 b Ft(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)225
-1418 y Fp(\017)60 b Ft(shell)32 b(v)-5 b(ariables)33
+2104 y Fp(\017)60 b Ft(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)225
+2243 y Fp(\017)60 b Ft(shell)32 b(v)-5 b(ariables)33
b(and)e(functions)h(mark)m(ed)g(for)g(exp)s(ort,)g(along)h(with)f(v)-5
-b(ariables)32 b(exp)s(orted)g(for)g(the)330 1528 y(command,)e(passed)g
+b(ariables)32 b(exp)s(orted)g(for)g(the)330 2353 y(command,)e(passed)g
(in)g(the)h(en)m(vironmen)m(t)g(\(see)g(Section)g(3.7.4)i([En)m
-(vironmen)m(t],)e(page)g(30\))225 1659 y Fp(\017)60 b
+(vironmen)m(t],)e(page)g(30\))225 2491 y Fp(\017)60 b
Ft(traps)31 b(caugh)m(t)h(b)m(y)f(the)g(shell)h(are)f(reset)h(to)g(the)
f(v)-5 b(alues)32 b(inherited)e(from)h(the)g(shell's)h(paren)m(t,)g
-(and)330 1769 y(traps)e(ignored)h(b)m(y)f(the)g(shell)h(are)g(ignored)
-275 1923 y(A)41 b(command)g(in)m(v)m(ok)m(ed)i(in)e(this)h(separate)g
+(and)330 2601 y(traps)e(ignored)h(b)m(y)f(the)g(shell)h(are)g(ignored)
+275 2773 y(A)41 b(command)g(in)m(v)m(ok)m(ed)i(in)e(this)h(separate)g
(en)m(vironmen)m(t)g(cannot)g(a\013ect)h(the)f(shell's)g(execution)150
-2032 y(en)m(vironmen)m(t.)275 2164 y(Command)35 b(substitution,)j
+2883 y(en)m(vironmen)m(t.)275 3026 y(Command)35 b(substitution,)j
(commands)e(group)s(ed)f(with)i(paren)m(theses,)h(and)e(async)m
-(hronous)g(com-)150 2274 y(mands)c(are)h(in)m(v)m(ok)m(ed)i(in)d(a)i
+(hronous)g(com-)150 3135 y(mands)c(are)h(in)m(v)m(ok)m(ed)i(in)d(a)i
(subshell)e(en)m(vironmen)m(t)h(that)h(is)f(a)g(duplicate)h(of)f(the)g
-(shell)g(en)m(vironmen)m(t,)150 2383 y(except)i(that)g(traps)f(caugh)m
+(shell)g(en)m(vironmen)m(t,)150 3245 y(except)i(that)g(traps)f(caugh)m
(t)h(b)m(y)f(the)h(shell)f(are)g(reset)h(to)g(the)f(v)-5
b(alues)35 b(that)g(the)f(shell)h(inherited)e(from)150
-2493 y(its)g(paren)m(t)f(at)h(in)m(v)m(o)s(cation.)49
+3355 y(its)g(paren)m(t)f(at)h(in)m(v)m(o)s(cation.)49
b(Builtin)32 b(commands)g(that)h(are)g(in)m(v)m(ok)m(ed)h(as)e(part)g
-(of)h(a)f(pip)s(eline)g(are)h(also)150 2602 y(executed)41
+(of)h(a)f(pip)s(eline)g(are)h(also)150 3464 y(executed)41
b(in)f(a)h(subshell)e(en)m(vironmen)m(t.)72 b(Changes)40
b(made)g(to)h(the)g(subshell)e(en)m(vironmen)m(t)i(cannot)150
-2712 y(a\013ect)32 b(the)f(shell's)f(execution)i(en)m(vironmen)m(t.)275
-2844 y(If)38 b(a)h(command)f(is)g(follo)m(w)m(ed)j(b)m(y)d(a)h(`)p
+3574 y(a\013ect)32 b(the)f(shell's)f(execution)i(en)m(vironmen)m(t.)275
+3717 y(If)38 b(a)h(command)f(is)g(follo)m(w)m(ed)j(b)m(y)d(a)h(`)p
Fs(&)p Ft(')g(and)f(job)g(con)m(trol)i(is)e(not)h(activ)m(e,)k(the)c
-(default)g(standard)150 2953 y(input)e(for)g(the)h(command)f(is)h(the)g
+(default)g(standard)150 3826 y(input)e(for)g(the)h(command)f(is)h(the)g
(empt)m(y)g(\014le)f(`)p Fs(/dev/null)p Ft('.)61 b(Otherwise,)39
-b(the)f(in)m(v)m(ok)m(ed)h(command)150 3063 y(inherits)30
+b(the)f(in)m(v)m(ok)m(ed)h(command)150 3936 y(inherits)30
b(the)h(\014le)f(descriptors)g(of)h(the)f(calling)i(shell)f(as)f(mo)s
-(di\014ed)g(b)m(y)g(redirections.)150 3279 y Fk(3.7.4)63
-b(En)m(vironmen)m(t)275 3520 y Ft(When)31 b(a)g(program)h(is)f(in)m(v)m
+(di\014ed)g(b)m(y)g(redirections.)150 4177 y Fk(3.7.4)63
+b(En)m(vironmen)m(t)275 4430 y Ft(When)31 b(a)g(program)h(is)f(in)m(v)m
(ok)m(ed)i(it)f(is)f(giv)m(en)h(an)g(arra)m(y)g(of)f(strings)g(called)i
-(the)e Fq(en)m(vironmen)m(t)p Ft(.)45 b(This)150 3630
+(the)e Fq(en)m(vironmen)m(t)p Ft(.)45 b(This)150 4539
y(is)30 b(a)h(list)g(of)g(name-v)-5 b(alue)31 b(pairs,)f(of)h(the)f
-(form)g Fs(name=value)p Ft(.)275 3761 y(Bash)39 b(pro)m(vides)g(sev)m
+(form)g Fs(name=value)p Ft(.)275 4682 y(Bash)39 b(pro)m(vides)g(sev)m
(eral)i(w)m(a)m(ys)g(to)f(manipulate)f(the)h(en)m(vironmen)m(t.)69
-b(On)38 b(in)m(v)m(o)s(cation,)44 b(the)c(shell)150 3871
+b(On)38 b(in)m(v)m(o)s(cation,)44 b(the)c(shell)150 4792
y(scans)g(its)h(o)m(wn)f(en)m(vironmen)m(t)h(and)f(creates)i(a)f
(parameter)f(for)g(eac)m(h)i(name)e(found,)i(automatically)150
-3981 y(marking)26 b(it)g(for)g Fq(exp)s(ort)h Ft(to)g(c)m(hild)f(pro)s
+4902 y(marking)26 b(it)g(for)g Fq(exp)s(ort)h Ft(to)g(c)m(hild)f(pro)s
(cesses.)39 b(Executed)26 b(commands)g(inherit)g(the)g(en)m(vironmen)m
-(t.)39 b(The)150 4090 y Fs(export)c Ft(and)i(`)p Fs(declare)29
+(t.)39 b(The)150 5011 y Fs(export)c Ft(and)i(`)p Fs(declare)29
b(-x)p Ft(')36 b(commands)h(allo)m(w)i(parameters)e(and)g(functions)g
-(to)h(b)s(e)e(added)h(to)h(and)150 4200 y(deleted)21
+(to)h(b)s(e)e(added)h(to)h(and)150 5121 y(deleted)21
b(from)f(the)h(en)m(vironmen)m(t.)38 b(If)20 b(the)h(v)-5
b(alue)21 b(of)g(a)g(parameter)g(in)f(the)g(en)m(vironmen)m(t)i(is)e
-(mo)s(di\014ed,)i(the)150 4309 y(new)31 b(v)-5 b(alue)32
+(mo)s(di\014ed,)i(the)150 5230 y(new)31 b(v)-5 b(alue)32
b(b)s(ecomes)f(part)h(of)f(the)h(en)m(vironmen)m(t,)g(replacing)h(the)e
(old.)44 b(The)31 b(en)m(vironmen)m(t)h(inherited)150
-4419 y(b)m(y)f(an)m(y)g(executed)h(command)f(consists)g(of)g(the)g
+5340 y(b)m(y)f(an)m(y)g(executed)h(command)f(consists)g(of)g(the)g
(shell's)h(initial)g(en)m(vironmen)m(t,)g(whose)f(v)-5
-b(alues)31 b(ma)m(y)h(b)s(e)150 4529 y(mo)s(di\014ed)26
-b(in)g(the)h(shell,)h(less)f(an)m(y)g(pairs)f(remo)m(v)m(ed)i(b)m(y)f
-(the)g Fs(unset)e Ft(and)h(`)p Fs(export)j(-n)p Ft(')e(commands,)g
-(plus)150 4638 y(an)m(y)k(additions)f(via)h(the)g Fs(export)d
-Ft(and)i(`)p Fs(declare)f(-x)p Ft(')h(commands.)275 4770
-y(The)j(en)m(vironmen)m(t)i(for)f(an)m(y)g(simple)h(command)f(or)g
+b(alues)31 b(ma)m(y)h(b)s(e)p eop end
+%%Page: 31 37
+TeXDict begin 31 36 bop 150 -116 a Ft(Chapter)30 b(3:)41
+b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(31)150 299
+y(mo)s(di\014ed)26 b(in)g(the)h(shell,)h(less)f(an)m(y)g(pairs)f(remo)m
+(v)m(ed)i(b)m(y)f(the)g Fs(unset)e Ft(and)h(`)p Fs(export)j(-n)p
+Ft(')e(commands,)g(plus)150 408 y(an)m(y)k(additions)f(via)h(the)g
+Fs(export)d Ft(and)i(`)p Fs(declare)f(-x)p Ft(')h(commands.)275
+546 y(The)j(en)m(vironmen)m(t)i(for)f(an)m(y)g(simple)h(command)f(or)g
(function)g(ma)m(y)g(b)s(e)g(augmen)m(ted)h(temp)s(orarily)150
-4879 y(b)m(y)c(pre\014xing)e(it)i(with)g(parameter)g(assignmen)m(ts,)h
+656 y(b)m(y)c(pre\014xing)e(it)i(with)g(parameter)g(assignmen)m(ts,)h
(as)e(describ)s(ed)g(in)g(Section)i(3.4)g([Shell)e(P)m(arameters],)150
-4989 y(page)g(15.)41 b(These)29 b(assignmen)m(t)i(statemen)m(ts)g
+765 y(page)g(15.)41 b(These)29 b(assignmen)m(t)i(statemen)m(ts)g
(a\013ect)f(only)g(the)f(en)m(vironmen)m(t)h(seen)g(b)m(y)f(that)h
-(command.)275 5121 y(If)h(the)i(`)p Fs(-k)p Ft(')f(option)h(is)f(set)h
+(command.)275 903 y(If)h(the)i(`)p Fs(-k)p Ft(')f(option)h(is)f(set)h
(\(see)g(Section)g(4.3)g([The)f(Set)h(Builtin],)g(page)g(50\),)h(then)e
-(all)h(parameter)150 5230 y(assignmen)m(ts)d(are)g(placed)h(in)e(the)h
+(all)h(parameter)150 1012 y(assignmen)m(ts)d(are)g(placed)h(in)e(the)h
(en)m(vironmen)m(t)g(for)g(a)g(command,)f(not)h(just)f(those)i(that)f
-(precede)g(the)150 5340 y(command)g(name.)p eop end
-%%Page: 31 37
-TeXDict begin 31 36 bop 150 -116 a Ft(Chapter)30 b(3:)41
-b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(31)275 299
-y(When)29 b(Bash)h(in)m(v)m(ok)m(es)i(an)e(external)g(command,)g(the)g
-(v)-5 b(ariable)31 b(`)p Fs($_)p Ft(')f(is)g(set)g(to)h(the)f(full)f
-(path)h(name)150 408 y(of)h(the)f(command)g(and)g(passed)g(to)h(that)g
-(command)f(in)g(its)h(en)m(vironmen)m(t.)150 643 y Fk(3.7.5)63
-b(Exit)40 b(Status)275 892 y Ft(F)-8 b(or)32 b(the)g(shell's)g(purp)s
+(precede)g(the)150 1122 y(command)g(name.)275 1259 y(When)f(Bash)h(in)m
+(v)m(ok)m(es)i(an)e(external)g(command,)g(the)g(v)-5
+b(ariable)31 b(`)p Fs($_)p Ft(')f(is)g(set)g(to)h(the)f(full)f(path)h
+(name)150 1369 y(of)h(the)f(command)g(and)g(passed)g(to)h(that)g
+(command)f(in)g(its)h(en)m(vironmen)m(t.)150 1599 y Fk(3.7.5)63
+b(Exit)40 b(Status)275 1846 y Ft(F)-8 b(or)32 b(the)g(shell's)g(purp)s
(oses,)e(a)j(command)e(whic)m(h)h(exits)g(with)g(a)g(zero)g(exit)h
-(status)f(has)f(succeeded.)150 1001 y(A)e(non-zero)h(exit)g(status)g
+(status)f(has)f(succeeded.)150 1956 y(A)e(non-zero)h(exit)g(status)g
(indicates)g(failure.)40 b(This)28 b(seemingly)i(coun)m(ter-in)m
-(tuitiv)m(e)i(sc)m(heme)e(is)f(used)g(so)150 1111 y(there)34
+(tuitiv)m(e)i(sc)m(heme)e(is)f(used)g(so)150 2065 y(there)34
b(is)g(one)g(w)m(ell-de\014ned)g(w)m(a)m(y)g(to)h(indicate)g(success)f
(and)f(a)h(v)-5 b(ariet)m(y)35 b(of)f(w)m(a)m(ys)h(to)f(indicate)h(v)-5
-b(arious)150 1220 y(failure)38 b(mo)s(des.)62 b(When)38
+b(arious)150 2175 y(failure)38 b(mo)s(des.)62 b(When)38
b(a)g(command)f(terminates)i(on)e(a)i(fatal)g(signal)f(whose)g(n)m(um)m
-(b)s(er)e(is)i Fq(N)p Ft(,)g(Bash)150 1330 y(uses)30
+(b)s(er)e(is)i Fq(N)p Ft(,)g(Bash)150 2284 y(uses)30
b(the)g(v)-5 b(alue)31 b(128)p Fs(+)p Fq(N)42 b Ft(as)30
-b(the)h(exit)g(status.)275 1469 y(If)k(a)h(command)g(is)g(not)g(found,)
+b(the)h(exit)g(status.)275 2422 y(If)k(a)h(command)g(is)g(not)g(found,)
g(the)g(c)m(hild)h(pro)s(cess)e(created)i(to)g(execute)g(it)g(returns)d
-(a)j(status)f(of)150 1579 y(127.)42 b(If)30 b(a)h(command)f(is)g(found)
+(a)j(status)f(of)150 2532 y(127.)42 b(If)30 b(a)h(command)f(is)g(found)
f(but)h(is)g(not)h(executable,)h(the)f(return)e(status)i(is)f(126.)275
-1719 y(If)i(a)i(command)f(fails)g(b)s(ecause)g(of)h(an)f(error)f
+2669 y(If)i(a)i(command)f(fails)g(b)s(ecause)g(of)h(an)f(error)f
(during)g(expansion)h(or)g(redirection,)i(the)f(exit)g(status)150
-1828 y(is)c(greater)i(than)e(zero.)275 1968 y(The)38
+2779 y(is)c(greater)i(than)e(zero.)275 2916 y(The)38
b(exit)h(status)g(is)g(used)f(b)m(y)g(the)h(Bash)g(conditional)h
-(commands)e(\(see)h(Section)h(3.2.4.2)h([Con-)150 2077
+(commands)e(\(see)h(Section)h(3.2.4.2)h([Con-)150 3026
y(ditional)i(Constructs],)h(page)f(10\))g(and)e(some)i(of)f(the)g(list)
g(constructs)g(\(see)h(Section)f(3.2.3)i([Lists],)150
-2187 y(page)31 b(9\).)275 2326 y(All)40 b(of)g(the)h(Bash)f(builtins)f
+3135 y(page)31 b(9\).)275 3273 y(All)40 b(of)g(the)h(Bash)f(builtins)f
(return)g(an)h(exit)h(status)g(of)f(zero)h(if)f(they)g(succeed)g(and)g
-(a)g(non-zero)150 2436 y(status)34 b(on)f(failure,)i(so)f(they)g(ma)m
+(a)g(non-zero)150 3382 y(status)34 b(on)f(failure,)i(so)f(they)g(ma)m
(y)g(b)s(e)f(used)g(b)m(y)g(the)h(conditional)h(and)e(list)h
-(constructs.)50 b(All)35 b(builtins)150 2545 y(return)29
+(constructs.)50 b(All)35 b(builtins)150 3492 y(return)29
b(an)i(exit)g(status)g(of)f(2)h(to)g(indicate)g(incorrect)h(usage.)150
-2780 y Fk(3.7.6)63 b(Signals)275 3029 y Ft(When)27 b(Bash)h(is)h(in)m
+3722 y Fk(3.7.6)63 b(Signals)275 3969 y Ft(When)27 b(Bash)h(is)h(in)m
(teractiv)m(e,)i(in)d(the)g(absence)h(of)f(an)m(y)g(traps,)h(it)f
(ignores)h Fs(SIGTERM)d Ft(\(so)i(that)h(`)p Fs(kill)150
-3138 y(0)p Ft(')k(do)s(es)g(not)g(kill)g(an)g(in)m(teractiv)m(e)j
+4079 y(0)p Ft(')k(do)s(es)g(not)g(kill)g(an)g(in)m(teractiv)m(e)j
(shell\),)f(and)d Fs(SIGINT)f Ft(is)i(caugh)m(t)h(and)f(handled)f(\(so)
-h(that)h(the)f Fs(wait)150 3248 y Ft(builtin)24 b(is)h(in)m
+h(that)h(the)f Fs(wait)150 4188 y Ft(builtin)24 b(is)h(in)m
(terruptible\).)39 b(When)24 b(Bash)g(receiv)m(es)j(a)d
Fs(SIGINT)p Ft(,)h(it)g(breaks)f(out)h(of)f(an)m(y)h(executing)h(lo)s
-(ops.)150 3357 y(In)31 b(all)h(cases,)h(Bash)f(ignores)g
+(ops.)150 4298 y(In)31 b(all)h(cases,)h(Bash)f(ignores)g
Fs(SIGQUIT)p Ft(.)42 b(If)32 b(job)f(con)m(trol)i(is)e(in)h(e\013ect)h
-(\(see)f(Chapter)f(7)h([Job)g(Con)m(trol],)150 3467 y(page)f(81\),)h
+(\(see)f(Chapter)f(7)h([Job)g(Con)m(trol],)150 4407 y(page)f(83\),)h
(Bash)e(ignores)h Fs(SIGTTIN)p Ft(,)e Fs(SIGTTOU)p Ft(,)g(and)g
-Fs(SIGTSTP)p Ft(.)275 3606 y(Non-builtin)i(commands)g(started)g(b)m(y)g
+Fs(SIGTSTP)p Ft(.)275 4545 y(Non-builtin)i(commands)g(started)g(b)m(y)g
(Bash)h(ha)m(v)m(e)g(signal)g(handlers)e(set)i(to)g(the)g(v)-5
-b(alues)31 b(inherited)150 3716 y(b)m(y)37 b(the)h(shell)g(from)f(its)h
+b(alues)31 b(inherited)150 4655 y(b)m(y)37 b(the)h(shell)g(from)f(its)h
(paren)m(t.)62 b(When)38 b(job)f(con)m(trol)i(is)e(not)h(in)f
-(e\013ect,)k(async)m(hronous)c(commands)150 3826 y(ignore)f
+(e\013ect,)k(async)m(hronous)c(commands)150 4764 y(ignore)f
Fs(SIGINT)e Ft(and)h Fs(SIGQUIT)e Ft(in)j(addition)f(to)i(these)f
(inherited)f(handlers.)55 b(Commands)35 b(run)f(as)i(a)150
-3935 y(result)27 b(of)h(command)f(substitution)h(ignore)g(the)g(k)m
+4874 y(result)27 b(of)h(command)f(substitution)h(ignore)g(the)g(k)m
(eyb)s(oard-generated)g(job)g(con)m(trol)h(signals)f
-Fs(SIGTTIN)p Ft(,)150 4045 y Fs(SIGTTOU)p Ft(,)h(and)g
-Fs(SIGTSTP)p Ft(.)275 4184 y(The)h(shell)i(exits)g(b)m(y)f(default)g
+Fs(SIGTTIN)p Ft(,)150 4983 y Fs(SIGTTOU)p Ft(,)h(and)g
+Fs(SIGTSTP)p Ft(.)275 5121 y(The)h(shell)i(exits)g(b)m(y)f(default)g
(up)s(on)f(receipt)i(of)f(a)h Fs(SIGHUP)p Ft(.)42 b(Before)32
-b(exiting,)h(an)e(in)m(teractiv)m(e)j(shell)150 4294
+b(exiting,)h(an)e(in)m(teractiv)m(e)j(shell)150 5230
y(resends)41 b(the)i Fs(SIGHUP)e Ft(to)i(all)g(jobs,)i(running)c(or)h
(stopp)s(ed.)76 b(Stopp)s(ed)41 b(jobs)h(are)h(sen)m(t)g
-Fs(SIGCONT)d Ft(to)150 4403 y(ensure)32 b(that)h(they)g(receiv)m(e)i
+Fs(SIGCONT)d Ft(to)150 5340 y(ensure)32 b(that)h(they)g(receiv)m(e)i
(the)e Fs(SIGHUP)p Ft(.)47 b(T)-8 b(o)33 b(prev)m(en)m(t)g(the)g(shell)
-g(from)g(sending)f(the)h Fs(SIGHUP)e Ft(signal)150 4513
-y(to)i(a)g(particular)g(job,)g(it)g(should)f(b)s(e)g(remo)m(v)m(ed)h
-(from)g(the)f(jobs)g(table)i(with)e(the)h Fs(disown)e
-Ft(builtin)h(\(see)150 4623 y(Section)f(7.2)g([Job)f(Con)m(trol)h
-(Builtins],)g(page)g(82\))h(or)e(mark)m(ed)g(to)h(not)f(receiv)m(e)i
-Fs(SIGHUP)d Ft(using)h Fs(disown)150 4732 y(-h)p Ft(.)275
-4872 y(If)h(the)h Fs(huponexit)d Ft(shell)k(option)f(has)g(b)s(een)f
-(set)h(with)g Fs(shopt)e Ft(\(see)j(Section)g(4.2)g([Bash)f(Builtins],)
-150 4981 y(page)f(39\),)h(Bash)e(sends)g(a)h Fs(SIGHUP)d
-Ft(to)j(all)h(jobs)e(when)f(an)h(in)m(teractiv)m(e)j(login)f(shell)e
-(exits.)275 5121 y(If)38 b(Bash)h(is)g(w)m(aiting)h(for)f(a)g(command)f
-(to)i(complete)g(and)e(receiv)m(es)j(a)e(signal)h(for)e(whic)m(h)h(a)g
-(trap)150 5230 y(has)c(b)s(een)f(set,)i(the)f(trap)g(will)g(not)g(b)s
-(e)f(executed)i(un)m(til)f(the)g(command)f(completes.)55
-b(When)35 b(Bash)g(is)150 5340 y(w)m(aiting)j(for)f(an)g(async)m
-(hronous)g(command)g(via)h(the)f Fs(wait)f Ft(builtin,)i(the)g
-(reception)g(of)f(a)g(signal)h(for)p eop end
+g(from)g(sending)f(the)h Fs(SIGHUP)e Ft(signal)p eop
+end
%%Page: 32 38
TeXDict begin 32 37 bop 150 -116 a Ft(32)2572 b(Bash)31
-b(Reference)g(Man)m(ual)150 299 y(whic)m(h)k(a)g(trap)g(has)g(b)s(een)f
-(set)h(will)h(cause)f(the)g Fs(wait)f Ft(builtin)h(to)g(return)f
-(immediately)i(with)f(an)g(exit)150 408 y(status)c(greater)g(than)f
-(128,)i(immediately)g(after)f(whic)m(h)f(the)h(trap)f(is)g(executed.)
-150 666 y Fr(3.8)68 b(Shell)45 b(Scripts)275 910 y Ft(A)c(shell)h
-(script)g(is)g(a)g(text)h(\014le)f(con)m(taining)h(shell)f(commands.)75
-b(When)41 b(suc)m(h)h(a)g(\014le)g(is)g(used)f(as)150
-1020 y(the)33 b(\014rst)f(non-option)h(argumen)m(t)h(when)e(in)m(v)m
-(oking)i(Bash,)g(and)e(neither)h(the)g(`)p Fs(-c)p Ft(')g(nor)g(`)p
-Fs(-s)p Ft(')f(option)i(is)150 1129 y(supplied)j(\(see)j(Section)g(6.1)
-f([In)m(v)m(oking)h(Bash],)h(page)f(63\),)i(Bash)d(reads)f(and)g
-(executes)i(commands)150 1239 y(from)31 b(the)h(\014le,)h(then)e
-(exits.)46 b(This)31 b(mo)s(de)g(of)h(op)s(eration)h(creates)g(a)f
-(non-in)m(teractiv)m(e)i(shell.)45 b(The)32 b(shell)150
-1348 y(\014rst)26 b(searc)m(hes)h(for)f(the)g(\014le)h(in)f(the)g
-(curren)m(t)h(directory)-8 b(,)28 b(and)e(lo)s(oks)g(in)h(the)f
-(directories)h(in)f Fs($PATH)f Ft(if)i(not)150 1458 y(found)i(there.)
-275 1592 y(When)34 b(Bash)h(runs)e(a)i(shell)g(script,)g(it)h(sets)f
-(the)f(sp)s(ecial)i(parameter)f Fs(0)f Ft(to)h(the)g(name)g(of)g(the)g
-(\014le,)150 1702 y(rather)k(than)g(the)h(name)f(of)h(the)f(shell,)j
+b(Reference)g(Man)m(ual)150 299 y(to)i(a)g(particular)g(job,)g(it)g
+(should)f(b)s(e)g(remo)m(v)m(ed)h(from)g(the)f(jobs)g(table)i(with)e
+(the)h Fs(disown)e Ft(builtin)h(\(see)150 408 y(Section)f(7.2)g([Job)f
+(Con)m(trol)h(Builtins],)g(page)g(84\))h(or)e(mark)m(ed)g(to)h(not)f
+(receiv)m(e)i Fs(SIGHUP)d Ft(using)h Fs(disown)150 518
+y(-h)p Ft(.)275 645 y(If)h(the)h Fs(huponexit)d Ft(shell)k(option)f
+(has)g(b)s(een)f(set)h(with)g Fs(shopt)e Ft(\(see)j(Section)g(4.2)g
+([Bash)f(Builtins],)150 754 y(page)f(39\),)h(Bash)e(sends)g(a)h
+Fs(SIGHUP)d Ft(to)j(all)h(jobs)e(when)f(an)h(in)m(teractiv)m(e)j(login)
+f(shell)e(exits.)275 881 y(If)38 b(Bash)h(is)g(w)m(aiting)h(for)f(a)g
+(command)f(to)i(complete)g(and)e(receiv)m(es)j(a)e(signal)h(for)e(whic)
+m(h)h(a)g(trap)150 991 y(has)c(b)s(een)f(set,)i(the)f(trap)g(will)g
+(not)g(b)s(e)f(executed)i(un)m(til)f(the)g(command)f(completes.)55
+b(When)35 b(Bash)g(is)150 1100 y(w)m(aiting)j(for)f(an)g(async)m
+(hronous)g(command)g(via)h(the)f Fs(wait)f Ft(builtin,)i(the)g
+(reception)g(of)f(a)g(signal)h(for)150 1210 y(whic)m(h)d(a)g(trap)g
+(has)g(b)s(een)f(set)h(will)h(cause)f(the)g Fs(wait)f
+Ft(builtin)h(to)g(return)f(immediately)i(with)f(an)g(exit)150
+1319 y(status)c(greater)g(than)f(128,)i(immediately)g(after)f(whic)m(h)
+f(the)h(trap)f(is)g(executed.)150 1553 y Fr(3.8)68 b(Shell)45
+b(Scripts)275 1789 y Ft(A)c(shell)h(script)g(is)g(a)g(text)h(\014le)f
+(con)m(taining)h(shell)f(commands.)75 b(When)41 b(suc)m(h)h(a)g(\014le)
+g(is)g(used)f(as)150 1899 y(the)33 b(\014rst)f(non-option)h(argumen)m
+(t)h(when)e(in)m(v)m(oking)i(Bash,)g(and)e(neither)h(the)g(`)p
+Fs(-c)p Ft(')g(nor)g(`)p Fs(-s)p Ft(')f(option)i(is)150
+2008 y(supplied)j(\(see)j(Section)g(6.1)f([In)m(v)m(oking)h(Bash],)h
+(page)f(65\),)i(Bash)d(reads)f(and)g(executes)i(commands)150
+2118 y(from)31 b(the)h(\014le,)h(then)e(exits.)46 b(This)31
+b(mo)s(de)g(of)h(op)s(eration)h(creates)g(a)f(non-in)m(teractiv)m(e)i
+(shell.)45 b(The)32 b(shell)150 2228 y(\014rst)26 b(searc)m(hes)h(for)f
+(the)g(\014le)h(in)f(the)g(curren)m(t)h(directory)-8
+b(,)28 b(and)e(lo)s(oks)g(in)h(the)f(directories)h(in)f
+Fs($PATH)f Ft(if)i(not)150 2337 y(found)i(there.)275
+2464 y(When)34 b(Bash)h(runs)e(a)i(shell)g(script,)g(it)h(sets)f(the)f
+(sp)s(ecial)i(parameter)f Fs(0)f Ft(to)h(the)g(name)g(of)g(the)g
+(\014le,)150 2573 y(rather)k(than)g(the)h(name)f(of)h(the)f(shell,)j
(and)d(the)h(p)s(ositional)g(parameters)f(are)h(set)g(to)g(the)g
-(remain-)150 1812 y(ing)f(argumen)m(ts,)j(if)d(an)m(y)g(are)g(giv)m
+(remain-)150 2683 y(ing)f(argumen)m(ts,)j(if)d(an)m(y)g(are)g(giv)m
(en.)67 b(If)39 b(no)g(additional)g(argumen)m(ts)h(are)f(supplied,)h
-(the)f(p)s(ositional)150 1921 y(parameters)31 b(are)f(unset.)275
-2056 y(A)39 b(shell)h(script)f(ma)m(y)h(b)s(e)f(made)h(executable)h(b)m
+(the)f(p)s(ositional)150 2793 y(parameters)31 b(are)f(unset.)275
+2919 y(A)39 b(shell)h(script)f(ma)m(y)h(b)s(e)f(made)h(executable)h(b)m
(y)e(using)g(the)h Fs(chmod)e Ft(command)h(to)h(turn)e(on)i(the)150
-2165 y(execute)j(bit.)73 b(When)41 b(Bash)g(\014nds)e(suc)m(h)i(a)h
+3029 y(execute)j(bit.)73 b(When)41 b(Bash)g(\014nds)e(suc)m(h)i(a)h
(\014le)f(while)g(searc)m(hing)h(the)f Fs($PATH)f Ft(for)h(a)h
-(command,)h(it)150 2275 y(spa)m(wns)30 b(a)g(subshell)g(to)h(execute)h
-(it.)41 b(In)30 b(other)g(w)m(ords,)g(executing)390 2409
-y Fs(filename)46 b Fj(arguments)150 2544 y Ft(is)30 b(equiv)-5
-b(alen)m(t)32 b(to)f(executing)390 2678 y Fs(bash)47
-b(filename)e Fj(arguments)150 2813 y Ft(if)30 b Fs(filename)d
+(command,)h(it)150 3138 y(spa)m(wns)30 b(a)g(subshell)g(to)h(execute)h
+(it.)41 b(In)30 b(other)g(w)m(ords,)g(executing)390 3265
+y Fs(filename)46 b Fj(arguments)150 3392 y Ft(is)30 b(equiv)-5
+b(alen)m(t)32 b(to)f(executing)390 3518 y Fs(bash)47
+b(filename)e Fj(arguments)150 3645 y Ft(if)30 b Fs(filename)d
Ft(is)j(an)f(executable)j(shell)e(script.)40 b(This)29
b(subshell)g(reinitializes)i(itself,)g(so)f(that)h(the)e(e\013ect)150
-2922 y(is)36 b(as)h(if)g(a)f(new)g(shell)h(had)f(b)s(een)g(in)m(v)m(ok)
+3755 y(is)36 b(as)h(if)g(a)f(new)g(shell)h(had)f(b)s(een)g(in)m(v)m(ok)
m(ed)h(to)h(in)m(terpret)e(the)h(script,)h(with)e(the)h(exception)h
-(that)f(the)150 3032 y(lo)s(cations)25 b(of)g(commands)e(remem)m(b)s
+(that)f(the)150 3864 y(lo)s(cations)25 b(of)g(commands)e(remem)m(b)s
(ered)h(b)m(y)g(the)g(paren)m(t)g(\(see)h(the)f(description)g(of)g
-Fs(hash)f Ft(in)h(Section)h(4.1)150 3142 y([Bourne)30
+Fs(hash)f Ft(in)h(Section)h(4.1)150 3974 y([Bourne)30
b(Shell)h(Builtins],)g(page)g(33\))h(are)e(retained)h(b)m(y)f(the)h(c)m
-(hild.)275 3276 y(Most)36 b(v)m(ersions)g(of)g(Unix)f(mak)m(e)h(this)g
+(hild.)275 4100 y(Most)36 b(v)m(ersions)g(of)g(Unix)f(mak)m(e)h(this)g
(a)g(part)f(of)h(the)g(op)s(erating)g(system's)f(command)h(execution)
-150 3386 y(mec)m(hanism.)50 b(If)33 b(the)g(\014rst)g(line)h(of)f(a)h
+150 4210 y(mec)m(hanism.)50 b(If)33 b(the)g(\014rst)g(line)h(of)f(a)h
(script)f(b)s(egins)g(with)g(the)g(t)m(w)m(o)i(c)m(haracters)g(`)p
-Fs(#!)p Ft(',)f(the)g(remainder)150 3495 y(of)d(the)g(line)h(sp)s
+Fs(#!)p Ft(',)f(the)g(remainder)150 4320 y(of)d(the)g(line)h(sp)s
(eci\014es)e(an)h(in)m(terpreter)g(for)g(the)g(program.)43
b(Th)m(us,)30 b(y)m(ou)h(can)h(sp)s(ecify)e(Bash,)i Fs(awk)p
-Ft(,)e(P)m(erl,)150 3605 y(or)g(some)h(other)g(in)m(terpreter)g(and)e
+Ft(,)e(P)m(erl,)150 4429 y(or)g(some)h(other)g(in)m(terpreter)g(and)e
(write)i(the)f(rest)h(of)g(the)f(script)g(\014le)h(in)f(that)h
-(language.)275 3739 y(The)40 b(argumen)m(ts)h(to)g(the)g(in)m
+(language.)275 4556 y(The)40 b(argumen)m(ts)h(to)g(the)g(in)m
(terpreter)g(consist)g(of)g(a)g(single)h(optional)f(argumen)m(t)h
-(follo)m(wing)g(the)150 3849 y(in)m(terpreter)33 b(name)h(on)f(the)g
+(follo)m(wing)g(the)150 4665 y(in)m(terpreter)33 b(name)h(on)f(the)g
(\014rst)f(line)i(of)f(the)g(script)g(\014le,)h(follo)m(w)m(ed)h(b)m(y)
-e(the)g(name)g(of)g(the)h(script)f(\014le,)150 3958 y(follo)m(w)m(ed)g
+e(the)g(name)g(of)g(the)h(script)f(\014le,)150 4775 y(follo)m(w)m(ed)g
(b)m(y)f(the)f(rest)h(of)g(the)f(argumen)m(ts.)45 b(Bash)31
b(will)h(p)s(erform)e(this)i(action)h(on)e(op)s(erating)h(systems)150
-4068 y(that)24 b(do)g(not)f(handle)g(it)h(themselv)m(es.)40
+4885 y(that)24 b(do)g(not)f(handle)g(it)h(themselv)m(es.)40
b(Note)25 b(that)f(some)g(older)g(v)m(ersions)f(of)h(Unix)f(limit)i
-(the)f(in)m(terpreter)150 4178 y(name)30 b(and)g(argumen)m(t)h(to)g(a)g
-(maxim)m(um)f(of)h(32)g(c)m(haracters.)275 4312 y(Bash)h(scripts)g
+(the)f(in)m(terpreter)150 4994 y(name)30 b(and)g(argumen)m(t)h(to)g(a)g
+(maxim)m(um)f(of)h(32)g(c)m(haracters.)275 5121 y(Bash)h(scripts)g
(often)g(b)s(egin)g(with)g Fs(#!)e(/bin/bash)g Ft(\(assuming)i(that)h
-(Bash)f(has)g(b)s(een)f(installed)i(in)150 4422 y(`)p
+(Bash)f(has)g(b)s(een)f(installed)i(in)150 5230 y(`)p
Fs(/bin)p Ft('\),)25 b(since)e(this)g(ensures)f(that)i(Bash)f(will)h(b)
s(e)e(used)h(to)h(in)m(terpret)f(the)g(script,)i(ev)m(en)f(if)f(it)h
-(is)f(executed)150 4531 y(under)29 b(another)h(shell.)p
+(is)f(executed)150 5340 y(under)29 b(another)h(shell.)p
eop end
%%Page: 33 39
TeXDict begin 33 38 bop 150 -116 a Ft(Chapter)30 b(4:)41
g(c)m(hapters:)69 b(builtin)43 b(commands)h(whic)m(h)150
1449 y(pro)m(vide)23 b(the)h(Bash)f(in)m(terface)i(to)f(the)g(job)f
(con)m(trol)i(facilities)g(\(see)f(Section)h(7.2)f([Job)f(Con)m(trol)h
-(Builtins],)150 1558 y(page)40 b(82\),)j(the)c(directory)h(stac)m(k)g
+(Builtins],)150 1558 y(page)40 b(84\),)j(the)c(directory)h(stac)m(k)g
(\(see)g(Section)g(6.8.1)h([Directory)g(Stac)m(k)f(Builtins],)i(page)e
-(73\),)j(the)150 1668 y(command)23 b(history)h(\(see)g(Section)g(9.2)h
-([Bash)f(History)g(Builtins],)h(page)g(111\),)h(and)d(the)h
+(75\),)j(the)150 1668 y(command)23 b(history)h(\(see)g(Section)g(9.2)h
+([Bash)f(History)g(Builtins],)h(page)g(113\),)h(and)d(the)h
(programmable)150 1778 y(completion)32 b(facilities)g(\(see)g(Section)f
-(8.7)g([Programmable)g(Completion)g(Builtins],)g(page)h(107\).)275
+(8.7)g([Programmable)g(Completion)g(Builtins],)g(page)h(109\).)275
1911 y(Man)m(y)f(of)f(the)h(builtins)e(ha)m(v)m(e)j(b)s(een)e(extended)
g(b)m(y)g Fl(posix)g Ft(or)g(Bash.)275 2044 y(Unless)20
b(otherwise)h(noted,)h(eac)m(h)g(builtin)e(command)g(do)s(cumen)m(ted)g
(ust)h(b)s(e)f(a)630 518 y(separate)d(argumen)m(t.)40
b(Expressions)25 b(are)i(comp)s(osed)e(of)i(the)f(primaries)g(describ)s
(ed)f(b)s(elo)m(w)630 628 y(in)30 b(Section)h(6.4)h([Bash)e
-(Conditional)h(Expressions],)f(page)i(69.)630 762 y(When)e(the)h
+(Conditional)h(Expressions],)f(page)i(71.)630 762 y(When)e(the)h
Fs([)f Ft(form)g(is)g(used,)g(the)g(last)i(argumen)m(t)e(to)i(the)e
(command)g(m)m(ust)h(b)s(e)e(a)i Fs(])p Ft(.)630 897
y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f(the)h(follo)m
b(If)33 b(the)h(\014rst)e(argumen)m(t)i(is)g(one)g(of)f(the)h(unary)
1110 3268 y(conditional)42 b(op)s(erators)f(\(see)g(Section)h(6.4)f
([Bash)g(Conditional)g(Expres-)1110 3377 y(sions],)34
-b(page)f(69\),)i(the)e(expression)f(is)h(true)g(if)g(the)g(unary)e
+b(page)f(71\),)i(the)e(expression)f(is)h(true)g(if)g(the)g(unary)e
(test)j(is)f(true.)47 b(If)1110 3487 y(the)33 b(\014rst)g(argumen)m(t)h
(is)f(not)g(a)h(v)-5 b(alid)34 b(unary)e(op)s(erator,)i(the)g
(expression)f(is)1110 3597 y(false.)630 3756 y(3)e(argumen)m(ts)1110
3866 y(If)k(the)g(second)g(argumen)m(t)g(is)g(one)h(of)f(the)g(binary)f
(conditional)j(op)s(erators)1110 3975 y(\(see)23 b(Section)g(6.4)f
-([Bash)h(Conditional)f(Expressions],)h(page)g(69\),)i(the)d(result)1110
+([Bash)h(Conditional)f(Expressions],)h(page)g(71\),)i(the)d(result)1110
4085 y(of)44 b(the)h(expression)f(is)g(the)g(result)g(of)h(the)f
(binary)g(test)h(using)e(the)i(\014rst)1110 4194 y(and)33
b(third)g(argumen)m(ts)h(as)g(op)s(erands.)50 b(If)33
b(alue)45 b Ft(is)40 b(giv)m(en,)j(the)d(name)f(and)g(v)-5
b(alue)40 b(of)g(the)g(alias)h(is)f(prin)m(ted.)68 b(Aliases)41
b(are)630 3217 y(describ)s(ed)29 b(in)h(Section)i(6.6)f([Aliases],)h
-(page)f(71.)150 3377 y Fs(bind)870 3512 y(bind)47 b([-m)g
+(page)f(73.)150 3377 y Fs(bind)870 3512 y(bind)47 b([-m)g
Fj(keymap)11 b Fs(])45 b([-lpsvPSV])870 3621 y(bind)i([-m)g
Fj(keymap)11 b Fs(])45 b([-q)i Fj(function)11 b Fs(])45
b([-u)h Fj(function)11 b Fs(])45 b([-r)i Fj(keyseq)11
Fj(keymap)11 b Fs(])45 b Fj(keyseq:function-name)870
4060 y Fs(bind)i Fj(readline-command)630 4194 y Ft(Displa)m(y)26
b(curren)m(t)f(Readline)h(\(see)g(Chapter)f(8)g([Command)g(Line)g
-(Editing],)i(page)f(85\))g(k)m(ey)630 4304 y(and)36 b(function)g
+(Editing],)i(page)f(87\))g(k)m(ey)630 4304 y(and)36 b(function)g
(bindings,)i(bind)d(a)i(k)m(ey)g(sequence)g(to)h(a)f(Readline)g
(function)f(or)h(macro,)630 4413 y(or)44 b(set)h(a)g(Readline)f(v)-5
b(ariable.)83 b(Eac)m(h)45 b(non-option)g(argumen)m(t)f(is)g(a)h
(command)f(as)g(it)630 4523 y(w)m(ould)35 b(app)s(ear)f(in)g(a)i(a)f
(Readline)g(initialization)j(\014le)d(\(see)h(Section)f(8.3)h
-([Readline)g(Init)630 4632 y(File],)43 b(page)c(88\),)k(but)38
+([Readline)g(Init)630 4632 y(File],)43 b(page)c(90\),)k(but)38
b(eac)m(h)i(binding)e(or)h(command)g(m)m(ust)g(b)s(e)f(passed)g(as)i(a)
f(separate)630 4742 y(argumen)m(t;)d(e.g.,)f(`)p Fs
("\\C-x\\C-r":re-read-init-fi)o(le)p Ft('.)43 b(Options,)34
b(with)e(the)h(sp)s(eci\014ed)f(attributes)h(or)g(to)g(giv)m(e)h(v)-5
b(ariables)630 3666 y(attributes:)630 3836 y Fs(-a)384
b Ft(Eac)m(h)30 b Fq(name)k Ft(is)29 b(an)g(arra)m(y)h(v)-5
-b(ariable)30 b(\(see)g(Section)g(6.7)g([Arra)m(ys],)h(page)e(72\).)630
+b(ariable)30 b(\(see)g(Section)g(6.7)g([Arra)m(ys],)h(page)e(74\).)630
4005 y Fs(-f)384 b Ft(Use)31 b(function)f(names)g(only)-8
b(.)630 4174 y Fs(-i)384 b Ft(The)36 b(v)-5 b(ariable)37
b(is)f(to)h(b)s(e)f(treated)h(as)g(an)f(in)m(teger;)41
b(arithmetic)c(ev)-5 b(aluation)1110 4284 y(\(see)29
-b(Section)f(6.5)h([Shell)f(Arithmetic],)i(page)e(70\))h(is)f(p)s
+b(Section)f(6.5)h([Shell)f(Arithmetic],)i(page)e(72\))h(is)f(p)s
(erformed)e(when)h(the)1110 4394 y(v)-5 b(ariable)31
b(is)g(assigned)f(a)h(v)-5 b(alue.)630 4563 y Fs(-r)384
b Ft(Mak)m(e)25 b Fq(name)5 b Ft(s)23 b(readonly)-8 b(.)39
b(ariable,)47 b(an)42 b(attempt)h(is)f(made)g(to)h(assign)f(a)h(v)-5
b(alue)42 b(to)h(an)630 986 y(arra)m(y)30 b(v)-5 b(ariable)30
b(without)g(using)e(the)i(comp)s(ound)e(assignmen)m(t)i(syn)m(tax)g
-(\(see)h(Section)f(6.7)630 1096 y([Arra)m(ys],)47 b(page)c(72\),)48
+(\(see)h(Section)f(6.7)630 1096 y([Arra)m(ys],)47 b(page)c(74\),)48
b(one)43 b(of)g(the)g Fq(names)k Ft(is)c(not)g(a)g(v)-5
b(alid)43 b(shell)g(v)-5 b(ariable)44 b(name,)i(an)630
1205 y(attempt)28 b(is)f(made)h(to)f(turn)f(o\013)i(readonly)f(status)g
b(ariables.)74 b(Eac)m(h)630 3748 y Fq(expression)31
b Ft(is)g(ev)-5 b(aluated)32 b(according)f(to)h(the)f(rules)g(giv)m(en)
h(b)s(elo)m(w)f(in)f(Section)i(6.5)g([Shell)630 3858
-y(Arithmetic],)51 b(page)46 b(70.)87 b(If)45 b(the)g(last)h
+y(Arithmetic],)51 b(page)46 b(72.)87 b(If)45 b(the)g(last)h
Fq(expression)g Ft(ev)-5 b(aluates)47 b(to)f(0,)k Fs(let)44
b Ft(returns)g(1;)630 3968 y(otherwise)31 b(0)g(is)f(returned.)150
4119 y Fs(local)870 4249 y(local)46 b([)p Fj(option)11
Fq(delim)g Ft(is)g(used)g(to)g(terminate)h(the)f(input)f(line,)1110
4646 y(rather)30 b(than)g(newline.)630 4829 y Fs(-e)384
b Ft(Readline)28 b(\(see)h(Chapter)e(8)h([Command)f(Line)g(Editing],)i
-(page)f(85\))h(is)f(used)1110 4938 y(to)j(obtain)g(the)g(line.)630
+(page)f(87\))h(is)f(used)1110 4938 y(to)j(obtain)g(the)g(line.)630
5121 y Fs(-n)f Fj(nchars)1110 5230 y Fs(read)38 b Ft(returns)f(after)j
(reading)f Fq(nc)m(hars)j Ft(c)m(haracters)e(rather)f(than)g(w)m
(aiting)1110 5340 y(for)30 b(a)h(complete)h(line)e(of)h(input.)p
b(.)74 b(If)42 b(a)1110 628 y(correction)25 b(is)e(found,)g(the)h
(corrected)g(path)f(is)g(prin)m(ted,)h(and)f(the)g(command)1110
737 y(pro)s(ceeds.)40 b(This)30 b(option)h(is)f(only)h(used)e(b)m(y)h
-(in)m(teractiv)m(e)k(shells.)630 894 y Fs(checkhash)1110
-1004 y Ft(If)29 b(this)h(is)g(set,)g(Bash)g(c)m(hec)m(ks)h(that)g(a)f
-(command)f(found)g(in)g(the)h(hash)f(table)1110 1114
+(in)m(teractiv)m(e)k(shells.)630 891 y Fs(checkhash)1110
+1000 y Ft(If)29 b(this)h(is)g(set,)g(Bash)g(c)m(hec)m(ks)h(that)g(a)f
+(command)f(found)g(in)g(the)h(hash)f(table)1110 1110
y(exists)k(b)s(efore)f(trying)h(to)h(execute)g(it.)48
-b(If)32 b(a)h(hashed)e(command)i(no)f(longer)1110 1223
+b(If)32 b(a)h(hashed)e(command)i(no)f(longer)1110 1219
y(exists,)f(a)g(normal)f(path)g(searc)m(h)h(is)g(p)s(erformed.)630
-1380 y Fs(checkwinsize)1110 1490 y Ft(If)41 b(set,)k(Bash)c(c)m(hec)m
+1373 y Fs(checkwinsize)1110 1482 y Ft(If)41 b(set,)k(Bash)c(c)m(hec)m
(ks)i(the)f(windo)m(w)e(size)j(after)f(eac)m(h)g(command)f(and,)j(if)
-1110 1600 y(necessary)-8 b(,)31 b(up)s(dates)f(the)g(v)-5
+1110 1592 y(necessary)-8 b(,)31 b(up)s(dates)f(the)g(v)-5
b(alues)31 b(of)g Fs(LINES)e Ft(and)g Fs(COLUMNS)p Ft(.)630
-1757 y Fs(cmdhist)144 b Ft(If)33 b(set,)j(Bash)e(attempts)h(to)g(sa)m
+1745 y Fs(cmdhist)144 b Ft(If)33 b(set,)j(Bash)e(attempts)h(to)g(sa)m
(v)m(e)g(all)g(lines)f(of)g(a)h(m)m(ultiple-line)g(command)1110
-1866 y(in)c(the)g(same)g(history)g(en)m(try)-8 b(.)42
+1855 y(in)c(the)g(same)g(history)g(en)m(try)-8 b(.)42
b(This)30 b(allo)m(ws)i(easy)g(re-editing)g(of)f(m)m(ulti-line)1110
-1976 y(commands.)630 2133 y Fs(dotglob)144 b Ft(If)27
+1965 y(commands.)630 2118 y Fs(dotglob)144 b Ft(If)27
b(set,)i(Bash)f(includes)g(\014lenames)g(b)s(eginning)f(with)g(a)h(`.')
-41 b(in)27 b(the)h(results)g(of)1110 2243 y(\014lename)j(expansion.)630
-2400 y Fs(execfail)96 b Ft(If)24 b(this)h(is)f(set,)j(a)e(non-in)m
+41 b(in)27 b(the)h(results)g(of)1110 2228 y(\014lename)j(expansion.)630
+2381 y Fs(execfail)96 b Ft(If)24 b(this)h(is)f(set,)j(a)e(non-in)m
(teractiv)m(e)i(shell)e(will)f(not)h(exit)h(if)e(it)h(cannot)h(execute)
-1110 2510 y(the)i(\014le)g(sp)s(eci\014ed)g(as)g(an)g(argumen)m(t)g(to)
+1110 2491 y(the)i(\014le)g(sp)s(eci\014ed)g(as)g(an)g(argumen)m(t)g(to)
h(the)f Fs(exec)f Ft(builtin)h(command.)39 b(An)1110
-2619 y(in)m(teractiv)m(e)33 b(shell)e(do)s(es)f(not)g(exit)i(if)e
-Fs(exec)f Ft(fails.)630 2777 y Fs(expand_aliases)1110
-2886 y Ft(If)j(set,)h(aliases)g(are)g(expanded)e(as)h(describ)s(ed)f(b)
-s(elo)m(w)h(under)f(Aliases,)i(Sec-)1110 2996 y(tion)38
-b(6.6)h([Aliases],)j(page)d(71.)64 b(This)37 b(option)h(is)g(enabled)g
-(b)m(y)g(default)g(for)1110 3105 y(in)m(teractiv)m(e)33
-b(shells.)630 3263 y Fs(extdebug)96 b Ft(If)30 b(set,)h(b)s(eha)m(vior)
+2600 y(in)m(teractiv)m(e)33 b(shell)e(do)s(es)f(not)g(exit)i(if)e
+Fs(exec)f Ft(fails.)630 2754 y Fs(expand_aliases)1110
+2863 y Ft(If)j(set,)h(aliases)g(are)g(expanded)e(as)h(describ)s(ed)f(b)
+s(elo)m(w)h(under)f(Aliases,)i(Sec-)1110 2973 y(tion)38
+b(6.6)h([Aliases],)j(page)d(73.)64 b(This)37 b(option)h(is)g(enabled)g
+(b)m(y)g(default)g(for)1110 3082 y(in)m(teractiv)m(e)33
+b(shells.)630 3236 y Fs(extdebug)96 b Ft(If)30 b(set,)h(b)s(eha)m(vior)
g(in)m(tended)f(for)g(use)g(b)m(y)g(debuggers)g(is)h(enabled:)1159
-3396 y(1.)61 b(The)32 b(`)p Fs(-F)p Ft(')g(option)h(to)g(the)g
+3367 y(1.)61 b(The)32 b(`)p Fs(-F)p Ft(')g(option)h(to)g(the)g
Fs(declare)d Ft(builtin)i(\(see)i(Section)f(4.2)h([Bash)1290
-3506 y(Builtins],)29 b(page)g(39\))g(displa)m(ys)f(the)g(source)h
-(\014le)f(name)g(and)f(line)h(n)m(um-)1290 3615 y(b)s(er)h(corresp)s
+3477 y(Builtins],)29 b(page)g(39\))g(displa)m(ys)f(the)g(source)h
+(\014le)f(name)g(and)f(line)h(n)m(um-)1290 3587 y(b)s(er)h(corresp)s
(onding)g(to)i(eac)m(h)g(function)f(name)g(supplied)f(as)i(an)f(argu-)
-1290 3725 y(men)m(t.)1159 3858 y(2.)61 b(If)20 b(the)h(command)g(run)e
+1290 3696 y(men)m(t.)1159 3828 y(2.)61 b(If)20 b(the)h(command)g(run)e
(b)m(y)i(the)f Fs(DEBUG)g Ft(trap)g(returns)g(a)h(non-zero)g(v)-5
-b(alue,)1290 3968 y(the)31 b(next)f(command)g(is)h(skipp)s(ed)e(and)g
-(not)i(executed.)1159 4101 y(3.)61 b(If)37 b(the)g(command)g(run)f(b)m
+b(alue,)1290 3937 y(the)31 b(next)f(command)g(is)h(skipp)s(ed)e(and)g
+(not)i(executed.)1159 4069 y(3.)61 b(If)37 b(the)g(command)g(run)f(b)m
(y)i(the)f Fs(DEBUG)f Ft(trap)h(returns)f(a)i(v)-5 b(alue)38
-b(of)f(2,)1290 4211 y(and)c(the)g(shell)h(is)f(executing)i(in)e(a)h
-(subroutine)e(\(a)i(shell)g(function)f(or)1290 4320 y(a)h(shell)h
+b(of)f(2,)1290 4178 y(and)c(the)g(shell)h(is)f(executing)i(in)e(a)h
+(subroutine)e(\(a)i(shell)g(function)f(or)1290 4288 y(a)h(shell)h
(script)f(executed)h(b)m(y)f(the)g Fs(.)g Ft(or)g Fs(source)e
-Ft(builtins\),)j(a)g(call)g(to)1290 4430 y Fs(return)29
-b Ft(is)h(sim)m(ulated.)630 4587 y Fs(extglob)144 b Ft(If)26
-b(set,)i(the)f(extended)f(pattern)h(matc)m(hing)g(features)g(describ)s
-(ed)e(ab)s(o)m(v)m(e)j(\(see)1110 4697 y(Section)j(3.5.8.1)i([P)m
-(attern)f(Matc)m(hing],)g(page)f(23\))h(are)f(enabled.)630
-4854 y Fs(extquote)96 b Ft(If)49 b(set,)54 b Fs($')p
-Fj(string)11 b Fs(')46 b Ft(and)j Fs($")p Fj(string)11
-b Fs(")46 b Ft(quoting)k(is)f(p)s(erformed)e(within)1110
-4964 y Fs(${)p Fj(parameter)11 b Fs(})30 b Ft(expansions)j(enclosed)h
-(in)g(double)f(quotes.)51 b(This)32 b(option)1110 5073
-y(is)e(enabled)h(b)m(y)f(default.)630 5230 y Fs(failglob)96
-b Ft(If)30 b(set,)g(patterns)g(whic)m(h)g(fail)h(to)g(matc)m(h)g
-(\014lenames)f(during)e(pathname)i(ex-)1110 5340 y(pansion)g(result)g
-(in)g(an)g(expansion)h(error.)p eop end
+Ft(builtins\),)j(a)g(call)g(to)1290 4398 y Fs(return)29
+b Ft(is)h(sim)m(ulated.)1159 4529 y(4.)61 b Fs(BASH_ARGC)34
+b Ft(and)i Fs(BASH_ARGV)e Ft(are)j(up)s(dated)e(as)h(describ)s(ed)g(in)
+g(their)1290 4639 y(descriptions)30 b(\(see)i(Section)f(5.2)g([Bash)g
+(V)-8 b(ariables],)32 b(page)f(55\).)1159 4770 y(5.)61
+b(F)-8 b(unction)57 b(tracing)g(is)g(enabled:)93 b(command)56
+b(substitution,)63 b(shell)1290 4880 y(functions,)30
+b(and)f(subshells)g(in)m(v)m(ok)m(ed)j(with)d Fs(\()h
+Fj(command)39 b Fs(\))30 b Ft(inherit)g(the)1290 4989
+y Fs(DEBUG)f Ft(and)h Fs(RETURN)e Ft(traps.)1159 5121
+y(6.)61 b(Error)74 b(tracing)i(is)f(enabled:)131 b(command)74
+b(substitution,)87 b(shell)1290 5230 y(functions,)30
+b(and)f(subshells)g(in)m(v)m(ok)m(ed)j(with)d Fs(\()h
+Fj(command)39 b Fs(\))30 b Ft(inherit)g(the)1290 5340
+y Fs(ERROR)f Ft(trap.)p eop end
%%Page: 47 53
TeXDict begin 47 52 bop 150 -116 a Ft(Chapter)30 b(4:)41
-b(Shell)30 b(Builtin)h(Commands)2069 b(47)630 299 y Fs(force_fignore)
-1110 408 y Ft(If)43 b(set,)k(the)d(su\016xes)f(sp)s(eci\014ed)f(b)m(y)i
-(the)f Fs(FIGNORE)f Ft(shell)h(v)-5 b(ariable)44 b(cause)1110
-518 y(w)m(ords)31 b(to)h(b)s(e)f(ignored)h(when)f(p)s(erforming)f(w)m
-(ord)h(completion)i(ev)m(en)f(if)g(the)1110 628 y(ignored)37
-b(w)m(ords)g(are)g(the)h(only)f(p)s(ossible)g(completions.)62
-b(See)37 b(Section)h(5.2)1110 737 y([Bash)24 b(V)-8 b(ariables],)27
-b(page)e(55,)h(for)d(a)h(description)g(of)g Fs(FIGNORE)p
-Ft(.)37 b(This)22 b(option)1110 847 y(is)30 b(enabled)h(b)m(y)f
-(default.)630 1011 y Fs(gnu_errfmt)1110 1121 y Ft(If)35
-b(set,)j(shell)e(error)g(messages)g(are)h(written)e(in)h(the)g
-(standard)f Fl(gnu)g Ft(error)1110 1230 y(message)c(format.)630
-1395 y Fs(histappend)1110 1504 y Ft(If)c(set,)j(the)e(history)g(list)g
+b(Shell)30 b(Builtin)h(Commands)2069 b(47)630 299 y Fs(extglob)144
+b Ft(If)26 b(set,)i(the)f(extended)f(pattern)h(matc)m(hing)g(features)g
+(describ)s(ed)e(ab)s(o)m(v)m(e)j(\(see)1110 408 y(Section)j(3.5.8.1)i
+([P)m(attern)f(Matc)m(hing],)g(page)f(23\))h(are)f(enabled.)630
+558 y Fs(extquote)96 b Ft(If)49 b(set,)54 b Fs($')p Fj(string)11
+b Fs(')46 b Ft(and)j Fs($")p Fj(string)11 b Fs(")46 b
+Ft(quoting)k(is)f(p)s(erformed)e(within)1110 667 y Fs(${)p
+Fj(parameter)11 b Fs(})30 b Ft(expansions)j(enclosed)h(in)g(double)f
+(quotes.)51 b(This)32 b(option)1110 777 y(is)e(enabled)h(b)m(y)f
+(default.)630 927 y Fs(failglob)96 b Ft(If)30 b(set,)g(patterns)g(whic)
+m(h)g(fail)h(to)g(matc)m(h)g(\014lenames)f(during)e(pathname)i(ex-)1110
+1036 y(pansion)g(result)g(in)g(an)g(expansion)h(error.)630
+1186 y Fs(force_fignore)1110 1295 y Ft(If)43 b(set,)k(the)d(su\016xes)f
+(sp)s(eci\014ed)f(b)m(y)i(the)f Fs(FIGNORE)f Ft(shell)h(v)-5
+b(ariable)44 b(cause)1110 1405 y(w)m(ords)31 b(to)h(b)s(e)f(ignored)h
+(when)f(p)s(erforming)f(w)m(ord)h(completion)i(ev)m(en)f(if)g(the)1110
+1514 y(ignored)37 b(w)m(ords)g(are)g(the)h(only)f(p)s(ossible)g
+(completions.)62 b(See)37 b(Section)h(5.2)1110 1624 y([Bash)24
+b(V)-8 b(ariables],)27 b(page)e(55,)h(for)d(a)h(description)g(of)g
+Fs(FIGNORE)p Ft(.)37 b(This)22 b(option)1110 1733 y(is)30
+b(enabled)h(b)m(y)f(default.)630 1883 y Fs(gnu_errfmt)1110
+1993 y Ft(If)35 b(set,)j(shell)e(error)g(messages)g(are)h(written)e(in)
+h(the)g(standard)f Fl(gnu)g Ft(error)1110 2102 y(message)c(format.)630
+2252 y Fs(histappend)1110 2361 y Ft(If)c(set,)j(the)e(history)g(list)g
(is)g(app)s(ended)e(to)j(the)f(\014le)g(named)f(b)m(y)h(the)g(v)-5
-b(alue)29 b(of)1110 1614 y(the)d Fs(HISTFILE)d Ft(v)-5
+b(alue)29 b(of)1110 2471 y(the)d Fs(HISTFILE)d Ft(v)-5
b(ariable)26 b(when)e(the)h(shell)h(exits,)h(rather)e(than)h(o)m(v)m
-(erwriting)1110 1724 y(the)31 b(\014le.)630 1888 y Fs(histreedit)1110
-1998 y Ft(If)i(set,)h(and)f(Readline)h(is)f(b)s(eing)g(used,)g(a)g
+(erwriting)1110 2580 y(the)31 b(\014le.)630 2730 y Fs(histreedit)1110
+2839 y Ft(If)i(set,)h(and)f(Readline)h(is)f(b)s(eing)g(used,)g(a)g
(user)g(is)g(giv)m(en)h(the)g(opp)s(ortunit)m(y)1110
-2107 y(to)d(re-edit)g(a)g(failed)g(history)f(substitution.)630
-2271 y Fs(histverify)1110 2381 y Ft(If)35 b(set,)i(and)e(Readline)h(is)
+2949 y(to)d(re-edit)g(a)g(failed)g(history)f(substitution.)630
+3098 y Fs(histverify)1110 3208 y Ft(If)35 b(set,)i(and)e(Readline)h(is)
f(b)s(eing)g(used,)h(the)f(results)g(of)g(history)h(substitu-)1110
-2491 y(tion)h(are)g(not)g(immediately)h(passed)e(to)h(the)g(shell)g
-(parser.)59 b(Instead,)38 b(the)1110 2600 y(resulting)i(line)f(is)h
+3318 y(tion)h(are)g(not)g(immediately)h(passed)e(to)h(the)g(shell)g
+(parser.)59 b(Instead,)38 b(the)1110 3427 y(resulting)i(line)f(is)h
(loaded)g(in)m(to)g(the)g(Readline)g(editing)g(bu\013er,)h(allo)m(wing)
-1110 2710 y(further)29 b(mo)s(di\014cation.)630 2874
-y Fs(hostcomplete)1110 2984 y Ft(If)38 b(set,)j(and)c(Readline)i(is)f
+1110 3537 y(further)29 b(mo)s(di\014cation.)630 3686
+y Fs(hostcomplete)1110 3796 y Ft(If)38 b(set,)j(and)c(Readline)i(is)f
(b)s(eing)g(used,)h(Bash)g(will)f(attempt)h(to)g(p)s(erform)1110
-3093 y(hostname)d(completion)h(when)e(a)h(w)m(ord)f(con)m(taining)i(a)f
-(`)p Fs(@)p Ft(')g(is)g(b)s(eing)f(com-)1110 3203 y(pleted)g(\(see)h
+3905 y(hostname)d(completion)h(when)e(a)h(w)m(ord)f(con)m(taining)i(a)f
+(`)p Fs(@)p Ft(')g(is)g(b)s(eing)f(com-)1110 4015 y(pleted)g(\(see)h
(Section)f(8.4.6)i([Commands)d(F)-8 b(or)36 b(Completion],)g(page)g
-(101\).)1110 3313 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.)
-630 3477 y Fs(huponexit)1110 3587 y Ft(If)i(set,)i(Bash)f(will)h(send)d
+(103\).)1110 4125 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.)
+630 4274 y Fs(huponexit)1110 4384 y Ft(If)i(set,)i(Bash)f(will)h(send)d
Fs(SIGHUP)h Ft(to)h(all)h(jobs)e(when)g(an)g(in)m(teractiv)m(e)k(login)
-1110 3696 y(shell)31 b(exits)g(\(see)g(Section)g(3.7.6)h([Signals],)g
-(page)f(31\).)630 3861 y Fs(interactive_comments)1110
-3970 y Ft(Allo)m(w)c(a)g(w)m(ord)e(b)s(eginning)g(with)h(`)p
+1110 4493 y(shell)31 b(exits)g(\(see)g(Section)g(3.7.6)h([Signals],)g
+(page)f(31\).)630 4643 y Fs(interactive_comments)1110
+4752 y Ft(Allo)m(w)c(a)g(w)m(ord)e(b)s(eginning)g(with)h(`)p
Fs(#)p Ft(')g(to)h(cause)f(that)h(w)m(ord)f(and)f(all)i(remain-)1110
-4080 y(ing)41 b(c)m(haracters)i(on)e(that)h(line)g(to)g(b)s(e)f
+4862 y(ing)41 b(c)m(haracters)i(on)e(that)h(line)g(to)g(b)s(e)f
(ignored)g(in)g(an)g(in)m(teractiv)m(e)j(shell.)1110
-4189 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.)630
-4354 y Fs(lithist)144 b Ft(If)22 b(enabled,)i(and)d(the)h
+4971 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.)630
+5121 y Fs(lithist)144 b Ft(If)22 b(enabled,)i(and)d(the)h
Fs(cmdhist)e Ft(option)j(is)f(enabled,)i(m)m(ulti-line)f(commands)1110
-4463 y(are)28 b(sa)m(v)m(ed)h(to)g(the)f(history)g(with)f(em)m(b)s
-(edded)g(newlines)h(rather)g(than)f(using)1110 4573 y(semicolon)32
-b(separators)f(where)e(p)s(ossible.)630 4737 y Fs(login_shell)1110
-4847 y Ft(The)35 b(shell)h(sets)g(this)f(option)h(if)g(it)g(is)f
-(started)h(as)g(a)g(login)g(shell)g(\(see)g(Sec-)1110
-4956 y(tion)29 b(6.1)g([In)m(v)m(oking)h(Bash],)f(page)g(63\).)41
-b(The)28 b(v)-5 b(alue)29 b(ma)m(y)g(not)f(b)s(e)g(c)m(hanged.)630
-5121 y Fs(mailwarn)96 b Ft(If)34 b(set,)i(and)e(a)h(\014le)g(that)g
-(Bash)f(is)h(c)m(hec)m(king)h(for)f(mail)g(has)f(b)s(een)g(accessed)
-1110 5230 y(since)24 b(the)h(last)g(time)f(it)h(w)m(as)f(c)m(hec)m(k)m
-(ed,)k(the)c(message)h Fs("The)k(mail)h(in)f Fj(mail-)1110
-5340 y(file)40 b Fs(has)29 b(been)g(read")g Ft(is)i(displa)m(y)m(ed.)p
-eop end
+5230 y(are)28 b(sa)m(v)m(ed)h(to)g(the)f(history)g(with)f(em)m(b)s
+(edded)g(newlines)h(rather)g(than)f(using)1110 5340 y(semicolon)32
+b(separators)f(where)e(p)s(ossible.)p eop end
%%Page: 48 54
TeXDict begin 48 53 bop 150 -116 a Ft(48)2572 b(Bash)31
-b(Reference)g(Man)m(ual)630 299 y Fs(no_empty_cmd_completion)1110
-408 y Ft(If)f(set,)g(and)g(Readline)g(is)h(b)s(eing)e(used,)h(Bash)g
-(will)g(not)g(attempt)i(to)e(searc)m(h)1110 518 y(the)25
-b Fs(PATH)f Ft(for)h(p)s(ossible)f(completions)j(when)d(completion)i
-(is)f(attempted)h(on)1110 628 y(an)k(empt)m(y)h(line.)630
-779 y Fs(nocaseglob)1110 889 y Ft(If)38 b(set,)k(Bash)d(matc)m(hes)g
-(\014lenames)g(in)f(a)h(case-insensitiv)m(e)j(fashion)c(when)1110
-999 y(p)s(erforming)29 b(\014lename)i(expansion.)630
-1150 y Fs(nullglob)96 b Ft(If)23 b(set,)j(Bash)e(allo)m(ws)g
+b(Reference)g(Man)m(ual)630 299 y Fs(login_shell)1110
+408 y Ft(The)k(shell)h(sets)g(this)f(option)h(if)g(it)g(is)f(started)h
+(as)g(a)g(login)g(shell)g(\(see)g(Sec-)1110 518 y(tion)29
+b(6.1)g([In)m(v)m(oking)h(Bash],)f(page)g(65\).)41 b(The)28
+b(v)-5 b(alue)29 b(ma)m(y)g(not)f(b)s(e)g(c)m(hanged.)630
+677 y Fs(mailwarn)96 b Ft(If)34 b(set,)i(and)e(a)h(\014le)g(that)g
+(Bash)f(is)h(c)m(hec)m(king)h(for)f(mail)g(has)f(b)s(een)g(accessed)
+1110 787 y(since)24 b(the)h(last)g(time)f(it)h(w)m(as)f(c)m(hec)m(k)m
+(ed,)k(the)c(message)h Fs("The)k(mail)h(in)f Fj(mail-)1110
+897 y(file)40 b Fs(has)29 b(been)g(read")g Ft(is)i(displa)m(y)m(ed.)630
+1056 y Fs(no_empty_cmd_completion)1110 1166 y Ft(If)f(set,)g(and)g
+(Readline)g(is)h(b)s(eing)e(used,)h(Bash)g(will)g(not)g(attempt)i(to)e
+(searc)m(h)1110 1275 y(the)25 b Fs(PATH)f Ft(for)h(p)s(ossible)f
+(completions)j(when)d(completion)i(is)f(attempted)h(on)1110
+1385 y(an)k(empt)m(y)h(line.)630 1544 y Fs(nocaseglob)1110
+1654 y Ft(If)38 b(set,)k(Bash)d(matc)m(hes)g(\014lenames)g(in)f(a)h
+(case-insensitiv)m(e)j(fashion)c(when)1110 1763 y(p)s(erforming)29
+b(\014lename)i(expansion.)630 1923 y Fs(nocasematch)1110
+2032 y Ft(If)42 b(set,)k(Bash)d(matc)m(hes)g(patterns)g(in)f(a)h
+(case-insensitiv)m(e)i(fashion)d(when)1110 2142 y(p)s(erforming)31
+b(matc)m(hing)i(while)f(executing)i Fs(case)d Ft(or)h
+Fs([[)g Ft(conditional)h(com-)1110 2252 y(mands.)630
+2411 y Fs(nullglob)96 b Ft(If)23 b(set,)j(Bash)e(allo)m(ws)g
(\014lename)g(patterns)g(whic)m(h)f(matc)m(h)h(no)g(\014les)f(to)i
-(expand)1110 1260 y(to)31 b(a)g(n)m(ull)f(string,)h(rather)f(than)g
-(themselv)m(es.)630 1412 y Fs(progcomp)96 b Ft(If)25
+(expand)1110 2521 y(to)31 b(a)g(n)m(ull)f(string,)h(rather)f(than)g
+(themselv)m(es.)630 2680 y Fs(progcomp)96 b Ft(If)25
b(set,)i(the)f(programmable)g(completion)g(facilities)i(\(see)f
-(Section)f(8.6)h([Pro-)1110 1521 y(grammable)45 b(Completion],)k(page)c
-(105\))h(are)f(enabled.)82 b(This)44 b(option)h(is)1110
-1631 y(enabled)30 b(b)m(y)h(default.)630 1783 y Fs(promptvars)1110
-1892 y Ft(If)24 b(set,)i(prompt)d(strings)h(undergo)f(parameter)i
-(expansion,)g(command)f(sub-)1110 2002 y(stitution,)34
+(Section)f(8.6)h([Pro-)1110 2790 y(grammable)45 b(Completion],)k(page)c
+(107\))h(are)f(enabled.)82 b(This)44 b(option)h(is)1110
+2899 y(enabled)30 b(b)m(y)h(default.)630 3059 y Fs(promptvars)1110
+3168 y Ft(If)24 b(set,)i(prompt)d(strings)h(undergo)f(parameter)i
+(expansion,)g(command)f(sub-)1110 3278 y(stitution,)34
b(arithmetic)f(expansion,)g(and)e(quote)i(remo)m(v)-5
-b(al)33 b(after)g(b)s(eing)e(ex-)1110 2111 y(panded)39
+b(al)33 b(after)g(b)s(eing)e(ex-)1110 3387 y(panded)39
b(as)i(describ)s(ed)e(b)s(elo)m(w)i(\(see)g(Section)g(6.9)g([Prin)m
-(ting)g(a)g(Prompt],)1110 2221 y(page)31 b(75\).)42 b(This)30
-b(option)g(is)h(enabled)f(b)m(y)g(default.)630 2373 y
-Fs(restricted_shell)1110 2482 y Ft(The)40 b(shell)h(sets)g(this)g
+(ting)g(a)g(Prompt],)1110 3497 y(page)31 b(77\).)42 b(This)30
+b(option)g(is)h(enabled)f(b)m(y)g(default.)630 3656 y
+Fs(restricted_shell)1110 3766 y Ft(The)40 b(shell)h(sets)g(this)g
(option)g(if)g(it)h(is)e(started)i(in)e(restricted)i(mo)s(de)e(\(see)
-1110 2592 y(Section)c(6.10)g([The)f(Restricted)g(Shell],)i(page)e
-(76\).)56 b(The)34 b(v)-5 b(alue)35 b(ma)m(y)h(not)1110
-2701 y(b)s(e)c(c)m(hanged.)49 b(This)32 b(is)h(not)h(reset)f(when)f
-(the)h(startup)g(\014les)f(are)i(executed,)1110 2811
+1110 3875 y(Section)c(6.10)g([The)f(Restricted)g(Shell],)i(page)e
+(78\).)56 b(The)34 b(v)-5 b(alue)35 b(ma)m(y)h(not)1110
+3985 y(b)s(e)c(c)m(hanged.)49 b(This)32 b(is)h(not)h(reset)f(when)f
+(the)h(startup)g(\014les)f(are)i(executed,)1110 4095
y(allo)m(wing)k(the)e(startup)f(\014les)h(to)g(disco)m(v)m(er)h
-(whether)f(or)f(not)i(a)f(shell)g(is)g(re-)1110 2921
-y(stricted.)630 3072 y Fs(shift_verbose)1110 3182 y Ft(If)g(this)g(is)g
+(whether)f(or)f(not)i(a)f(shell)g(is)g(re-)1110 4204
+y(stricted.)630 4364 y Fs(shift_verbose)1110 4473 y Ft(If)g(this)g(is)g
(set,)j(the)d Fs(shift)f Ft(builtin)h(prin)m(ts)f(an)h(error)g(message)
-i(when)d(the)1110 3292 y(shift)30 b(coun)m(t)h(exceeds)g(the)g(n)m(um)m
-(b)s(er)e(of)h(p)s(ositional)i(parameters.)630 3443 y
-Fs(sourcepath)1110 3553 y Ft(If)22 b(set,)j(the)e Fs(source)e
+i(when)d(the)1110 4583 y(shift)30 b(coun)m(t)h(exceeds)g(the)g(n)m(um)m
+(b)s(er)e(of)h(p)s(ositional)i(parameters.)630 4742 y
+Fs(sourcepath)1110 4852 y Ft(If)22 b(set,)j(the)e Fs(source)e
Ft(builtin)h(uses)g(the)h(v)-5 b(alue)23 b(of)g Fs(PATH)e
-Ft(to)j(\014nd)d(the)h(directory)1110 3662 y(con)m(taining)29
+Ft(to)j(\014nd)d(the)h(directory)1110 4961 y(con)m(taining)29
b(the)e(\014le)h(supplied)e(as)h(an)g(argumen)m(t.)40
-b(This)27 b(option)h(is)f(enabled)1110 3772 y(b)m(y)j(default.)630
-3924 y Fs(xpg_echo)96 b Ft(If)31 b(set,)h(the)g Fs(echo)e
+b(This)27 b(option)h(is)f(enabled)1110 5071 y(b)m(y)j(default.)630
+5230 y Fs(xpg_echo)96 b Ft(If)31 b(set,)h(the)g Fs(echo)e
Ft(builtin)h(expands)f(bac)m(kslash-escap)s(e)j(sequences)f(b)m(y)f
-(de-)1110 4033 y(fault.)630 4185 y(The)c(return)f(status)i(when)f
-(listing)h(options)g(is)f(zero)i(if)e(all)i Fq(optnames)i
-Ft(are)d(enabled,)g(non-)630 4295 y(zero)40 b(otherwise.)66
-b(When)39 b(setting)h(or)f(unsetting)g(options,)i(the)e(return)f
-(status)h(is)g(zero)630 4404 y(unless)30 b(an)g Fq(optname)36
-b Ft(is)30 b(not)h(a)g(v)-5 b(alid)30 b(shell)h(option.)150
-4556 y Fs(source)870 4687 y(source)46 b Fj(filename)630
-4817 y Ft(A)30 b(synon)m(ym)g(for)g Fs(.)g Ft(\(see)i(Section)f(4.1)g
-([Bourne)g(Shell)f(Builtins],)h(page)g(33\).)150 4969
-y Fs(type)870 5100 y(type)47 b([-afptP])e([)p Fj(name)57
-b Fs(...)o(])630 5230 y Ft(F)-8 b(or)42 b(eac)m(h)g Fq(name)p
-Ft(,)i(indicate)e(ho)m(w)g(it)f(w)m(ould)g(b)s(e)g(in)m(terpreted)g(if)
-g(used)f(as)i(a)f(command)630 5340 y(name.)p eop end
+(de-)1110 5340 y(fault.)p eop end
%%Page: 49 55
TeXDict begin 49 54 bop 150 -116 a Ft(Chapter)30 b(4:)41
-b(Shell)30 b(Builtin)h(Commands)2069 b(49)630 299 y(If)38
-b(the)g(`)p Fs(-t)p Ft(')g(option)g(is)g(used,)i Fs(type)d
-Ft(prin)m(ts)g(a)i(single)f(w)m(ord)g(whic)m(h)g(is)g(one)g(of)h(`)p
-Fs(alias)p Ft(',)630 408 y(`)p Fs(function)p Ft(',)32
-b(`)p Fs(builtin)p Ft(',)g(`)p Fs(file)p Ft(')g(or)h(`)p
-Fs(keyword)p Ft(',)f(if)h Fq(name)38 b Ft(is)33 b(an)f(alias,)j(shell)e
-(function,)630 518 y(shell)i(builtin,)g(disk)g(\014le,)h(or)e(shell)h
-(reserv)m(ed)g(w)m(ord,)h(resp)s(ectiv)m(ely)-8 b(.)55
-b(If)34 b(the)h Fq(name)40 b Ft(is)35 b(not)630 628 y(found,)29
-b(then)h(nothing)h(is)f(prin)m(ted,)g(and)g Fs(type)f
-Ft(returns)g(a)i(failure)g(status.)630 763 y(If)39 b(the)g(`)p
-Fs(-p)p Ft(')g(option)h(is)f(used,)i Fs(type)d Ft(either)h(returns)f
-(the)i(name)f(of)g(the)g(disk)g(\014le)g(that)630 873
-y(w)m(ould)30 b(b)s(e)g(executed,)h(or)g(nothing)f(if)g(`)p
-Fs(-t)p Ft(')h(w)m(ould)f(not)g(return)g(`)p Fs(file)p
-Ft('.)630 1008 y(The)23 b(`)p Fs(-P)p Ft(')h(option)g(forces)g(a)g
+b(Shell)30 b(Builtin)h(Commands)2069 b(49)630 299 y(The)27
+b(return)f(status)i(when)f(listing)h(options)g(is)f(zero)i(if)e(all)i
+Fq(optnames)i Ft(are)d(enabled,)g(non-)630 408 y(zero)40
+b(otherwise.)66 b(When)39 b(setting)h(or)f(unsetting)g(options,)i(the)e
+(return)f(status)h(is)g(zero)630 518 y(unless)30 b(an)g
+Fq(optname)36 b Ft(is)30 b(not)h(a)g(v)-5 b(alid)30 b(shell)h(option.)
+150 677 y Fs(source)870 811 y(source)46 b Fj(filename)630
+946 y Ft(A)30 b(synon)m(ym)g(for)g Fs(.)g Ft(\(see)i(Section)f(4.1)g
+([Bourne)g(Shell)f(Builtins],)h(page)g(33\).)150 1105
+y Fs(type)870 1239 y(type)47 b([-afptP])e([)p Fj(name)57
+b Fs(...)o(])630 1374 y Ft(F)-8 b(or)42 b(eac)m(h)g Fq(name)p
+Ft(,)i(indicate)e(ho)m(w)g(it)f(w)m(ould)g(b)s(e)g(in)m(terpreted)g(if)
+g(used)f(as)i(a)f(command)630 1483 y(name.)630 1617 y(If)d(the)g(`)p
+Fs(-t)p Ft(')g(option)g(is)g(used,)i Fs(type)d Ft(prin)m(ts)g(a)i
+(single)f(w)m(ord)g(whic)m(h)g(is)g(one)g(of)h(`)p Fs(alias)p
+Ft(',)630 1727 y(`)p Fs(function)p Ft(',)32 b(`)p Fs(builtin)p
+Ft(',)g(`)p Fs(file)p Ft(')g(or)h(`)p Fs(keyword)p Ft(',)f(if)h
+Fq(name)38 b Ft(is)33 b(an)f(alias,)j(shell)e(function,)630
+1837 y(shell)i(builtin,)g(disk)g(\014le,)h(or)e(shell)h(reserv)m(ed)g
+(w)m(ord,)h(resp)s(ectiv)m(ely)-8 b(.)55 b(If)34 b(the)h
+Fq(name)40 b Ft(is)35 b(not)630 1946 y(found,)29 b(then)h(nothing)h(is)
+f(prin)m(ted,)g(and)g Fs(type)f Ft(returns)g(a)i(failure)g(status.)630
+2081 y(If)39 b(the)g(`)p Fs(-p)p Ft(')g(option)h(is)f(used,)i
+Fs(type)d Ft(either)h(returns)f(the)i(name)f(of)g(the)g(disk)g(\014le)g
+(that)630 2190 y(w)m(ould)30 b(b)s(e)g(executed,)h(or)g(nothing)f(if)g
+(`)p Fs(-t)p Ft(')h(w)m(ould)f(not)g(return)g(`)p Fs(file)p
+Ft('.)630 2325 y(The)23 b(`)p Fs(-P)p Ft(')h(option)g(forces)g(a)g
(path)g(searc)m(h)g(for)g(eac)m(h)g Fq(name)p Ft(,)i(ev)m(en)e(if)g(`)p
-Fs(-t)p Ft(')g(w)m(ould)f(not)h(return)630 1118 y(`)p
-Fs(file)p Ft('.)630 1253 y(If)34 b(a)i(command)e(is)h(hashed,)g(`)p
+Fs(-t)p Ft(')g(w)m(ould)f(not)h(return)630 2434 y(`)p
+Fs(file)p Ft('.)630 2568 y(If)34 b(a)i(command)e(is)h(hashed,)g(`)p
Fs(-p)p Ft(')g(and)f(`)p Fs(-P)p Ft(')h(prin)m(t)f(the)h(hashed)f(v)-5
-b(alue,)37 b(not)e(necessarily)630 1363 y(the)c(\014le)f(that)h(app)s
-(ears)f(\014rst)f(in)h Fs($PATH)p Ft(.)630 1499 y(If)36
+b(alue,)37 b(not)e(necessarily)630 2678 y(the)c(\014le)f(that)h(app)s
+(ears)f(\014rst)f(in)h Fs($PATH)p Ft(.)630 2812 y(If)36
b(the)h(`)p Fs(-a)p Ft(')g(option)g(is)g(used,)g Fs(type)f
Ft(returns)f(all)j(of)f(the)g(places)g(that)g(con)m(tain)h(an)f(exe-)
-630 1608 y(cutable)d(named)f Fq(\014le)p Ft(.)50 b(This)33
+630 2922 y(cutable)d(named)f Fq(\014le)p Ft(.)50 b(This)33
b(includes)g(aliases)i(and)e(functions,)h(if)f(and)g(only)h(if)f(the)h
-(`)p Fs(-p)p Ft(')630 1718 y(option)d(is)f(not)h(also)g(used.)630
-1853 y(If)26 b(the)h(`)p Fs(-f)p Ft(')g(option)g(is)g(used,)g
+(`)p Fs(-p)p Ft(')630 3032 y(option)d(is)f(not)h(also)g(used.)630
+3166 y(If)26 b(the)h(`)p Fs(-f)p Ft(')g(option)g(is)g(used,)g
Fs(type)e Ft(do)s(es)i(not)g(attempt)g(to)h(\014nd)d(shell)i
-(functions,)g(as)g(with)630 1963 y(the)k Fs(command)d
-Ft(builtin.)630 2098 y(The)35 b(return)g(status)h(is)g(zero)g(if)g(an)m
+(functions,)g(as)g(with)630 3275 y(the)k Fs(command)d
+Ft(builtin.)630 3410 y(The)35 b(return)g(status)h(is)g(zero)g(if)g(an)m
(y)g(of)g(the)g Fq(names)k Ft(are)c(found,)g(non-zero)g(if)g(none)g
-(are)630 2208 y(found.)150 2370 y Fs(typeset)870 2505
+(are)630 3519 y(found.)150 3678 y Fs(typeset)870 3813
y(typeset)46 b([-afFrxi])f([-p])i([)p Fj(name)11 b Fs([=)p
-Fj(value)g Fs(])43 b(...)o(])630 2641 y Ft(The)29 b Fs(typeset)f
+Fj(value)g Fs(])43 b(...)o(])630 3947 y Ft(The)29 b Fs(typeset)f
Ft(command)h(is)g(supplied)g(for)g(compatibilit)m(y)j(with)d(the)h
-(Korn)e(shell;)j(ho)m(w-)630 2750 y(ev)m(er,)g(it)g(has)f(b)s(een)g
+(Korn)e(shell;)j(ho)m(w-)630 4057 y(ev)m(er,)g(it)g(has)f(b)s(een)g
(deprecated)h(in)f(fa)m(v)m(or)i(of)e(the)h Fs(declare)d
-Ft(builtin)i(command.)150 2912 y Fs(ulimit)870 3047 y(ulimit)46
-b([-acdflmnpstuvSH])d([)p Fj(limit)11 b Fs(])630 3183
+Ft(builtin)i(command.)150 4216 y Fs(ulimit)870 4350 y(ulimit)46
+b([-acdflmnpstuvSH])d([)p Fj(limit)11 b Fs(])630 4484
y(ulimit)25 b Ft(pro)m(vides)h(con)m(trol)i(o)m(v)m(er)g(the)f
(resources)f(a)m(v)-5 b(ailable)29 b(to)e(pro)s(cesses)f(started)h(b)m
-(y)g(the)630 3292 y(shell,)i(on)f(systems)g(that)h(allo)m(w)h(suc)m(h)e
+(y)g(the)630 4594 y(shell,)i(on)f(systems)g(that)h(allo)m(w)h(suc)m(h)e
(con)m(trol.)41 b(If)28 b(an)g(option)h(is)f(giv)m(en,)i(it)e(is)h(in)m
-(terpreted)630 3402 y(as)i(follo)m(ws:)630 3563 y Fs(-S)384
+(terpreted)630 4704 y(as)i(follo)m(ws:)630 4863 y Fs(-S)384
b Ft(Change)30 b(and)g(rep)s(ort)g(the)g(soft)h(limit)g(asso)s(ciated)h
-(with)e(a)h(resource.)630 3725 y Fs(-H)384 b Ft(Change)30
+(with)e(a)h(resource.)630 5022 y Fs(-H)384 b Ft(Change)30
b(and)g(rep)s(ort)g(the)g(hard)g(limit)h(asso)s(ciated)h(with)e(a)h
-(resource.)630 3886 y Fs(-a)384 b Ft(All)31 b(curren)m(t)f(limits)h
-(are)g(rep)s(orted.)630 4048 y Fs(-c)384 b Ft(The)30
-b(maxim)m(um)g(size)h(of)g(core)g(\014les)f(created.)630
-4209 y Fs(-d)384 b Ft(The)30 b(maxim)m(um)g(size)h(of)g(a)g(pro)s
-(cess's)f(data)h(segmen)m(t.)630 4371 y Fs(-f)384 b Ft(The)30
-b(maxim)m(um)g(size)h(of)g(\014les)f(created)i(b)m(y)e(the)g(shell.)630
-4532 y Fs(-l)384 b Ft(The)30 b(maxim)m(um)g(size)h(that)g(ma)m(y)g(b)s
-(e)f(lo)s(c)m(k)m(ed)i(in)m(to)f(memory)-8 b(.)630 4694
-y Fs(-m)384 b Ft(The)30 b(maxim)m(um)g(residen)m(t)h(set)g(size.)630
-4855 y Fs(-n)384 b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(op)s
-(en)e(\014le)i(descriptors.)630 5017 y Fs(-p)384 b Ft(The)30
-b(pip)s(e)f(bu\013er)h(size.)630 5178 y Fs(-s)384 b Ft(The)30
-b(maxim)m(um)g(stac)m(k)i(size.)630 5340 y Fs(-t)384
-b Ft(The)30 b(maxim)m(um)g(amoun)m(t)h(of)f(cpu)g(time)h(in)f(seconds.)
-p eop end
+(resource.)630 5181 y Fs(-a)384 b Ft(All)31 b(curren)m(t)f(limits)h
+(are)g(rep)s(orted.)630 5340 y Fs(-c)384 b Ft(The)30
+b(maxim)m(um)g(size)h(of)g(core)g(\014les)f(created.)p
+eop end
%%Page: 50 56
TeXDict begin 50 55 bop 150 -116 a Ft(50)2572 b(Bash)31
-b(Reference)g(Man)m(ual)630 299 y Fs(-u)384 b Ft(The)30
+b(Reference)g(Man)m(ual)630 299 y Fs(-d)384 b Ft(The)30
+b(maxim)m(um)g(size)h(of)g(a)g(pro)s(cess's)f(data)h(segmen)m(t.)630
+459 y Fs(-f)384 b Ft(The)30 b(maxim)m(um)g(size)h(of)g(\014les)f
+(created)i(b)m(y)e(the)g(shell.)630 619 y Fs(-l)384 b
+Ft(The)30 b(maxim)m(um)g(size)h(that)g(ma)m(y)g(b)s(e)f(lo)s(c)m(k)m
+(ed)i(in)m(to)f(memory)-8 b(.)630 780 y Fs(-m)384 b Ft(The)30
+b(maxim)m(um)g(residen)m(t)h(set)g(size.)630 940 y Fs(-n)384
+b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(op)s(en)e(\014le)i
+(descriptors.)630 1100 y Fs(-p)384 b Ft(The)30 b(pip)s(e)f(bu\013er)h
+(size.)630 1260 y Fs(-s)384 b Ft(The)30 b(maxim)m(um)g(stac)m(k)i
+(size.)630 1421 y Fs(-t)384 b Ft(The)30 b(maxim)m(um)g(amoun)m(t)h(of)f
+(cpu)g(time)h(in)f(seconds.)630 1581 y Fs(-u)384 b Ft(The)30
b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(pro)s(cesses)f(a)m(v)-5
-b(ailable)33 b(to)e(a)f(single)i(user.)630 461 y Fs(-v)384
+b(ailable)33 b(to)e(a)f(single)i(user.)630 1741 y Fs(-v)384
b Ft(The)29 b(maxim)m(um)h(amoun)m(t)g(of)g(virtual)g(memory)g(a)m(v)-5
-b(ailable)32 b(to)e(the)g(pro)s(cess.)630 624 y(If)j
+b(ailable)32 b(to)e(the)g(pro)s(cess.)630 1901 y(If)j
Fq(limit)j Ft(is)e(giv)m(en,)h(it)f(is)g(the)g(new)f(v)-5
b(alue)34 b(of)f(the)h(sp)s(eci\014ed)f(resource;)i(the)f(sp)s(ecial)g
-Fq(limit)630 733 y Ft(v)-5 b(alues)27 b Fs(hard)p Ft(,)g
+Fq(limit)630 2011 y Ft(v)-5 b(alues)27 b Fs(hard)p Ft(,)g
Fs(soft)p Ft(,)g(and)g Fs(unlimited)d Ft(stand)j(for)g(the)g(curren)m
-(t)g(hard)f(limit,)j(the)e(curren)m(t)630 843 y(soft)35
+(t)g(hard)f(limit,)j(the)e(curren)m(t)630 2120 y(soft)35
b(limit,)i(and)e(no)f(limit,)j(resp)s(ectiv)m(ely)-8
b(.)56 b(Otherwise,)36 b(the)f(curren)m(t)g(v)-5 b(alue)35
-b(of)g(the)h(soft)630 953 y(limit)41 b(for)f(the)h(sp)s(eci\014ed)f
+b(of)g(the)h(soft)630 2230 y(limit)41 b(for)f(the)h(sp)s(eci\014ed)f
(resource)h(is)f(prin)m(ted,)j(unless)d(the)g(`)p Fs(-H)p
-Ft(')h(option)f(is)h(supplied.)630 1062 y(When)29 b(setting)h(new)e
+Ft(')h(option)f(is)h(supplied.)630 2340 y(When)29 b(setting)h(new)e
(limits,)i(if)f(neither)g(`)p Fs(-H)p Ft(')f(nor)h(`)p
Fs(-S)p Ft(')f(is)h(supplied,)g(b)s(oth)f(the)h(hard)f(and)630
-1172 y(soft)37 b(limits)g(are)g(set.)60 b(If)36 b(no)g(option)h(is)g
+2449 y(soft)37 b(limits)g(are)g(set.)60 b(If)36 b(no)g(option)h(is)g
(giv)m(en,)i(then)d(`)p Fs(-f)p Ft(')h(is)f(assumed.)59
-b(V)-8 b(alues)37 b(are)g(in)630 1281 y(1024-b)m(yte)27
+b(V)-8 b(alues)37 b(are)g(in)630 2559 y(1024-b)m(yte)27
b(incremen)m(ts,)g(except)e(for)f(`)p Fs(-t)p Ft(',)i(whic)m(h)e(is)h
(in)f(seconds,)i(`)p Fs(-p)p Ft(',)g(whic)m(h)e(is)g(in)h(units)630
-1391 y(of)31 b(512-b)m(yte)h(blo)s(c)m(ks,)f(and)f(`)p
+2668 y(of)31 b(512-b)m(yte)h(blo)s(c)m(ks,)f(and)f(`)p
Fs(-n)p Ft(')g(and)g(`)p Fs(-u)p Ft(',)h(whic)m(h)f(are)g(unscaled)h(v)
--5 b(alues.)630 1527 y(The)34 b(return)g(status)h(is)f(zero)i(unless)e
+-5 b(alues.)630 2803 y(The)34 b(return)g(status)h(is)f(zero)i(unless)e
(an)g(in)m(v)-5 b(alid)36 b(option)f(or)f(argumen)m(t)i(is)e(supplied,)
-h(or)630 1637 y(an)30 b(error)g(o)s(ccurs)g(while)h(setting)g(a)g(new)f
-(limit.)150 1799 y Fs(unalias)870 1935 y(unalias)46 b([-a])g([)p
-Fj(name)57 b Fs(...)47 b(])630 2071 y Ft(Remo)m(v)m(e)39
+h(or)630 2913 y(an)30 b(error)g(o)s(ccurs)g(while)h(setting)g(a)g(new)f
+(limit.)150 3073 y Fs(unalias)870 3208 y(unalias)46 b([-a])g([)p
+Fj(name)57 b Fs(...)47 b(])630 3343 y Ft(Remo)m(v)m(e)39
b(eac)m(h)f Fq(name)k Ft(from)36 b(the)h(list)h(of)f(aliases.)61
b(If)36 b(`)p Fs(-a)p Ft(')h(is)g(supplied,)h(all)f(aliases)i(are)630
-2181 y(remo)m(v)m(ed.)j(Aliases)31 b(are)g(describ)s(ed)e(in)h(Section)
-i(6.6)f([Aliases],)h(page)f(71.)150 2446 y Fr(4.3)68
-b(The)45 b(Set)g(Builtin)275 2693 y Ft(This)29 b(builtin)h(is)g(so)h
+3452 y(remo)m(v)m(ed.)j(Aliases)31 b(are)g(describ)s(ed)e(in)h(Section)
+i(6.6)f([Aliases],)h(page)f(73.)150 3712 y Fr(4.3)68
+b(The)45 b(Set)g(Builtin)275 3957 y Ft(This)29 b(builtin)h(is)g(so)h
(complicated)h(that)f(it)g(deserv)m(es)g(its)g(o)m(wn)f(section.)150
-2857 y Fs(set)870 2993 y(set)47 b([--abefhkmnptuvxBCHP])42
+4117 y Fs(set)870 4252 y(set)47 b([--abefhkmnptuvxBCHP])42
b([-o)47 b Fj(option)11 b Fs(])45 b([)p Fj(argument)56
-b Fs(...)o(])630 3129 y Ft(If)22 b(no)h(options)g(or)g(argumen)m(ts)g
+b Fs(...)o(])630 4387 y Ft(If)22 b(no)h(options)g(or)g(argumen)m(ts)g
(are)g(supplied,)g Fs(set)f Ft(displa)m(ys)g(the)h(names)g(and)f(v)-5
-b(alues)23 b(of)g(all)630 3239 y(shell)j(v)-5 b(ariables)27
+b(alues)23 b(of)g(all)630 4497 y(shell)j(v)-5 b(ariables)27
b(and)e(functions,)h(sorted)g(according)h(to)g(the)f(curren)m(t)f(lo)s
-(cale,)k(in)c(a)i(format)630 3348 y(that)i(ma)m(y)h(b)s(e)e(reused)g
+(cale,)k(in)c(a)i(format)630 4606 y(that)i(ma)m(y)h(b)s(e)e(reused)g
(as)h(input)f(for)h(setting)h(or)e(resetting)i(the)f(curren)m(tly-set)h
-(v)-5 b(ariables.)630 3458 y(Read-only)37 b(v)-5 b(ariables)37
+(v)-5 b(ariables.)630 4716 y(Read-only)37 b(v)-5 b(ariables)37
b(cannot)h(b)s(e)e(reset.)59 b(In)36 b Fl(posix)g Ft(mo)s(de,)i(only)f
-(shell)f(v)-5 b(ariables)38 b(are)630 3568 y(listed.)630
-3704 y(When)29 b(options)g(are)g(supplied,)f(they)h(set)h(or)f(unset)f
+(shell)f(v)-5 b(ariables)38 b(are)630 4826 y(listed.)630
+4961 y(When)29 b(options)g(are)g(supplied,)f(they)h(set)h(or)f(unset)f
(shell)h(attributes.)41 b(Options,)29 b(if)g(sp)s(ec-)630
-3813 y(i\014ed,)h(ha)m(v)m(e)i(the)e(follo)m(wing)i(meanings:)630
-3976 y Fs(-a)384 b Ft(Mark)32 b(v)-5 b(ariables)33 b(and)e(function)h
+5070 y(i\014ed,)h(ha)m(v)m(e)i(the)e(follo)m(wing)i(meanings:)630
+5230 y Fs(-a)384 b Ft(Mark)32 b(v)-5 b(ariables)33 b(and)e(function)h
(whic)m(h)g(are)g(mo)s(di\014ed)f(or)h(created)h(for)f(ex-)1110
-4085 y(p)s(ort)e(to)h(the)f(en)m(vironmen)m(t)h(of)g(subsequen)m(t)f
-(commands.)630 4248 y Fs(-b)384 b Ft(Cause)44 b(the)h(status)g(of)f
-(terminated)h(bac)m(kground)g(jobs)f(to)h(b)s(e)f(rep)s(orted)1110
-4357 y(immediately)-8 b(,)30 b(rather)d(than)f(b)s(efore)h(prin)m(ting)
-g(the)g(next)g(primary)g(prompt.)630 4520 y Fs(-e)384
-b Ft(Exit)37 b(immediately)h(if)e(a)h(simple)f(command)g(\(see)i
-(Section)f(3.2.1)h([Simple)1110 4630 y(Commands],)31
-b(page)i(8\))f(exits)g(with)g(a)g(non-zero)g(status,)g(unless)f(the)h
-(com-)1110 4739 y(mand)f(that)h(fails)h(is)f(part)f(of)h(the)g(command)
-g(list)g(immediately)h(follo)m(wing)1110 4849 y(a)41
-b Fs(while)d Ft(or)j Fs(until)e Ft(k)m(eyw)m(ord,)k(part)d(of)g(the)h
-(test)g(in)f(an)g Fs(if)g Ft(statemen)m(t,)1110 4958
-y(part)33 b(of)h(a)g Fs(&&)f Ft(or)g Fs(||)g Ft(list,)i(or)e(if)h(the)f
-(command's)h(return)e(status)i(is)f(b)s(eing)1110 5068
-y(in)m(v)m(erted)e(using)e Fs(!)p Ft(.)40 b(A)30 b(trap)f(on)h
-Fs(ERR)p Ft(,)f(if)h(set,)g(is)g(executed)h(b)s(efore)e(the)h(shell)
-1110 5177 y(exits.)630 5340 y Fs(-f)384 b Ft(Disable)31
-b(\014le)g(name)f(generation)i(\(globbing\).)p eop end
+5340 y(p)s(ort)e(to)h(the)f(en)m(vironmen)m(t)h(of)g(subsequen)m(t)f
+(commands.)p eop end
%%Page: 51 57
TeXDict begin 51 56 bop 150 -116 a Ft(Chapter)30 b(4:)41
-b(Shell)30 b(Builtin)h(Commands)2069 b(51)630 299 y Fs(-h)384
-b Ft(Lo)s(cate)33 b(and)e(remem)m(b)s(er)h(\(hash\))g(commands)f(as)h
-(they)g(are)g(lo)s(ok)m(ed)h(up)e(for)1110 408 y(execution.)42
-b(This)29 b(option)i(is)g(enabled)f(b)m(y)g(default.)630
-570 y Fs(-k)384 b Ft(All)34 b(argumen)m(ts)g(in)f(the)h(form)f(of)g
-(assignmen)m(t)h(statemen)m(ts)i(are)d(placed)h(in)1110
-680 y(the)k(en)m(vironmen)m(t)g(for)g(a)g(command,)h(not)f(just)f
-(those)i(that)f(precede)g(the)1110 789 y(command)30 b(name.)630
-951 y Fs(-m)384 b Ft(Job)30 b(con)m(trol)i(is)e(enabled)h(\(see)g
-(Chapter)f(7)g([Job)h(Con)m(trol],)g(page)g(81\).)630
-1113 y Fs(-n)384 b Ft(Read)21 b(commands)f(but)g(do)h(not)g(execute)h
+b(Shell)30 b(Builtin)h(Commands)2069 b(51)630 299 y Fs(-b)384
+b Ft(Cause)44 b(the)h(status)g(of)f(terminated)h(bac)m(kground)g(jobs)f
+(to)h(b)s(e)f(rep)s(orted)1110 408 y(immediately)-8 b(,)30
+b(rather)d(than)f(b)s(efore)h(prin)m(ting)g(the)g(next)g(primary)g
+(prompt.)630 570 y Fs(-e)384 b Ft(Exit)37 b(immediately)h(if)e(a)h
+(simple)f(command)g(\(see)i(Section)f(3.2.1)h([Simple)1110
+679 y(Commands],)31 b(page)i(8\))f(exits)g(with)g(a)g(non-zero)g
+(status,)g(unless)f(the)h(com-)1110 789 y(mand)f(that)h(fails)h(is)f
+(part)f(of)h(the)g(command)g(list)g(immediately)h(follo)m(wing)1110
+898 y(a)41 b Fs(while)d Ft(or)j Fs(until)e Ft(k)m(eyw)m(ord,)k(part)d
+(of)g(the)h(test)g(in)f(an)g Fs(if)g Ft(statemen)m(t,)1110
+1008 y(part)33 b(of)h(a)g Fs(&&)f Ft(or)g Fs(||)g Ft(list,)i(or)e(if)h
+(the)f(command's)h(return)e(status)i(is)f(b)s(eing)1110
+1118 y(in)m(v)m(erted)e(using)e Fs(!)p Ft(.)40 b(A)30
+b(trap)f(on)h Fs(ERR)p Ft(,)f(if)h(set,)g(is)g(executed)h(b)s(efore)e
+(the)h(shell)1110 1227 y(exits.)630 1388 y Fs(-f)384
+b Ft(Disable)31 b(\014le)g(name)f(generation)i(\(globbing\).)630
+1549 y Fs(-h)384 b Ft(Lo)s(cate)33 b(and)e(remem)m(b)s(er)h(\(hash\))g
+(commands)f(as)h(they)g(are)g(lo)s(ok)m(ed)h(up)e(for)1110
+1659 y(execution.)42 b(This)29 b(option)i(is)g(enabled)f(b)m(y)g
+(default.)630 1820 y Fs(-k)384 b Ft(All)34 b(argumen)m(ts)g(in)f(the)h
+(form)f(of)g(assignmen)m(t)h(statemen)m(ts)i(are)d(placed)h(in)1110
+1930 y(the)k(en)m(vironmen)m(t)g(for)g(a)g(command,)h(not)f(just)f
+(those)i(that)f(precede)g(the)1110 2039 y(command)30
+b(name.)630 2201 y Fs(-m)384 b Ft(Job)30 b(con)m(trol)i(is)e(enabled)h
+(\(see)g(Chapter)f(7)g([Job)h(Con)m(trol],)g(page)g(83\).)630
+2362 y Fs(-n)384 b Ft(Read)21 b(commands)f(but)g(do)h(not)g(execute)h
(them;)i(this)d(ma)m(y)g(b)s(e)f(used)g(to)h(c)m(hec)m(k)1110
-1223 y(a)42 b(script)g(for)g(syn)m(tax)g(errors.)75 b(This)41
+2471 y(a)42 b(script)g(for)g(syn)m(tax)g(errors.)75 b(This)41
b(option)h(is)g(ignored)g(b)m(y)g(in)m(teractiv)m(e)1110
-1332 y(shells.)630 1494 y Fs(-o)30 b Fj(option-name)1110
-1604 y Ft(Set)h(the)f(option)h(corresp)s(onding)e(to)i
-Fq(option-name)5 b Ft(:)1110 1765 y Fs(allexport)1590
-1875 y Ft(Same)30 b(as)h Fs(-a)p Ft(.)1110 2037 y Fs(braceexpand)1590
-2146 y Ft(Same)f(as)h Fs(-B)p Ft(.)1110 2308 y Fs(emacs)240
+2581 y(shells.)630 2742 y Fs(-o)30 b Fj(option-name)1110
+2852 y Ft(Set)h(the)f(option)h(corresp)s(onding)e(to)i
+Fq(option-name)5 b Ft(:)1110 3013 y Fs(allexport)1590
+3122 y Ft(Same)30 b(as)h Fs(-a)p Ft(.)1110 3284 y Fs(braceexpand)1590
+3393 y Ft(Same)f(as)h Fs(-B)p Ft(.)1110 3554 y Fs(emacs)240
b Ft(Use)25 b(an)f Fs(emacs)p Ft(-st)m(yle)h(line)f(editing)h(in)m
-(terface)h(\(see)g(Chapter)e(8)1590 2418 y([Command)30
-b(Line)g(Editing],)h(page)g(85\).)1110 2579 y Fs(errexit)144
-b Ft(Same)30 b(as)h Fs(-e)p Ft(.)1110 2741 y Fs(errtrace)96
-b Ft(Same)30 b(as)h Fs(-E)p Ft(.)1110 2903 y Fs(functrace)1590
-3013 y Ft(Same)f(as)h Fs(-T)p Ft(.)1110 3174 y Fs(hashall)144
-b Ft(Same)30 b(as)h Fs(-h)p Ft(.)1110 3336 y Fs(histexpand)1590
-3446 y Ft(Same)f(as)h Fs(-H)p Ft(.)1110 3607 y Fs(history)144
+(terface)h(\(see)g(Chapter)e(8)1590 3664 y([Command)30
+b(Line)g(Editing],)h(page)g(87\).)1110 3825 y Fs(errexit)144
+b Ft(Same)30 b(as)h Fs(-e)p Ft(.)1110 3986 y Fs(errtrace)96
+b Ft(Same)30 b(as)h Fs(-E)p Ft(.)1110 4147 y Fs(functrace)1590
+4257 y Ft(Same)f(as)h Fs(-T)p Ft(.)1110 4418 y Fs(hashall)144
+b Ft(Same)30 b(as)h Fs(-h)p Ft(.)1110 4579 y Fs(histexpand)1590
+4689 y Ft(Same)f(as)h Fs(-H)p Ft(.)1110 4850 y Fs(history)144
b Ft(Enable)39 b(command)g(history)-8 b(,)42 b(as)d(describ)s(ed)f(in)h
-(Section)h(9.1)1590 3717 y([Bash)d(History)g(F)-8 b(acilities],)41
-b(page)c(111.)60 b(This)36 b(option)h(is)f(on)1590 3827
+(Section)h(9.1)1590 4960 y([Bash)d(History)g(F)-8 b(acilities],)41
+b(page)c(113.)60 b(This)36 b(option)h(is)f(on)1590 5069
y(b)m(y)30 b(default)h(in)f(in)m(teractiv)m(e)j(shells.)1110
-3988 y Fs(ignoreeof)1590 4098 y Ft(An)d(in)m(teractiv)m(e)j(shell)e
-(will)g(not)f(exit)h(up)s(on)e(reading)i(EOF.)1110 4260
-y Fs(keyword)144 b Ft(Same)30 b(as)h Fs(-k)p Ft(.)1110
-4422 y Fs(monitor)144 b Ft(Same)30 b(as)h Fs(-m)p Ft(.)1110
-4583 y Fs(noclobber)1590 4693 y Ft(Same)f(as)h Fs(-C)p
-Ft(.)1110 4855 y Fs(noexec)192 b Ft(Same)30 b(as)h Fs(-n)p
-Ft(.)1110 5016 y Fs(noglob)192 b Ft(Same)30 b(as)h Fs(-f)p
-Ft(.)1110 5178 y Fs(nolog)240 b Ft(Curren)m(tly)30 b(ignored.)1110
-5340 y Fs(notify)192 b Ft(Same)30 b(as)h Fs(-b)p Ft(.)p
-eop end
+5230 y Fs(ignoreeof)1590 5340 y Ft(An)d(in)m(teractiv)m(e)j(shell)e
+(will)g(not)f(exit)h(up)s(on)e(reading)i(EOF.)p eop end
%%Page: 52 58
TeXDict begin 52 57 bop 150 -116 a Ft(52)2572 b(Bash)31
-b(Reference)g(Man)m(ual)1110 299 y Fs(nounset)144 b Ft(Same)30
-b(as)h Fs(-u)p Ft(.)1110 452 y Fs(onecmd)192 b Ft(Same)30
-b(as)h Fs(-t)p Ft(.)1110 606 y Fs(physical)96 b Ft(Same)30
-b(as)h Fs(-P)p Ft(.)1110 759 y Fs(pipefail)96 b Ft(If)44
-b(set,)k(the)d(return)e(v)-5 b(alue)45 b(of)f(a)h(pip)s(eline)e(is)i
-(the)f(v)-5 b(alue)45 b(of)1590 869 y(the)33 b(last)h(\(righ)m(tmost\))
-h(command)e(to)h(exit)g(with)f(a)g(non-zero)1590 978
-y(status,)28 b(or)f(zero)g(if)f(all)i(commands)e(in)g(the)h(pip)s
-(eline)f(exit)i(suc-)1590 1088 y(cessfully)-8 b(.)41
+b(Reference)g(Man)m(ual)1110 299 y Fs(keyword)144 b Ft(Same)30
+b(as)h Fs(-k)p Ft(.)1110 455 y Fs(monitor)144 b Ft(Same)30
+b(as)h Fs(-m)p Ft(.)1110 610 y Fs(noclobber)1590 720
+y Ft(Same)f(as)h Fs(-C)p Ft(.)1110 876 y Fs(noexec)192
+b Ft(Same)30 b(as)h Fs(-n)p Ft(.)1110 1031 y Fs(noglob)192
+b Ft(Same)30 b(as)h Fs(-f)p Ft(.)1110 1187 y Fs(nolog)240
+b Ft(Curren)m(tly)30 b(ignored.)1110 1343 y Fs(notify)192
+b Ft(Same)30 b(as)h Fs(-b)p Ft(.)1110 1499 y Fs(nounset)144
+b Ft(Same)30 b(as)h Fs(-u)p Ft(.)1110 1654 y Fs(onecmd)192
+b Ft(Same)30 b(as)h Fs(-t)p Ft(.)1110 1810 y Fs(physical)96
+b Ft(Same)30 b(as)h Fs(-P)p Ft(.)1110 1966 y Fs(pipefail)96
+b Ft(If)44 b(set,)k(the)d(return)e(v)-5 b(alue)45 b(of)f(a)h(pip)s
+(eline)e(is)i(the)f(v)-5 b(alue)45 b(of)1590 2075 y(the)33
+b(last)h(\(righ)m(tmost\))h(command)e(to)h(exit)g(with)f(a)g(non-zero)
+1590 2185 y(status,)28 b(or)f(zero)g(if)f(all)i(commands)e(in)g(the)h
+(pip)s(eline)f(exit)i(suc-)1590 2295 y(cessfully)-8 b(.)41
b(This)30 b(option)h(is)f(disabled)g(b)m(y)h(default.)1110
-1241 y Fs(posix)240 b Ft(Change)36 b(the)g(b)s(eha)m(vior)g(of)g(Bash)g
-(where)f(the)h(default)g(op)s(er-)1590 1351 y(ation)c(di\013ers)e(from)
+2450 y Fs(posix)240 b Ft(Change)36 b(the)g(b)s(eha)m(vior)g(of)g(Bash)g
+(where)f(the)h(default)g(op)s(er-)1590 2560 y(ation)c(di\013ers)e(from)
g(the)h Fl(posix)f Ft(1003.2)k(standard)c(to)h(matc)m(h)1590
-1461 y(the)44 b(standard)f(\(see)h(Section)h(6.11)g([Bash)f(POSIX)e(Mo)
-s(de],)1590 1570 y(page)35 b(76\).)55 b(This)34 b(is)g(in)m(tended)h
+2669 y(the)44 b(standard)f(\(see)h(Section)h(6.11)g([Bash)f(POSIX)e(Mo)
+s(de],)1590 2779 y(page)35 b(78\).)55 b(This)34 b(is)g(in)m(tended)h
(to)g(mak)m(e)h(Bash)e(b)s(eha)m(v)m(e)i(as)f(a)1590
-1680 y(strict)c(sup)s(erset)e(of)i(that)g(standard.)1110
-1833 y Fs(privileged)1590 1943 y Ft(Same)f(as)h Fs(-p)p
-Ft(.)1110 2096 y Fs(verbose)144 b Ft(Same)30 b(as)h Fs(-v)p
-Ft(.)1110 2250 y Fs(vi)384 b Ft(Use)31 b(a)g Fs(vi)p
-Ft(-st)m(yle)g(line)g(editing)g(in)m(terface.)1110 2403
+2889 y(strict)c(sup)s(erset)e(of)i(that)g(standard.)1110
+3044 y Fs(privileged)1590 3154 y Ft(Same)f(as)h Fs(-p)p
+Ft(.)1110 3310 y Fs(verbose)144 b Ft(Same)30 b(as)h Fs(-v)p
+Ft(.)1110 3465 y Fs(vi)384 b Ft(Use)31 b(a)g Fs(vi)p
+Ft(-st)m(yle)g(line)g(editing)g(in)m(terface.)1110 3621
y Fs(xtrace)192 b Ft(Same)30 b(as)h Fs(-x)p Ft(.)630
-2556 y Fs(-p)384 b Ft(T)-8 b(urn)33 b(on)h(privileged)h(mo)s(de.)51
+3777 y Fs(-p)384 b Ft(T)-8 b(urn)33 b(on)h(privileged)h(mo)s(de.)51
b(In)34 b(this)g(mo)s(de,)h(the)f Fs($BASH_ENV)e Ft(and)h
-Fs($ENV)1110 2666 y Ft(\014les)k(are)h(not)g(pro)s(cessed,)h(shell)f
+Fs($ENV)1110 3886 y Ft(\014les)k(are)h(not)g(pro)s(cessed,)h(shell)f
(functions)f(are)h(not)f(inherited)h(from)f(the)1110
-2776 y(en)m(vironmen)m(t,)f(and)d(the)h Fs(SHELLOPTS)e
+3996 y(en)m(vironmen)m(t,)f(and)d(the)h Fs(SHELLOPTS)e
Ft(v)-5 b(ariable,)35 b(if)f(it)h(app)s(ears)e(in)h(the)g(en-)1110
-2885 y(vironmen)m(t,)d(is)f(ignored.)41 b(If)29 b(the)i(shell)f(is)g
-(started)h(with)f(the)g(e\013ectiv)m(e)j(user)1110 2995
+4106 y(vironmen)m(t,)d(is)f(ignored.)41 b(If)29 b(the)i(shell)f(is)g
+(started)h(with)f(the)g(e\013ectiv)m(e)j(user)1110 4215
y(\(group\))d(id)g(not)g(equal)h(to)f(the)g(real)h(user)e(\(group\))i
-(id,)f(and)f(the)h Fs(-p)f Ft(option)1110 3104 y(is)40
+(id,)f(and)f(the)h Fs(-p)f Ft(option)1110 4325 y(is)40
b(not)g(supplied,)i(these)e(actions)i(are)e(tak)m(en)h(and)f(the)g
-(e\013ectiv)m(e)j(user)c(id)1110 3214 y(is)d(set)h(to)h(the)e(real)h
+(e\013ectiv)m(e)j(user)c(id)1110 4434 y(is)d(set)h(to)h(the)e(real)h
(user)f(id.)58 b(If)36 b(the)h Fs(-p)f Ft(option)g(is)h(supplied)e(at)i
-(startup,)1110 3324 y(the)29 b(e\013ectiv)m(e)j(user)d(id)g(is)g(not)h
+(startup,)1110 4544 y(the)29 b(e\013ectiv)m(e)j(user)d(id)g(is)g(not)h
(reset.)40 b(T)-8 b(urning)29 b(this)g(option)g(o\013)h(causes)g(the)
-1110 3433 y(e\013ectiv)m(e)e(user)d(and)g(group)g(ids)h(to)g(b)s(e)f
+1110 4654 y(e\013ectiv)m(e)e(user)d(and)g(group)g(ids)h(to)g(b)s(e)f
(set)h(to)h(the)f(real)g(user)f(and)g(group)g(ids.)630
-3587 y Fs(-t)384 b Ft(Exit)31 b(after)g(reading)f(and)g(executing)h
-(one)g(command.)630 3740 y Fs(-u)384 b Ft(T)-8 b(reat)38
+4809 y Fs(-t)384 b Ft(Exit)31 b(after)g(reading)f(and)g(executing)h
+(one)g(command.)630 4965 y Fs(-u)384 b Ft(T)-8 b(reat)38
b(unset)e(v)-5 b(ariables)37 b(as)h(an)e(error)h(when)e(p)s(erforming)h
-(parameter)h(ex-)1110 3850 y(pansion.)58 b(An)36 b(error)f(message)j
+(parameter)h(ex-)1110 5075 y(pansion.)58 b(An)36 b(error)f(message)j
(will)e(b)s(e)g(written)g(to)h(the)g(standard)e(error,)1110
-3959 y(and)30 b(a)h(non-in)m(teractiv)m(e)i(shell)d(will)h(exit.)630
-4113 y Fs(-v)384 b Ft(Prin)m(t)30 b(shell)h(input)e(lines)i(as)g(they)f
-(are)h(read.)630 4266 y Fs(-x)384 b Ft(Prin)m(t)82 b(a)h(trace)h(of)e
-(simple)g(commands,)96 b Fs(\\)p Ft(fBfor)p Fs(\\)p Ft(fP)81
-b(commands,)1110 4376 y Fs(\\)p Ft(fBcase)p Fs(\\)p Ft(fP)50
-b(commands,)55 b Fs(\\)p Ft(fBselect)p Fs(\\)p Ft(fP)c(commands,)k(and)
-50 b(arithmetic)1110 4485 y Fs(\\)p Ft(fBfor)p Fs(\\)p
-Ft(fP)31 b(commands)g(and)g(their)h(argumen)m(ts)g(or)f(asso)s(ciated)i
-(w)m(ord)e(lists)1110 4595 y(after)k(they)g(are)g(expanded)f(and)h(b)s
-(efore)f(they)h(are)g(executed.)55 b(The)34 b(v)-5 b(alue)1110
-4704 y(of)34 b(the)g Fs(PS4)f Ft(v)-5 b(ariable)35 b(is)f(expanded)g
+5184 y(and)30 b(a)h(non-in)m(teractiv)m(e)i(shell)d(will)h(exit.)630
+5340 y Fs(-v)384 b Ft(Prin)m(t)30 b(shell)h(input)e(lines)i(as)g(they)f
+(are)h(read.)p eop end
+%%Page: 53 59
+TeXDict begin 53 58 bop 150 -116 a Ft(Chapter)30 b(4:)41
+b(Shell)30 b(Builtin)h(Commands)2069 b(53)630 299 y Fs(-x)384
+b Ft(Prin)m(t)82 b(a)h(trace)h(of)e(simple)g(commands,)96
+b Fs(\\)p Ft(fBfor)p Fs(\\)p Ft(fP)81 b(commands,)1110
+408 y Fs(\\)p Ft(fBcase)p Fs(\\)p Ft(fP)50 b(commands,)55
+b Fs(\\)p Ft(fBselect)p Fs(\\)p Ft(fP)c(commands,)k(and)50
+b(arithmetic)1110 518 y Fs(\\)p Ft(fBfor)p Fs(\\)p Ft(fP)31
+b(commands)g(and)g(their)h(argumen)m(ts)g(or)f(asso)s(ciated)i(w)m(ord)
+e(lists)1110 628 y(after)k(they)g(are)g(expanded)f(and)h(b)s(efore)f
+(they)h(are)g(executed.)55 b(The)34 b(v)-5 b(alue)1110
+737 y(of)34 b(the)g Fs(PS4)f Ft(v)-5 b(ariable)35 b(is)f(expanded)g
(and)f(the)h(resultan)m(t)h(v)-5 b(alue)34 b(is)g(prin)m(ted)1110
-4814 y(b)s(efore)c(the)h(command)f(and)f(its)i(expanded)f(argumen)m
-(ts.)630 4967 y Fs(-B)384 b Ft(The)41 b(shell)g(will)g(p)s(erform)f
-(brace)h(expansion)g(\(see)h(Section)g(3.5.1)g([Brace)1110
-5077 y(Expansion],)30 b(page)h(17\).)42 b(This)30 b(option)h(is)f(on)g
-(b)m(y)h(default.)630 5230 y Fs(-C)384 b Ft(Prev)m(en)m(t)25
+847 y(b)s(efore)c(the)h(command)f(and)f(its)i(expanded)f(argumen)m(ts.)
+630 1000 y Fs(-B)384 b Ft(The)41 b(shell)g(will)g(p)s(erform)f(brace)h
+(expansion)g(\(see)h(Section)g(3.5.1)g([Brace)1110 1110
+y(Expansion],)30 b(page)h(17\).)42 b(This)30 b(option)h(is)f(on)g(b)m
+(y)h(default.)630 1263 y Fs(-C)384 b Ft(Prev)m(en)m(t)25
b(output)e(redirection)h(using)f(`)p Fs(>)p Ft(',)i(`)p
Fs(>&)p Ft(',)g(and)e(`)p Fs(<>)p Ft(')g(from)h(o)m(v)m(erwriting)1110
-5340 y(existing)31 b(\014les.)p eop end
-%%Page: 53 59
-TeXDict begin 53 58 bop 150 -116 a Ft(Chapter)30 b(4:)41
-b(Shell)30 b(Builtin)h(Commands)2069 b(53)630 299 y Fs(-E)384
-b Ft(If)39 b(set,)j(an)m(y)e(trap)f(on)g Fs(ERR)g Ft(is)g(inherited)g
-(b)m(y)g(shell)h(functions,)h(command)1110 408 y(substitutions,)35
+1373 y(existing)31 b(\014les.)630 1526 y Fs(-E)384 b
+Ft(If)39 b(set,)j(an)m(y)e(trap)f(on)g Fs(ERR)g Ft(is)g(inherited)g(b)m
+(y)g(shell)h(functions,)h(command)1110 1636 y(substitutions,)35
b(and)e(commands)g(executed)i(in)f(a)g(subshell)f(en)m(vironmen)m(t.)
-1110 518 y(The)d Fs(ERR)f Ft(trap)i(is)f(normally)h(not)f(inherited)g
-(in)g(suc)m(h)g(cases.)630 723 y Fs(-H)384 b Ft(Enable)38
+1110 1745 y(The)d Fs(ERR)f Ft(trap)i(is)f(normally)h(not)f(inherited)g
+(in)g(suc)m(h)g(cases.)630 1899 y Fs(-H)384 b Ft(Enable)38
b(`)p Fs(!)p Ft(')h(st)m(yle)h(history)e(substitution)g(\(see)h
-(Section)h(9.3)f([History)g(In-)1110 833 y(teraction],)g(page)d(113\).)
-57 b(This)34 b(option)i(is)f(on)g(b)m(y)h(default)f(for)g(in)m
-(teractiv)m(e)1110 942 y(shells.)630 1147 y Fs(-P)384
+(Section)h(9.3)f([History)g(In-)1110 2008 y(teraction],)g(page)d
+(115\).)57 b(This)34 b(option)i(is)f(on)g(b)m(y)h(default)f(for)g(in)m
+(teractiv)m(e)1110 2118 y(shells.)630 2271 y Fs(-P)384
b Ft(If)43 b(set,)k(do)c(not)g(follo)m(w)h(sym)m(b)s(olic)g(links)e
-(when)g(p)s(erforming)g(commands)1110 1257 y(suc)m(h)29
+(when)g(p)s(erforming)g(commands)1110 2381 y(suc)m(h)29
b(as)h Fs(cd)f Ft(whic)m(h)g(c)m(hange)h(the)g(curren)m(t)f(directory)
--8 b(.)42 b(The)28 b(ph)m(ysical)j(direc-)1110 1366 y(tory)j(is)g(used)
+-8 b(.)42 b(The)28 b(ph)m(ysical)j(direc-)1110 2491 y(tory)j(is)g(used)
f(instead.)52 b(By)34 b(default,)h(Bash)f(follo)m(ws)h(the)f(logical)i
-(c)m(hain)f(of)1110 1476 y(directories)j(when)d(p)s(erforming)h
+(c)m(hain)f(of)1110 2600 y(directories)j(when)d(p)s(erforming)h
(commands)g(whic)m(h)g(c)m(hange)i(the)f(curren)m(t)1110
-1586 y(directory)-8 b(.)1110 1743 y(F)g(or)31 b(example,)g(if)f(`)p
+2710 y(directory)-8 b(.)1110 2841 y(F)g(or)31 b(example,)g(if)f(`)p
Fs(/usr/sys)p Ft(')e(is)i(a)g(sym)m(b)s(olic)h(link)f(to)g(`)p
-Fs(/usr/local/sys)p Ft(')1110 1853 y(then:)1350 2010
-y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 2119 y(/usr/sys)1350
-2229 y($)g(cd)h(..;)f(pwd)1350 2339 y(/usr)1110 2496
-y Ft(If)30 b Fs(set)f(-P)h Ft(is)h(on,)f(then:)1350 2653
-y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 2763 y(/usr/local/sys)
-1350 2872 y($)g(cd)h(..;)f(pwd)1350 2982 y(/usr/local)630
-3187 y(-T)384 b Ft(If)34 b(set,)j(an)m(y)e(trap)g(on)g
+Fs(/usr/local/sys)p Ft(')1110 2951 y(then:)1350 3082
+y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 3192 y(/usr/sys)1350
+3302 y($)g(cd)h(..;)f(pwd)1350 3411 y(/usr)1110 3543
+y Ft(If)30 b Fs(set)f(-P)h Ft(is)h(on,)f(then:)1350 3674
+y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 3784 y(/usr/local/sys)
+1350 3893 y($)g(cd)h(..;)f(pwd)1350 4003 y(/usr/local)630
+4156 y(-T)384 b Ft(If)34 b(set,)j(an)m(y)e(trap)g(on)g
Fs(DEBUG)e Ft(and)i Fs(RETURN)e Ft(are)i(inherited)g(b)m(y)f(shell)i
-(func-)1110 3297 y(tions,)k(command)d(substitutions,)h(and)f(commands)g
-(executed)h(in)f(a)h(sub-)1110 3406 y(shell)33 b(en)m(vironmen)m(t.)49
+(func-)1110 4266 y(tions,)k(command)d(substitutions,)h(and)f(commands)g
+(executed)h(in)f(a)h(sub-)1110 4376 y(shell)33 b(en)m(vironmen)m(t.)49
b(The)32 b Fs(DEBUG)g Ft(and)g Fs(RETURN)f Ft(traps)h(are)i(normally)f
-(not)1110 3516 y(inherited)d(in)g(suc)m(h)g(cases.)630
-3721 y Fs(--)384 b Ft(If)31 b(no)h(argumen)m(ts)f(follo)m(w)i(this)f
+(not)1110 4485 y(inherited)d(in)g(suc)m(h)g(cases.)630
+4639 y Fs(--)384 b Ft(If)31 b(no)h(argumen)m(ts)f(follo)m(w)i(this)f
(option,)g(then)f(the)h(p)s(ositional)h(parameters)1110
-3830 y(are)h(unset.)49 b(Otherwise,)34 b(the)g(p)s(ositional)g
-(parameters)g(are)g(set)g(to)g(the)g Fq(ar-)1110 3940
+4748 y(are)h(unset.)49 b(Otherwise,)34 b(the)g(p)s(ositional)g
+(parameters)g(are)g(set)g(to)g(the)g Fq(ar-)1110 4858
y(gumen)m(ts)p Ft(,)d(ev)m(en)g(if)f(some)h(of)g(them)f(b)s(egin)g
-(with)g(a)h(`)p Fs(-)p Ft('.)630 4145 y Fs(-)432 b Ft(Signal)45
+(with)g(a)h(`)p Fs(-)p Ft('.)630 5011 y Fs(-)432 b Ft(Signal)45
b(the)g(end)f(of)h(options,)k(cause)c(all)h(remaining)e
-Fq(argumen)m(ts)49 b Ft(to)d(b)s(e)1110 4255 y(assigned)38
+Fq(argumen)m(ts)49 b Ft(to)d(b)s(e)1110 5121 y(assigned)38
b(to)h(the)f(p)s(ositional)h(parameters.)65 b(The)37
b(`)p Fs(-x)p Ft(')h(and)g(`)p Fs(-v)p Ft(')g(options)1110
-4364 y(are)25 b(turned)e(o\013.)40 b(If)24 b(there)h(are)g(no)f
+5230 y(are)25 b(turned)e(o\013.)40 b(If)24 b(there)h(are)g(no)f
(argumen)m(ts,)i(the)f(p)s(ositional)h(parameters)1110
-4474 y(remain)k(unc)m(hanged.)630 4679 y(Using)d(`)p
-Fs(+)p Ft(')h(rather)f(than)g(`)p Fs(-)p Ft(')g(causes)h(these)f
-(options)h(to)g(b)s(e)e(turned)g(o\013.)40 b(The)27 b(options)h(can)630
-4788 y(also)36 b(b)s(e)f(used)f(up)s(on)g(in)m(v)m(o)s(cation)j(of)e
+5340 y(remain)k(unc)m(hanged.)p eop end
+%%Page: 54 60
+TeXDict begin 54 59 bop 150 -116 a Ft(54)2572 b(Bash)31
+b(Reference)g(Man)m(ual)630 299 y(Using)c(`)p Fs(+)p
+Ft(')h(rather)f(than)g(`)p Fs(-)p Ft(')g(causes)h(these)f(options)h(to)
+g(b)s(e)e(turned)g(o\013.)40 b(The)27 b(options)h(can)630
+408 y(also)36 b(b)s(e)f(used)f(up)s(on)g(in)m(v)m(o)s(cation)j(of)e
(the)g(shell.)56 b(The)34 b(curren)m(t)h(set)h(of)f(options)h(ma)m(y)g
-(b)s(e)630 4898 y(found)29 b(in)h Fs($-)p Ft(.)630 5055
+(b)s(e)630 518 y(found)29 b(in)h Fs($-)p Ft(.)630 653
y(The)43 b(remaining)h(N)f Fq(argumen)m(ts)48 b Ft(are)c(p)s(ositional)
-g(parameters)g(and)f(are)h(assigned,)j(in)630 5165 y(order,)30
+g(parameters)g(and)f(are)h(assigned,)j(in)630 762 y(order,)30
b(to)h Fs($1)p Ft(,)f Fs($2)p Ft(,)36 b(.)22 b(.)g(.)42
b Fs($N)p Ft(.)e(The)30 b(sp)s(ecial)h(parameter)g Fs(#)f
-Ft(is)g(set)h(to)g(N.)630 5322 y(The)f(return)f(status)i(is)f(alw)m(a)m
+Ft(is)g(set)h(to)g(N.)630 897 y(The)f(return)f(status)i(is)f(alw)m(a)m
(ys)i(zero)f(unless)f(an)g(in)m(v)-5 b(alid)31 b(option)g(is)f
-(supplied.)p eop end
-%%Page: 54 60
-TeXDict begin 54 59 bop 150 -116 a Ft(54)2572 b(Bash)31
-b(Reference)g(Man)m(ual)150 299 y Fr(4.4)68 b(Sp)t(ecial)45
-b(Builtins)275 543 y Ft(F)-8 b(or)25 b(historical)h(reasons,)g(the)e
+(supplied.)150 1154 y Fr(4.4)68 b(Sp)t(ecial)45 b(Builtins)275
+1398 y Ft(F)-8 b(or)25 b(historical)h(reasons,)g(the)e
Fl(posix)g Ft(1003.2)j(standard)d(has)g(classi\014ed)h(sev)m(eral)h
-(builtin)e(commands)150 653 y(as)37 b Fm(sp)-5 b(e)g(cial)p
+(builtin)e(commands)150 1508 y(as)37 b Fm(sp)-5 b(e)g(cial)p
Ft(.)60 b(When)36 b(Bash)h(is)g(executing)g(in)f Fl(posix)g
Ft(mo)s(de,)i(the)f(sp)s(ecial)g(builtins)e(di\013er)i(from)f(other)150
-762 y(builtin)30 b(commands)g(in)g(three)h(resp)s(ects:)199
-897 y(1.)61 b(Sp)s(ecial)31 b(builtins)e(are)i(found)e(b)s(efore)h
+1617 y(builtin)30 b(commands)g(in)g(three)h(resp)s(ects:)199
+1752 y(1.)61 b(Sp)s(ecial)31 b(builtins)e(are)i(found)e(b)s(efore)h
(shell)h(functions)f(during)f(command)h(lo)s(okup.)199
-1031 y(2.)61 b(If)30 b(a)h(sp)s(ecial)g(builtin)f(returns)f(an)h(error)
+1886 y(2.)61 b(If)30 b(a)h(sp)s(ecial)g(builtin)f(returns)f(an)h(error)
g(status,)h(a)g(non-in)m(teractiv)m(e)i(shell)d(exits.)199
-1166 y(3.)61 b(Assignmen)m(t)30 b(statemen)m(ts)h(preceding)f(the)f
+2021 y(3.)61 b(Assignmen)m(t)30 b(statemen)m(ts)h(preceding)f(the)f
(command)g(sta)m(y)i(in)e(e\013ect)i(in)e(the)h(shell)f(en)m(vironmen)m
-(t)330 1275 y(after)i(the)f(command)h(completes.)275
-1435 y(When)36 b(Bash)g(is)h(not)f(executing)i(in)e Fl(posix)f
+(t)330 2130 y(after)i(the)f(command)h(completes.)275
+2290 y(When)36 b(Bash)g(is)h(not)f(executing)i(in)e Fl(posix)f
Ft(mo)s(de,)j(these)f(builtins)f(b)s(eha)m(v)m(e)h(no)f(di\013eren)m
-(tly)h(than)150 1544 y(the)31 b(rest)f(of)h(the)f(Bash)h(builtin)e
+(tly)h(than)150 2399 y(the)31 b(rest)f(of)h(the)f(Bash)h(builtin)e
(commands.)41 b(The)30 b(Bash)g Fl(posix)g Ft(mo)s(de)g(is)g(describ)s
-(ed)f(in)h(Section)h(6.11)150 1654 y([Bash)g(POSIX)e(Mo)s(de],)i(page)g
-(76.)275 1788 y(These)f(are)g(the)h Fl(posix)f Ft(sp)s(ecial)h
-(builtins:)390 1923 y Fs(break)46 b(:)i(.)f(continue)f(eval)g(exec)h
-(exit)g(export)f(readonly)f(return)h(set)390 2032 y(shift)g(trap)h
+(ed)f(in)h(Section)h(6.11)150 2509 y([Bash)g(POSIX)e(Mo)s(de],)i(page)g
+(78.)275 2643 y(These)f(are)g(the)h Fl(posix)f Ft(sp)s(ecial)h
+(builtins:)390 2778 y Fs(break)46 b(:)i(.)f(continue)f(eval)g(exec)h
+(exit)g(export)f(readonly)f(return)h(set)390 2888 y(shift)g(trap)h
(unset)p eop end
%%Page: 55 61
TeXDict begin 55 60 bop 150 -116 a Ft(Chapter)30 b(5:)41
3961 y Fs(PS1)336 b Ft(The)35 b(primary)f(prompt)h(string.)55
b(The)35 b(default)h(v)-5 b(alue)35 b(is)h(`)p Fs(\\s-\\v\\$)28
b Ft('.)56 b(See)36 b(Section)g(6.9)630 4071 y([Prin)m(ting)28
-b(a)g(Prompt],)g(page)h(75,)g(for)e(the)h(complete)h(list)g(of)e(escap)
+b(a)g(Prompt],)g(page)h(77,)g(for)e(the)h(complete)h(list)g(of)e(escap)
s(e)h(sequences)g(that)h(are)630 4180 y(expanded)h(b)s(efore)g
Fs(PS1)f Ft(is)h(displa)m(y)m(ed.)150 4336 y Fs(PS2)336
b Ft(The)30 b(secondary)g(prompt)g(string.)41 b(The)29
(di\013eren)m(t)g(c)m(hapters:)38 b(v)-5 b(ariables)25
b(for)f(con)m(trolling)150 5184 y(the)31 b(job)f(con)m(trol)h
(facilities)i(\(see)e(Section)g(7.3)h([Job)e(Con)m(trol)h(V)-8
-b(ariables],)32 b(page)g(84\).)150 5340 y Fs(BASH)288
+b(ariables],)32 b(page)g(86\).)150 5340 y Fs(BASH)288
b Ft(The)30 b(full)g(pathname)g(used)g(to)h(execute)h(the)e(curren)m(t)
g(instance)h(of)g(Bash.)p eop end
%%Page: 56 62
(call)g(stac)m(k.)41 b(The)25 b(n)m(um)m(b)s(er)g(of)h(parameters)g(to)
g(the)g(curren)m(t)630 628 y(subroutine)i(\(shell)i(function)g(or)f
(script)g(executed)i(with)e Fs(.)g Ft(or)h Fs(source)p
-Ft(\))e(is)h(at)h(the)g(top)g(of)630 737 y(the)h(stac)m(k.)42
-b(When)30 b(a)g(subroutine)g(is)g(executed,)h(the)g(n)m(um)m(b)s(er)e
-(of)h(parameters)h(passed)f(is)630 847 y(pushed)f(on)m(to)i
-Fs(BASH_ARGC)p Ft(.)150 1017 y Fs(BASH_ARGV)630 1127
-y Ft(An)24 b(arra)m(y)g(v)-5 b(ariable)25 b(con)m(taining)h(all)f(of)f
-(the)h(parameters)f(in)g(the)g(curren)m(t)g(bash)g(execution)630
-1236 y(call)35 b(stac)m(k.)53 b(The)34 b(\014nal)g(parameter)g(of)g
+Ft(\))e(is)h(at)h(the)g(top)g(of)630 737 y(the)37 b(stac)m(k.)63
+b(When)37 b(a)h(subroutine)e(is)h(executed,)j(the)e(n)m(um)m(b)s(er)d
+(of)j(parameters)f(passed)630 847 y(is)g(pushed)f(on)m(to)i
+Fs(BASH_ARGC)p Ft(.)59 b(The)37 b(shell)g(sets)h Fs(BASH_ARGC)c
+Ft(only)k(when)e(in)h(extended)630 956 y(debugging)e(mo)s(de)g(\(see)i
+(Section)f(4.2)h([Bash)e(Builtins],)j(page)e(39)g(for)f(a)h
+(description)g(of)630 1066 y(the)31 b Fs(extdebug)d Ft(option)j(to)g
+(the)f Fs(shopt)f Ft(builtin\).)150 1240 y Fs(BASH_ARGV)630
+1350 y Ft(An)24 b(arra)m(y)g(v)-5 b(ariable)25 b(con)m(taining)h(all)f
+(of)f(the)h(parameters)f(in)g(the)g(curren)m(t)g(bash)g(execution)630
+1459 y(call)35 b(stac)m(k.)53 b(The)34 b(\014nal)g(parameter)g(of)g
(the)g(last)h(subroutine)e(call)i(is)f(at)h(the)f(top)h(of)f(the)630
-1346 y(stac)m(k;)28 b(the)c(\014rst)f(parameter)i(of)f(the)g(initial)i
+1569 y(stac)m(k;)28 b(the)c(\014rst)f(parameter)i(of)f(the)g(initial)i
(call)f(is)f(at)h(the)f(b)s(ottom.)39 b(When)24 b(a)g(subroutine)630
-1456 y(is)30 b(executed,)i(the)e(parameters)h(supplied)e(are)i(pushed)e
-(on)m(to)i Fs(BASH_ARGV)p Ft(.)150 1626 y Fs(BASH_COMMAND)630
-1736 y Ft(The)39 b(command)h(curren)m(tly)g(b)s(eing)f(executed)i(or)e
-(ab)s(out)h(to)g(b)s(e)f(executed,)44 b(unless)39 b(the)630
-1845 y(shell)g(is)g(executing)g(a)g(command)g(as)g(the)f(result)h(of)g
-(a)g(trap,)i(in)d(whic)m(h)g(case)i(it)f(is)g(the)630
-1955 y(command)30 b(executing)i(at)f(the)f(time)h(of)g(the)g(trap.)150
-2125 y Fs(BASH_ENV)96 b Ft(If)28 b(this)g(v)-5 b(ariable)30
+1678 y(is)40 b(executed,)j(the)d(parameters)h(supplied)d(are)i(pushed)f
+(on)m(to)i Fs(BASH_ARGV)p Ft(.)66 b(The)40 b(shell)630
+1788 y(sets)31 b Fs(BASH_ARGV)e Ft(only)i(when)e(in)i(extended)g
+(debugging)g(mo)s(de)f(\(see)i(Section)g(4.2)g([Bash)630
+1898 y(Builtins],)25 b(page)e(39)g(for)f(a)h(description)g(of)f(the)h
+Fs(extdebug)d Ft(option)j(to)g(the)g Fs(shopt)e Ft(builtin\).)150
+2072 y Fs(BASH_COMMAND)630 2181 y Ft(The)39 b(command)h(curren)m(tly)g
+(b)s(eing)f(executed)i(or)e(ab)s(out)h(to)g(b)s(e)f(executed,)44
+b(unless)39 b(the)630 2291 y(shell)g(is)g(executing)g(a)g(command)g(as)
+g(the)f(result)h(of)g(a)g(trap,)i(in)d(whic)m(h)g(case)i(it)f(is)g(the)
+630 2400 y(command)30 b(executing)i(at)f(the)f(time)h(of)g(the)g(trap.)
+150 2574 y Fs(BASH_ENV)96 b Ft(If)28 b(this)g(v)-5 b(ariable)30
b(is)e(set)h(when)f(Bash)g(is)h(in)m(v)m(ok)m(ed)h(to)f(execute)h(a)e
-(shell)h(script,)g(its)g(v)-5 b(alue)29 b(is)630 2235
+(shell)h(script,)g(its)g(v)-5 b(alue)29 b(is)630 2684
y(expanded)k(and)h(used)g(as)g(the)h(name)f(of)g(a)h(startup)f(\014le)g
-(to)h(read)f(b)s(efore)g(executing)i(the)630 2345 y(script.)41
-b(See)30 b(Section)h(6.2)h([Bash)f(Startup)e(Files],)j(page)f(65.)150
-2515 y Fs(BASH_EXECUTION_STRING)630 2625 y Ft(The)f(command)g(argumen)m
+(to)h(read)f(b)s(efore)g(executing)i(the)630 2794 y(script.)41
+b(See)30 b(Section)h(6.2)h([Bash)f(Startup)e(Files],)j(page)f(67.)150
+2968 y Fs(BASH_EXECUTION_STRING)630 3077 y Ft(The)f(command)g(argumen)m
(t)h(to)g(the)g(`)p Fs(-c)p Ft(')f(in)m(v)m(o)s(cation)i(option.)150
-2795 y Fs(BASH_LINENO)630 2905 y Ft(An)38 b(arra)m(y)h(v)-5
+3251 y Fs(BASH_LINENO)630 3361 y Ft(An)38 b(arra)m(y)h(v)-5
b(ariable)39 b(whose)g(mem)m(b)s(ers)e(are)i(the)g(line)g(n)m(um)m(b)s
-(ers)e(in)h(source)h(\014les)f(corre-)630 3014 y(sp)s(onding)h(to)i
+(ers)e(in)h(source)h(\014les)f(corre-)630 3471 y(sp)s(onding)h(to)i
(eac)m(h)g(mem)m(b)s(er)e(of)i Fq(FUNCNAME)p Ft(.)g Fs
-(${BASH_LINENO[$i]})35 b Ft(is)40 b(the)h(line)630 3124
+(${BASH_LINENO[$i]})35 b Ft(is)40 b(the)h(line)630 3580
y(n)m(um)m(b)s(er)26 b(in)i(the)g(source)f(\014le)h(where)f
Fs(${FUNCNAME[$i]})d Ft(w)m(as)k(called.)41 b(The)27
-b(corresp)s(ond-)630 3233 y(ing)f(source)h(\014le)f(name)g(is)h
+b(corresp)s(ond-)630 3690 y(ing)f(source)h(\014le)f(name)g(is)h
Fs(${BASH_SOURCE[$i]})p Ft(.)34 b(Use)27 b Fs(LINENO)d
-Ft(to)j(obtain)g(the)f(curren)m(t)630 3343 y(line)31
-b(n)m(um)m(b)s(er.)150 3513 y Fs(BASH_REMATCH)630 3623
+Ft(to)j(obtain)g(the)f(curren)m(t)630 3799 y(line)31
+b(n)m(um)m(b)s(er.)150 3973 y Fs(BASH_REMATCH)630 4083
y Ft(An)43 b(arra)m(y)i(v)-5 b(ariable)44 b(whose)g(mem)m(b)s(ers)f
(are)h(assigned)g(b)m(y)f(the)h(`)p Fs(=~)p Ft(')g(binary)f(op)s
-(erator)630 3733 y(to)37 b(the)f Fs([[)g Ft(conditional)i(command)e
+(erator)630 4193 y(to)37 b(the)f Fs([[)g Ft(conditional)i(command)e
(\(see)h(Section)g(3.2.4.2)i([Conditional)e(Constructs],)630
-3842 y(page)e(10\).)52 b(The)33 b(elemen)m(t)j(with)d(index)g(0)i(is)f
+4302 y(page)e(10\).)52 b(The)33 b(elemen)m(t)j(with)d(index)g(0)i(is)f
(the)g(p)s(ortion)f(of)h(the)g(string)g(matc)m(hing)h(the)630
-3952 y(en)m(tire)29 b(regular)f(expression.)40 b(The)27
+4412 y(en)m(tire)29 b(regular)f(expression.)40 b(The)27
b(elemen)m(t)j(with)d(index)h Fq(n)f Ft(is)h(the)g(p)s(ortion)g(of)g
-(the)g(string)630 4061 y(matc)m(hing)j(the)g Fq(n)p Ft(th)f(paren)m
+(the)g(string)630 4521 y(matc)m(hing)j(the)g Fq(n)p Ft(th)f(paren)m
(thesized)h(sub)s(expression.)39 b(This)29 b(v)-5 b(ariable)31
-b(is)g(read-only)-8 b(.)150 4232 y Fs(BASH_SOURCE)630
-4341 y Ft(An)24 b(arra)m(y)h(v)-5 b(ariable)26 b(whose)e(mem)m(b)s(ers)
+b(is)g(read-only)-8 b(.)150 4695 y Fs(BASH_SOURCE)630
+4805 y Ft(An)24 b(arra)m(y)h(v)-5 b(ariable)26 b(whose)e(mem)m(b)s(ers)
g(are)h(the)g(source)f(\014lenames)h(corresp)s(onding)e(to)j(the)630
-4451 y(elemen)m(ts)32 b(in)e(the)g Fs(FUNCNAME)e Ft(arra)m(y)j(v)-5
-b(ariable.)150 4622 y Fs(BASH_SUBSHELL)630 4731 y Ft(Incremen)m(ted)34
+4915 y(elemen)m(ts)32 b(in)e(the)g Fs(FUNCNAME)e Ft(arra)m(y)j(v)-5
+b(ariable.)150 5089 y Fs(BASH_SUBSHELL)630 5198 y Ft(Incremen)m(ted)34
b(b)m(y)h(one)f(eac)m(h)i(time)f(a)f(subshell)g(or)g(subshell)f(en)m
-(vironmen)m(t)i(is)f(spa)m(wned.)630 4841 y(The)c(initial)h(v)-5
-b(alue)31 b(is)g(0.)150 5011 y Fs(BASH_VERSINFO)630 5121
-y Ft(A)36 b(readonly)g(arra)m(y)g(v)-5 b(ariable)37 b(\(see)f(Section)h
-(6.7)g([Arra)m(ys],)h(page)e(72\))h(whose)f(mem)m(b)s(ers)630
-5230 y(hold)c(v)m(ersion)h(information)f(for)g(this)g(instance)h(of)g
-(Bash.)46 b(The)32 b(v)-5 b(alues)32 b(assigned)h(to)g(the)630
-5340 y(arra)m(y)e(mem)m(b)s(ers)e(are)i(as)g(follo)m(ws:)p
-eop end
+(vironmen)m(t)i(is)f(spa)m(wned.)630 5308 y(The)c(initial)h(v)-5
+b(alue)31 b(is)g(0.)p eop end
%%Page: 57 63
TeXDict begin 57 62 bop 150 -116 a Ft(Chapter)30 b(5:)41
-b(Shell)30 b(V)-8 b(ariables)2459 b(57)630 299 y Fs(BASH_VERSINFO[0])
-1110 408 y Ft(The)30 b(ma)5 b(jor)30 b(v)m(ersion)h(n)m(um)m(b)s(er)e
-(\(the)i Fq(release)5 b Ft(\).)630 582 y Fs(BASH_VERSINFO[1])1110
-692 y Ft(The)30 b(minor)g(v)m(ersion)h(n)m(um)m(b)s(er)e(\(the)i
-Fq(v)m(ersion)p Ft(\).)630 865 y Fs(BASH_VERSINFO[2])1110
-975 y Ft(The)f(patc)m(h)h(lev)m(el.)630 1148 y Fs(BASH_VERSINFO[3])1110
-1258 y Ft(The)f(build)f(v)m(ersion.)630 1431 y Fs(BASH_VERSINFO[4])1110
-1541 y Ft(The)h(release)i(status)e(\(e.g.,)j Fq(b)s(eta1)7
-b Ft(\).)630 1714 y Fs(BASH_VERSINFO[5])1110 1824 y Ft(The)30
-b(v)-5 b(alue)31 b(of)f Fs(MACHTYPE)p Ft(.)150 1998 y
-Fs(BASH_VERSION)630 2107 y Ft(The)g(v)m(ersion)h(n)m(um)m(b)s(er)e(of)h
-(the)h(curren)m(t)f(instance)h(of)g(Bash.)150 2281 y
-Fs(COLUMNS)144 b Ft(Used)36 b(b)m(y)h(the)f Fs(select)f
+b(Shell)30 b(V)-8 b(ariables)2459 b(57)150 299 y Fs(BASH_VERSINFO)630
+408 y Ft(A)36 b(readonly)g(arra)m(y)g(v)-5 b(ariable)37
+b(\(see)f(Section)h(6.7)g([Arra)m(ys],)h(page)e(74\))h(whose)f(mem)m(b)
+s(ers)630 518 y(hold)c(v)m(ersion)h(information)f(for)g(this)g
+(instance)h(of)g(Bash.)46 b(The)32 b(v)-5 b(alues)32
+b(assigned)h(to)g(the)630 628 y(arra)m(y)e(mem)m(b)s(ers)e(are)i(as)g
+(follo)m(ws:)630 779 y Fs(BASH_VERSINFO[0])1110 889 y
+Ft(The)f(ma)5 b(jor)30 b(v)m(ersion)h(n)m(um)m(b)s(er)e(\(the)i
+Fq(release)5 b Ft(\).)630 1041 y Fs(BASH_VERSINFO[1])1110
+1150 y Ft(The)30 b(minor)g(v)m(ersion)h(n)m(um)m(b)s(er)e(\(the)i
+Fq(v)m(ersion)p Ft(\).)630 1302 y Fs(BASH_VERSINFO[2])1110
+1412 y Ft(The)f(patc)m(h)h(lev)m(el.)630 1563 y Fs(BASH_VERSINFO[3])
+1110 1673 y Ft(The)f(build)f(v)m(ersion.)630 1825 y Fs
+(BASH_VERSINFO[4])1110 1934 y Ft(The)h(release)i(status)e(\(e.g.,)j
+Fq(b)s(eta1)7 b Ft(\).)630 2086 y Fs(BASH_VERSINFO[5])1110
+2196 y Ft(The)30 b(v)-5 b(alue)31 b(of)f Fs(MACHTYPE)p
+Ft(.)150 2347 y Fs(BASH_VERSION)630 2457 y Ft(The)g(v)m(ersion)h(n)m
+(um)m(b)s(er)e(of)h(the)h(curren)m(t)f(instance)h(of)g(Bash.)150
+2609 y Fs(COLUMNS)144 b Ft(Used)36 b(b)m(y)h(the)f Fs(select)f
Ft(builtin)h(command)h(to)g(determine)f(the)h(terminal)g(width)f(when)
-630 2390 y(prin)m(ting)30 b(selection)i(lists.)42 b(Automatically)33
+630 2718 y(prin)m(ting)30 b(selection)i(lists.)42 b(Automatically)33
b(set)e(up)s(on)d(receipt)k(of)e(a)h Fs(SIGWINCH)p Ft(.)150
-2564 y Fs(COMP_CWORD)630 2673 y Ft(An)38 b(index)g(in)m(to)h
+2870 y Fs(COMP_CWORD)630 2980 y Ft(An)38 b(index)g(in)m(to)h
Fs(${COMP_WORDS})c Ft(of)k(the)g(w)m(ord)f(con)m(taining)i(the)e
-(curren)m(t)g(cursor)g(p)s(o-)630 2783 y(sition.)72 b(This)40
+(curren)m(t)g(cursor)g(p)s(o-)630 3089 y(sition.)72 b(This)40
b(v)-5 b(ariable)41 b(is)f(a)m(v)-5 b(ailable)43 b(only)e(in)f(shell)h
(functions)f(in)m(v)m(ok)m(ed)i(b)m(y)e(the)h(pro-)630
-2892 y(grammable)36 b(completion)g(facilities)i(\(see)e(Section)g(8.6)g
-([Programmable)g(Completion],)630 3002 y(page)31 b(105\).)150
-3176 y Fs(COMP_LINE)630 3285 y Ft(The)38 b(curren)m(t)h(command)f
+3199 y(grammable)36 b(completion)g(facilities)i(\(see)e(Section)g(8.6)g
+([Programmable)g(Completion],)630 3308 y(page)31 b(107\).)150
+3460 y Fs(COMP_LINE)630 3570 y Ft(The)38 b(curren)m(t)h(command)f
(line.)66 b(This)37 b(v)-5 b(ariable)40 b(is)f(a)m(v)-5
-b(ailable)41 b(only)d(in)h(shell)f(functions)630 3395
+b(ailable)41 b(only)d(in)h(shell)f(functions)630 3679
y(and)25 b(external)h(commands)f(in)m(v)m(ok)m(ed)h(b)m(y)f(the)h
-(programmable)f(completion)i(facilities)g(\(see)630 3504
-y(Section)k(8.6)h([Programmable)f(Completion],)g(page)g(105\).)150
-3678 y Fs(COMP_POINT)630 3787 y Ft(The)25 b(index)g(of)h(the)g(curren)m
+(programmable)f(completion)i(facilities)g(\(see)630 3789
+y(Section)k(8.6)h([Programmable)f(Completion],)g(page)g(107\).)150
+3941 y Fs(COMP_POINT)630 4050 y Ft(The)25 b(index)g(of)h(the)g(curren)m
(t)f(cursor)g(p)s(osition)h(relativ)m(e)i(to)e(the)g(b)s(eginning)f(of)
-g(the)h(curren)m(t)630 3897 y(command.)40 b(If)27 b(the)h(curren)m(t)g
+g(the)h(curren)m(t)630 4160 y(command.)40 b(If)27 b(the)h(curren)m(t)g
(cursor)g(p)s(osition)g(is)g(at)g(the)g(end)g(of)g(the)g(curren)m(t)g
-(command,)630 4007 y(the)i(v)-5 b(alue)30 b(of)g(this)g(v)-5
+(command,)630 4269 y(the)i(v)-5 b(alue)30 b(of)g(this)g(v)-5
b(ariable)31 b(is)f(equal)g(to)h Fs(${#COMP_LINE})p Ft(.)37
b(This)29 b(v)-5 b(ariable)31 b(is)f(a)m(v)-5 b(ailable)630
-4116 y(only)36 b(in)f(shell)h(functions)f(and)g(external)h(commands)g
-(in)m(v)m(ok)m(ed)h(b)m(y)e(the)h(programmable)630 4226
+4379 y(only)36 b(in)f(shell)h(functions)f(and)g(external)h(commands)g
+(in)m(v)m(ok)m(ed)h(b)m(y)e(the)h(programmable)630 4489
y(completion)c(facilities)g(\(see)g(Section)f(8.6)g([Programmable)g
-(Completion],)h(page)f(105\).)150 4399 y Fs(COMP_WORDBREAKS)630
-4509 y Ft(The)e(set)i(of)e(c)m(haracters)j(that)e(the)g(Readline)g
+(Completion],)h(page)f(107\).)150 4640 y Fs(COMP_WORDBREAKS)630
+4750 y Ft(The)e(set)i(of)e(c)m(haracters)j(that)e(the)g(Readline)g
(library)g(treats)g(as)g(w)m(ord)g(separators)g(when)630
-4619 y(p)s(erforming)i(w)m(ord)h(completion.)51 b(If)33
+4859 y(p)s(erforming)i(w)m(ord)h(completion.)51 b(If)33
b Fs(COMP_WORDBREAKS)c Ft(is)34 b(unset,)g(it)f(loses)i(its)e(sp)s
-(ecial)630 4728 y(prop)s(erties,)d(ev)m(en)h(if)f(it)h(is)g(subsequen)m
-(tly)f(reset.)150 4902 y Fs(COMP_WORDS)630 5011 y Ft(An)36
+(ecial)630 4969 y(prop)s(erties,)d(ev)m(en)h(if)f(it)h(is)g(subsequen)m
+(tly)f(reset.)150 5121 y Fs(COMP_WORDS)630 5230 y Ft(An)36
b(arra)m(y)g(v)-5 b(ariable)37 b(consisting)g(of)f(the)g(individual)f
-(w)m(ords)h(in)f(the)h(curren)m(t)g(command)630 5121
+(w)m(ords)h(in)f(the)h(curren)m(t)g(command)630 5340
y(line.)88 b(This)45 b(v)-5 b(ariable)47 b(is)f(a)m(v)-5
b(ailable)48 b(only)e(in)g(shell)g(functions)g(in)m(v)m(ok)m(ed)h(b)m
-(y)f(the)g(pro-)630 5230 y(grammable)36 b(completion)g(facilities)i
-(\(see)e(Section)g(8.6)g([Programmable)g(Completion],)630
-5340 y(page)31 b(105\).)p eop end
+(y)f(the)g(pro-)p eop end
%%Page: 58 64
TeXDict begin 58 63 bop 150 -116 a Ft(58)2572 b(Bash)31
-b(Reference)g(Man)m(ual)150 299 y Fs(COMPREPLY)630 408
+b(Reference)g(Man)m(ual)630 299 y(grammable)36 b(completion)g
+(facilities)i(\(see)e(Section)g(8.6)g([Programmable)g(Completion],)630
+408 y(page)31 b(107\).)150 573 y Fs(COMPREPLY)630 682
y Ft(An)37 b(arra)m(y)h(v)-5 b(ariable)38 b(from)f(whic)m(h)g(Bash)g
(reads)g(the)h(p)s(ossible)e(completions)j(generated)630
-518 y(b)m(y)33 b(a)g(shell)h(function)f(in)m(v)m(ok)m(ed)h(b)m(y)f(the)
+792 y(b)m(y)33 b(a)g(shell)h(function)f(in)m(v)m(ok)m(ed)h(b)m(y)f(the)
g(programmable)h(completion)g(facilit)m(y)h(\(see)f(Sec-)630
-628 y(tion)d(8.6)g([Programmable)g(Completion],)h(page)f(105\).)150
-774 y Fs(DIRSTACK)96 b Ft(An)26 b(arra)m(y)h(v)-5 b(ariable)28
+902 y(tion)d(8.6)g([Programmable)g(Completion],)h(page)f(107\).)150
+1066 y Fs(DIRSTACK)96 b Ft(An)26 b(arra)m(y)h(v)-5 b(ariable)28
b(con)m(taining)g(the)f(curren)m(t)f(con)m(ten)m(ts)j(of)e(the)f
-(directory)i(stac)m(k.)41 b(Direc-)630 883 y(tories)33
+(directory)i(stac)m(k.)41 b(Direc-)630 1176 y(tories)33
b(app)s(ear)f(in)g(the)h(stac)m(k)h(in)e(the)h(order)f(they)h(are)g
(displa)m(y)m(ed)g(b)m(y)f(the)h Fs(dirs)e Ft(builtin.)630
-993 y(Assigning)f(to)h(mem)m(b)s(ers)f(of)g(this)g(arra)m(y)g(v)-5
+1285 y(Assigning)f(to)h(mem)m(b)s(ers)f(of)g(this)g(arra)m(y)g(v)-5
b(ariable)31 b(ma)m(y)g(b)s(e)e(used)h(to)h(mo)s(dify)e(directories)630
-1103 y(already)41 b(in)f(the)h(stac)m(k,)k(but)40 b(the)h
+1395 y(already)41 b(in)f(the)h(stac)m(k,)k(but)40 b(the)h
Fs(pushd)e Ft(and)h Fs(popd)f Ft(builtins)h(m)m(ust)h(b)s(e)e(used)h
-(to)i(add)630 1212 y(and)37 b(remo)m(v)m(e)h(directories.)63
+(to)i(add)630 1504 y(and)37 b(remo)m(v)m(e)h(directories.)63
b(Assignmen)m(t)37 b(to)h(this)f(v)-5 b(ariable)38 b(will)g(not)f(c)m
-(hange)i(the)e(cur-)630 1322 y(ren)m(t)c(directory)-8
+(hange)i(the)e(cur-)630 1614 y(ren)m(t)c(directory)-8
b(.)47 b(If)32 b Fs(DIRSTACK)e Ft(is)i(unset,)g(it)h(loses)g(its)g(sp)s
(ecial)g(prop)s(erties,)f(ev)m(en)h(if)f(it)h(is)630
-1431 y(subsequen)m(tly)d(reset.)150 1577 y Fs(EMACS)240
+1724 y(subsequen)m(tly)d(reset.)150 1888 y Fs(EMACS)240
b Ft(If)31 b(Bash)h(\014nds)d(this)j(v)-5 b(ariable)32
b(in)f(the)h(en)m(vironmen)m(t)g(when)e(the)i(shell)f(starts)h(with)f
-(v)-5 b(alue)630 1687 y(`)p Fs(t)p Ft(',)38 b(it)e(assumes)g(that)g
+(v)-5 b(alue)630 1998 y(`)p Fs(t)p Ft(',)38 b(it)e(assumes)g(that)g
(the)h(shell)f(is)g(running)e(in)i(an)g(emacs)g(shell)h(bu\013er)e(and)
-g(disables)630 1797 y(line)c(editing.)150 1943 y Fs(EUID)288
+g(disables)630 2107 y(line)c(editing.)150 2271 y Fs(EUID)288
b Ft(The)30 b(n)m(umeric)g(e\013ectiv)m(e)j(user)d(id)g(of)g(the)h
(curren)m(t)f(user.)40 b(This)30 b(v)-5 b(ariable)31
-b(is)f(readonly)-8 b(.)150 2089 y Fs(FCEDIT)192 b Ft(The)30
+b(is)f(readonly)-8 b(.)150 2436 y Fs(FCEDIT)192 b Ft(The)30
b(editor)h(used)e(as)i(a)g(default)f(b)m(y)h(the)f(`)p
Fs(-e)p Ft(')g(option)h(to)g(the)g Fs(fc)f Ft(builtin)g(command.)150
-2235 y Fs(FIGNORE)144 b Ft(A)35 b(colon-separated)i(list)f(of)g
+2600 y Fs(FIGNORE)144 b Ft(A)35 b(colon-separated)i(list)f(of)g
(su\016xes)e(to)i(ignore)g(when)e(p)s(erforming)g(\014lename)i(comple-)
-630 2345 y(tion.)j(A)25 b(\014le)g(name)g(whose)f(su\016x)g(matc)m(hes)
+630 2710 y(tion.)j(A)25 b(\014le)g(name)g(whose)f(su\016x)g(matc)m(hes)
i(one)f(of)g(the)g(en)m(tries)g(in)g Fs(FIGNORE)d Ft(is)j(excluded)630
-2454 y(from)30 b(the)g(list)h(of)g(matc)m(hed)g(\014le)g(names.)40
+2819 y(from)30 b(the)g(list)h(of)g(matc)m(hed)g(\014le)g(names.)40
b(A)31 b(sample)f(v)-5 b(alue)31 b(is)g(`)p Fs(.o:~)p
-Ft(')150 2600 y Fs(FUNCNAME)96 b Ft(An)35 b(arra)m(y)i(v)-5
+Ft(')150 2984 y Fs(FUNCNAME)96 b Ft(An)35 b(arra)m(y)i(v)-5
b(ariable)36 b(con)m(taining)h(the)f(names)g(of)g(all)g(shell)g
-(functions)g(curren)m(tly)f(in)h(the)630 2710 y(execution)g(call)h
+(functions)g(curren)m(tly)f(in)h(the)630 3093 y(execution)g(call)h
(stac)m(k.)57 b(The)34 b(elemen)m(t)j(with)e(index)g(0)h(is)f(the)g
-(name)h(of)f(an)m(y)h(curren)m(tly-)630 2819 y(executing)i(shell)f
+(name)h(of)f(an)m(y)h(curren)m(tly-)630 3203 y(executing)i(shell)f
(function.)58 b(The)37 b(b)s(ottom-most)g(elemen)m(t)h(is)f
Fs(")p Ft(main)p Fs(")p Ft(.)58 b(This)36 b(v)-5 b(ariable)630
-2929 y(exists)33 b(only)g(when)f(a)h(shell)g(function)f(is)h
+3313 y(exists)33 b(only)g(when)f(a)h(shell)g(function)f(is)h
(executing.)49 b(Assignmen)m(ts)33 b(to)g Fs(FUNCNAME)e
-Ft(ha)m(v)m(e)630 3039 y(no)36 b(e\013ect)h(and)e(return)f(an)i(error)f
+Ft(ha)m(v)m(e)630 3422 y(no)36 b(e\013ect)h(and)e(return)f(an)i(error)f
(status.)57 b(If)36 b Fs(FUNCNAME)d Ft(is)j(unset,)h(it)f(loses)g(its)g
-(sp)s(ecial)630 3148 y(prop)s(erties,)30 b(ev)m(en)h(if)f(it)h(is)g
-(subsequen)m(tly)f(reset.)150 3294 y Fs(GLOBIGNORE)630
-3404 y Ft(A)38 b(colon-separated)i(list)f(of)f(patterns)g(de\014ning)f
+(sp)s(ecial)630 3532 y(prop)s(erties,)30 b(ev)m(en)h(if)f(it)h(is)g
+(subsequen)m(tly)f(reset.)150 3696 y Fs(GLOBIGNORE)630
+3806 y Ft(A)38 b(colon-separated)i(list)f(of)f(patterns)g(de\014ning)f
(the)h(set)g(of)h(\014lenames)f(to)g(b)s(e)g(ignored)630
-3513 y(b)m(y)31 b(\014lename)g(expansion.)43 b(If)31
+3915 y(b)m(y)31 b(\014lename)g(expansion.)43 b(If)31
b(a)h(\014lename)f(matc)m(hed)h(b)m(y)f(a)g(\014lename)h(expansion)f
-(pattern)630 3623 y(also)i(matc)m(hes)g(one)f(of)g(the)g(patterns)g(in)
+(pattern)630 4025 y(also)i(matc)m(hes)g(one)f(of)g(the)g(patterns)g(in)
f Fs(GLOBIGNORE)p Ft(,)f(it)i(is)g(remo)m(v)m(ed)h(from)e(the)h(list)h
-(of)630 3733 y(matc)m(hes.)150 3879 y Fs(GROUPS)192 b
+(of)630 4134 y(matc)m(hes.)150 4299 y Fs(GROUPS)192 b
Ft(An)36 b(arra)m(y)g(v)-5 b(ariable)37 b(con)m(taining)g(the)f(list)h
(of)f(groups)g(of)g(whic)m(h)f(the)i(curren)m(t)e(user)h(is)g(a)630
-3988 y(mem)m(b)s(er.)47 b(Assignmen)m(ts)33 b(to)g Fs(GROUPS)e
+4408 y(mem)m(b)s(er.)47 b(Assignmen)m(ts)33 b(to)g Fs(GROUPS)e
Ft(ha)m(v)m(e)j(no)f(e\013ect)h(and)e(return)g(an)g(error)g(status.)48
-b(If)630 4098 y Fs(GROUPS)29 b Ft(is)h(unset,)g(it)h(loses)g(its)g(sp)s
+b(If)630 4518 y Fs(GROUPS)29 b Ft(is)h(unset,)g(it)h(loses)g(its)g(sp)s
(ecial)g(prop)s(erties,)f(ev)m(en)h(if)f(it)h(is)g(subsequen)m(tly)f
-(reset.)150 4244 y Fs(histchars)630 4354 y Ft(Up)c(to)g(three)g(c)m
+(reset.)150 4682 y Fs(histchars)630 4792 y Ft(Up)c(to)g(three)g(c)m
(haracters)i(whic)m(h)d(con)m(trol)j(history)d(expansion,)i(quic)m(k)g
-(substitution,)g(and)630 4463 y(tok)m(enization)k(\(see)f(Section)f
-(9.3)h([History)f(In)m(teraction],)i(page)f(113\).)41
-b(The)29 b(\014rst)e(c)m(harac-)630 4573 y(ter)j(is)f(the)g
+(substitution,)g(and)630 4902 y(tok)m(enization)k(\(see)f(Section)f
+(9.3)h([History)f(In)m(teraction],)i(page)f(115\).)41
+b(The)29 b(\014rst)e(c)m(harac-)630 5011 y(ter)j(is)f(the)g
Fq(history)g(expansion)g Ft(c)m(haracter,)j(that)e(is,)f(the)h(c)m
-(haracter)h(whic)m(h)d(signi\014es)i(the)630 4682 y(start)25
+(haracter)h(whic)m(h)d(signi\014es)i(the)630 5121 y(start)25
b(of)f(a)h(history)f(expansion,)i(normally)e(`)p Fs(!)p
Ft('.)39 b(The)24 b(second)g(c)m(haracter)i(is)e(the)g(c)m(haracter)630
-4792 y(whic)m(h)36 b(signi\014es)g(`quic)m(k)h(substitution')f(when)f
+5230 y(whic)m(h)36 b(signi\014es)g(`quic)m(k)h(substitution')f(when)f
(seen)h(as)g(the)g(\014rst)f(c)m(haracter)j(on)e(a)g(line,)630
-4902 y(normally)27 b(`)p Fs(^)p Ft('.)39 b(The)26 b(optional)i(third)d
-(c)m(haracter)j(is)e(the)h(c)m(haracter)h(whic)m(h)e(indicates)h(that)
-630 5011 y(the)34 b(remainder)f(of)h(the)g(line)g(is)f(a)h(commen)m(t)h
-(when)e(found)f(as)i(the)g(\014rst)f(c)m(haracter)i(of)f(a)630
-5121 y(w)m(ord,)i(usually)f(`)p Fs(#)p Ft('.)55 b(The)34
-b(history)h(commen)m(t)h(c)m(haracter)h(causes)e(history)g
-(substitution)630 5230 y(to)27 b(b)s(e)f(skipp)s(ed)f(for)i(the)f
-(remaining)h(w)m(ords)f(on)h(the)f(line.)40 b(It)27 b(do)s(es)f(not)h
-(necessarily)g(cause)630 5340 y(the)k(shell)f(parser)g(to)h(treat)g
-(the)g(rest)g(of)f(the)h(line)f(as)h(a)g(commen)m(t.)p
+5340 y(normally)27 b(`)p Fs(^)p Ft('.)39 b(The)26 b(optional)i(third)d
+(c)m(haracter)j(is)e(the)h(c)m(haracter)h(whic)m(h)e(indicates)h(that)p
eop end
%%Page: 59 65
TeXDict begin 59 64 bop 150 -116 a Ft(Chapter)30 b(5:)41
-b(Shell)30 b(V)-8 b(ariables)2459 b(59)150 299 y Fs(HISTCMD)144
-b Ft(The)35 b(history)h(n)m(um)m(b)s(er,)g(or)f(index)g(in)h(the)g
-(history)f(list,)j(of)e(the)g(curren)m(t)f(command.)56
-b(If)630 408 y Fs(HISTCMD)28 b Ft(is)h(unset,)h(it)g(loses)h(its)f(sp)s
-(ecial)g(prop)s(erties,)g(ev)m(en)g(if)g(it)g(is)g(subsequen)m(tly)f
-(reset.)150 578 y Fs(HISTCONTROL)630 688 y Ft(A)40 b(colon-separated)i
-(list)f(of)f(v)-5 b(alues)40 b(con)m(trolling)i(ho)m(w)e(commands)g
-(are)h(sa)m(v)m(ed)g(on)f(the)630 797 y(history)29 b(list.)41
-b(If)28 b(the)h(list)h(of)f(v)-5 b(alues)29 b(includes)f(`)p
+b(Shell)30 b(V)-8 b(ariables)2459 b(59)630 299 y(the)34
+b(remainder)f(of)h(the)g(line)g(is)f(a)h(commen)m(t)h(when)e(found)f
+(as)i(the)g(\014rst)f(c)m(haracter)i(of)f(a)630 408 y(w)m(ord,)i
+(usually)f(`)p Fs(#)p Ft('.)55 b(The)34 b(history)h(commen)m(t)h(c)m
+(haracter)h(causes)e(history)g(substitution)630 518 y(to)27
+b(b)s(e)f(skipp)s(ed)f(for)i(the)f(remaining)h(w)m(ords)f(on)h(the)f
+(line.)40 b(It)27 b(do)s(es)f(not)h(necessarily)g(cause)630
+628 y(the)k(shell)f(parser)g(to)h(treat)g(the)g(rest)g(of)f(the)h(line)
+f(as)h(a)g(commen)m(t.)150 816 y Fs(HISTCMD)144 b Ft(The)35
+b(history)h(n)m(um)m(b)s(er,)g(or)f(index)g(in)h(the)g(history)f(list,)
+j(of)e(the)g(curren)m(t)f(command.)56 b(If)630 925 y
+Fs(HISTCMD)28 b Ft(is)h(unset,)h(it)g(loses)h(its)f(sp)s(ecial)g(prop)s
+(erties,)g(ev)m(en)g(if)g(it)g(is)g(subsequen)m(tly)f(reset.)150
+1113 y Fs(HISTCONTROL)630 1223 y Ft(A)40 b(colon-separated)i(list)f(of)
+f(v)-5 b(alues)40 b(con)m(trolling)i(ho)m(w)e(commands)g(are)h(sa)m(v)m
+(ed)g(on)f(the)630 1332 y(history)29 b(list.)41 b(If)28
+b(the)h(list)h(of)f(v)-5 b(alues)29 b(includes)f(`)p
Fs(ignorespace)p Ft(',)f(lines)i(whic)m(h)g(b)s(egin)f(with)630
-907 y(a)39 b(space)g(c)m(haracter)i(are)e(not)g(sa)m(v)m(ed)g(in)g(the)
-g(history)f(list.)66 b(A)39 b(v)-5 b(alue)39 b(of)g(`)p
-Fs(ignoredups)p Ft(')630 1017 y(causes)34 b(lines)h(whic)m(h)f(matc)m
+1442 y(a)39 b(space)g(c)m(haracter)i(are)e(not)g(sa)m(v)m(ed)g(in)g
+(the)g(history)f(list.)66 b(A)39 b(v)-5 b(alue)39 b(of)g(`)p
+Fs(ignoredups)p Ft(')630 1551 y(causes)34 b(lines)h(whic)m(h)f(matc)m
(h)h(the)f(previous)f(history)h(en)m(try)h(to)g(not)f(b)s(e)f(sa)m(v)m
-(ed.)53 b(A)34 b(v)-5 b(alue)630 1126 y(of)32 b(`)p Fs(ignoreboth)p
+(ed.)53 b(A)34 b(v)-5 b(alue)630 1661 y(of)32 b(`)p Fs(ignoreboth)p
Ft(')d(is)j(shorthand)e(for)i(`)p Fs(ignorespace)p Ft(')d(and)i(`)p
Fs(ignoredups)p Ft('.)42 b(A)32 b(v)-5 b(alue)32 b(of)630
-1236 y(`)p Fs(erasedups)p Ft(')f(causes)i(all)h(previous)f(lines)g
+1771 y(`)p Fs(erasedups)p Ft(')f(causes)i(all)h(previous)f(lines)g
(matc)m(hing)h(the)f(curren)m(t)g(line)g(to)h(b)s(e)e(remo)m(v)m(ed)630
-1345 y(from)42 b(the)h(history)f(list)i(b)s(efore)e(that)h(line)g(is)g
+1880 y(from)42 b(the)h(history)f(list)i(b)s(efore)e(that)h(line)g(is)g
(sa)m(v)m(ed.)78 b(An)m(y)43 b(v)-5 b(alue)43 b(not)g(in)f(the)h(ab)s
-(o)m(v)m(e)630 1455 y(list)35 b(is)g(ignored.)53 b(If)34
+(o)m(v)m(e)630 1990 y(list)35 b(is)g(ignored.)53 b(If)34
b Fs(HISTCONTROL)e Ft(is)i(unset,)i(or)e(do)s(es)h(not)g(include)f(a)h
-(v)-5 b(alid)35 b(v)-5 b(alue,)36 b(all)630 1564 y(lines)30
+(v)-5 b(alid)35 b(v)-5 b(alue,)36 b(all)630 2099 y(lines)30
b(read)g(b)m(y)g(the)g(shell)g(parser)g(are)g(sa)m(v)m(ed)h(on)f(the)g
(history)g(list,)h(sub)5 b(ject)30 b(to)g(the)g(v)-5
-b(alue)630 1674 y(of)42 b Fs(HISTIGNORE)p Ft(.)73 b(The)42
+b(alue)630 2209 y(of)42 b Fs(HISTIGNORE)p Ft(.)73 b(The)42
b(second)g(and)g(subsequen)m(t)f(lines)h(of)h(a)f(m)m(ulti-line)h(comp)
-s(ound)630 1784 y(command)33 b(are)h(not)g(tested,)i(and)d(are)h(added)
+s(ound)630 2318 y(command)33 b(are)h(not)g(tested,)i(and)d(are)h(added)
f(to)h(the)g(history)g(regardless)g(of)g(the)f(v)-5 b(alue)630
-1893 y(of)31 b Fs(HISTCONTROL)p Ft(.)150 2063 y Fs(HISTFILE)96
+2428 y(of)31 b Fs(HISTCONTROL)p Ft(.)150 2616 y Fs(HISTFILE)96
b Ft(The)27 b(name)h(of)g(the)g(\014le)g(to)h(whic)m(h)f(the)g(command)
f(history)h(is)g(sa)m(v)m(ed.)41 b(The)27 b(default)h(v)-5
-b(alue)630 2172 y(is)30 b(`)p Fs(~/.bash_history)p Ft('.)150
-2342 y Fs(HISTFILESIZE)630 2452 y Ft(The)c(maxim)m(um)f(n)m(um)m(b)s
+b(alue)630 2725 y(is)30 b(`)p Fs(~/.bash_history)p Ft('.)150
+2913 y Fs(HISTFILESIZE)630 3023 y Ft(The)c(maxim)m(um)f(n)m(um)m(b)s
(er)g(of)h(lines)h(con)m(tained)g(in)f(the)g(history)g(\014le.)39
-b(When)26 b(this)g(v)-5 b(ariable)630 2561 y(is)25 b(assigned)h(a)g(v)
+b(When)26 b(this)g(v)-5 b(ariable)630 3133 y(is)25 b(assigned)h(a)g(v)
-5 b(alue,)27 b(the)f(history)f(\014le)h(is)f(truncated,)i(if)e
(necessary)-8 b(,)28 b(to)e(con)m(tain)g(no)g(more)630
-2671 y(than)34 b(that)h(n)m(um)m(b)s(er)d(of)j(lines.)52
+3242 y(than)34 b(that)h(n)m(um)m(b)s(er)d(of)j(lines.)52
b(The)34 b(history)g(\014le)g(is)g(also)h(truncated)f(to)h(this)f(size)
-h(after)630 2781 y(writing)30 b(it)h(when)f(an)g(in)m(teractiv)m(e)j
+h(after)630 3352 y(writing)30 b(it)h(when)f(an)g(in)m(teractiv)m(e)j
(shell)e(exits.)41 b(The)30 b(default)h(v)-5 b(alue)31
-b(is)f(500.)150 2950 y Fs(HISTIGNORE)630 3060 y Ft(A)j(colon-separated)
+b(is)f(500.)150 3540 y Fs(HISTIGNORE)630 3649 y Ft(A)j(colon-separated)
h(list)f(of)g(patterns)f(used)g(to)h(decide)g(whic)m(h)f(command)g
-(lines)h(should)630 3169 y(b)s(e)f(sa)m(v)m(ed)h(on)g(the)f(history)h
+(lines)h(should)630 3759 y(b)s(e)f(sa)m(v)m(ed)h(on)g(the)f(history)h
(list.)47 b(Eac)m(h)33 b(pattern)g(is)f(anc)m(hored)h(at)g(the)f(b)s
-(eginning)g(of)h(the)630 3279 y(line)43 b(and)e(m)m(ust)h(matc)m(h)h
+(eginning)g(of)h(the)630 3868 y(line)43 b(and)e(m)m(ust)h(matc)m(h)h
(the)g(complete)h(line)e(\(no)h(implicit)g(`)p Fs(*)p
-Ft(')f(is)g(app)s(ended\).)75 b(Eac)m(h)630 3389 y(pattern)42
+Ft(')f(is)g(app)s(ended\).)75 b(Eac)m(h)630 3978 y(pattern)42
b(is)g(tested)g(against)h(the)f(line)g(after)g(the)g(c)m(hec)m(ks)h(sp)
-s(eci\014ed)e(b)m(y)h Fs(HISTCONTROL)630 3498 y Ft(are)37
+s(eci\014ed)e(b)m(y)h Fs(HISTCONTROL)630 4088 y Ft(are)37
b(applied.)59 b(In)36 b(addition)h(to)g(the)g(normal)g(shell)f(pattern)
h(matc)m(hing)h(c)m(haracters,)i(`)p Fs(&)p Ft(')630
-3608 y(matc)m(hes)d(the)f(previous)g(history)g(line.)57
+4197 y(matc)m(hes)d(the)f(previous)g(history)g(line.)57
b(`)p Fs(&)p Ft(')36 b(ma)m(y)h(b)s(e)e(escap)s(ed)h(using)g(a)g(bac)m
-(kslash;)k(the)630 3717 y(bac)m(kslash)34 b(is)g(remo)m(v)m(ed)h(b)s
+(kslash;)k(the)630 4307 y(bac)m(kslash)34 b(is)g(remo)m(v)m(ed)h(b)s
(efore)e(attempting)i(a)g(matc)m(h.)51 b(The)34 b(second)f(and)h
-(subsequen)m(t)630 3827 y(lines)e(of)h(a)g(m)m(ulti-line)g(comp)s(ound)
+(subsequen)m(t)630 4416 y(lines)e(of)h(a)g(m)m(ulti-line)g(comp)s(ound)
e(command)h(are)h(not)f(tested,)i(and)e(are)g(added)g(to)h(the)630
-3937 y(history)d(regardless)h(of)g(the)f(v)-5 b(alue)31
-b(of)g Fs(HISTIGNORE)p Ft(.)630 4076 y Fs(HISTIGNORE)20
+4526 y(history)d(regardless)h(of)g(the)f(v)-5 b(alue)31
+b(of)g Fs(HISTIGNORE)p Ft(.)630 4675 y Fs(HISTIGNORE)20
b Ft(subsumes)g(the)j(function)f(of)h Fs(HISTCONTROL)p
Ft(.)35 b(A)23 b(pattern)f(of)h(`)p Fs(&)p Ft(')g(is)f(iden)m(tical)630
-4186 y(to)k Fs(ignoredups)p Ft(,)e(and)h(a)h(pattern)g(of)f(`)p
+4784 y(to)k Fs(ignoredups)p Ft(,)e(and)h(a)h(pattern)g(of)f(`)p
Fs([)31 b(]*)p Ft(')25 b(is)h(iden)m(tical)h(to)f Fs(ignorespace)p
-Ft(.)36 b(Com)m(bining)630 4295 y(these)30 b(t)m(w)m(o)h(patterns,)f
+Ft(.)36 b(Com)m(bining)630 4894 y(these)30 b(t)m(w)m(o)h(patterns,)f
(separating)g(them)g(with)f(a)h(colon,)h(pro)m(vides)e(the)h
-(functionalit)m(y)h(of)630 4405 y Fs(ignoreboth)p Ft(.)150
-4575 y Fs(HISTSIZE)96 b Ft(The)42 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i
+(functionalit)m(y)h(of)630 5003 y Fs(ignoreboth)p Ft(.)150
+5191 y Fs(HISTSIZE)96 b Ft(The)42 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i
(commands)e(to)j(remem)m(b)s(er)d(on)h(the)h(history)f(list.)77
-b(The)630 4684 y(default)31 b(v)-5 b(alue)30 b(is)h(500.)150
-4854 y Fs(HISTTIMEFORMAT)630 4963 y Ft(If)44 b(this)g(v)-5
-b(ariable)45 b(is)f(set)g(and)g(not)g(n)m(ull,)k(its)d(v)-5
-b(alue)44 b(is)g(used)g(as)g(a)h(format)f(string)g(for)630
-5073 y Fq(strftime)c Ft(to)35 b(prin)m(t)f(the)h(time)g(stamp)f(asso)s
-(ciated)i(with)f(eac)m(h)g(history)g(en)m(try)f(displa)m(y)m(ed)630
-5183 y(b)m(y)g(the)f Fs(history)f Ft(builtin.)50 b(If)33
-b(this)h(v)-5 b(ariable)34 b(is)g(set,)h(time)f(stamps)g(are)g(written)
-f(to)i(the)630 5292 y(history)30 b(\014le)h(so)f(they)h(ma)m(y)g(b)s(e)
-f(preserv)m(ed)g(across)h(shell)f(sessions.)p eop end
+b(The)630 5301 y(default)31 b(v)-5 b(alue)30 b(is)h(500.)p
+eop end
%%Page: 60 66
TeXDict begin 60 65 bop 150 -116 a Ft(60)2572 b(Bash)31
-b(Reference)g(Man)m(ual)150 299 y Fs(HOSTFILE)96 b Ft(Con)m(tains)39
-b(the)f(name)g(of)h(a)g(\014le)f(in)g(the)g(same)h(format)g(as)f(`)p
-Fs(/etc/hosts)p Ft(')e(that)j(should)630 408 y(b)s(e)i(read)h(when)f
-(the)i(shell)f(needs)f(to)i(complete)h(a)e(hostname.)76
-b(The)42 b(list)g(of)g(p)s(ossible)630 518 y(hostname)26
-b(completions)g(ma)m(y)h(b)s(e)d(c)m(hanged)j(while)e(the)h(shell)g(is)
-f(running;)h(the)g(next)f(time)630 628 y(hostname)37
-b(completion)i(is)e(attempted)h(after)g(the)f(v)-5 b(alue)37
-b(is)h(c)m(hanged,)h(Bash)e(adds)g(the)630 737 y(con)m(ten)m(ts)27
-b(of)f(the)g(new)f(\014le)h(to)h(the)f(existing)g(list.)40
-b(If)25 b Fs(HOSTFILE)f Ft(is)i(set,)h(but)e(has)h(no)f(v)-5
-b(alue,)630 847 y(Bash)41 b(attempts)g(to)g(read)f(`)p
+b(Reference)g(Man)m(ual)150 299 y Fs(HISTTIMEFORMAT)630
+408 y Ft(If)44 b(this)g(v)-5 b(ariable)45 b(is)f(set)g(and)g(not)g(n)m
+(ull,)k(its)d(v)-5 b(alue)44 b(is)g(used)g(as)g(a)h(format)f(string)g
+(for)630 518 y Fq(strftime)c Ft(to)35 b(prin)m(t)f(the)h(time)g(stamp)f
+(asso)s(ciated)i(with)f(eac)m(h)g(history)g(en)m(try)f(displa)m(y)m(ed)
+630 628 y(b)m(y)g(the)f Fs(history)f Ft(builtin.)50 b(If)33
+b(this)h(v)-5 b(ariable)34 b(is)g(set,)h(time)f(stamps)g(are)g(written)
+f(to)i(the)630 737 y(history)30 b(\014le)h(so)f(they)h(ma)m(y)g(b)s(e)f
+(preserv)m(ed)g(across)h(shell)f(sessions.)150 902 y
+Fs(HOSTFILE)96 b Ft(Con)m(tains)39 b(the)f(name)g(of)h(a)g(\014le)f(in)
+g(the)g(same)h(format)g(as)f(`)p Fs(/etc/hosts)p Ft(')e(that)j(should)
+630 1011 y(b)s(e)i(read)h(when)f(the)i(shell)f(needs)f(to)i(complete)h
+(a)e(hostname.)76 b(The)42 b(list)g(of)g(p)s(ossible)630
+1121 y(hostname)26 b(completions)g(ma)m(y)h(b)s(e)d(c)m(hanged)j(while)
+e(the)h(shell)g(is)f(running;)h(the)g(next)f(time)630
+1230 y(hostname)37 b(completion)i(is)e(attempted)h(after)g(the)f(v)-5
+b(alue)37 b(is)h(c)m(hanged,)h(Bash)e(adds)g(the)630
+1340 y(con)m(ten)m(ts)27 b(of)f(the)g(new)f(\014le)h(to)h(the)f
+(existing)g(list.)40 b(If)25 b Fs(HOSTFILE)f Ft(is)i(set,)h(but)e(has)h
+(no)f(v)-5 b(alue,)630 1450 y(Bash)41 b(attempts)g(to)g(read)f(`)p
Fs(/etc/hosts)p Ft(')f(to)i(obtain)g(the)f(list)h(of)g(p)s(ossible)f
-(hostname)630 956 y(completions.)i(When)30 b Fs(HOSTFILE)e
+(hostname)630 1559 y(completions.)i(When)30 b Fs(HOSTFILE)e
Ft(is)j(unset,)f(the)g(hostname)h(list)g(is)f(cleared.)150
-1125 y Fs(HOSTNAME)96 b Ft(The)30 b(name)g(of)h(the)f(curren)m(t)h
-(host.)150 1294 y Fs(HOSTTYPE)96 b Ft(A)30 b(string)h(describing)f(the)
-g(mac)m(hine)h(Bash)g(is)f(running)f(on.)150 1462 y Fs(IGNOREEOF)630
-1572 y Ft(Con)m(trols)e(the)h(action)g(of)f(the)g(shell)g(on)g(receipt)
+1724 y Fs(HOSTNAME)96 b Ft(The)30 b(name)g(of)h(the)f(curren)m(t)h
+(host.)150 1888 y Fs(HOSTTYPE)96 b Ft(A)30 b(string)h(describing)f(the)
+g(mac)m(hine)h(Bash)g(is)f(running)f(on.)150 2052 y Fs(IGNOREEOF)630
+2162 y Ft(Con)m(trols)e(the)h(action)g(of)f(the)g(shell)g(on)g(receipt)
h(of)f(an)g Fs(EOF)f Ft(c)m(haracter)i(as)g(the)f(sole)h(input.)630
-1681 y(If)i(set,)i(the)f(v)-5 b(alue)32 b(denotes)f(the)g(n)m(um)m(b)s
+2271 y(If)i(set,)i(the)f(v)-5 b(alue)32 b(denotes)f(the)g(n)m(um)m(b)s
(er)f(of)h(consecutiv)m(e)i Fs(EOF)d Ft(c)m(haracters)i(that)f(can)h(b)
-s(e)630 1791 y(read)40 b(as)f(the)h(\014rst)f(c)m(haracter)i(on)f(an)f
+s(e)630 2381 y(read)40 b(as)f(the)h(\014rst)f(c)m(haracter)i(on)f(an)f
(input)g(line)h(b)s(efore)f(the)h(shell)g(will)g(exit.)70
-b(If)39 b(the)630 1901 y(v)-5 b(ariable)38 b(exists)f(but)f(do)s(es)g
+b(If)39 b(the)630 2491 y(v)-5 b(ariable)38 b(exists)f(but)f(do)s(es)g
(not)h(ha)m(v)m(e)h(a)g(n)m(umeric)e(v)-5 b(alue)37 b(\(or)h(has)e(no)h
-(v)-5 b(alue\))37 b(then)g(the)630 2010 y(default)31
+(v)-5 b(alue\))37 b(then)g(the)630 2600 y(default)31
b(is)g(10.)43 b(If)30 b(the)h(v)-5 b(ariable)31 b(do)s(es)g(not)g
(exist,)h(then)e Fs(EOF)g Ft(signi\014es)h(the)g(end)f(of)h(input)630
-2120 y(to)g(the)g(shell.)41 b(This)29 b(is)i(only)f(in)g(e\013ect)i
-(for)e(in)m(teractiv)m(e)j(shells.)150 2288 y Fs(INPUTRC)144
+2710 y(to)g(the)g(shell.)41 b(This)29 b(is)i(only)f(in)g(e\013ect)i
+(for)e(in)m(teractiv)m(e)j(shells.)150 2874 y Fs(INPUTRC)144
b Ft(The)68 b(name)h(of)f(the)h(Readline)g(initialization)j(\014le,)78
-b(o)m(v)m(erriding)69 b(the)g(default)g(of)630 2398 y(`)p
-Fs(~/.inputrc)p Ft('.)150 2567 y Fs(LANG)288 b Ft(Used)28
+b(o)m(v)m(erriding)69 b(the)g(default)g(of)630 2984 y(`)p
+Fs(~/.inputrc)p Ft('.)150 3148 y Fs(LANG)288 b Ft(Used)28
b(to)h(determine)f(the)g(lo)s(cale)h(category)h(for)e(an)m(y)h
-(category)h(not)e(sp)s(eci\014cally)g(selected)630 2676
+(category)h(not)e(sp)s(eci\014cally)g(selected)630 3258
y(with)i(a)h(v)-5 b(ariable)31 b(starting)g(with)f Fs(LC_)p
-Ft(.)150 2845 y Fs(LC_ALL)192 b Ft(This)28 b(v)-5 b(ariable)29
+Ft(.)150 3422 y Fs(LC_ALL)192 b Ft(This)28 b(v)-5 b(ariable)29
b(o)m(v)m(errides)h(the)f(v)-5 b(alue)29 b(of)g Fs(LANG)f
Ft(and)g(an)m(y)h(other)g Fs(LC_)f Ft(v)-5 b(ariable)29
-b(sp)s(ecifying)630 2954 y(a)i(lo)s(cale)h(category)-8
-b(.)150 3123 y Fs(LC_COLLATE)630 3232 y Ft(This)37 b(v)-5
+b(sp)s(ecifying)630 3532 y(a)i(lo)s(cale)h(category)-8
+b(.)150 3696 y Fs(LC_COLLATE)630 3806 y Ft(This)37 b(v)-5
b(ariable)38 b(determines)g(the)g(collation)i(order)d(used)g(when)f
-(sorting)i(the)g(results)g(of)630 3342 y(\014lename)e(expansion,)i(and)
+(sorting)i(the)g(results)g(of)630 3915 y(\014lename)e(expansion,)i(and)
e(determines)g(the)h(b)s(eha)m(vior)f(of)g(range)h(expressions,)h
-(equiv-)630 3452 y(alence)e(classes,)h(and)e(collating)i(sequences)e
+(equiv-)630 4025 y(alence)e(classes,)h(and)e(collating)i(sequences)e
(within)f(\014lename)h(expansion)g(and)f(pattern)630
-3561 y(matc)m(hing)d(\(see)h(Section)f(3.5.8)h([Filename)g(Expansion],)
-e(page)h(23\).)150 3730 y Fs(LC_CTYPE)96 b Ft(This)36
+4134 y(matc)m(hing)d(\(see)h(Section)f(3.5.8)h([Filename)g(Expansion],)
+e(page)h(23\).)150 4299 y Fs(LC_CTYPE)96 b Ft(This)36
b(v)-5 b(ariable)37 b(determines)f(the)h(in)m(terpretation)h(of)f(c)m
-(haracters)h(and)e(the)g(b)s(eha)m(vior)h(of)630 3839
+(haracters)h(and)e(the)g(b)s(eha)m(vior)h(of)630 4408
y(c)m(haracter)46 b(classes)g(within)e(\014lename)h(expansion)g(and)f
-(pattern)h(matc)m(hing)h(\(see)f(Sec-)630 3949 y(tion)31
+(pattern)h(matc)m(hing)h(\(see)f(Sec-)630 4518 y(tion)31
b(3.5.8)h([Filename)g(Expansion],)e(page)h(23\).)150
-4118 y Fs(LC_MESSAGES)630 4227 y Ft(This)25 b(v)-5 b(ariable)27
+4682 y Fs(LC_MESSAGES)630 4792 y Ft(This)25 b(v)-5 b(ariable)27
b(determines)f(the)g(lo)s(cale)i(used)d(to)i(translate)g(double-quoted)
-f(strings)g(pre-)630 4337 y(ceded)31 b(b)m(y)f(a)h(`)p
+f(strings)g(pre-)630 4902 y(ceded)31 b(b)m(y)f(a)h(`)p
Fs($)p Ft(')f(\(see)h(Section)h(3.1.2.5)g([Lo)s(cale)g(T)-8
-b(ranslation],)32 b(page)f(7\).)150 4505 y Fs(LC_NUMERIC)630
-4615 y Ft(This)f(v)-5 b(ariable)31 b(determines)f(the)h(lo)s(cale)h
+b(ranslation],)32 b(page)f(7\).)150 5066 y Fs(LC_NUMERIC)630
+5176 y Ft(This)f(v)-5 b(ariable)31 b(determines)f(the)h(lo)s(cale)h
(category)g(used)e(for)g(n)m(um)m(b)s(er)f(formatting.)150
-4784 y Fs(LINENO)192 b Ft(The)30 b(line)h(n)m(um)m(b)s(er)e(in)h(the)g
-(script)h(or)f(shell)g(function)h(curren)m(tly)f(executing.)150
-4952 y Fs(LINES)240 b Ft(Used)25 b(b)m(y)g(the)g Fs(select)e
-Ft(builtin)i(command)g(to)h(determine)f(the)g(column)g(length)g(for)g
-(prin)m(t-)630 5062 y(ing)31 b(selection)h(lists.)41
-b(Automatically)33 b(set)e(up)s(on)e(receipt)i(of)f(a)h
-Fs(SIGWINCH)p Ft(.)150 5230 y Fs(MACHTYPE)96 b Ft(A)26
-b(string)g(that)h(fully)f(describ)s(es)f(the)h(system)g(t)m(yp)s(e)h
-(on)f(whic)m(h)f(Bash)i(is)f(executing,)i(in)e(the)630
-5340 y(standard)k Fl(gnu)g Fq(cpu-compan)m(y-system)h
-Ft(format.)p eop end
+5340 y Fs(LINENO)192 b Ft(The)30 b(line)h(n)m(um)m(b)s(er)e(in)h(the)g
+(script)h(or)f(shell)g(function)h(curren)m(tly)f(executing.)p
+eop end
%%Page: 61 67
TeXDict begin 61 66 bop 150 -116 a Ft(Chapter)30 b(5:)41
-b(Shell)30 b(V)-8 b(ariables)2459 b(61)150 299 y Fs(MAILCHECK)630
-408 y Ft(Ho)m(w)28 b(often)g(\(in)g(seconds\))g(that)g(the)f(shell)h
-(should)f(c)m(hec)m(k)i(for)e(mail)h(in)f(the)h(\014les)g(sp)s
-(eci\014ed)630 518 y(in)i(the)h Fs(MAILPATH)e Ft(or)i
-Fs(MAIL)e Ft(v)-5 b(ariables.)43 b(The)30 b(default)h(is)f(60)i
-(seconds.)42 b(When)30 b(it)h(is)g(time)630 628 y(to)37
-b(c)m(hec)m(k)h(for)e(mail,)j(the)e(shell)f(do)s(es)g(so)h(b)s(efore)f
-(displa)m(ying)h(the)f(primary)g(prompt.)57 b(If)630
-737 y(this)37 b(v)-5 b(ariable)38 b(is)f(unset,)h(or)f(set)h(to)g(a)f
-(v)-5 b(alue)38 b(that)f(is)g(not)h(a)f(n)m(um)m(b)s(er)f(greater)i
-(than)f(or)630 847 y(equal)31 b(to)g(zero,)g(the)g(shell)g(disables)f
-(mail)h(c)m(hec)m(king.)150 1011 y Fs(OLDPWD)192 b Ft(The)30
-b(previous)g(w)m(orking)g(directory)h(as)g(set)g(b)m(y)f(the)h
-Fs(cd)e Ft(builtin.)150 1176 y Fs(OPTERR)192 b Ft(If)35
-b(set)i(to)f(the)h(v)-5 b(alue)36 b(1,)i(Bash)e(displa)m(ys)g(error)f
-(messages)i(generated)g(b)m(y)f(the)g Fs(getopts)630
-1285 y Ft(builtin)30 b(command.)150 1450 y Fs(OSTYPE)192
-b Ft(A)30 b(string)h(describing)f(the)g(op)s(erating)h(system)g(Bash)f
-(is)h(running)d(on.)150 1614 y Fs(PIPESTATUS)630 1724
-y Ft(An)23 b(arra)m(y)h(v)-5 b(ariable)24 b(\(see)h(Section)f(6.7)h
-([Arra)m(ys],)g(page)f(72\))h(con)m(taining)g(a)f(list)g(of)g(exit)g
-(sta-)630 1833 y(tus)h(v)-5 b(alues)27 b(from)e(the)h(pro)s(cesses)g
-(in)f(the)h(most-recen)m(tly-executed)j(foreground)c(pip)s(eline)630
-1943 y(\(whic)m(h)30 b(ma)m(y)h(con)m(tain)h(only)f(a)f(single)h
-(command\).)150 2107 y Fs(POSIXLY_CORRECT)630 2217 y
+b(Shell)30 b(V)-8 b(ariables)2459 b(61)150 299 y Fs(LINES)240
+b Ft(Used)25 b(b)m(y)g(the)g Fs(select)e Ft(builtin)i(command)g(to)h
+(determine)f(the)g(column)g(length)g(for)g(prin)m(t-)630
+408 y(ing)31 b(selection)h(lists.)41 b(Automatically)33
+b(set)e(up)s(on)e(receipt)i(of)f(a)h Fs(SIGWINCH)p Ft(.)150
+569 y Fs(MACHTYPE)96 b Ft(A)26 b(string)g(that)h(fully)f(describ)s(es)f
+(the)h(system)g(t)m(yp)s(e)h(on)f(whic)m(h)f(Bash)i(is)f(executing,)i
+(in)e(the)630 679 y(standard)k Fl(gnu)g Fq(cpu-compan)m(y-system)h
+Ft(format.)150 840 y Fs(MAILCHECK)630 949 y Ft(Ho)m(w)d(often)g(\(in)g
+(seconds\))g(that)g(the)f(shell)h(should)f(c)m(hec)m(k)i(for)e(mail)h
+(in)f(the)h(\014les)g(sp)s(eci\014ed)630 1059 y(in)i(the)h
+Fs(MAILPATH)e Ft(or)i Fs(MAIL)e Ft(v)-5 b(ariables.)43
+b(The)30 b(default)h(is)f(60)i(seconds.)42 b(When)30
+b(it)h(is)g(time)630 1168 y(to)37 b(c)m(hec)m(k)h(for)e(mail,)j(the)e
+(shell)f(do)s(es)g(so)h(b)s(efore)f(displa)m(ying)h(the)f(primary)g
+(prompt.)57 b(If)630 1278 y(this)37 b(v)-5 b(ariable)38
+b(is)f(unset,)h(or)f(set)h(to)g(a)f(v)-5 b(alue)38 b(that)f(is)g(not)h
+(a)f(n)m(um)m(b)s(er)f(greater)i(than)f(or)630 1387 y(equal)31
+b(to)g(zero,)g(the)g(shell)g(disables)f(mail)h(c)m(hec)m(king.)150
+1548 y Fs(OLDPWD)192 b Ft(The)30 b(previous)g(w)m(orking)g(directory)h
+(as)g(set)g(b)m(y)f(the)h Fs(cd)e Ft(builtin.)150 1709
+y Fs(OPTERR)192 b Ft(If)35 b(set)i(to)f(the)h(v)-5 b(alue)36
+b(1,)i(Bash)e(displa)m(ys)g(error)f(messages)i(generated)g(b)m(y)f(the)
+g Fs(getopts)630 1819 y Ft(builtin)30 b(command.)150
+1979 y Fs(OSTYPE)192 b Ft(A)30 b(string)h(describing)f(the)g(op)s
+(erating)h(system)g(Bash)f(is)h(running)d(on.)150 2140
+y Fs(PIPESTATUS)630 2250 y Ft(An)23 b(arra)m(y)h(v)-5
+b(ariable)24 b(\(see)h(Section)f(6.7)h([Arra)m(ys],)g(page)f(74\))h
+(con)m(taining)g(a)f(list)g(of)g(exit)g(sta-)630 2359
+y(tus)h(v)-5 b(alues)27 b(from)e(the)h(pro)s(cesses)g(in)f(the)h
+(most-recen)m(tly-executed)j(foreground)c(pip)s(eline)630
+2469 y(\(whic)m(h)30 b(ma)m(y)h(con)m(tain)h(only)f(a)f(single)h
+(command\).)150 2629 y Fs(POSIXLY_CORRECT)630 2739 y
Ft(If)h(this)h(v)-5 b(ariable)34 b(is)f(in)f(the)h(en)m(vironmen)m(t)h
(when)d Fs(bash)h Ft(starts,)i(the)f(shell)g(en)m(ters)h
-Fl(posix)630 2326 y Ft(mo)s(de)22 b(\(see)h(Section)g(6.11)h([Bash)e
-(POSIX)f(Mo)s(de],)k(page)e(76\))g(b)s(efore)f(reading)g(the)g(startup)
-630 2436 y(\014les,)32 b(as)f(if)h(the)f(`)p Fs(--posix)p
+Fl(posix)630 2849 y Ft(mo)s(de)22 b(\(see)h(Section)g(6.11)h([Bash)e
+(POSIX)f(Mo)s(de],)k(page)e(78\))g(b)s(efore)f(reading)g(the)g(startup)
+630 2958 y(\014les,)32 b(as)f(if)h(the)f(`)p Fs(--posix)p
Ft(')f(in)m(v)m(o)s(cation)j(option)f(had)f(b)s(een)g(supplied.)42
-b(If)31 b(it)h(is)f(set)h(while)630 2545 y(the)f(shell)f(is)h(running,)
+b(If)31 b(it)h(is)f(set)h(while)630 3068 y(the)f(shell)f(is)h(running,)
d Fs(bash)i Ft(enables)g Fl(posix)g Ft(mo)s(de,)g(as)h(if)f(the)h
-(command)870 2682 y Fs(set)47 b(-o)g(posix)630 2819 y
-Ft(had)30 b(b)s(een)f(executed.)150 2984 y Fs(PPID)288
+(command)870 3203 y Fs(set)47 b(-o)g(posix)630 3338 y
+Ft(had)30 b(b)s(een)f(executed.)150 3499 y Fs(PPID)288
b Ft(The)30 b(pro)s(cess)g Fl(id)g Ft(of)h(the)f(shell's)h(paren)m(t)g
(pro)s(cess.)40 b(This)30 b(v)-5 b(ariable)31 b(is)f(readonly)-8
-b(.)150 3148 y Fs(PROMPT_COMMAND)630 3258 y Ft(If)32
+b(.)150 3660 y Fs(PROMPT_COMMAND)630 3769 y Ft(If)32
b(set,)h(the)f(v)-5 b(alue)33 b(is)f(in)m(terpreted)g(as)g(a)h(command)
f(to)h(execute)g(b)s(efore)f(the)g(prin)m(ting)g(of)630
-3367 y(eac)m(h)g(primary)d(prompt)g(\()p Fs($PS1)p Ft(\).)150
-3532 y Fs(PS3)336 b Ft(The)34 b(v)-5 b(alue)35 b(of)f(this)g(v)-5
+3879 y(eac)m(h)g(primary)d(prompt)g(\()p Fs($PS1)p Ft(\).)150
+4040 y Fs(PS3)336 b Ft(The)34 b(v)-5 b(alue)35 b(of)f(this)g(v)-5
b(ariable)35 b(is)g(used)e(as)i(the)f(prompt)g(for)g(the)g
-Fs(select)f Ft(command.)52 b(If)630 3641 y(this)30 b(v)-5
+Fs(select)f Ft(command.)52 b(If)630 4149 y(this)30 b(v)-5
b(ariable)31 b(is)g(not)f(set,)i(the)e Fs(select)f Ft(command)h
-(prompts)f(with)h(`)p Fs(#?)g Ft(')150 3806 y Fs(PS4)336
+(prompts)f(with)h(`)p Fs(#?)g Ft(')150 4310 y Fs(PS4)336
b Ft(The)33 b(v)-5 b(alue)34 b(is)g(the)g(prompt)f(prin)m(ted)g(b)s
(efore)g(the)h(command)f(line)h(is)g(ec)m(ho)s(ed)g(when)f(the)630
-3915 y(`)p Fs(-x)p Ft(')23 b(option)h(is)g(set)g(\(see)g(Section)h(4.3)
+4419 y(`)p Fs(-x)p Ft(')23 b(option)h(is)g(set)g(\(see)g(Section)h(4.3)
f([The)f(Set)h(Builtin],)i(page)e(50\).)40 b(The)23 b(\014rst)f(c)m
-(haracter)630 4025 y(of)34 b Fs(PS4)g Ft(is)g(replicated)i(m)m(ultiple)
+(haracter)630 4529 y(of)34 b Fs(PS4)g Ft(is)g(replicated)i(m)m(ultiple)
f(times,)h(as)e(necessary)-8 b(,)37 b(to)e(indicate)g(m)m(ultiple)g
-(lev)m(els)h(of)630 4134 y(indirection.)41 b(The)30 b(default)h(is)f(`)
-p Fs(+)g Ft('.)150 4299 y Fs(PWD)336 b Ft(The)30 b(curren)m(t)g(w)m
+(lev)m(els)h(of)630 4639 y(indirection.)41 b(The)30 b(default)h(is)f(`)
+p Fs(+)g Ft('.)150 4799 y Fs(PWD)336 b Ft(The)30 b(curren)m(t)g(w)m
(orking)h(directory)g(as)f(set)h(b)m(y)f(the)h Fs(cd)f
-Ft(builtin.)150 4463 y Fs(RANDOM)192 b Ft(Eac)m(h)30
+Ft(builtin.)150 4960 y Fs(RANDOM)192 b Ft(Eac)m(h)30
b(time)g(this)f(parameter)g(is)g(referenced,)h(a)f(random)g(in)m(teger)
-h(b)s(et)m(w)m(een)g(0)f(and)g(32767)630 4573 y(is)i(generated.)43
+h(b)s(et)m(w)m(een)g(0)f(and)g(32767)630 5070 y(is)i(generated.)43
b(Assigning)31 b(a)g(v)-5 b(alue)31 b(to)g(this)g(v)-5
b(ariable)31 b(seeds)g(the)g(random)f(n)m(um)m(b)s(er)f(gen-)630
-4682 y(erator.)150 4847 y Fs(REPLY)240 b Ft(The)30 b(default)g(v)-5
-b(ariable)32 b(for)e(the)g Fs(read)g Ft(builtin.)150
-5011 y Fs(SECONDS)144 b Ft(This)40 b(v)-5 b(ariable)41
-b(expands)f(to)h(the)g(n)m(um)m(b)s(er)e(of)i(seconds)g(since)g(the)f
-(shell)h(w)m(as)g(started.)630 5121 y(Assignmen)m(t)i(to)g(this)g(v)-5
-b(ariable)43 b(resets)g(the)g(coun)m(t)g(to)g(the)g(v)-5
-b(alue)43 b(assigned,)j(and)c(the)630 5230 y(expanded)35
-b(v)-5 b(alue)36 b(b)s(ecomes)h(the)f(v)-5 b(alue)36
-b(assigned)g(plus)f(the)h(n)m(um)m(b)s(er)f(of)h(seconds)g(since)630
-5340 y(the)31 b(assignmen)m(t.)p eop end
+5179 y(erator.)150 5340 y Fs(REPLY)240 b Ft(The)30 b(default)g(v)-5
+b(ariable)32 b(for)e(the)g Fs(read)g Ft(builtin.)p eop
+end
%%Page: 62 68
TeXDict begin 62 67 bop 150 -116 a Ft(62)2572 b(Bash)31
-b(Reference)g(Man)m(ual)150 299 y Fs(SHELL)240 b Ft(The)29
-b(full)h(pathname)g(to)h(the)f(shell)g(is)g(k)m(ept)g(in)g(this)g(en)m
-(vironmen)m(t)g(v)-5 b(ariable.)42 b(If)29 b(it)i(is)f(not)630
-408 y(set)36 b(when)f(the)h(shell)g(starts,)i(Bash)e(assigns)h(to)f(it)
-h(the)f(full)f(pathname)h(of)g(the)g(curren)m(t)630 518
-y(user's)30 b(login)h(shell.)150 666 y Fs(SHELLOPTS)630
-775 y Ft(A)g(colon-separated)h(list)f(of)g(enabled)f(shell)h(options.)
+b(Reference)g(Man)m(ual)150 299 y Fs(SECONDS)144 b Ft(This)40
+b(v)-5 b(ariable)41 b(expands)f(to)h(the)g(n)m(um)m(b)s(er)e(of)i
+(seconds)g(since)g(the)f(shell)h(w)m(as)g(started.)630
+408 y(Assignmen)m(t)i(to)g(this)g(v)-5 b(ariable)43 b(resets)g(the)g
+(coun)m(t)g(to)g(the)g(v)-5 b(alue)43 b(assigned,)j(and)c(the)630
+518 y(expanded)35 b(v)-5 b(alue)36 b(b)s(ecomes)h(the)f(v)-5
+b(alue)36 b(assigned)g(plus)f(the)h(n)m(um)m(b)s(er)f(of)h(seconds)g
+(since)630 628 y(the)31 b(assignmen)m(t.)150 779 y Fs(SHELL)240
+b Ft(The)29 b(full)h(pathname)g(to)h(the)f(shell)g(is)g(k)m(ept)g(in)g
+(this)g(en)m(vironmen)m(t)g(v)-5 b(ariable.)42 b(If)29
+b(it)i(is)f(not)630 889 y(set)36 b(when)f(the)h(shell)g(starts,)i(Bash)
+e(assigns)h(to)f(it)h(the)f(full)f(pathname)h(of)g(the)g(curren)m(t)630
+999 y(user's)30 b(login)h(shell.)150 1150 y Fs(SHELLOPTS)630
+1260 y Ft(A)g(colon-separated)h(list)f(of)g(enabled)f(shell)h(options.)
41 b(Eac)m(h)31 b(w)m(ord)f(in)g(the)h(list)g(is)g(a)g(v)-5
-b(alid)630 885 y(argumen)m(t)29 b(for)g(the)g(`)p Fs(-o)p
+b(alid)630 1369 y(argumen)m(t)29 b(for)g(the)g(`)p Fs(-o)p
Ft(')g(option)g(to)h(the)f Fs(set)f Ft(builtin)h(command)g(\(see)g
-(Section)h(4.3)g([The)630 994 y(Set)f(Builtin],)h(page)f(50\).)42
+(Section)h(4.3)g([The)630 1479 y(Set)f(Builtin],)h(page)f(50\).)42
b(The)28 b(options)h(app)s(earing)f(in)g Fs(SHELLOPTS)e
-Ft(are)j(those)h(rep)s(orted)630 1104 y(as)g(`)p Fs(on)p
+Ft(are)j(those)h(rep)s(orted)630 1589 y(as)g(`)p Fs(on)p
Ft(')f(b)m(y)h(`)p Fs(set)g(-o)p Ft('.)40 b(If)29 b(this)h(v)-5
b(ariable)30 b(is)g(in)f(the)h(en)m(vironmen)m(t)g(when)f(Bash)h
-(starts)g(up,)630 1213 y(eac)m(h)41 b(shell)e(option)h(in)f(the)h(list)
+(starts)g(up,)630 1698 y(eac)m(h)41 b(shell)e(option)h(in)f(the)h(list)
g(will)f(b)s(e)g(enabled)h(b)s(efore)f(reading)g(an)m(y)h(startup)f
-(\014les.)630 1323 y(This)30 b(v)-5 b(ariable)31 b(is)f(readonly)-8
-b(.)150 1471 y Fs(SHLVL)240 b Ft(Incremen)m(ted)21 b(b)m(y)g(one)g(eac)
+(\014les.)630 1808 y(This)30 b(v)-5 b(ariable)31 b(is)f(readonly)-8
+b(.)150 1960 y Fs(SHLVL)240 b Ft(Incremen)m(ted)21 b(b)m(y)g(one)g(eac)
m(h)h(time)f(a)h(new)e(instance)h(of)g(Bash)g(is)g(started.)38
-b(This)20 b(is)h(in)m(tended)630 1580 y(to)31 b(b)s(e)f(a)h(coun)m(t)g
+b(This)20 b(is)h(in)m(tended)630 2069 y(to)31 b(b)s(e)f(a)h(coun)m(t)g
(of)f(ho)m(w)h(deeply)f(y)m(our)g(Bash)h(shells)f(are)h(nested.)150
-1728 y Fs(TIMEFORMAT)630 1837 y Ft(The)f(v)-5 b(alue)32
+2221 y Fs(TIMEFORMAT)630 2330 y Ft(The)f(v)-5 b(alue)32
b(of)f(this)g(parameter)g(is)g(used)f(as)h(a)g(format)h(string)f(sp)s
-(ecifying)f(ho)m(w)h(the)g(tim-)630 1947 y(ing)37 b(information)f(for)h
+(ecifying)f(ho)m(w)h(the)g(tim-)630 2440 y(ing)37 b(information)f(for)h
(pip)s(elines)f(pre\014xed)f(with)h(the)h Fs(time)e Ft(reserv)m(ed)i(w)
-m(ord)f(should)g(b)s(e)630 2056 y(displa)m(y)m(ed.)k(The)27
+m(ord)f(should)g(b)s(e)630 2550 y(displa)m(y)m(ed.)k(The)27
b(`)p Fs(\045)p Ft(')h(c)m(haracter)h(in)m(tro)s(duces)e(an)h(escap)s
-(e)g(sequence)g(that)g(is)f(expanded)g(to)630 2166 y(a)37
+(e)g(sequence)g(that)g(is)f(expanded)g(to)630 2659 y(a)37
b(time)g(v)-5 b(alue)36 b(or)h(other)f(information.)59
b(The)36 b(escap)s(e)g(sequences)h(and)e(their)i(meanings)630
-2276 y(are)31 b(as)f(follo)m(ws;)i(the)f(braces)f(denote)h(optional)h
-(p)s(ortions.)630 2423 y Fs(\045\045)384 b Ft(A)30 b(literal)i(`)p
-Fs(\045)p Ft('.)630 2570 y Fs(\045[)p Fj(p)11 b Fs(][l]R)85
-b Ft(The)30 b(elapsed)h(time)g(in)f(seconds.)630 2718
+2769 y(are)31 b(as)f(follo)m(ws;)i(the)f(braces)f(denote)h(optional)h
+(p)s(ortions.)630 2921 y Fs(\045\045)384 b Ft(A)30 b(literal)i(`)p
+Fs(\045)p Ft('.)630 3072 y Fs(\045[)p Fj(p)11 b Fs(][l]R)85
+b Ft(The)30 b(elapsed)h(time)g(in)f(seconds.)630 3224
y Fs(\045[)p Fj(p)11 b Fs(][l]U)85 b Ft(The)30 b(n)m(um)m(b)s(er)f(of)h
(CPU)g(seconds)h(sp)s(en)m(t)f(in)g(user)f(mo)s(de.)630
-2865 y Fs(\045[)p Fj(p)11 b Fs(][l]S)85 b Ft(The)30 b(n)m(um)m(b)s(er)f
+3376 y Fs(\045[)p Fj(p)11 b Fs(][l]S)85 b Ft(The)30 b(n)m(um)m(b)s(er)f
(of)h(CPU)g(seconds)h(sp)s(en)m(t)f(in)g(system)g(mo)s(de.)630
-3013 y Fs(\045P)384 b Ft(The)30 b(CPU)g(p)s(ercen)m(tage,)i(computed)e
-(as)h(\(\045U)f Fs(+)g Ft(\045S\))g(/)h(\045R.)630 3160
+3528 y Fs(\045P)384 b Ft(The)30 b(CPU)g(p)s(ercen)m(tage,)i(computed)e
+(as)h(\(\045U)f Fs(+)g Ft(\045S\))g(/)h(\045R.)630 3679
y(The)23 b(optional)j Fq(p)g Ft(is)e(a)g(digit)h(sp)s(ecifying)e(the)h
(precision,)i(the)e(n)m(um)m(b)s(er)f(of)h(fractional)h(digits)630
-3270 y(after)36 b(a)f(decimal)i(p)s(oin)m(t.)55 b(A)35
+3789 y(after)36 b(a)f(decimal)i(p)s(oin)m(t.)55 b(A)35
b(v)-5 b(alue)36 b(of)f(0)h(causes)g(no)f(decimal)h(p)s(oin)m(t)f(or)h
-(fraction)g(to)g(b)s(e)630 3379 y(output.)48 b(A)m(t)34
+(fraction)g(to)g(b)s(e)630 3898 y(output.)48 b(A)m(t)34
b(most)f(three)g(places)h(after)f(the)g(decimal)h(p)s(oin)m(t)f(ma)m(y)
-h(b)s(e)e(sp)s(eci\014ed;)i(v)-5 b(alues)630 3489 y(of)31
+h(b)s(e)e(sp)s(eci\014ed;)i(v)-5 b(alues)630 4008 y(of)31
b Fq(p)h Ft(greater)g(than)e(3)h(are)f(c)m(hanged)h(to)g(3.)42
b(If)29 b Fq(p)k Ft(is)d(not)h(sp)s(eci\014ed,)f(the)h(v)-5
-b(alue)30 b(3)h(is)g(used.)630 3618 y(The)54 b(optional)h
+b(alue)30 b(3)h(is)g(used.)630 4139 y(The)54 b(optional)h
Fs(l)f Ft(sp)s(eci\014es)g(a)h(longer)f(format,)61 b(including)54
-b(min)m(utes,)61 b(of)54 b(the)g(form)630 3727 y Fq(MM)10
+b(min)m(utes,)61 b(of)54 b(the)g(form)630 4248 y Fq(MM)10
b Ft(m)p Fq(SS)p Ft(.)p Fq(FF)d Ft(s.)103 b(The)50 b(v)-5
b(alue)52 b(of)f Fq(p)j Ft(determines)d(whether)f(or)h(not)h(the)f
-(fraction)h(is)630 3837 y(included.)630 3965 y(If)30
+(fraction)h(is)630 4358 y(included.)630 4489 y(If)30
b(this)g(v)-5 b(ariable)31 b(is)g(not)f(set,)i(Bash)e(acts)h(as)g(if)f
-(it)h(had)f(the)h(v)-5 b(alue)870 4094 y Fs
+(it)h(had)f(the)h(v)-5 b(alue)870 4619 y Fs
($'\\nreal\\t\0453lR\\nuser\\t\0453)o(lU\\n)o(sys\\)o(t\0453)o(lS')630
-4222 y Ft(If)37 b(the)g(v)-5 b(alue)38 b(is)f(n)m(ull,)i(no)f(timing)f
+4750 y Ft(If)37 b(the)g(v)-5 b(alue)38 b(is)f(n)m(ull,)i(no)f(timing)f
(information)h(is)f(displa)m(y)m(ed.)62 b(A)37 b(trailing)i(newline)e
-(is)630 4332 y(added)30 b(when)f(the)i(format)f(string)h(is)f(displa)m
-(y)m(ed.)150 4479 y Fs(TMOUT)240 b Ft(If)22 b(set)h(to)g(a)g(v)-5
+(is)630 4859 y(added)30 b(when)f(the)i(format)f(string)h(is)f(displa)m
+(y)m(ed.)150 5011 y Fs(TMOUT)240 b Ft(If)22 b(set)h(to)g(a)g(v)-5
b(alue)23 b(greater)h(than)e(zero,)j Fs(TMOUT)d Ft(is)g(treated)i(as)e
-(the)h(default)g(timeout)g(for)g(the)630 4589 y Fs(read)31
+(the)h(default)g(timeout)g(for)g(the)630 5121 y Fs(read)31
b Ft(builtin)h(\(see)h(Section)f(4.2)i([Bash)e(Builtins],)h(page)g
-(39\).)47 b(The)32 b Fs(select)e Ft(command)630 4699
+(39\).)47 b(The)32 b Fs(select)e Ft(command)630 5230
y(\(see)f(Section)h(3.2.4.2)g([Conditional)g(Constructs],)e(page)i
-(10\))f(terminates)g(if)g(input)e(do)s(es)630 4808 y(not)k(arriv)m(e)g
+(10\))f(terminates)g(if)g(input)e(do)s(es)630 5340 y(not)k(arriv)m(e)g
(after)g Fs(TMOUT)e Ft(seconds)h(when)f(input)h(is)g(coming)h(from)f(a)
-h(terminal.)630 4937 y(In)d(an)h(in)m(terativ)m(e)i(shell,)e(the)g(v)-5
-b(alue)30 b(is)e(in)m(terpreted)h(as)g(the)g(n)m(um)m(b)s(er)f(of)h
-(seconds)f(to)i(w)m(ait)630 5046 y(for)i(input)f(after)i(issuing)f(the)
-g(primary)g(prompt)f(when)g(the)i(shell)f(is)h(in)m(teractiv)m(e.)49
-b(Bash)630 5156 y(terminates)31 b(after)g(that)g(n)m(um)m(b)s(er)e(of)i
+h(terminal.)p eop end
+%%Page: 63 69
+TeXDict begin 63 68 bop 150 -116 a Ft(Chapter)30 b(5:)41
+b(Shell)30 b(V)-8 b(ariables)2459 b(63)630 299 y(In)28
+b(an)h(in)m(terativ)m(e)i(shell,)e(the)g(v)-5 b(alue)30
+b(is)e(in)m(terpreted)h(as)g(the)g(n)m(um)m(b)s(er)f(of)h(seconds)f(to)
+i(w)m(ait)630 408 y(for)i(input)f(after)i(issuing)f(the)g(primary)g
+(prompt)f(when)g(the)i(shell)f(is)h(in)m(teractiv)m(e.)49
+b(Bash)630 518 y(terminates)31 b(after)g(that)g(n)m(um)m(b)s(er)e(of)i
(seconds)f(if)g(input)g(do)s(es)g(not)g(arriv)m(e.)150
-5303 y Fs(UID)336 b Ft(The)30 b(n)m(umeric)g(real)h(user)f(id)g(of)g
+677 y Fs(UID)336 b Ft(The)30 b(n)m(umeric)g(real)h(user)f(id)g(of)g
(the)h(curren)m(t)f(user.)40 b(This)30 b(v)-5 b(ariable)31
b(is)f(readonly)-8 b(.)p eop end
-%%Page: 63 69
-TeXDict begin 63 68 bop 150 -116 a Ft(Chapter)30 b(6:)41
-b(Bash)30 b(F)-8 b(eatures)2484 b(63)150 299 y Fo(6)80
+%%Page: 64 70
+TeXDict begin 64 69 bop 150 -116 a Ft(64)2572 b(Bash)31
+b(Reference)g(Man)m(ual)p eop end
+%%Page: 65 71
+TeXDict begin 65 70 bop 150 -116 a Ft(Chapter)30 b(6:)41
+b(Bash)30 b(F)-8 b(eatures)2484 b(65)150 299 y Fo(6)80
b(Bash)54 b(F)-13 b(eatures)275 537 y Ft(This)29 b(section)j(describ)s
(es)d(features)i(unique)e(to)j(Bash.)150 798 y Fr(6.1)68
b(In)l(v)l(oking)46 b(Bash)390 1017 y Fs(bash)h([long-opt])e([-ir])h
4200 y Fs(--login)144 b Ft(Equiv)-5 b(alen)m(t)31 b(to)g(`)p
Fs(-l)p Ft('.)150 4361 y Fs(--noediting)630 4471 y Ft(Do)h(not)e(use)h
(the)g Fl(gnu)f Ft(Readline)i(library)e(\(see)h(Chapter)g(8)g([Command)
-f(Line)g(Editing],)630 4580 y(page)h(85\))h(to)f(read)f(command)g
+f(Line)g(Editing],)630 4580 y(page)h(87\))h(to)f(read)f(command)g
(lines)h(when)e(the)i(shell)f(is)h(in)m(teractiv)m(e.)150
4741 y Fs(--noprofile)630 4850 y Ft(Don't)h(load)f(the)g(system-wide)g
(startup)f(\014le)g(`)p Fs(/etc/profile)p Ft(')e(or)j(an)m(y)g(of)g
(\014le)d(in)g(an)h(in)m(teractiv)m(e)i(shell.)41 b(This)30
b(is)g(on)630 5340 y(b)m(y)g(default)h(if)f(the)h(shell)f(is)h(in)m(v)m
(ok)m(ed)h(as)e Fs(sh)p Ft(.)p eop end
-%%Page: 64 70
-TeXDict begin 64 69 bop 150 -116 a Ft(64)2572 b(Bash)31
+%%Page: 66 72
+TeXDict begin 66 71 bop 150 -116 a Ft(66)2572 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fs(--posix)144 b Ft(Change)24
b(the)h(b)s(eha)m(vior)f(of)g(Bash)h(where)e(the)i(default)f(op)s
(eration)h(di\013ers)f(from)f(the)i Fl(posix)630 408
b(This)28 b(is)g(in)m(tended)h(to)h(mak)m(e)f(Bash)g(b)s(eha)m(v)m(e)
630 518 y(as)39 b(a)f(strict)h(sup)s(erset)f(of)g(that)h(standard.)64
b(See)38 b(Section)h(6.11)h([Bash)f(POSIX)e(Mo)s(de],)630
-628 y(page)31 b(76,)h(for)e(a)g(description)h(of)f(the)h(Bash)g
+628 y(page)31 b(78,)h(for)e(a)g(description)h(of)f(the)h(Bash)g
Fl(posix)e Ft(mo)s(de.)150 787 y Fs(--restricted)630
897 y Ft(Mak)m(e)54 b(the)e(shell)g(a)h(restricted)g(shell)f(\(see)h
(Section)g(6.10)h([The)d(Restricted)j(Shell],)630 1006
-y(page)31 b(76\).)150 1166 y Fs(--verbose)630 1275 y
+y(page)31 b(78\).)150 1166 y Fs(--verbose)630 1275 y
Ft(Equiv)-5 b(alen)m(t)31 b(to)g(`)p Fs(-v)p Ft('.)41
b(Prin)m(t)30 b(shell)h(input)e(lines)i(as)g(they're)f(read.)150
1435 y Fs(--version)630 1544 y Ft(Sho)m(w)e(v)m(ersion)g(information)g
b Fs($0)p Ft(.)150 2570 y Fs(-i)384 b Ft(F)-8 b(orce)22
b(the)g(shell)f(to)g(run)f(in)m(teractiv)m(ely)-8 b(.)41
b(In)m(teractiv)m(e)23 b(shells)e(are)h(describ)s(ed)d(in)i(Section)h
-(6.3)630 2680 y([In)m(teractiv)m(e)33 b(Shells],)e(page)g(67.)150
+(6.3)630 2680 y([In)m(teractiv)m(e)33 b(Shells],)e(page)g(69.)150
2839 y Fs(-l)384 b Ft(Mak)m(e)33 b(this)e(shell)h(act)g(as)g(if)f(it)h
(had)f(b)s(een)f(directly)i(in)m(v)m(ok)m(ed)h(b)m(y)f(login.)44
b(When)31 b(the)h(shell)630 2949 y(is)37 b(in)m(teractiv)m(e,)43
3168 y(`)p Fs(exec)e(bash)h(-l)p Ft(')43 b(or)h(`)p Fs(exec)29
b(bash)g(--login)p Ft(')42 b(will)i(replace)h(the)f(curren)m(t)f(shell)
h(with)g(a)630 3278 y(Bash)26 b(login)g(shell.)39 b(See)26
-b(Section)g(6.2)h([Bash)e(Startup)g(Files],)j(page)e(65,)i(for)d(a)h
+b(Section)g(6.2)h([Bash)e(Startup)g(Files],)j(page)e(67,)i(for)d(a)h
(description)630 3387 y(of)31 b(the)f(sp)s(ecial)h(b)s(eha)m(vior)g(of)
f(a)h(login)g(shell.)150 3547 y Fs(-r)384 b Ft(Mak)m(e)54
b(the)e(shell)g(a)h(restricted)g(shell)f(\(see)h(Section)g(6.10)h([The)
-d(Restricted)j(Shell],)630 3656 y(page)31 b(76\).)150
+d(Restricted)j(Shell],)630 3656 y(page)31 b(78\).)150
3816 y Fs(-s)384 b Ft(If)24 b(this)h(option)h(is)f(presen)m(t,)h(or)f
(if)g(no)f(argumen)m(ts)i(remain)e(after)i(option)f(pro)s(cessing,)h
(then)630 3925 y(commands)i(are)h(read)g(from)f(the)h(standard)f
(cation)i(option)e(is)g(`)p Fs(+O)p Ft(',)g(the)g(output)f(is)h(displa)
m(y)m(ed)g(in)g(a)630 5340 y(format)d(that)g(ma)m(y)g(b)s(e)e(reused)h
(as)h(input.)p eop end
-%%Page: 65 71
-TeXDict begin 65 70 bop 150 -116 a Ft(Chapter)30 b(6:)41
-b(Bash)30 b(F)-8 b(eatures)2484 b(65)150 299 y Fs(--)384
+%%Page: 67 73
+TeXDict begin 67 72 bop 150 -116 a Ft(Chapter)30 b(6:)41
+b(Bash)30 b(F)-8 b(eatures)2484 b(67)150 299 y Fs(--)384
b Ft(A)38 b Fs(--)g Ft(signals)g(the)h(end)e(of)i(options)f(and)g
(disables)g(further)f(option)h(pro)s(cessing.)64 b(An)m(y)630
408 y(argumen)m(ts)31 b(after)g(the)f Fs(--)g Ft(are)h(treated)g(as)g
(to)150 1044 y(terminals)22 b(\(as)h(determined)f(b)m(y)g
Fs(isatty\(3\))p Ft(\),)f(or)i(one)f(started)g(with)g(the)g(`)p
Fs(-i)p Ft(')g(option.)39 b(See)22 b(Section)h(6.3)150
-1153 y([In)m(teractiv)m(e)33 b(Shells],)e(page)g(67,)g(for)f(more)h
+1153 y([In)m(teractiv)m(e)33 b(Shells],)e(page)g(69,)g(for)f(more)h
(information.)275 1293 y(If)38 b(argumen)m(ts)h(remain)g(after)g
(option)h(pro)s(cessing,)h(and)d(neither)h(the)g(`)p
Fs(-c)p Ft(')f(nor)h(the)g(`)p Fs(-s)p Ft(')f(option)150
(as)g(describ)s(ed)f(ab)s(o)m(v)m(e)150 2689 y(under)29
b(Tilde)h(Expansion)g(\(see)h(Section)g(3.5.2)i([Tilde)d(Expansion],)g
(page)i(18\).)275 2828 y(In)m(teractiv)m(e)g(shells)f(are)g(describ)s
-(ed)e(in)h(Section)h(6.3)h([In)m(teractiv)m(e)h(Shells],)d(page)h(67.)
+(ed)e(in)h(Section)h(6.3)h([In)m(teractiv)m(e)h(Shells],)d(page)h(69.)
150 3063 y Fk(In)m(v)m(ok)m(ed)40 b(as)h(an)f(in)m(teractiv)m(e)f
(login)j(shell,)g(or)g(with)e(`)p Fi(--login)p Fk(')275
3312 y Ft(When)e(Bash)g(is)h(in)m(v)m(ok)m(ed)h(as)e(an)g(in)m
b(the)e(line)390 5200 y Fs(if)47 b([)h(-f)f(~/.bashrc)e(];)i(then)g(.)g
(~/.bashrc;)e(fi)150 5340 y Ft(after)31 b(\(or)g(b)s(efore\))f(an)m(y)h
(login-sp)s(eci\014c)g(initializations.)p eop end
-%%Page: 66 72
-TeXDict begin 66 71 bop 150 -116 a Ft(66)2572 b(Bash)31
+%%Page: 68 74
+TeXDict begin 68 73 bop 150 -116 a Ft(68)2572 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fk(In)m(v)m(ok)m(ed)40
b(non-in)m(teractiv)m(ely)275 571 y Ft(When)24 b(Bash)h(is)g(started)g
(non-in)m(teractiv)m(ely)-8 b(,)29 b(to)d(run)d(a)i(shell)g(script,)h
Fs(rshd)g Ft(do)s(es)g(not)g(generally)i(in)m(v)m(ok)m(e)h(the)d(shell)
h(with)f(those)150 5340 y(options)31 b(or)f(allo)m(w)i(them)e(to)h(b)s
(e)f(sp)s(eci\014ed.)p eop end
-%%Page: 67 73
-TeXDict begin 67 72 bop 150 -116 a Ft(Chapter)30 b(6:)41
-b(Bash)30 b(F)-8 b(eatures)2484 b(67)150 299 y Fk(In)m(v)m(ok)m(ed)40
+%%Page: 69 75
+TeXDict begin 69 74 bop 150 -116 a Ft(Chapter)30 b(6:)41
+b(Bash)30 b(F)-8 b(eatures)2484 b(69)150 299 y Fk(In)m(v)m(ok)m(ed)40
b(with)g(unequal)h(e\013ectiv)m(e)e(and)i(real)g Fh(uid/gid)p
Fk(s)275 538 y Ft(If)26 b(Bash)i(is)f(started)h(with)f(the)g
(e\013ectiv)m(e)j(user)d(\(group\))g(id)g(not)h(equal)g(to)g(the)f
(eha)m(vior)g(in)f(sev)m(eral)h(w)m(a)m(ys.)199 4881
y(1.)61 b(Startup)37 b(\014les)g(are)h(read)f(and)g(executed)h(as)f
(describ)s(ed)g(in)g(Section)h(6.2)g([Bash)g(Startup)e(Files],)330
-4991 y(page)31 b(65.)199 5121 y(2.)61 b(Job)35 b(Con)m(trol)g(\(see)h
-(Chapter)f(7)g([Job)g(Con)m(trol],)i(page)f(81\))g(is)f(enabled)g(b)m
+4991 y(page)31 b(67.)199 5121 y(2.)61 b(Job)35 b(Con)m(trol)g(\(see)h
+(Chapter)f(7)g([Job)g(Con)m(trol],)i(page)f(83\))g(is)f(enabled)g(b)m
(y)g(default.)55 b(When)34 b(job)330 5230 y(con)m(trol)h(is)f(in)f
(e\013ect,)k(Bash)d(ignores)g(the)g(k)m(eyb)s(oard-generated)h(job)e
(con)m(trol)i(signals)g Fs(SIGTTIN)p Ft(,)330 5340 y
Fs(SIGTTOU)p Ft(,)29 b(and)g Fs(SIGTSTP)p Ft(.)p eop
end
-%%Page: 68 74
-TeXDict begin 68 73 bop 150 -116 a Ft(68)2572 b(Bash)31
+%%Page: 70 76
+TeXDict begin 70 75 bop 150 -116 a Ft(70)2572 b(Bash)31
b(Reference)g(Man)m(ual)199 299 y(3.)61 b(Bash)39 b(expands)f(and)g
(displa)m(ys)h Fs(PS1)f Ft(b)s(efore)h(reading)g(the)g(\014rst)f(line)h
(of)g(a)g(command,)i(and)d(ex-)330 408 y(pands)30 b(and)g(displa)m(ys)h
y(the)31 b(primary)e(prompt,)h Fs($PS1)f Ft(\(see)i(Section)g(5.2)h
([Bash)f(V)-8 b(ariables],)32 b(page)f(55\).)199 930
y(5.)61 b(Readline)30 b(\(see)h(Chapter)e(8)h([Command)e(Line)i
-(Editing],)g(page)g(85\))h(is)f(used)f(to)h(read)f(commands)330
+(Editing],)g(page)g(87\))h(is)f(used)f(to)h(read)f(commands)330
1039 y(from)h(the)g(user's)g(terminal.)199 1190 y(6.)61
b(Bash)36 b(insp)s(ects)g(the)h(v)-5 b(alue)37 b(of)f(the)g
Fs(ignoreeof)e Ft(option)j(to)g Fs(set)29 b(-o)36 b Ft(instead)h(of)f
Fs(EOF)f Ft(on)h(its)g(standard)f(input)g(when)h(reading)g(a)g(command)
g(\(see)330 1409 y(Section)31 b(4.3)h([The)e(Set)g(Builtin],)i(page)f
(50\).)199 1560 y(7.)61 b(Command)43 b(history)h(\(see)h(Section)g(9.1)
-g([Bash)f(History)h(F)-8 b(acilities],)51 b(page)45 b(111\))h(and)d
+g([Bash)f(History)h(F)-8 b(acilities],)51 b(page)45 b(113\))h(and)d
(history)330 1670 y(expansion)23 b(\(see)i(Section)f(9.3)h([History)f
-(In)m(teraction],)j(page)d(113\))h(are)f(enabled)g(b)m(y)f(default.)39
+(In)m(teraction],)j(page)d(115\))h(are)f(enabled)g(b)m(y)f(default.)39
b(Bash)330 1779 y(will)23 b(sa)m(v)m(e)i(the)e(command)f(history)h(to)h
(the)f(\014le)g(named)f(b)m(y)h Fs($HISTFILE)d Ft(when)i(an)h(in)m
(teractiv)m(e)j(shell)330 1889 y(exits.)199 2040 y(8.)61
b(Alias)31 b(expansion)g(\(see)g(Section)g(6.6)g([Aliases],)i(page)e
-(71\))h(is)e(p)s(erformed)f(b)m(y)h(default.)199 2191
+(73\))h(is)e(p)s(erformed)f(b)m(y)h(default.)199 2191
y(9.)61 b(In)24 b(the)g(absence)h(of)f(an)m(y)h(traps,)g(Bash)g
(ignores)f Fs(SIGTERM)f Ft(\(see)i(Section)g(3.7.6)h([Signals],)g(page)
f(31\).)154 2342 y(10.)61 b(In)26 b(the)h(absence)h(of)f(an)m(y)g
4056 y(17.)61 b(When)26 b(running)f(in)i Fl(posix)e Ft(mo)s(de,)j(a)f
(sp)s(ecial)g(builtin)f(returning)g(an)g(error)h(status)g(will)g(not)f
(cause)330 4166 y(the)31 b(shell)f(to)h(exit)h(\(see)f(Section)g(6.11)h
-([Bash)f(POSIX)e(Mo)s(de],)i(page)g(76\).)154 4316 y(18.)61
+([Bash)f(POSIX)e(Mo)s(de],)i(page)g(78\).)154 4316 y(18.)61
b(A)34 b(failed)g Fs(exec)f Ft(will)h(not)g(cause)g(the)g(shell)g(to)g
(exit)h(\(see)f(Section)h(4.1)g([Bourne)f(Shell)f(Builtins],)330
4426 y(page)e(33\).)154 4577 y(19.)61 b(P)m(arser)31
(seconds)f(after)g(prin)m(ting)g Fs($PS1)f Ft(\(see)i(Section)g(5.2)h
([Bash)330 5317 y(V)-8 b(ariables],)32 b(page)f(55\).)p
eop end
-%%Page: 69 75
-TeXDict begin 69 74 bop 150 -116 a Ft(Chapter)30 b(6:)41
-b(Bash)30 b(F)-8 b(eatures)2484 b(69)150 299 y Fr(6.4)68
+%%Page: 71 77
+TeXDict begin 71 76 bop 150 -116 a Ft(Chapter)30 b(6:)41
+b(Bash)30 b(F)-8 b(eatures)2484 b(71)150 299 y Fr(6.4)68
b(Bash)45 b(Conditional)h(Expressions)275 540 y Ft(Conditional)38
b(expressions)g(are)h(used)f(b)m(y)g(the)g Fs([[)g Ft(comp)s(ound)f
(command)h(and)g(the)g Fs(test)g Ft(and)f Fs([)150 650
b(older)f(than)g Fq(\014le2)p Ft(,)i(or)e(if)g Fq(\014le2)38
b Ft(exists)31 b(and)f Fq(\014le1)38 b Ft(do)s(es)30
b(not.)p eop end
-%%Page: 70 76
-TeXDict begin 70 75 bop 150 -116 a Ft(70)2572 b(Bash)31
+%%Page: 72 78
+TeXDict begin 72 77 bop 150 -116 a Ft(72)2572 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fj(file1)39 b Fs(-ef)30
b Fj(file2)630 408 y Ft(T)-8 b(rue)30 b(if)g Fq(\014le1)38
b Ft(and)30 b Fq(\014le2)38 b Ft(refer)30 b(to)i(the)e(same)h(device)g
5018 y Fs(-)g(+)354 b Ft(unary)29 b(min)m(us)h(and)g(plus)150
5179 y Fs(!)g(~)354 b Ft(logical)33 b(and)d(bit)m(wise)h(negation)150
5340 y Fs(**)384 b Ft(exp)s(onen)m(tiation)p eop end
-%%Page: 71 77
-TeXDict begin 71 76 bop 150 -116 a Ft(Chapter)30 b(6:)41
-b(Bash)30 b(F)-8 b(eatures)2484 b(71)150 299 y Fs(*)30
+%%Page: 73 79
+TeXDict begin 73 78 bop 150 -116 a Ft(Chapter)30 b(6:)41
+b(Bash)30 b(F)-8 b(eatures)2484 b(73)150 299 y Fs(*)30
b(/)g(\045)276 b Ft(m)m(ultiplication,)33 b(division,)d(remainder)150
464 y Fs(+)g(-)354 b Ft(addition,)31 b(subtraction)150
630 y Fs(<<)f(>>)258 b Ft(left)31 b(and)f(righ)m(t)h(bit)m(wise)g
b(shell)i(main)m(tains)f(a)h(list)f(of)g(aliases)i(that)e(ma)m(y)h(b)s
(e)e(set)h(and)g(unset)f(with)h(the)150 5340 y Fs(alias)d
Ft(and)h Fs(unalias)e Ft(builtin)i(commands.)p eop end
-%%Page: 72 78
-TeXDict begin 72 77 bop 150 -116 a Ft(72)2572 b(Bash)31
+%%Page: 74 80
+TeXDict begin 74 79 bop 150 -116 a Ft(74)2572 b(Bash)31
b(Reference)g(Man)m(ual)275 299 y(The)e(\014rst)f(w)m(ord)i(of)f(eac)m
(h)i(simple)f(command,)g(if)f(unquoted,)g(is)h(c)m(hec)m(k)m(ed)h(to)g
(see)f(if)g(it)g(has)f(an)g(alias.)150 408 y(If)24 b(so,)i(that)g(w)m
(replacemen)m(t)i(text,)i(as)d(in)e Fs(csh)p Ft(.)83
b(If)150 1693 y(argumen)m(ts)37 b(are)h(needed,)g(a)g(shell)f(function)
f(should)g(b)s(e)h(used)f(\(see)i(Section)g(3.3)g([Shell)f(F)-8
-b(unctions],)150 1802 y(page)31 b(13\).)275 1951 y(Aliases)i(are)h(not)
+b(unctions],)150 1802 y(page)31 b(14\).)275 1951 y(Aliases)i(are)h(not)
e(expanded)g(when)g(the)h(shell)g(is)g(not)g(in)m(teractiv)m(e,)j
(unless)c(the)h Fs(expand_aliases)150 2061 y Ft(shell)e(option)f(is)h
(set)g(using)f Fs(shopt)f Ft(\(see)i(Section)g(4.2)h([Bash)e
Fj(name)150 5191 y Ft(The)30 b(syn)m(tax)390 5340 y Fs(declare)46
b(-a)h Fj(name)11 b Fs([)p Fj(subscript)g Fs(])p eop
end
-%%Page: 73 79
-TeXDict begin 73 78 bop 150 -116 a Ft(Chapter)30 b(6:)41
-b(Bash)30 b(F)-8 b(eatures)2484 b(73)150 299 y(is)29
+%%Page: 75 81
+TeXDict begin 75 80 bop 150 -116 a Ft(Chapter)30 b(6:)41
+b(Bash)30 b(F)-8 b(eatures)2484 b(75)150 299 y(is)29
b(also)i(accepted;)g(the)f Fq(subscript)g Ft(is)f(ignored.)41
b(A)m(ttributes)30 b(ma)m(y)g(b)s(e)e(sp)s(eci\014ed)h(for)g(an)g(arra)
m(y)h(v)-5 b(ariable)150 408 y(using)40 b(the)h Fs(declare)d
Fs(DIRSTACK)e Ft(shell)150 4860 y(v)-5 b(ariable.)150
5094 y Fk(6.8.1)63 b(Directory)40 b(Stac)m(k)g(Builtins)150
5340 y Fs(dirs)p eop end
-%%Page: 74 80
-TeXDict begin 74 79 bop 150 -116 a Ft(74)2572 b(Bash)31
+%%Page: 76 82
+TeXDict begin 76 81 bop 150 -116 a Ft(76)2572 b(Bash)31
b(Reference)g(Man)m(ual)870 299 y Fs(dirs)47 b([+)p Fj(N)57
b Fs(|)48 b(-)p Fj(N)11 b Fs(])46 b([-clpv])630 426 y
Ft(Displa)m(y)35 b(the)f(list)g(of)g(curren)m(tly)g(remem)m(b)s(ered)f
b(executes)i(the)e(equiv)-5 b(alen)m(t)32 b(of)f(`)p
Fs(cd)f Fq(dir)7 b Ft('.)39 b Fs(cd)p Ft(s)30 b(to)h
Fq(dir)p Ft(.)p eop end
-%%Page: 75 81
-TeXDict begin 75 80 bop 150 -116 a Ft(Chapter)30 b(6:)41
-b(Bash)30 b(F)-8 b(eatures)2484 b(75)150 299 y Fr(6.9)68
+%%Page: 77 83
+TeXDict begin 77 82 bop 150 -116 a Ft(Chapter)30 b(6:)41
+b(Bash)30 b(F)-8 b(eatures)2484 b(77)150 299 y Fr(6.9)68
b(Con)l(trolling)47 b(the)e(Prompt)275 544 y Ft(The)c(v)-5
b(alue)43 b(of)f(the)h(v)-5 b(ariable)43 b Fs(PROMPT_COMMAND)38
b Ft(is)k(examined)g(just)g(b)s(efore)g(Bash)g(prin)m(ts)g(eac)m(h)150
b(c)m(haracter)i(whose)e(ASCI)s(I)f(co)s(de)h(is)h(the)f(o)s(ctal)i(v)
-5 b(alue)31 b Fq(nnn)p Ft(.)150 5340 y Fs(\\\\)384 b
Ft(A)30 b(bac)m(kslash.)p eop end
-%%Page: 76 82
-TeXDict begin 76 81 bop 150 -116 a Ft(76)2572 b(Bash)31
+%%Page: 78 84
+TeXDict begin 78 83 bop 150 -116 a Ft(78)2572 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fs(\\[)384 b Ft(Begin)38
b(a)f(sequence)g(of)g(non-prin)m(ting)g(c)m(haracters.)61
b(This)36 b(could)h(b)s(e)g(used)f(to)h(em)m(b)s(ed)g(a)630
(its)h(p)s(osition)f(in)g(the)h(history)f(list,)i(whic)m(h)f(ma)m(y)g
(include)f(commands)g(restored)g(from)150 947 y(the)39
b(history)h(\014le)f(\(see)h(Section)g(9.1)h([Bash)e(History)h(F)-8
-b(acilities],)45 b(page)40 b(111\),)j(while)d(the)f(command)150
+b(acilities],)45 b(page)40 b(113\),)j(while)d(the)f(command)150
1057 y(n)m(um)m(b)s(er)j(is)h(the)h(p)s(osition)f(in)g(the)g(sequence)h
(of)f(commands)g(executed)h(during)e(the)i(curren)m(t)f(shell)150
1167 y(session.)275 1302 y(After)35 b(the)g(string)g(is)g(deco)s(ded,)h
b(-o)f(posix)p Ft(')20 b(while)150 5340 y(Bash)33 b(is)f(running)f
(will)i(cause)g(Bash)f(to)i(conform)e(more)h(closely)h(to)f(the)g
Fl(posix)e Ft(1003.2)k(standard)d(b)m(y)p eop end
-%%Page: 77 83
-TeXDict begin 77 82 bop 150 -116 a Ft(Chapter)30 b(6:)41
-b(Bash)30 b(F)-8 b(eatures)2484 b(77)150 299 y(c)m(hanging)38
+%%Page: 79 85
+TeXDict begin 79 84 bop 150 -116 a Ft(Chapter)30 b(6:)41
+b(Bash)30 b(F)-8 b(eatures)2484 b(79)150 299 y(c)m(hanging)38
b(the)f(b)s(eha)m(vior)g(to)g(matc)m(h)h(that)f(sp)s(eci\014ed)g(b)m(y)
f Fl(posix)g Ft(in)h(areas)g(where)g(the)g(Bash)g(default)150
408 y(di\013ers.)275 554 y(When)30 b(in)m(v)m(ok)m(ed)h(as)g
(directory)g(with)f(the)g(same)h(name)f(as)h(the)g(name)f(giv)m(en)330
5340 y(as)g(an)f(argumen)m(t)h(to)g Fs(cd)f Ft(exists)h(in)f(the)g
(curren)m(t)g(directory)-8 b(.)p eop end
-%%Page: 78 84
-TeXDict begin 78 83 bop 150 -116 a Ft(78)2572 b(Bash)31
+%%Page: 80 86
+TeXDict begin 80 85 bop 150 -116 a Ft(80)2572 b(Bash)31
b(Reference)g(Man)m(ual)154 299 y(20.)61 b(A)31 b(non-in)m(teractiv)m
(e)j(shell)d(exits)h(with)e(an)h(error)g(status)g(if)g(a)g(v)-5
b(ariable)32 b(assignmen)m(t)g(error)e(o)s(ccurs)330
h(statemen)m(ts.)69 b(A)39 b(v)-5 b(ariable)40 b(assignmen)m(t)330
518 y(error)30 b(o)s(ccurs,)g(for)g(example,)i(when)d(trying)i(to)g
(assign)f(a)h(v)-5 b(alue)31 b(to)g(a)g(readonly)f(v)-5
-b(ariable.)154 650 y(21.)61 b(A)43 b(non-in)m(teractiv)m(e)i(shell)e
+b(ariable.)154 645 y(21.)61 b(A)43 b(non-in)m(teractiv)m(e)i(shell)e
(exits)h(with)f(an)f(error)h(status)g(if)g(the)g(iteration)h(v)-5
-b(ariable)44 b(in)f(a)g Fs(for)330 759 y Ft(statemen)m(t)32
+b(ariable)44 b(in)f(a)g Fs(for)330 755 y Ft(statemen)m(t)32
b(or)f(the)f(selection)i(v)-5 b(ariable)32 b(in)e(a)g
Fs(select)f Ft(statemen)m(t)j(is)f(a)f(readonly)h(v)-5
-b(ariable.)154 891 y(22.)61 b(Pro)s(cess)30 b(substitution)g(is)h(not)f
-(a)m(v)-5 b(ailable.)154 1022 y(23.)61 b(Assignmen)m(t)32
+b(ariable.)154 881 y(22.)61 b(Pro)s(cess)30 b(substitution)g(is)h(not)f
+(a)m(v)-5 b(ailable.)154 1008 y(23.)61 b(Assignmen)m(t)32
b(statemen)m(ts)g(preceding)f Fl(posix)g Ft(1003.2)i(sp)s(ecial)f
-(builtins)e(p)s(ersist)h(in)f(the)i(shell)f(en-)330 1132
+(builtins)e(p)s(ersist)h(in)f(the)i(shell)f(en-)330 1118
y(vironmen)m(t)g(after)f(the)h(builtin)f(completes.)154
-1263 y(24.)61 b(Assignmen)m(t)35 b(statemen)m(ts)h(preceding)f(shell)f
+1245 y(24.)61 b(Assignmen)m(t)35 b(statemen)m(ts)h(preceding)f(shell)f
(function)g(calls)i(p)s(ersist)e(in)g(the)h(shell)f(en)m(vironmen)m(t)
-330 1373 y(after)d(the)f(function)h(returns,)e(as)i(if)f(a)h
+330 1354 y(after)d(the)f(function)h(returns,)e(as)i(if)f(a)h
Fl(posix)e Ft(sp)s(ecial)i(builtin)f(command)g(had)g(b)s(een)g
-(executed.)154 1504 y(25.)61 b(The)38 b Fs(export)f Ft(and)g
+(executed.)154 1481 y(25.)61 b(The)38 b Fs(export)f Ft(and)g
Fs(readonly)f Ft(builtin)i(commands)g(displa)m(y)h(their)f(output)g(in)
-g(the)h(format)g(re-)330 1614 y(quired)30 b(b)m(y)g Fl(posix)f
-Ft(1003.2.)154 1745 y(26.)61 b(The)30 b Fs(trap)f Ft(builtin)h(displa)m
+g(the)h(format)g(re-)330 1591 y(quired)30 b(b)m(y)g Fl(posix)f
+Ft(1003.2.)154 1718 y(26.)61 b(The)30 b Fs(trap)f Ft(builtin)h(displa)m
(ys)g(signal)i(names)e(without)g(the)h(leading)g Fs(SIG)p
-Ft(.)154 1877 y(27.)61 b(The)39 b Fs(trap)e Ft(builtin)i(do)s(esn't)g
+Ft(.)154 1845 y(27.)61 b(The)39 b Fs(trap)e Ft(builtin)i(do)s(esn't)g
(c)m(hec)m(k)h(the)g(\014rst)e(argumen)m(t)i(for)e(a)i(p)s(ossible)e
-(signal)i(sp)s(eci\014cation)330 1987 y(and)30 b(rev)m(ert)i(the)e
+(signal)i(sp)s(eci\014cation)330 1954 y(and)30 b(rev)m(ert)i(the)e
(signal)i(handling)e(to)h(the)g(original)h(disp)s(osition)e(if)h(it)g
-(is,)g(unless)f(that)h(argumen)m(t)330 2096 y(consists)e(solely)g(of)g
+(is,)g(unless)f(that)h(argumen)m(t)330 2064 y(consists)e(solely)g(of)g
(digits)g(and)f(is)g(a)h(v)-5 b(alid)29 b(signal)g(n)m(um)m(b)s(er.)38
b(If)28 b(users)g(w)m(an)m(t)h(to)g(reset)g(the)g(handler)330
-2206 y(for)h(a)g(giv)m(en)h(signal)g(to)f(the)h(original)g(disp)s
+2173 y(for)h(a)g(giv)m(en)h(signal)g(to)f(the)h(original)g(disp)s
(osition,)f(they)g(should)f(use)h(`)p Fs(-)p Ft(')g(as)g(the)g(\014rst)
-f(argumen)m(t.)154 2337 y(28.)61 b(The)21 b Fs(.)h Ft(and)f
+f(argumen)m(t.)154 2300 y(28.)61 b(The)21 b Fs(.)h Ft(and)f
Fs(source)f Ft(builtins)h(do)g(not)h(searc)m(h)h(the)f(curren)m(t)f
(directory)h(for)g(the)g(\014lename)f(argumen)m(t)330
-2447 y(if)30 b(it)h(is)g(not)f(found)f(b)m(y)i(searc)m(hing)g
-Fs(PATH)p Ft(.)154 2578 y(29.)61 b(Subshells)20 b(spa)m(wned)h(to)h
+2410 y(if)30 b(it)h(is)g(not)f(found)f(b)m(y)i(searc)m(hing)g
+Fs(PATH)p Ft(.)154 2537 y(29.)61 b(Subshells)20 b(spa)m(wned)h(to)h
(execute)g(command)g(substitutions)f(inherit)g(the)g(v)-5
b(alue)22 b(of)g(the)f(`)p Fs(-e)p Ft(')g(option)330
-2688 y(from)34 b(the)h(paren)m(t)g(shell.)55 b(When)34
+2646 y(from)34 b(the)h(paren)m(t)g(shell.)55 b(When)34
b(not)i(in)e Fl(posix)g Ft(mo)s(de,)i(Bash)f(clears)h(the)f(`)p
-Fs(-e)p Ft(')f(option)i(in)e(suc)m(h)330 2798 y(subshells.)154
-2929 y(30.)61 b(Alias)31 b(expansion)g(is)f(alw)m(a)m(ys)i(enabled,)e
-(ev)m(en)i(in)e(non-in)m(teractiv)m(e)j(shells.)154 3061
+Fs(-e)p Ft(')f(option)i(in)e(suc)m(h)330 2756 y(subshells.)154
+2883 y(30.)61 b(Alias)31 b(expansion)g(is)f(alw)m(a)m(ys)i(enabled,)e
+(ev)m(en)i(in)e(non-in)m(teractiv)m(e)j(shells.)154 3010
y(31.)61 b(When)43 b(the)g Fs(alias)f Ft(builtin)g(displa)m(ys)i(alias)
g(de\014nitions,)i(it)d(do)s(es)g(not)g(displa)m(y)h(them)f(with)g(a)
-330 3170 y(leading)31 b(`)p Fs(alias)e Ft(')i(unless)f(the)g(`)p
-Fs(-p)p Ft(')g(option)h(is)g(supplied.)154 3302 y(32.)61
+330 3119 y(leading)31 b(`)p Fs(alias)e Ft(')i(unless)f(the)g(`)p
+Fs(-p)p Ft(')g(option)h(is)g(supplied.)154 3246 y(32.)61
b(When)40 b(the)g Fs(set)f Ft(builtin)h(is)g(in)m(v)m(ok)m(ed)h
(without)f(options,)j(it)e(do)s(es)f(not)g(displa)m(y)g(shell)g
-(function)330 3411 y(names)30 b(and)g(de\014nitions.)154
-3543 y(33.)61 b(When)36 b(the)g Fs(set)g Ft(builtin)g(is)g(in)m(v)m(ok)
+(function)330 3356 y(names)30 b(and)g(de\014nitions.)154
+3483 y(33.)61 b(When)36 b(the)g Fs(set)g Ft(builtin)g(is)g(in)m(v)m(ok)
m(ed)i(without)e(options,)i(it)f(displa)m(ys)f(v)-5 b(ariable)37
-b(v)-5 b(alues)37 b(without)330 3652 y(quotes,)26 b(unless)d(they)i
+b(v)-5 b(alues)37 b(without)330 3592 y(quotes,)26 b(unless)d(they)i
(con)m(tain)g(shell)f(metac)m(haracters,)k(ev)m(en)d(if)f(the)g(result)
-g(con)m(tains)i(nonprin)m(ting)330 3762 y(c)m(haracters.)154
-3893 y(34.)61 b(When)35 b(the)g Fs(cd)f Ft(builtin)h(is)g(in)m(v)m(ok)m
+g(con)m(tains)i(nonprin)m(ting)330 3702 y(c)m(haracters.)154
+3829 y(34.)61 b(When)35 b(the)g Fs(cd)f Ft(builtin)h(is)g(in)m(v)m(ok)m
(ed)i(in)d Fq(logical)41 b Ft(mo)s(de,)36 b(and)f(the)g(pathname)g
-(constructed)g(from)330 4003 y Fs($PWD)i Ft(and)h(the)h(directory)f
+(constructed)g(from)330 3938 y Fs($PWD)i Ft(and)h(the)h(directory)f
(name)h(supplied)e(as)i(an)f(argumen)m(t)h(do)s(es)f(not)g(refer)h(to)g
-(an)f(existing)330 4113 y(directory)-8 b(,)32 b Fs(cd)d
+(an)f(existing)330 4048 y(directory)-8 b(,)32 b Fs(cd)d
Ft(will)i(fail)g(instead)g(of)f(falling)h(bac)m(k)h(to)f
-Fq(ph)m(ysical)j Ft(mo)s(de.)154 4244 y(35.)61 b(When)35
-b(listing)g(the)g(history)-8 b(,)36 b(the)f Fs(fc)g Ft(builtin)f(do)s
-(es)g(not)h(include)g(an)f(indication)i(of)f(whether)f(or)330
-4354 y(not)d(a)f(history)h(en)m(try)f(has)g(b)s(een)g(mo)s(di\014ed.)
-154 4485 y(36.)61 b(The)30 b(default)g(editor)h(used)f(b)m(y)g
-Fs(fc)g Ft(is)g Fs(ed)p Ft(.)154 4617 y(37.)61 b(The)37
-b Fs(type)g Ft(and)g Fs(command)f Ft(builtins)i(will)g(not)g(rep)s(ort)
-f(a)i(non-executable)g(\014le)f(as)g(ha)m(ving)h(b)s(een)330
-4726 y(found,)26 b(though)h(the)g(shell)g(will)g(attempt)h(to)g
-(execute)g(suc)m(h)f(a)g(\014le)g(if)g(it)g(is)g(the)g(only)g(so-named)
-g(\014le)330 4836 y(found)i(in)h Fs($PATH)p Ft(.)154
-4967 y(38.)61 b(When)41 b(the)g Fs(xpg_echo)e Ft(option)i(is)g
-(enabled,)j(Bash)d(do)s(es)g(not)g(attempt)h(to)g(in)m(terpret)f(an)m
-(y)h(ar-)330 5077 y(gumen)m(ts)35 b(to)g Fs(echo)e Ft(as)i(options.)54
-b(Eac)m(h)35 b(argumen)m(t)g(is)f(displa)m(y)m(ed,)j(after)e(escap)s(e)
-g(c)m(haracters)h(are)330 5187 y(con)m(v)m(erted.)275
-5340 y(There)29 b(is)i(other)f Fl(posix)g Ft(1003.2)j(b)s(eha)m(vior)d
-(that)h(Bash)g(do)s(es)f(not)h(implemen)m(t.)41 b(Sp)s(eci\014cally:)p
-eop end
-%%Page: 79 85
-TeXDict begin 79 84 bop 150 -116 a Ft(Chapter)30 b(6:)41
-b(Bash)30 b(F)-8 b(eatures)2484 b(79)199 299 y(1.)61
-b(Assignmen)m(t)26 b(statemen)m(ts)i(a\013ect)f(the)f(execution)g(en)m
-(vironmen)m(t)h(of)f(all)g(builtins,)g(not)g(just)f(sp)s(ecial)330
-408 y(ones.)199 543 y(2.)61 b(When)20 b(a)h(subshell)f(is)h(created)g
-(to)h(execute)g(a)f(shell)f(script)h(with)f(execute)i(p)s(ermission,)g
-(but)e(without)330 653 y(a)35 b(leading)h(`)p Fs(#!)p
-Ft(',)g(Bash)g(sets)f Fs($0)f Ft(to)i(the)f(full)g(pathname)g(of)g(the)
-g(script)g(as)g(found)f(b)m(y)h(searc)m(hing)330 762
-y Fs($PATH)p Ft(,)29 b(rather)h(than)h(the)f(command)g(as)h(t)m(yp)s
-(ed)f(b)m(y)g(the)h(user.)199 897 y(3.)61 b(When)28 b(using)f(`)p
-Fs(.)p Ft(')h(to)g(source)g(a)h(shell)f(script)f(found)g(in)g
-Fs($PATH)p Ft(,)h(bash)f(c)m(hec)m(ks)i(execute)g(p)s(ermission)330
-1006 y(bits)h(rather)h(than)f(read)g(p)s(ermission)f(bits,)i(just)f(as)
-g(if)g(it)h(w)m(ere)g(searc)m(hing)g(for)g(a)f(command.)p
-eop end
-%%Page: 80 86
-TeXDict begin 80 85 bop 150 -116 a Ft(80)2572 b(Bash)31
-b(Reference)g(Man)m(ual)p eop end
+Fq(ph)m(ysical)j Ft(mo)s(de.)154 4175 y(35.)61 b(When)20
+b(the)h Fs(pwd)e Ft(builtin)h(is)g(supplied)g(the)g(`)p
+Fs(-P)p Ft(')g(option,)j(it)e(resets)g Fs($PWD)e Ft(to)i(a)g(pathname)f
+(con)m(taining)330 4284 y(no)30 b(symlinks.)154 4411
+y(36.)61 b(When)35 b(listing)g(the)g(history)-8 b(,)36
+b(the)f Fs(fc)g Ft(builtin)f(do)s(es)g(not)h(include)g(an)f(indication)
+i(of)f(whether)f(or)330 4521 y(not)d(a)f(history)h(en)m(try)f(has)g(b)s
+(een)g(mo)s(di\014ed.)154 4648 y(37.)61 b(The)30 b(default)g(editor)h
+(used)f(b)m(y)g Fs(fc)g Ft(is)g Fs(ed)p Ft(.)154 4775
+y(38.)61 b(The)37 b Fs(type)g Ft(and)g Fs(command)f Ft(builtins)i(will)
+g(not)g(rep)s(ort)f(a)i(non-executable)g(\014le)f(as)g(ha)m(ving)h(b)s
+(een)330 4884 y(found,)26 b(though)h(the)g(shell)g(will)g(attempt)h(to)
+g(execute)g(suc)m(h)f(a)g(\014le)g(if)g(it)g(is)g(the)g(only)g
+(so-named)g(\014le)330 4994 y(found)i(in)h Fs($PATH)p
+Ft(.)154 5121 y(39.)61 b(When)41 b(the)g Fs(xpg_echo)e
+Ft(option)i(is)g(enabled,)j(Bash)d(do)s(es)g(not)g(attempt)h(to)g(in)m
+(terpret)f(an)m(y)h(ar-)330 5230 y(gumen)m(ts)35 b(to)g
+Fs(echo)e Ft(as)i(options.)54 b(Eac)m(h)35 b(argumen)m(t)g(is)f(displa)
+m(y)m(ed,)j(after)e(escap)s(e)g(c)m(haracters)h(are)330
+5340 y(con)m(v)m(erted.)p eop end
%%Page: 81 87
-TeXDict begin 81 86 bop 150 -116 a Ft(Chapter)30 b(7:)41
-b(Job)30 b(Con)m(trol)2571 b(81)150 299 y Fo(7)80 b(Job)54
+TeXDict begin 81 86 bop 150 -116 a Ft(Chapter)30 b(6:)41
+b(Bash)30 b(F)-8 b(eatures)2484 b(81)275 299 y(There)29
+b(is)i(other)f Fl(posix)g Ft(1003.2)j(b)s(eha)m(vior)d(that)h(Bash)g
+(do)s(es)f(not)h(implemen)m(t.)41 b(Sp)s(eci\014cally:)199
+433 y(1.)61 b(Assignmen)m(t)26 b(statemen)m(ts)i(a\013ect)f(the)f
+(execution)g(en)m(vironmen)m(t)h(of)f(all)g(builtins,)g(not)g(just)f
+(sp)s(ecial)330 543 y(ones.)199 677 y(2.)61 b(When)20
+b(a)h(subshell)f(is)h(created)g(to)h(execute)g(a)f(shell)f(script)h
+(with)f(execute)i(p)s(ermission,)g(but)e(without)330
+787 y(a)35 b(leading)h(`)p Fs(#!)p Ft(',)g(Bash)g(sets)f
+Fs($0)f Ft(to)i(the)f(full)g(pathname)g(of)g(the)g(script)g(as)g(found)
+f(b)m(y)h(searc)m(hing)330 897 y Fs($PATH)p Ft(,)29 b(rather)h(than)h
+(the)f(command)g(as)h(t)m(yp)s(ed)f(b)m(y)g(the)h(user.)199
+1031 y(3.)61 b(When)28 b(using)f(`)p Fs(.)p Ft(')h(to)g(source)g(a)h
+(shell)f(script)f(found)g(in)g Fs($PATH)p Ft(,)h(bash)f(c)m(hec)m(ks)i
+(execute)g(p)s(ermission)330 1141 y(bits)h(rather)h(than)f(read)g(p)s
+(ermission)f(bits,)i(just)f(as)g(if)g(it)h(w)m(ere)g(searc)m(hing)g
+(for)g(a)f(command.)p eop end
+%%Page: 82 88
+TeXDict begin 82 87 bop 150 -116 a Ft(82)2572 b(Bash)31
+b(Reference)g(Man)m(ual)p eop end
+%%Page: 83 89
+TeXDict begin 83 88 bop 150 -116 a Ft(Chapter)30 b(7:)41
+b(Job)30 b(Con)m(trol)2571 b(83)150 299 y Fo(7)80 b(Job)54
b(Con)l(trol)275 516 y Ft(This)34 b(c)m(hapter)i(discusses)f(what)g
(job)g(con)m(trol)i(is,)g(ho)m(w)e(it)h(w)m(orks,)h(and)e(ho)m(w)g
(Bash)h(allo)m(ws)g(y)m(ou)g(to)150 625 y(access)c(its)e(facilities.)
(its)h(command)f(line.)41 b(F)-8 b(or)31 b(example,)g(`)p
Fs(\045ce)p Ft(')f(refers)g(to)h(a)g(stopp)s(ed)e Fs(ce)h
Ft(job.)p eop end
-%%Page: 82 88
-TeXDict begin 82 87 bop 150 -116 a Ft(82)2572 b(Bash)31
+%%Page: 84 90
+TeXDict begin 84 89 bop 150 -116 a Ft(84)2572 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y(Using)c(`)p Fs(\045?ce)p
Ft(',)g(on)f(the)h(other)g(hand,)g(refers)f(to)h(an)m(y)g(job)g(con)m
(taining)h(the)f(string)f(`)p Fs(ce)p Ft(')h(in)f(its)h(command)150
5179 y Fs(-r)384 b Ft(Restrict)31 b(output)f(to)i(running)c(jobs.)630
5340 y Fs(-s)384 b Ft(Restrict)31 b(output)f(to)i(stopp)s(ed)d(jobs.)p
eop end
-%%Page: 83 89
-TeXDict begin 83 88 bop 150 -116 a Ft(Chapter)30 b(7:)41
-b(Job)30 b(Con)m(trol)2571 b(83)630 299 y(If)23 b Fq(jobsp)s(ec)28
+%%Page: 85 91
+TeXDict begin 85 90 bop 150 -116 a Ft(Chapter)30 b(7:)41
+b(Job)30 b(Con)m(trol)2571 b(85)630 299 y(If)23 b Fq(jobsp)s(ec)28
b Ft(is)c(giv)m(en,)i(output)d(is)h(restricted)g(to)g(information)g(ab)
s(out)f(that)h(job.)39 b(If)23 b Fq(jobsp)s(ec)630 408
y Ft(is)30 b(not)h(supplied,)e(the)i(status)g(of)f(all)h(jobs)f(is)h
Fq(jobsp)s(ec)j Ft(argu-)150 5340 y(men)m(ts.)41 b(They)30
b(m)m(ust)g(b)s(e)g(supplied)f(pro)s(cess)h Fl(id)p Ft(s.)p
eop end
-%%Page: 84 90
-TeXDict begin 84 89 bop 150 -116 a Ft(84)2572 b(Bash)31
+%%Page: 86 92
+TeXDict begin 86 91 bop 150 -116 a Ft(86)2572 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fr(7.3)68 b(Job)45
b(Con)l(trol)h(V)-11 b(ariables)150 543 y Fs(auto_resume)630
653 y Ft(This)31 b(v)-5 b(ariable)32 b(con)m(trols)g(ho)m(w)g(the)f
62 b(The)37 b(`)p Fs(substring)p Ft(')e(v)-5 b(alue)38
b(pro)m(vides)f(functionalit)m(y)i(analogous)g(to)630
1639 y(the)f(`)p Fs(\045?)p Ft(')f(job)h Fl(id)f Ft(\(see)i(Section)f
-(7.1)h([Job)f(Con)m(trol)g(Basics],)j(page)d(81\).)64
+(7.1)h([Job)f(Con)m(trol)g(Basics],)j(page)d(83\).)64
b(If)37 b(set)h(to)h(an)m(y)630 1748 y(other)32 b(v)-5
b(alue,)32 b(the)g(supplied)e(string)i(m)m(ust)f(b)s(e)g(a)h(pre\014x)f
(of)h(a)g(stopp)s(ed)e(job's)i(name;)g(this)630 1858
y(pro)m(vides)e(functionalit)m(y)i(analogous)g(to)f(the)g(`)p
Fs(\045)p Ft(')f(job)g Fl(id)p Ft(.)p eop end
-%%Page: 85 91
-TeXDict begin 85 90 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2107 b(85)150 299 y Fo(8)80
+%%Page: 87 93
+TeXDict begin 87 92 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2107 b(87)150 299 y Fo(8)80
b(Command)54 b(Line)f(Editing)275 539 y Ft(This)39 b(c)m(hapter)h
(describ)s(es)g(the)g(basic)g(features)g(of)h(the)f Fl(gnu)f
Ft(command)h(line)g(editing)h(in)m(terface.)150 648 y(Command)25
2987 148 4 v 637 3043 a Ff(T)-6 b(AB)p 637 3059 V 780
3040 a Fg(i)853 3043 y Ft(all)45 b(stand)e(for)g(themselv)m(es)i(when)d
(seen)i(in)f(this)g(text,)48 b(or)43 b(in)g(an)h(init)f(\014le)h(\(see)
-150 3153 y(Section)37 b(8.3)g([Readline)g(Init)f(File],)j(page)e(88\).)
+150 3153 y(Section)37 b(8.3)g([Readline)g(Init)f(File],)j(page)e(90\).)
59 b(If)36 b(y)m(our)g(k)m(eyb)s(oard)g(lac)m(ks)h(a)2897
3150 y Fg(h)p 2921 3097 144 4 v 2921 3153 a Ff(LFD)p
2921 3168 V 3061 3150 a Fg(i)3127 3153 y Ft(k)m(ey)-8
f(can)g(use)f(y)m(our)g(erase)h(c)m(haracter)h(to)f(bac)m(k)g(up)f(and)
f(delete)j(the)f(mist)m(yp)s(ed)e(c)m(haracter.)p eop
end
-%%Page: 86 92
-TeXDict begin 86 91 bop 150 -116 a Ft(86)2572 b(Bash)31
+%%Page: 88 94
+TeXDict begin 88 93 bop 150 -116 a Ft(88)2572 b(Bash)31
b(Reference)g(Man)m(ual)275 299 y(Sometimes)g(y)m(ou)g(ma)m(y)h(mist)m
(yp)s(e)e(a)i(c)m(haracter,)g(and)e(not)i(notice)g(the)f(error)f(un)m
(til)h(y)m(ou)g(ha)m(v)m(e)h(t)m(yp)s(ed)150 408 y(sev)m(eral)e(other)f
b(that)f(con)m(trol)g(k)m(eystrok)m(es)h(op)s(erate)e(on)g(c)m
(haracters)h(while)f(meta)h(k)m(eystrok)m(es)h(op)s(erate)e(on)150
5340 y(w)m(ords.)p eop end
-%%Page: 87 93
-TeXDict begin 87 92 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2107 b(87)150 299 y Fk(8.2.3)63
+%%Page: 89 95
+TeXDict begin 89 94 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2107 b(89)150 299 y Fk(8.2.3)63
b(Readline)40 b(Killing)i(Commands)275 566 y Fq(Killing)j
Ft(text)39 b(means)e(to)h(delete)g(the)g(text)g(from)f(the)g(line,)j
(but)d(to)h(sa)m(v)m(e)h(it)e(a)m(w)m(a)m(y)j(for)d(later)h(use,)150
(t)m(yp)s(e)h(`)p Fs(M-1)29 b(0)h(C-d)p Ft(',)39 b(whic)m(h)e(will)h
(delete)h(the)e(next)h(ten)150 5340 y(c)m(haracters)32
b(on)e(the)h(input)e(line.)p eop end
-%%Page: 88 94
-TeXDict begin 88 93 bop 150 -116 a Ft(88)2572 b(Bash)31
+%%Page: 90 96
+TeXDict begin 90 95 bop 150 -116 a Ft(90)2572 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fk(8.2.5)63 b(Searc)m(hing)40
b(for)i(Commands)g(in)f(the)g(History)275 548 y Ft(Readline)23
b(pro)m(vides)g(commands)f(for)h(searc)m(hing)h(through)e(the)h
(command)g(history)f(\(see)i(Section)g(9.1)150 657 y([Bash)37
-b(History)h(F)-8 b(acilities],)42 b(page)37 b(111\))i(for)d(lines)h
+b(History)h(F)-8 b(acilities],)42 b(page)37 b(113\))i(for)d(lines)h
(con)m(taining)i(a)e(sp)s(eci\014ed)f(string.)60 b(There)36
b(are)i(t)m(w)m(o)150 767 y(searc)m(h)31 b(mo)s(des:)40
b Fq(incremen)m(tal)35 b Ft(and)30 b Fq(non-incremen)m(tal)p
(a)g(`)p Fs(#)p Ft(')g(are)h(commen)m(ts.)73 b(Lines)41
b(b)s(eginning)f(with)g(a)i(`)p Fs($)p Ft(')f(indicate)p
eop end
-%%Page: 89 95
-TeXDict begin 89 94 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2107 b(89)150 299 y(conditional)43
+%%Page: 91 97
+TeXDict begin 91 96 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2107 b(91)150 299 y(conditional)43
b(constructs)e(\(see)i(Section)f(8.3.2)h([Conditional)f(Init)f
-(Constructs],)j(page)f(93\).)74 b(Other)150 408 y(lines)31
+(Constructs],)j(page)f(95\).)74 b(Other)150 408 y(lines)31
b(denote)g(v)-5 b(ariable)31 b(settings)g(and)f(k)m(ey)h(bindings.)150
562 y(V)-8 b(ariable)32 b(Settings)630 671 y(Y)-8 b(ou)41
b(can)g(mo)s(dify)e(the)i(run-time)f(b)s(eha)m(vior)g(of)h(Readline)g
5230 y Ft(c)m(haracter,)36 b(con)m(v)m(erting)g(them)e(to)g(a)h
(meta-pre\014xed)f(k)m(ey)g(sequence.)1110 5340 y(The)c(default)g(v)-5
b(alue)31 b(is)g(`)p Fs(on)p Ft('.)p eop end
-%%Page: 90 96
-TeXDict begin 90 95 bop 150 -116 a Ft(90)2572 b(Bash)31
+%%Page: 92 98
+TeXDict begin 92 97 bop 150 -116 a Ft(92)2572 b(Bash)31
b(Reference)g(Man)m(ual)630 299 y Fs(disable-completion)1110
408 y Ft(If)36 b(set)h(to)h(`)p Fs(On)p Ft(',)g(Readline)f(will)g
(inhibit)f(w)m(ord)h(completion.)60 b(Completion)1110
(terminate)j(an)f(incremen)m(tal)1110 4281 y(searc)m(h)25
b(without)g(subsequen)m(tly)g(executing)h(the)f(c)m(haracter)h(as)f(a)g
(command)1110 4390 y(\(see)42 b(Section)f(8.2.5)i([Searc)m(hing],)i
-(page)c(88\).)73 b(If)41 b(this)g(v)-5 b(ariable)41 b(has)g(not)1110
+(page)c(90\).)73 b(If)41 b(this)g(v)-5 b(ariable)41 b(has)g(not)1110
4500 y(b)s(een)31 b(giv)m(en)h(a)g(v)-5 b(alue,)32 b(the)g(c)m
(haracters)2494 4497 y Fg(h)p 2518 4444 139 4 v 2518
4500 a Ff(ESC)p 2518 4515 V 2652 4497 a Fg(i)2713 4500
b(of)f(the)1110 5340 y Fs(editing-mode)27 b Ft(v)-5 b(ariable)31
b(also)h(a\013ects)f(the)g(default)f(k)m(eymap.)p eop
end
-%%Page: 91 97
-TeXDict begin 91 96 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2107 b(91)630 299 y Fs(mark-directories)
+%%Page: 93 99
+TeXDict begin 93 98 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2107 b(93)630 299 y Fs(mark-directories)
1110 408 y Ft(If)38 b(set)g(to)h(`)p Fs(on)p Ft(',)i(completed)e
(directory)f(names)g(ha)m(v)m(e)i(a)e(slash)g(app)s(ended.)1110
518 y(The)30 b(default)g(is)h(`)p Fs(on)p Ft('.)630 676
(e)g(is)g(app)s(ended)e(to)j(the)1110 5340 y(\014lename)e(when)e
(listing)i(p)s(ossible)f(completions.)42 b(The)30 b(default)g(is)h(`)p
Fs(off)p Ft('.)p eop end
-%%Page: 92 98
-TeXDict begin 92 97 bop 150 -116 a Ft(92)2572 b(Bash)31
+%%Page: 94 100
+TeXDict begin 94 99 bop 150 -116 a Ft(94)2572 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y(Key)f(Bindings)630
408 y(The)41 b(syn)m(tax)i(for)f(con)m(trolling)h(k)m(ey)g(bindings)e
(in)h(the)g(init)g(\014le)g(is)g(simple.)75 b(First)43
5023 y(k)m(ey)i(sequences:)630 5182 y Fj(\\C-)336 b Ft(con)m(trol)32
b(pre\014x)630 5340 y Fj(\\M-)336 b Ft(meta)31 b(pre\014x)p
eop end
-%%Page: 93 99
-TeXDict begin 93 98 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2107 b(93)630 299 y Fj(\\e)384
+%%Page: 95 101
+TeXDict begin 95 100 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2107 b(95)630 299 y Fj(\\e)384
b Ft(an)30 b(escap)s(e)h(c)m(haracter)630 462 y Fj(\\\\)384
b Ft(bac)m(kslash)630 626 y Fj(\\)p Fs(")1110 623 y Fg(h)p
1134 570 48 4 v 1134 626 a Fs(")p 1134 641 V 1178 623
b Ft(and)h Fs(emacs-ctlx)f Ft(k)m(eymaps)i(only)g(if)g(Readline)h(is)f
(starting)h(out)1110 5340 y(in)k Fs(emacs)f Ft(mo)s(de.)p
eop end
-%%Page: 94 100
-TeXDict begin 94 99 bop 150 -116 a Ft(94)2572 b(Bash)31
+%%Page: 96 102
+TeXDict begin 96 101 bop 150 -116 a Ft(96)2572 b(Bash)31
b(Reference)g(Man)m(ual)630 299 y Fs(term)288 b Ft(The)26
b Fs(term=)g Ft(form)g(ma)m(y)i(b)s(e)e(used)g(to)i(include)f
(terminal-sp)s(eci\014c)g(k)m(ey)h(bind-)1110 408 y(ings,)38
(of)e(an)g Fq(inputrc)35 b Ft(\014le.)42 b(This)29 b(illustrates)j(k)m
(ey)f(binding,)f(v)-5 b(ariable)31 b(assignmen)m(t,)150
3537 y(and)f(conditional)h(syn)m(tax.)p eop end
-%%Page: 95 101
-TeXDict begin 95 100 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2107 b(95)390 408 y Fs(#)47
+%%Page: 97 103
+TeXDict begin 97 102 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2107 b(97)390 408 y Fs(#)47
b(This)g(file)g(controls)e(the)i(behaviour)e(of)j(line)e(input)h
(editing)e(for)390 518 y(#)i(programs)f(that)h(use)g(the)f(GNU)h
(Readline)f(library.)93 b(Existing)390 628 y(#)47 b(programs)f(include)
4902 y(#)390 5011 y(#)47 b(Arrow)g(keys)f(in)i(8)f(bit)g(ANSI)g(mode)
390 5121 y(#)390 5230 y(#"\\M-\\C-[D":)331 b(backward-char)390
5340 y(#"\\M-\\C-[C":)g(forward-char)p eop end
-%%Page: 96 102
-TeXDict begin 96 101 bop 150 -116 a Ft(96)2572 b(Bash)31
+%%Page: 98 104
+TeXDict begin 98 103 bop 150 -116 a Ft(98)2572 b(Bash)31
b(Reference)g(Man)m(ual)390 299 y Fs(#"\\M-\\C-[A":)331
b(previous-history)390 408 y(#"\\M-\\C-[B":)g(next-history)390
628 y(C-q:)47 b(quoted-insert)390 847 y($endif)390 1066
(completions)e(for)390 5121 y(#)j(a)h(word,)e(ask)h(the)g(user)g(if)g
(he)g(wants)f(to)i(see)f(all)f(of)i(them)390 5230 y(set)f
(completion-query-items)42 b(150)p eop end
-%%Page: 97 103
-TeXDict begin 97 102 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2107 b(97)390 299 y Fs(#)47
+%%Page: 99 105
+TeXDict begin 99 104 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2107 b(99)390 299 y Fs(#)47
b(For)g(FTP)390 408 y($if)g(Ftp)390 518 y("\\C-xg":)f("get)g(\\M-?")390
628 y("\\C-xt":)g("put)g(\\M-?")390 737 y("\\M-.":)g(yank-last-arg)390
847 y($endif)150 1086 y Fr(8.4)68 b(Bindable)45 b(Readline)i(Commands)
5340 y(to)27 b(the)f(history)g(list)h(according)g(to)g(the)f(setting)i
(of)e(the)g Fs(HISTCONTROL)d Ft(and)j Fs(HISTIGNORE)p
eop end
-%%Page: 98 104
-TeXDict begin 98 103 bop 150 -116 a Ft(98)2572 b(Bash)31
+%%Page: 100 106
+TeXDict begin 100 105 bop 150 -116 a Ft(100)2527 b(Bash)31
b(Reference)g(Man)m(ual)630 299 y(v)-5 b(ariables.)42
b(If)30 b(this)h(line)g(is)g(a)g(mo)s(di\014ed)e(history)i(line,)g
(then)f(restore)i(the)f(history)f(line)h(to)630 408 y(its)g(original)g
Ft(.)38 b(Succes-)630 5340 y(siv)m(e)d(calls)h(to)f Fs(yank-last-arg)c
Ft(mo)m(v)m(e)36 b(bac)m(k)g(through)d(the)i(history)g(list,)h
(inserting)f(the)p eop end
-%%Page: 99 105
-TeXDict begin 99 104 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2107 b(99)630 299 y(last)32
+%%Page: 101 107
+TeXDict begin 101 106 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2062 b(101)630 299 y(last)32
b(argumen)m(t)f(of)g(eac)m(h)h(line)f(in)f(turn.)41 b(The)30
b(history)h(expansion)f(facilities)j(are)e(used)f(to)630
408 y(extract)i(the)e(last)i(argumen)m(t,)f(as)f(if)h(the)f(`)p
h(switc)m(hes)630 5340 y(to)22 b(o)m(v)m(erwrite)i(mo)s(de.)37
b(With)22 b(an)g(explicit)h(non-p)s(ositiv)m(e)f(n)m(umeric)g(argumen)m
(t,)i(switc)m(hes)e(to)p eop end
-%%Page: 100 106
-TeXDict begin 100 105 bop 150 -116 a Ft(100)2527 b(Bash)31
+%%Page: 102 108
+TeXDict begin 102 107 bop 150 -116 a Ft(102)2527 b(Bash)31
b(Reference)g(Man)m(ual)630 299 y(insert)f(mo)s(de.)41
b(This)30 b(command)h(a\013ects)h(only)e Fs(emacs)f Ft(mo)s(de;)i
Fs(vi)f Ft(mo)s(de)g(do)s(es)g(o)m(v)m(erwrite)630 408
5340 y(same)f(as)f Fs(forward-word)p Ft(.)38 b(By)30
b(default,)h(this)g(command)f(is)g(un)m(b)s(ound.)p eop
end
-%%Page: 101 107
-TeXDict begin 101 106 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2062 b(101)150 299 y Fs(yank)29
+%%Page: 103 109
+TeXDict begin 103 108 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2062 b(103)150 299 y Fs(yank)29
b(\(C-y\))630 408 y Ft(Y)-8 b(ank)31 b(the)f(top)h(of)g(the)f(kill)h
(ring)f(in)m(to)i(the)e(bu\013er)g(at)h(p)s(oin)m(t.)150
558 y Fs(yank-pop)d(\(M-y\))630 667 y Ft(Rotate)36 b(the)f(kill-ring,)i
(ound)e(to)630 5337 y Fg(h)p 654 5284 V 654 5340 a Ff(T)-6
b(AB)p 654 5355 V 798 5337 a Fg(i)828 5340 y Ft(,)30
b(but)g(is)g(un)m(b)s(ound)e(b)m(y)i(default.)p eop end
-%%Page: 102 108
-TeXDict begin 102 107 bop 150 -116 a Ft(102)2527 b(Bash)31
+%%Page: 104 110
+TeXDict begin 104 109 bop 150 -116 a Ft(104)2527 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fs(delete-char-or-list)25
b(\(\))630 408 y Ft(Deletes)k(the)e(c)m(haracter)h(under)e(the)h
(cursor)f(if)h(not)g(at)g(the)g(b)s(eginning)g(or)f(end)h(of)g(the)g
26 b(\(C-x)j(\(\))630 5340 y Ft(Begin)i(sa)m(ving)h(the)e(c)m
(haracters)i(t)m(yp)s(ed)e(in)m(to)h(the)g(curren)m(t)f(k)m(eyb)s(oard)
g(macro.)p eop end
-%%Page: 103 109
-TeXDict begin 103 108 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2062 b(103)150 299 y Fs(end-kbd-macro)27
+%%Page: 105 111
+TeXDict begin 105 110 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2062 b(105)150 299 y Fs(end-kbd-macro)27
b(\(C-x)i(\)\))630 408 y Ft(Stop)e(sa)m(ving)h(the)g(c)m(haracters)g(t)
m(yp)s(ed)f(in)m(to)i(the)e(curren)m(t)g(k)m(eyb)s(oard)g(macro)h(and)f
(sa)m(v)m(e)i(the)630 518 y(de\014nition.)150 691 y Fs
g(that)630 5340 y(c)m(haracter.)d(A)31 b(negativ)m(e)h(coun)m(t)f
(searc)m(hes)h(for)e(subsequen)m(t)f(o)s(ccurrences.)p
eop end
-%%Page: 104 110
-TeXDict begin 104 109 bop 150 -116 a Ft(104)2527 b(Bash)31
+%%Page: 106 112
+TeXDict begin 106 111 bop 150 -116 a Ft(106)2527 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fs(insert-comment)26
b(\(M-#\))630 408 y Ft(Without)36 b(a)g(n)m(umeric)g(argumen)m(t,)h
(the)f(v)-5 b(alue)36 b(of)g(the)g Fs(comment-begin)c
(do)s(es.)55 b(This)34 b(p)s(erforms)g(alias)i(and)f(history)g
(expansion)630 4963 y(as)f(w)m(ell)g(as)g(all)h(of)e(the)h(shell)g(w)m
(ord)f(expansions)g(\(see)i(Section)f(3.5)h([Shell)e(Expansions],)630
-5072 y(page)e(16\).)150 5230 y Fs(history-expand-line)25
+5072 y(page)e(17\).)150 5230 y Fs(history-expand-line)25
b(\(M-^\))630 5340 y Ft(P)m(erform)30 b(history)h(expansion)f(on)g(the)
h(curren)m(t)f(line.)p eop end
-%%Page: 105 111
-TeXDict begin 105 110 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2062 b(105)150 299 y Fs(magic-space)27
+%%Page: 107 113
+TeXDict begin 107 112 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2062 b(107)150 299 y Fs(magic-space)27
b(\(\))630 408 y Ft(P)m(erform)c(history)g(expansion)g(on)g(the)g
(curren)m(t)g(line)g(and)g(insert)g(a)g(space)h(\(see)g(Section)g(9.3)
-630 518 y([History)31 b(In)m(teraction],)i(page)e(113\).)150
+630 518 y([History)31 b(In)m(teraction],)i(page)e(115\).)150
664 y Fs(alias-expand-line)26 b(\(\))630 774 y Ft(P)m(erform)i(alias)i
(expansion)e(on)g(the)h(curren)m(t)f(line)h(\(see)g(Section)g(6.6)h
-([Aliases],)g(page)f(71\).)150 920 y Fs(history-and-alias-expand)o
+([Aliases],)g(page)f(73\).)150 920 y Fs(history-and-alias-expand)o
(-lin)o(e)24 b(\(\))630 1029 y Ft(P)m(erform)30 b(history)h(and)e
(alias)j(expansion)e(on)g(the)h(curren)m(t)f(line.)150
1176 y Fs(insert-last-argument)25 b(\(M-.)k(or)h(M-_\))630
y(tion)f(sp)s(eci\014cation)g(\(a)h Fq(compsp)s(ec)6
b Ft(\))24 b(has)g(b)s(een)g(de\014ned)g(using)g(the)g
Fs(complete)f Ft(builtin)h(\(see)h(Section)h(8.7)150
-4317 y([Programmable)e(Completion)g(Builtins],)h(page)f(107\),)j(the)c
+4317 y([Programmable)e(Completion)g(Builtins],)h(page)f(109\),)j(the)c
(programmable)h(completion)g(facilities)i(are)150 4427
y(in)m(v)m(ok)m(ed.)275 4555 y(First,)d(the)e(command)g(name)g(is)h
(iden)m(ti\014ed.)37 b(If)21 b(a)g(compsp)s(ec)g(has)g(b)s(een)f
(hing)h(w)m(ords.)51 b(If)150 5230 y(a)37 b(compsp)s(ec)f(is)g(not)h
(found,)f(the)h(default)f(Bash)h(completion)g(describ)s(ed)e(ab)s(o)m
(v)m(e)j(\(see)f(Section)g(8.4.6)150 5340 y([Commands)30
-b(F)-8 b(or)31 b(Completion],)g(page)g(101\))h(is)f(p)s(erformed.)p
+b(F)-8 b(or)31 b(Completion],)g(page)g(103\))h(is)f(p)s(erformed.)p
eop end
-%%Page: 106 112
-TeXDict begin 106 111 bop 150 -116 a Ft(106)2527 b(Bash)31
+%%Page: 108 114
+TeXDict begin 108 113 bop 150 -116 a Ft(108)2527 b(Bash)31
b(Reference)g(Man)m(ual)275 299 y(First,)g(the)g(actions)g(sp)s
(eci\014ed)f(b)m(y)h(the)f(compsp)s(ec)h(are)g(used.)40
b(Only)30 b(matc)m(hes)i(whic)m(h)e(are)h(pre\014xed)150
1559 y(and)44 b(v)-5 b(ariable)46 b(expansion,)j(command)44
b(substitution,)49 b(and)44 b(arithmetic)i(expansion,)j(as)c(describ)s
(ed)150 1669 y(ab)s(o)m(v)m(e)38 b(\(see)f(Section)h(3.5)g([Shell)e
-(Expansions],)i(page)f(16\).)61 b(The)36 b(results)h(are)g(split)f
+(Expansions],)i(page)f(17\).)61 b(The)36 b(results)h(are)g(split)f
(using)h(the)f(rules)150 1778 y(describ)s(ed)29 b(ab)s(o)m(v)m(e)i
(\(see)f(Section)h(3.5.7)h([W)-8 b(ord)30 b(Splitting],)h(page)f(22\).)
42 b(The)30 b(results)f(of)h(the)g(expansion)150 1888
(shell)150 3367 y(facilities,)44 b(including)c(the)g
Fs(compgen)d Ft(builtin)j(describ)s(ed)e(b)s(elo)m(w)i(\(see)h(Section)
f(8.7)h([Programmable)150 3477 y(Completion)28 b(Builtins],)g(page)g
-(107\),)i(to)e(generate)h(the)e(matc)m(hes.)41 b(It)27
+(109\),)i(to)e(generate)h(the)e(matc)m(hes.)41 b(It)27
b(m)m(ust)g(put)g(the)g(p)s(ossible)g(comple-)150 3587
y(tions)k(in)f(the)g Fs(COMPREPLY)e Ft(arra)m(y)j(v)-5
b(ariable.)275 3724 y(Next,)23 b(an)m(y)e(command)f(sp)s(eci\014ed)g
i Fs(complete)d Ft(when)h(the)h(compsp)s(ec)g(w)m(as)g(de\014ned,)g
(directory)g(name)h(completion)150 5340 y(is)h(attempted.)p
eop end
-%%Page: 107 113
-TeXDict begin 107 112 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2062 b(107)275 299 y(If)30
+%%Page: 109 115
+TeXDict begin 109 114 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2062 b(109)275 299 y(If)30
b(the)i(`)p Fs(-o)e(plusdirs)p Ft(')f(option)j(w)m(as)f(supplied)f(to)i
Fs(complete)e Ft(when)g(the)h(compsp)s(ec)g(w)m(as)h(de\014ned,)150
408 y(directory)k(name)f(completion)i(is)e(attempted)h(and)f(an)m(y)h
(sp)s(eci\014cation)f(for)g(eac)m(h)g Fq(name)p Ft(,)h(or,)f(if)g(no)f
Fq(name)5 b Ft(s)28 b(are)g(supplied,)630 5340 y(all)j(completion)h(sp)
s(eci\014cations.)p eop end
-%%Page: 108 114
-TeXDict begin 108 113 bop 150 -116 a Ft(108)2527 b(Bash)31
+%%Page: 110 116
+TeXDict begin 110 115 bop 150 -116 a Ft(110)2527 b(Bash)31
b(Reference)g(Man)m(ual)630 299 y(The)e(pro)s(cess)g(of)h(applying)g
(these)g(completion)g(sp)s(eci\014cations)h(when)d(w)m(ord)i
(completion)630 408 y(is)35 b(attempted)h(is)f(describ)s(ed)f(ab)s(o)m
(v)m(e)j(\(see)f(Section)g(8.6)g([Programmable)g(Completion],)630
-518 y(page)31 b(105\).)630 650 y(Other)41 b(options,)46
+518 y(page)31 b(107\).)630 650 y(Other)41 b(options,)46
b(if)41 b(sp)s(eci\014ed,)j(ha)m(v)m(e)f(the)f(follo)m(wing)i
(meanings.)75 b(The)41 b(argumen)m(ts)h(to)630 760 y(the)e(`)p
Fs(-G)p Ft(',)j(`)p Fs(-W)p Ft(',)g(and)d(`)p Fs(-X)p
Fs(-a)p Ft('.)1110 4391 y Fs(arrayvar)96 b Ft(Arra)m(y)31
b(v)-5 b(ariable)31 b(names.)1110 4546 y Fs(binding)144
b Ft(Readline)30 b(k)m(ey)f(binding)f(names)h(\(see)h(Section)f(8.4)h
-([Bindable)1590 4656 y(Readline)h(Commands],)f(page)h(97\).)1110
+([Bindable)1590 4656 y(Readline)h(Commands],)f(page)h(99\).)1110
4811 y Fs(builtin)144 b Ft(Names)21 b(of)g(shell)f(builtin)h(commands.)
37 b(Ma)m(y)21 b(also)h(b)s(e)e(sp)s(eci\014ed)1590 4921
y(as)31 b(`)p Fs(-b)p Ft('.)1110 5075 y Fs(command)144
(eci\014ed)f(as)i(`)p Fs(-c)p Ft('.)1110 5230 y Fs(directory)1590
5340 y Ft(Directory)h(names.)40 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s
(eci\014ed)g(as)g(`)p Fs(-d)p Ft('.)p eop end
-%%Page: 109 115
-TeXDict begin 109 114 bop 150 -116 a Ft(Chapter)30 b(8:)41
-b(Command)29 b(Line)i(Editing)2062 b(109)1110 299 y Fs(disabled)96
+%%Page: 111 117
+TeXDict begin 111 116 bop 150 -116 a Ft(Chapter)30 b(8:)41
+b(Command)29 b(Line)i(Editing)2062 b(111)1110 299 y Fs(disabled)96
b Ft(Names)31 b(of)g(disabled)f(shell)g(builtins.)1110
458 y Fs(enabled)144 b Ft(Names)31 b(of)g(enabled)f(shell)g(builtins.)
1110 617 y Fs(export)192 b Ft(Names)34 b(of)f(exp)s(orted)f(shell)h(v)
Ft(is)e(executed)g(in)e(a)i(subshell)e(en)m(vironmen)m(t,)i(and)f(its)g
(output)g(is)1110 5340 y(used)e(as)g(the)h(p)s(ossible)f(completions.)p
eop end
-%%Page: 110 116
-TeXDict begin 110 115 bop 150 -116 a Ft(110)2527 b(Bash)31
+%%Page: 112 118
+TeXDict begin 112 117 bop 150 -116 a Ft(112)2527 b(Bash)31
b(Reference)g(Man)m(ual)630 299 y Fs(-F)f Fj(function)1110
408 y Ft(The)25 b(shell)i(function)e Fq(function)h Ft(is)g(executed)h
(in)e(the)i(curren)m(t)e(shell)i(en)m(viron-)1110 518
Ft(for)30 b(whic)m(h)g(no)g(sp)s(eci\014cation)h(exists,)630
2580 y(or)f(an)h(error)f(o)s(ccurs)g(adding)g(a)g(completion)i(sp)s
(eci\014cation.)p eop end
-%%Page: 111 117
-TeXDict begin 111 116 bop 150 -116 a Ft(Chapter)30 b(9:)41
-b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(111)150
+%%Page: 113 119
+TeXDict begin 113 118 bop 150 -116 a Ft(Chapter)30 b(9:)41
+b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(113)150
299 y Fo(9)80 b(Using)53 b(History)g(In)l(teractiv)l(ely)275
562 y Ft(This)32 b(c)m(hapter)i(describ)s(es)e(ho)m(w)h(to)h(use)f(the)
g Fl(gnu)g Ft(History)h(Library)e(in)m(teractiv)m(ely)-8
-5 b(ailable)33 b(in)e(eac)m(h)150 3720 y(editing)45
b(mo)s(de)g(that)g(pro)m(vide)g(access)h(to)f(the)g(history)f(list)i
(\(see)f(Section)h(8.4.2)g([Commands)e(F)-8 b(or)150
-3830 y(History],)31 b(page)h(97\).)275 3974 y(The)47
+3830 y(History],)31 b(page)h(99\).)275 3974 y(The)47
b(shell)i(allo)m(ws)h(con)m(trol)f(o)m(v)m(er)h(whic)m(h)e(commands)g
(are)h(sa)m(v)m(ed)g(on)f(the)h(history)f(list.)95 b(The)150
4084 y Fs(HISTCONTROL)25 b Ft(and)j Fs(HISTIGNORE)e Ft(v)-5
5166 y Ft(Bash)30 b(pro)m(vides)g(t)m(w)m(o)i(builtin)e(commands)g
(whic)m(h)g(manipulate)h(the)f(history)h(list)g(and)f(history)g
(\014le.)150 5340 y Fs(fc)p eop end
-%%Page: 112 118
-TeXDict begin 112 117 bop 150 -116 a Ft(112)2527 b(Bash)31
+%%Page: 114 120
+TeXDict begin 114 119 bop 150 -116 a Ft(114)2527 b(Bash)31
b(Reference)g(Man)m(ual)870 299 y Fs(fc)47 b([-e)g Fj(ename)11
b Fs(])46 b([-nlr])g([)p Fj(first)11 b Fs(])45 b([)p
Fj(last)11 b Fs(])870 408 y(fc)47 b(-s)g([)p Fj(pat)11
(yping)f(`)p Fs(r)f(cc)p Ft(')630 2443 y(runs)35 b(the)h(last)h
(command)f(b)s(eginning)g(with)g Fs(cc)f Ft(and)h(t)m(yping)g(`)p
Fs(r)p Ft(')h(re-executes)h(the)e(last)630 2552 y(command)30
-b(\(see)h(Section)h(6.6)f([Aliases],)h(page)g(71\).)150
+b(\(see)h(Section)h(6.6)f([Aliases],)h(page)g(73\).)150
2703 y Fs(history)870 2833 y(history)46 b([)p Fj(n)11
b Fs(])870 2943 y(history)46 b(-c)870 3052 y(history)g(-d)h
Fj(offset)870 3162 y Fs(history)f([-anrw])g([)p Fj(filename)11
b(are)h(lines)g(app)s(ended)e(to)i(the)f(history)h(\014le)1110
5340 y(since)31 b(the)f(b)s(eginning)g(of)g(the)h(curren)m(t)f(Bash)h
(session.)p eop end
-%%Page: 113 119
-TeXDict begin 113 118 bop 150 -116 a Ft(Chapter)30 b(9:)41
-b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(113)630
+%%Page: 115 121
+TeXDict begin 115 120 bop 150 -116 a Ft(Chapter)30 b(9:)41
+b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(115)630
299 y Fs(-r)384 b Ft(Read)26 b(the)h(curren)m(t)f(history)g(\014le)g
(and)g(app)s(end)e(its)j(con)m(ten)m(ts)h(to)f(the)f(history)1110
408 y(list.)630 571 y Fs(-w)384 b Ft(W)-8 b(rite)32 b(out)e(the)h
b(Ev)m(en)m(t)39 b(Designators)275 5340 y Ft(An)30 b(ev)m(en)m(t)h
(designator)h(is)e(a)h(reference)g(to)g(a)f(command)h(line)f(en)m(try)h
(in)f(the)h(history)f(list.)p eop end
-%%Page: 114 120
-TeXDict begin 114 119 bop 150 -116 a Ft(114)2527 b(Bash)31
+%%Page: 116 122
+TeXDict begin 116 121 bop 150 -116 a Ft(116)2527 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fs(!)432 b Ft(Start)34
b(a)f(history)h(substitution,)g(except)g(when)f(follo)m(w)m(ed)i(b)m(y)
e(a)h(space,)h(tab,)f(the)g(end)f(of)630 408 y(the)i(line,)g(`)p
5230 y(to)j(use)g(`)p Fs(*)p Ft(')f(if)h(there)g(is)g(just)f(one)h(w)m
(ord)f(in)g(the)h(ev)m(en)m(t;)i(the)d(empt)m(y)i(string)e(is)h
(returned)e(in)630 5340 y(that)j(case.)p eop end
-%%Page: 115 121
-TeXDict begin 115 120 bop 150 -116 a Ft(Chapter)30 b(9:)41
-b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(115)150
+%%Page: 117 123
+TeXDict begin 117 122 bop 150 -116 a Ft(Chapter)30 b(9:)41
+b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(117)150
299 y Fj(x)11 b Fs(*)373 b Ft(Abbreviates)31 b(`)p Fj(x)p
Fs(-$)p Ft(')150 458 y Fj(x)p Fs(-)384 b Ft(Abbreviates)31
b(`)p Fj(x)p Fs(-$)p Ft(')f(lik)m(e)h(`)p Fj(x)11 b Fs(*)p
Fs(&)p Ft('.)150 3935 y Fs(G)432 b Ft(Apply)30 b(the)g(follo)m(wing)i
(`)p Fs(s)p Ft(')f(mo)s(di\014er)e(once)i(to)g(eac)m(h)h(w)m(ord)e(in)g
(the)g(ev)m(en)m(t.)p eop end
-%%Page: 116 122
-TeXDict begin 116 121 bop 150 -116 a Ft(116)2527 b(Bash)31
+%%Page: 118 124
+TeXDict begin 118 123 bop 150 -116 a Ft(118)2527 b(Bash)31
b(Reference)g(Man)m(ual)p eop end
-%%Page: 117 123
-TeXDict begin 117 122 bop 150 -116 a Ft(Chapter)30 b(10:)41
-b(Installing)31 b(Bash)2356 b(117)150 299 y Fo(10)80
+%%Page: 119 125
+TeXDict begin 119 124 bop 150 -116 a Ft(Chapter)30 b(10:)41
+b(Installing)31 b(Bash)2356 b(119)150 299 y Fo(10)80
b(Installing)52 b(Bash)275 535 y Ft(This)39 b(c)m(hapter)i(pro)m(vides)
f(basic)g(instructions)g(for)g(installing)h(Bash)f(on)g(the)h(v)-5
b(arious)40 b(supp)s(orted)150 645 y(platforms.)58 b(The)36
Fs(configure)e Ft(created)j(\(so)g(y)m(ou)g(can)f(compile)150
5340 y(Bash)g(for)f(a)g(di\013eren)m(t)h(kind)f(of)g(computer\),)h(t)m
(yp)s(e)g(`)p Fs(make)e(distclean)p Ft('.)p eop end
-%%Page: 118 124
-TeXDict begin 118 123 bop 150 -116 a Ft(118)2527 b(Bash)31
+%%Page: 120 126
+TeXDict begin 120 125 bop 150 -116 a Ft(120)2527 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fr(10.2)68 b(Compilers)46
b(and)f(Options)275 560 y Ft(Some)40 b(systems)g(require)f(un)m(usual)g
(options)h(for)g(compilation)i(or)e(linking)g(that)g(the)g
(installing)h(programs)e(and)h(libraries.)150 5340 y(Do)s(cumen)m
(tation)32 b(and)e(other)h(data)g(\014les)f(will)h(still)g(use)f(the)h
(regular)f(pre\014x.)p eop end
-%%Page: 119 125
-TeXDict begin 119 124 bop 150 -116 a Ft(Chapter)30 b(10:)41
-b(Installing)31 b(Bash)2356 b(119)150 299 y Fr(10.5)68
+%%Page: 121 127
+TeXDict begin 121 126 bop 150 -116 a Ft(Chapter)30 b(10:)41
+b(Installing)31 b(Bash)2356 b(121)150 299 y Fr(10.5)68
b(Sp)t(ecifying)45 b(the)g(System)h(T)l(yp)t(e)275 539
y Ft(There)35 b(ma)m(y)h(b)s(e)f(some)h(features)g Fs(configure)d
Ft(can)j(not)g(\014gure)f(out)g(automatically)-8 b(,)41
b Ft('.)63 b(T)-8 b(o)40 b(con\014gure)g(Bash)f(without)h(a)g(feature)g
(that)g(is)g(enabled)f(b)m(y)150 5340 y(default,)31 b(use)f(`)p
Fs(--disable-)p Fj(feature)11 b Ft('.)p eop end
-%%Page: 120 126
-TeXDict begin 120 125 bop 150 -116 a Ft(120)2527 b(Bash)31
+%%Page: 122 128
+TeXDict begin 122 127 bop 150 -116 a Ft(122)2527 b(Bash)31
b(Reference)g(Man)m(ual)275 299 y(Here)21 b(is)g(a)g(complete)h(list)g
(of)f(the)g(`)p Fs(--enable-)p Ft(')e(and)h(`)p Fs(--with-)p
Ft(')g(options)h(that)g(the)g(Bash)g Fs(configure)150
(pro\014ling)h(information)h(to)h(b)s(e)d(pro)s(cessed)630
5340 y(b)m(y)g Fs(gprof)f Ft(eac)m(h)j(time)f(it)g(is)f(executed.)p
eop end
-%%Page: 121 127
-TeXDict begin 121 126 bop 150 -116 a Ft(Chapter)30 b(10:)41
-b(Installing)31 b(Bash)2356 b(121)150 299 y Fs(--enable-static-link)630
+%%Page: 123 129
+TeXDict begin 123 128 bop 150 -116 a Ft(Chapter)30 b(10:)41
+b(Installing)31 b(Bash)2356 b(123)150 299 y Fs(--enable-static-link)630
408 y Ft(This)37 b(causes)h(Bash)f(to)h(b)s(e)f(link)m(ed)h(statically)
-8 b(,)43 b(if)37 b Fs(gcc)g Ft(is)g(b)s(eing)g(used.)61
b(This)37 b(could)h(b)s(e)630 518 y(used)30 b(to)h(build)e(a)i(v)m
(supp)s(ort.)150 1176 y Fs(--enable-alias)630 1285 y
Ft(Allo)m(w)41 b(alias)g(expansion)f(and)f(include)g(the)h
Fs(alias)f Ft(and)g Fs(unalias)e Ft(builtins)j(\(see)g(Sec-)630
-1395 y(tion)31 b(6.6)g([Aliases],)i(page)e(71\).)150
+1395 y(tion)31 b(6.6)g([Aliases],)i(page)e(73\).)150
1548 y Fs(--enable-arith-for-comma)o(nd)630 1658 y Ft(Include)21
b(supp)s(ort)g(for)g(the)i(alternate)g(form)f(of)g(the)g
Fs(for)f Ft(command)h(that)h(b)s(eha)m(v)m(es)f(lik)m(e)i(the)630
(3.2.4.1)i([Lo)s(oping)d(Constructs],)h(page)g(9\).)150
1921 y Fs(--enable-array-variables)630 2030 y Ft(Include)h(supp)s(ort)g
(for)h(one-dimensional)h(arra)m(y)f(shell)h(v)-5 b(ariables)33
-b(\(see)h(Section)g(6.7)h([Ar-)630 2140 y(ra)m(ys],)c(page)g(72\).)150
+b(\(see)h(Section)g(6.7)h([Ar-)630 2140 y(ra)m(ys],)c(page)g(74\).)150
2293 y Fs(--enable-bang-history)630 2403 y Ft(Include)36
b(supp)s(ort)f(for)h Fs(csh)p Ft(-lik)m(e)h(history)g(substitution)f
(\(see)h(Section)g(9.3)h([History)f(In-)630 2513 y(teraction],)c(page)e
-(113\).)150 2666 y Fs(--enable-brace-expansion)630 2776
+(115\).)150 2666 y Fs(--enable-brace-expansion)630 2776
y Ft(Include)40 b Fs(csh)p Ft(-lik)m(e)h(brace)f(expansion)g(\()h
Fs(b{a,b}c)2445 2772 y Fp(7!)2576 2776 y Fs(bac)30 b(bbc)39
b Ft(\).)71 b(See)40 b(Section)h(3.5.1)630 2885 y([Brace)32
630 4748 y Ft(Include)j(supp)s(ort)g(for)h(a)g Fs(csh)p
Ft(-lik)m(e)h(directory)f(stac)m(k)i(and)d(the)i Fs(pushd)p
Ft(,)f Fs(popd)p Ft(,)g(and)f Fs(dirs)630 4858 y Ft(builtins)d(\(see)h
-(Section)g(6.8)h([The)e(Directory)i(Stac)m(k],)g(page)f(73\).)150
+(Section)g(6.8)h([The)e(Directory)i(Stac)m(k],)g(page)f(75\).)150
5011 y Fs(--enable-disabled-builti)o(ns)630 5121 y Ft(Allo)m(w)40
b(builtin)e(commands)g(to)h(b)s(e)f(in)m(v)m(ok)m(ed)i(via)f(`)p
Fs(builtin)29 b(xxx)p Ft(')37 b(ev)m(en)j(after)f Fs(xxx)e
(Builtins],)i(page)f(39,)630 5340 y(for)e(details)i(of)e(the)h
Fs(builtin)d Ft(and)i Fs(enable)e Ft(builtin)i(commands.)p
eop end
-%%Page: 122 128
-TeXDict begin 122 127 bop 150 -116 a Ft(122)2527 b(Bash)31
+%%Page: 124 130
+TeXDict begin 124 129 bop 150 -116 a Ft(124)2527 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fs(--enable-dparen-arithmet)o(ic)630
408 y Ft(Include)42 b(supp)s(ort)f(for)h(the)h Fs(\(\(...)o(\)\))f
Ft(command)g(\(see)i(Section)f(3.2.4.2)i([Conditional)630
(39\).)150 1422 y Fs(--enable-history)630 1532 y Ft(Include)e(command)g
(history)h(and)f(the)h Fs(fc)f Ft(and)g Fs(history)e
Ft(builtin)j(commands)f(\(see)h(Sec-)630 1641 y(tion)h(9.1)g([Bash)g
-(History)g(F)-8 b(acilities],)34 b(page)d(111\).)150
+(History)g(F)-8 b(acilities],)34 b(page)d(113\).)150
1797 y Fs(--enable-job-control)630 1906 y Ft(This)e(enables)i(the)f
(job)g(con)m(trol)h(features)g(\(see)g(Chapter)f(7)g([Job)g(Con)m
-(trol],)h(page)g(81\),)h(if)630 2016 y(the)f(op)s(erating)f(system)h
+(trol],)h(page)g(83\),)h(if)630 2016 y(the)f(op)s(erating)f(system)h
(supp)s(orts)d(them.)150 2171 y Fs(--enable-multibyte)630
2281 y Ft(This)h(enables)i(supp)s(ort)d(for)i(m)m(ultib)m(yte)h(c)m
(haracters)g(if)f(the)g(op)s(erating)h(system)f(pro)m(vides)630
Fs(/dev/tcp/)p Fj(host)11 b Fs(/)p Fj(port)630 2765 y
Ft(and)29 b Fs(/dev/udp/)p Fj(host)11 b Fs(/)p Fj(port)34
b Ft(when)28 b(used)g(in)h(redirections)h(\(see)g(Section)g(3.6)g
-([Redirec-)630 2874 y(tions],)h(page)g(24\).)150 3029
+([Redirec-)630 2874 y(tions],)h(page)g(25\).)150 3029
y Fs(--enable-process-substit)o(utio)o(n)630 3139 y Ft(This)49
b(enables)i(pro)s(cess)f(substitution)g(\(see)h(Section)g(3.5.6)h([Pro)
s(cess)e(Substitution],)630 3249 y(page)31 b(22\))h(if)e(the)h(op)s
(erating)f(system)h(pro)m(vides)f(the)h(necessary)g(supp)s(ort.)150
3404 y Fs(--enable-progcomp)630 3513 y Ft(Enable)d(the)g(programmable)g
(completion)i(facilities)g(\(see)f(Section)g(8.6)g([Programmable)630
-3623 y(Completion],)i(page)h(105\).)42 b(If)30 b(Readline)h(is)f(not)h
+3623 y(Completion],)i(page)h(107\).)42 b(If)30 b(Readline)h(is)f(not)h
(enabled,)f(this)h(option)g(has)f(no)g(e\013ect.)150
3778 y Fs(--enable-prompt-string-d)o(ecod)o(ing)630 3888
y Ft(T)-8 b(urn)46 b(on)h(the)h(in)m(terpretation)g(of)g(a)g(n)m(um)m
3998 y(the)39 b Fs($PS1)p Ft(,)g Fs($PS2)p Ft(,)h Fs($PS3)p
Ft(,)f(and)f Fs($PS4)f Ft(prompt)h(strings.)64 b(See)39
b(Section)g(6.9)h([Prin)m(ting)f(a)630 4107 y(Prompt],)30
-b(page)h(75,)h(for)e(a)h(complete)h(list)f(of)f(prompt)g(string)g
+b(page)h(77,)h(for)e(a)h(complete)h(list)f(of)f(prompt)g(string)g
(escap)s(e)h(sequences.)150 4262 y Fs(--enable-readline)630
4372 y Ft(Include)d(supp)s(ort)f(for)h(command-line)h(editing)g(and)f
(history)g(with)g(the)h(Bash)g(v)m(ersion)g(of)630 4482
y(the)i(Readline)g(library)f(\(see)h(Chapter)f(8)g([Command)g(Line)g
-(Editing],)h(page)g(85\).)150 4637 y Fs(--enable-restricted)630
+(Editing],)h(page)g(87\).)150 4637 y Fs(--enable-restricted)630
4746 y Ft(Include)41 b(supp)s(ort)f(for)i(a)g Fq(restricted)g(shell)p
Ft(.)75 b(If)42 b(this)f(is)h(enabled,)j(Bash,)g(when)c(called)630
4856 y(as)f Fs(rbash)p Ft(,)h(en)m(ters)f(a)g(restricted)h(mo)s(de.)68
b(See)40 b(Section)h(6.10)g([The)f(Restricted)h(Shell],)630
-4966 y(page)31 b(76,)h(for)e(a)g(description)h(of)f(restricted)h(mo)s
+4966 y(page)31 b(78,)h(for)e(a)g(description)h(of)f(restricted)h(mo)s
(de.)150 5121 y Fs(--enable-select)630 5230 y Ft(Include)k(the)g
Fs(select)f Ft(builtin,)i(whic)m(h)f(allo)m(ws)i(the)f(generation)g(of)
g(simple)f(men)m(us)g(\(see)630 5340 y(Section)c(3.2.4.2)i
([Conditional)e(Constructs],)g(page)g(10\).)p eop end
-%%Page: 123 129
-TeXDict begin 123 128 bop 150 -116 a Ft(Chapter)30 b(10:)41
-b(Installing)31 b(Bash)2356 b(123)150 299 y Fs
+%%Page: 125 131
+TeXDict begin 125 130 bop 150 -116 a Ft(Chapter)30 b(10:)41
+b(Installing)31 b(Bash)2356 b(125)150 299 y Fs
(--enable-separate-helpfi)o(les)630 408 y Ft(Use)32 b(external)h
(\014les)f(for)g(the)g(do)s(cumen)m(tation)h(displa)m(y)m(ed)f(b)m(y)g
(the)g Fs(help)f Ft(builtin)h(instead)630 518 y(of)f(storing)f(the)h
b(the)g(commen)m(ts)g(asso)s(ciated)h(with)e(eac)m(h)i(de\014nition)e
(for)g(more)150 2471 y(information)c(ab)s(out)f(its)h(e\013ect.)p
eop end
-%%Page: 124 130
-TeXDict begin 124 129 bop 150 -116 a Ft(124)2527 b(Bash)31
+%%Page: 126 132
+TeXDict begin 126 131 bop 150 -116 a Ft(126)2527 b(Bash)31
b(Reference)g(Man)m(ual)p eop end
-%%Page: 125 131
-TeXDict begin 125 130 bop 150 -116 a Ft(App)s(endix)29
-b(A:)h(Rep)s(orting)h(Bugs)2299 b(125)150 299 y Fo(App)t(endix)52
+%%Page: 127 133
+TeXDict begin 127 132 bop 150 -116 a Ft(App)s(endix)29
+b(A:)h(Rep)s(orting)h(Bugs)2299 b(127)150 299 y Fo(App)t(endix)52
b(A)121 b(Rep)t(orting)52 b(Bugs)275 533 y Ft(Please)35
b(rep)s(ort)e(all)i(bugs)f(y)m(ou)g(\014nd)f(in)h(Bash.)52
b(But)34 b(\014rst,)h(y)m(ou)f(should)f(mak)m(e)i(sure)f(that)g(it)h
(vides)f(for)g(\014ling)h(a)150 2291 y(bug)h(rep)s(ort.)275
2426 y(Please)h(send)f(all)h(rep)s(orts)f(concerning)g(this)h(man)m
(ual)f(to)h Fs(chet@po.CWRU.Edu)p Ft(.)p eop end
-%%Page: 126 132
-TeXDict begin 126 131 bop 150 -116 a Ft(126)2527 b(Bash)31
+%%Page: 128 134
+TeXDict begin 128 133 bop 150 -116 a Ft(128)2527 b(Bash)31
b(Reference)g(Man)m(ual)p eop end
-%%Page: 127 133
-TeXDict begin 127 132 bop 150 -116 a Ft(App)s(endix)29
+%%Page: 129 135
+TeXDict begin 129 134 bop 150 -116 a Ft(App)s(endix)29
b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31
-b(The)f(Bourne)g(Shell)1258 b(127)150 141 y Fo(App)t(endix)52
+b(The)f(Bourne)g(Shell)1258 b(129)150 141 y Fo(App)t(endix)52
b(B)128 b(Ma)9 b(jor)54 b(Di\013erences)d(F)-13 b(rom)54
b(The)f(Bourne)1135 299 y(Shell)275 524 y Ft(Bash)25
b(implemen)m(ts)g(essen)m(tially)i(the)f(same)f(grammar,)i(parameter)e
1204 y Fp(\017)60 b Ft(Bash)32 b(is)h Fl(posix)p Ft(-conforman)m(t,)g
(ev)m(en)g(where)f(the)g Fl(posix)g Ft(sp)s(eci\014cation)h(di\013ers)f
(from)g(traditional)330 1314 y Fs(sh)e Ft(b)s(eha)m(vior)g(\(see)i
-(Section)f(6.11)h([Bash)e(POSIX)g(Mo)s(de],)h(page)g(76\).)225
+(Section)f(6.11)h([Bash)e(POSIX)g(Mo)s(de],)h(page)g(78\).)225
1447 y Fp(\017)60 b Ft(Bash)26 b(has)g(m)m(ulti-c)m(haracter)i(in)m(v)m
(o)s(cation)g(options)f(\(see)f(Section)h(6.1)g([In)m(v)m(oking)g
-(Bash],)h(page)e(63\).)225 1579 y Fp(\017)60 b Ft(Bash)28
+(Bash],)h(page)e(65\).)225 1579 y Fp(\017)60 b Ft(Bash)28
b(has)g(command-line)h(editing)f(\(see)h(Chapter)f(8)g([Command)f(Line)
-h(Editing],)i(page)e(85\))i(and)330 1689 y(the)h Fs(bind)e
+h(Editing],)i(page)e(87\))i(and)330 1689 y(the)h Fs(bind)e
Ft(builtin.)225 1822 y Fp(\017)60 b Ft(Bash)46 b(pro)m(vides)g(a)g
(programmable)g(w)m(ord)f(completion)i(mec)m(hanism)f(\(see)h(Section)g
-(8.6)g([Pro-)330 1931 y(grammable)21 b(Completion],)i(page)e(105\),)k
+(8.6)g([Pro-)330 1931 y(grammable)21 b(Completion],)i(page)e(107\),)k
(and)19 b(t)m(w)m(o)j(builtin)e(commands,)i Fs(complete)c
Ft(and)i Fs(compgen)p Ft(,)330 2041 y(to)31 b(manipulate)g(it.)225
2173 y Fp(\017)60 b Ft(Bash)26 b(has)f(command)h(history)f(\(see)i
(Section)f(9.1)h([Bash)f(History)h(F)-8 b(acilities],)30
-b(page)c(111\))i(and)d(the)330 2283 y Fs(history)k Ft(and)h
+b(page)c(113\))i(and)d(the)330 2283 y Fs(history)k Ft(and)h
Fs(fc)g Ft(builtins)g(to)h(manipulate)g(it.)42 b(The)30
b(Bash)h(history)g(list)g(main)m(tains)g(timestamp)330
2393 y(information)g(and)e(uses)h(the)h(v)-5 b(alue)31
b(to)f(displa)m(y)f(it.)225 2525 y Fp(\017)60 b Ft(Bash)48
b(implemen)m(ts)h Fs(csh)p Ft(-lik)m(e)g(history)f(expansion)g(\(see)h
(Section)g(9.3)h([History)f(In)m(teraction],)330 2635
-y(page)31 b(113\).)225 2768 y Fp(\017)60 b Ft(Bash)33
+y(page)31 b(115\).)225 2768 y Fp(\017)60 b Ft(Bash)33
b(has)g(one-dimensional)h(arra)m(y)f(v)-5 b(ariables)34
-b(\(see)g(Section)g(6.7)g([Arra)m(ys],)g(page)g(72\),)h(and)e(the)330
+b(\(see)g(Section)g(6.7)g([Arra)m(ys],)g(page)g(74\),)h(and)e(the)330
2877 y(appropriate)39 b(v)-5 b(ariable)40 b(expansions)f(and)g
(assignmen)m(t)h(syn)m(tax)g(to)g(use)f(them.)67 b(Sev)m(eral)40
b(of)g(the)330 2987 y(Bash)32 b(builtins)f(tak)m(e)j(options)e(to)h
(testing)f(part)f(of)h(the)330 5340 y(shell)k(grammar)f(\(see)h
(Section)g(3.2.4.2)i([Conditional)f(Constructs],)e(page)h(10\).)p
eop end
-%%Page: 128 134
-TeXDict begin 128 133 bop 150 -116 a Ft(128)2527 b(Bash)31
+%%Page: 130 136
+TeXDict begin 130 135 bop 150 -116 a Ft(130)2527 b(Bash)31
b(Reference)g(Man)m(ual)225 299 y Fp(\017)60 b Ft(Bash)27
b(includes)g(brace)h(expansion)f(\(see)h(Section)g(3.5.1)i([Brace)e
(Expansion],)g(page)g(17\))h(and)d(tilde)330 408 y(expansion)k(\(see)i
(Section)f(3.5.2)h([Tilde)f(Expansion],)f(page)h(18\).)225
537 y Fp(\017)60 b Ft(Bash)24 b(implemen)m(ts)h(command)e(aliases)j
(and)d(the)i Fs(alias)d Ft(and)i Fs(unalias)e Ft(builtins)h(\(see)i
-(Section)g(6.6)330 647 y([Aliases],)32 b(page)f(71\).)225
+(Section)g(6.6)330 647 y([Aliases],)32 b(page)f(73\).)225
776 y Fp(\017)60 b Ft(Bash)32 b(pro)m(vides)g(shell)g(arithmetic,)i
(the)e Fs(\(\()g Ft(comp)s(ound)e(command)i(\(see)h(Section)f(3.2.4.2)j
([Con-)330 886 y(ditional)d(Constructs],)e(page)i(10\),)g(and)e
(arithmetic)i(expansion)e(\(see)i(Section)f(6.5)h([Shell)f(Arith-)330
-995 y(metic],)h(page)f(70\).)225 1124 y Fp(\017)60 b
+995 y(metic],)h(page)f(72\).)225 1124 y Fp(\017)60 b
Ft(V)-8 b(ariables)31 b(presen)m(t)e(in)g(the)g(shell's)h(initial)g(en)
m(vironmen)m(t)g(are)g(automatically)i(exp)s(orted)d(to)h(c)m(hild)330
1234 y(pro)s(cesses.)38 b(The)23 b(Bourne)g(shell)g(do)s(es)g(not)g
b(ariable)23 b(and)f(a)g(function)g(with)g(the)g(same)g(name;)j
Fs(sh)d Ft(do)s(es)g(not)g(separate)330 5340 y(the)31
b(t)m(w)m(o)g(name)g(spaces.)p eop end
-%%Page: 129 135
-TeXDict begin 129 134 bop 150 -116 a Ft(App)s(endix)29
+%%Page: 131 137
+TeXDict begin 131 136 bop 150 -116 a Ft(App)s(endix)29
b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31
-b(The)f(Bourne)g(Shell)1258 b(129)225 299 y Fp(\017)60
+b(The)f(Bourne)g(Shell)1258 b(131)225 299 y Fp(\017)60
b Ft(Bash)30 b(functions)e(are)i(p)s(ermitted)f(to)h(ha)m(v)m(e)h(lo)s
(cal)g(v)-5 b(ariables)30 b(using)f(the)g Fs(local)f
Ft(builtin,)i(and)e(th)m(us)330 408 y(useful)i(recursiv)m(e)g
(system.)225 886 y Fp(\017)60 b Ft(Bash)44 b(p)s(erforms)e(\014lename)i
(expansion)f(on)h(\014lenames)g(sp)s(eci\014ed)f(as)h(op)s(erands)e(to)
j(input)e(and)330 995 y(output)30 b(redirection)h(op)s(erators)g(\(see)
-g(Section)g(3.6)h([Redirections],)g(page)f(24\).)225
+g(Section)g(3.6)h([Redirections],)g(page)f(25\).)225
1124 y Fp(\017)60 b Ft(Bash)29 b(con)m(tains)h(the)f(`)p
Fs(<>)p Ft(')f(redirection)i(op)s(erator,)f(allo)m(wing)i(a)e(\014le)g
(to)g(b)s(e)f(op)s(ened)g(for)h(b)s(oth)f(read-)330 1234
y(ing)35 b(and)f(writing,)i(and)e(the)h(`)p Fs(&>)p Ft(')g(redirection)
g(op)s(erator,)h(for)f(directing)g(standard)f(output)h(and)330
1343 y(standard)30 b(error)g(to)h(the)f(same)h(\014le)f(\(see)i
-(Section)f(3.6)g([Redirections],)h(page)g(24\).)225 1472
+(Section)f(3.6)g([Redirections],)h(page)g(25\).)225 1472
y Fp(\017)60 b Ft(Bash)25 b(treats)h(a)f(n)m(um)m(b)s(er)e(of)i
(\014lenames)g(sp)s(ecially)g(when)f(they)h(are)g(used)f(in)g
(redirection)i(op)s(erators)330 1582 y(\(see)31 b(Section)h(3.6)f
-([Redirections],)h(page)f(24\).)225 1711 y Fp(\017)60
+([Redirections],)h(page)f(25\).)225 1711 y Fp(\017)60
b Ft(Bash)33 b(can)f(op)s(en)g(net)m(w)m(ork)i(connections)f(to)h
(arbitrary)e(mac)m(hines)h(and)f(services)h(with)f(the)h(redi-)330
1820 y(rection)e(op)s(erators)g(\(see)g(Section)g(3.6)h
-([Redirections],)g(page)f(24\).)225 1949 y Fp(\017)60
+([Redirections],)g(page)f(25\).)225 1949 y Fp(\017)60
b Ft(The)29 b Fs(noclobber)e Ft(option)j(is)g(a)m(v)-5
b(ailable)32 b(to)e(a)m(v)m(oid)h(o)m(v)m(erwriting)g(existing)g
(\014les)e(with)h(output)f(redi-)330 2059 y(rection)h(\(see)h(Section)f
y Fp(\017)60 b Ft(Shell)29 b(functions)g(ma)m(y)h(b)s(e)f(exp)s(orted)g
(to)h(c)m(hildren)f(via)h(the)g(en)m(vironmen)m(t)g(using)f
Fs(export)f(-f)h Ft(\(see)330 3819 y(Section)i(3.3)h([Shell)e(F)-8
-b(unctions],)32 b(page)f(13\).)225 3948 y Fp(\017)60
+b(unctions],)32 b(page)f(14\).)225 3948 y Fp(\017)60
b Ft(The)37 b(Bash)g Fs(export)p Ft(,)h Fs(readonly)p
Ft(,)f(and)f Fs(declare)g Ft(builtins)h(can)g(tak)m(e)i(a)f(`)p
Fs(-f)p Ft(')f(option)h(to)g(act)g(on)330 4057 y(shell)26
Fs(-r)p Ft(')h(option,)h(and)d(will)i(use)f(the)h Fs(REPLY)e
Ft(v)-5 b(ariable)27 b(as)g(a)f(default)h(if)f(no)h(non-option)p
eop end
-%%Page: 130 136
-TeXDict begin 130 135 bop 150 -116 a Ft(130)2527 b(Bash)31
+%%Page: 132 138
+TeXDict begin 132 137 bop 150 -116 a Ft(132)2527 b(Bash)31
b(Reference)g(Man)m(ual)330 299 y(argumen)m(ts)g(are)h(supplied.)42
b(The)30 b(Bash)i Fs(read)e Ft(builtin)g(also)j(accepts)f(a)g(prompt)e
(string)h(with)g(the)330 408 y(`)p Fs(-p)p Ft(')k(option)g(and)f(will)h
(capabilities)h(\(see)330 1435 y(Section)34 b(4.2)g([Bash)f(Builtins],)
i(page)e(39\),)i(and)e(allo)m(ws)h(these)f(options)h(to)f(b)s(e)g(set)g
(and)g(unset)f(at)330 1544 y(shell)f(in)m(v)m(o)s(cation)h(\(see)f
-(Section)g(6.1)h([In)m(v)m(oking)f(Bash],)g(page)h(63\).)225
+(Section)g(6.1)h([In)m(v)m(oking)f(Bash],)g(page)h(65\).)225
1674 y Fp(\017)60 b Ft(Bash)23 b(has)f(m)m(uc)m(h)g(more)h(optional)h
(b)s(eha)m(vior)e(con)m(trollable)j(with)d(the)h Fs(set)e
Ft(builtin)h(\(see)i(Section)f(4.3)330 1783 y([The)30
Ft(command)h(that)g(ma)m(y)h(b)s(e)f(reused)f(as)h(input)g(\(see)h
(Section)g(4.1)g([Bourne)330 5340 y(Shell)30 b(Builtins],)h(page)h
(33\).)p eop end
-%%Page: 131 137
-TeXDict begin 131 136 bop 150 -116 a Ft(App)s(endix)29
+%%Page: 133 139
+TeXDict begin 133 138 bop 150 -116 a Ft(App)s(endix)29
b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31
-b(The)f(Bourne)g(Shell)1258 b(131)225 299 y Fp(\017)60
+b(The)f(Bourne)g(Shell)1258 b(133)225 299 y Fp(\017)60
b Ft(Bash)34 b(implemen)m(ts)h(a)g Fs(csh)p Ft(-lik)m(e)g(directory)f
(stac)m(k,)j(and)d(pro)m(vides)g(the)g Fs(pushd)p Ft(,)g
Fs(popd)p Ft(,)g(and)g Fs(dirs)330 408 y Ft(builtins)g(to)i(manipulate)
f(it)h(\(see)f(Section)h(6.8)g([The)f(Directory)h(Stac)m(k],)i(page)d
-(73\).)56 b(Bash)35 b(also)330 518 y(mak)m(es)c(the)g(directory)g(stac)
+(75\).)56 b(Bash)35 b(also)330 518 y(mak)m(es)c(the)g(directory)g(stac)
m(k)g(visible)g(as)g(the)f(v)-5 b(alue)31 b(of)g(the)f
Fs(DIRSTACK)f Ft(shell)h(v)-5 b(ariable.)225 646 y Fp(\017)60
b Ft(Bash)28 b(in)m(terprets)h(sp)s(ecial)g(bac)m(kslash-escap)s(ed)g
(c)m(haracters)g(in)f(the)h(prompt)e(strings)h(when)f(in)m(ter-)330
756 y(activ)m(e)33 b(\(see)e(Section)g(6.9)h([Prin)m(ting)e(a)h
-(Prompt],)g(page)g(75\).)225 885 y Fp(\017)60 b Ft(The)46
+(Prompt],)g(page)g(77\).)225 885 y Fp(\017)60 b Ft(The)46
b(Bash)h(restricted)g(mo)s(de)f(is)h(more)f(useful)g(\(see)h(Section)h
(6.10)g([The)e(Restricted)i(Shell],)330 994 y(page)31
-b(76\);)h(the)f(SVR4.2)g(shell)f(restricted)h(mo)s(de)f(is)h(to)s(o)g
+b(78\);)h(the)f(SVR4.2)g(shell)f(restricted)h(mo)s(de)f(is)h(to)s(o)g
(limited.)225 1123 y Fp(\017)60 b Ft(The)30 b Fs(disown)f
Ft(builtin)h(can)h(remo)m(v)m(e)h(a)f(job)f(from)g(the)h(in)m(ternal)g
(shell)g(job)f(table)i(\(see)f(Section)h(7.2)330 1232
-y([Job)h(Con)m(trol)h(Builtins],)g(page)g(82\))h(or)e(suppress)e(the)i
+y([Job)h(Con)m(trol)h(Builtins],)g(page)g(84\))h(or)e(suppress)e(the)i
(sending)g(of)g Fs(SIGHUP)e Ft(to)j(a)g(job)f(when)f(the)330
1342 y(shell)f(exits)g(as)f(the)h(result)f(of)h(a)f Fs(SIGHUP)p
Ft(.)225 1470 y Fp(\017)60 b Ft(The)28 b(SVR4.2)h(shell)f(has)g(t)m(w)m
Ft(uses)g(a)g Fs(TIMEOUT)f Ft(v)-5 b(ariable)31 b(lik)m(e)h(Bash)e
(uses)g Fs(TMOUT)p Ft(.)150 2112 y(More)h(features)g(unique)e(to)i
(Bash)g(ma)m(y)g(b)s(e)f(found)f(in)h(Chapter)f(6)i([Bash)g(F)-8
-b(eatures],)32 b(page)f(63.)150 2351 y Fr(B.1)67 b(Implemen)l(tation)48
+b(eatures],)32 b(page)f(65.)150 2351 y Fr(B.1)67 b(Implemen)l(tation)48
b(Di\013erences)e(F)-11 b(rom)44 b(The)h(SVR4.2)g(Shell)275
2589 y Ft(Since)39 b(Bash)h(is)f(a)h(completely)i(new)d(implemen)m
(tation,)k(it)d(do)s(es)g(not)f(su\013er)g(from)g(man)m(y)h(of)g(the)
y Fp(\017)60 b Ft(The)30 b(SVR4.2)h(shell)g(b)s(eha)m(v)m(es)f
(di\013eren)m(tly)h(when)f(in)m(v)m(ok)m(ed)i(as)e Fs(jsh)g
Ft(\(it)h(turns)e(on)h(job)g(con)m(trol\).)p eop end
-%%Page: 132 138
-TeXDict begin 132 137 bop 150 -116 a Ft(132)2527 b(Bash)31
+%%Page: 134 140
+TeXDict begin 134 139 bop 150 -116 a Ft(134)2527 b(Bash)31
b(Reference)g(Man)m(ual)p eop end
-%%Page: 133 139
-TeXDict begin 133 138 bop 150 -116 a Ft(App)s(endix)29
-b(C:)h(Cop)m(ying)g(This)g(Man)m(ual)2063 b(133)150 299
+%%Page: 135 141
+TeXDict begin 135 140 bop 150 -116 a Ft(App)s(endix)29
+b(C:)h(Cop)m(ying)g(This)g(Man)m(ual)2063 b(135)150 299
y Fo(App)t(endix)52 b(C)126 b(Cop)l(ying)51 b(This)i(Man)l(ual)150
690 y Fr(C.1)68 b(GNU)45 b(F)-11 b(ree)45 b(Do)t(cumen)l(tation)h
(License)1396 909 y Ft(V)-8 b(ersion)31 b(1.2,)h(No)m(v)m(em)m(b)s(er)g
b(The)330 5340 y(relationship)28 b(could)f(b)s(e)g(a)g(matter)i(of)e
(historical)i(connection)f(with)f(the)h(sub)5 b(ject)27
b(or)g(with)g(related)p eop end
-%%Page: 134 140
-TeXDict begin 134 139 bop 150 -116 a Ft(134)2527 b(Bash)31
+%%Page: 136 142
+TeXDict begin 136 141 bop 150 -116 a Ft(136)2527 b(Bash)31
b(Reference)g(Man)m(ual)330 299 y(matters,)38 b(or)d(of)h(legal,)i
(commercial,)h(philosophical,)f(ethical)f(or)e(p)s(olitical)i(p)s
(osition)f(regarding)330 408 y(them.)330 549 y(The)25
b(arran)m(t)m(y)39 b(Disclaimers)f(ma)m(y)g(ha)m(v)m(e)g(is)f(v)m(oid)g
(and)f(has)h(no)330 5340 y(e\013ect)32 b(on)e(the)h(meaning)f(of)h
(this)f(License.)p eop end
-%%Page: 135 141
-TeXDict begin 135 140 bop 150 -116 a Ft(App)s(endix)29
-b(C:)h(Cop)m(ying)g(This)g(Man)m(ual)2063 b(135)199 299
+%%Page: 137 143
+TeXDict begin 137 142 bop 150 -116 a Ft(App)s(endix)29
+b(C:)h(Cop)m(ying)g(This)g(Man)m(ual)2063 b(137)199 299
y(2.)61 b(VERBA)-8 b(TIM)31 b(COPYING)330 445 y(Y)-8
b(ou)39 b(ma)m(y)f(cop)m(y)h(and)e(distribute)h(the)g(Do)s(cumen)m(t)h
(in)f(an)m(y)g(medium,)h(either)g(commercially)h(or)330
(ossesses)f(a)i(cop)m(y)g(of)330 5340 y(it.)41 b(In)30
b(addition,)h(y)m(ou)f(m)m(ust)h(do)f(these)h(things)f(in)g(the)h(Mo)s
(di\014ed)e(V)-8 b(ersion:)p eop end
-%%Page: 136 142
-TeXDict begin 136 141 bop 150 -116 a Ft(136)2527 b(Bash)31
+%%Page: 138 144
+TeXDict begin 138 143 bop 150 -116 a Ft(138)2527 b(Bash)31
b(Reference)g(Man)m(ual)357 299 y(A.)60 b(Use)33 b(in)f(the)h(Title)h
(P)m(age)g(\(and)f(on)f(the)h(co)m(v)m(ers,)i(if)e(an)m(y\))g(a)g
(title)h(distinct)f(from)g(that)g(of)g(the)510 408 y(Do)s(cumen)m(t,)j
(app)s(endices)g(that)h(qualify)330 5340 y(as)28 b(Secondary)g
(Sections)g(and)f(con)m(tain)j(no)d(material)j(copied)e(from)f(the)h
(Do)s(cumen)m(t,)i(y)m(ou)e(ma)m(y)g(at)p eop end
-%%Page: 137 143
-TeXDict begin 137 142 bop 150 -116 a Ft(App)s(endix)29
-b(C:)h(Cop)m(ying)g(This)g(Man)m(ual)2063 b(137)330 299
+%%Page: 139 145
+TeXDict begin 139 144 bop 150 -116 a Ft(App)s(endix)29
+b(C:)h(Cop)m(ying)g(This)g(Man)m(ual)2063 b(139)330 299
y(y)m(our)32 b(option)h(designate)h(some)e(or)h(all)g(of)f(these)h
(sections)h(as)e(in)m(v)-5 b(arian)m(t.)48 b(T)-8 b(o)33
b(do)f(this,)h(add)f(their)330 408 y(titles)37 b(to)f(the)f(list)h(of)g
5230 y(do)s(cumen)m(t,)d(and)f(follo)m(w)i(this)e(License)h(in)g(all)g
(other)g(resp)s(ects)f(regarding)h(v)m(erbatim)g(cop)m(ying)h(of)330
5340 y(that)d(do)s(cumen)m(t.)p eop end
-%%Page: 138 144
-TeXDict begin 138 143 bop 150 -116 a Ft(138)2527 b(Bash)31
+%%Page: 140 146
+TeXDict begin 140 145 bop 150 -116 a Ft(140)2527 b(Bash)31
b(Reference)g(Man)m(ual)199 299 y(7.)61 b(A)m(GGREGA)-8
b(TION)32 b(WITH)e(INDEPENDENT)h(W)m(ORKS)330 428 y(A)d(compilation)i
(of)e(the)g(Do)s(cumen)m(t)h(or)f(its)g(deriv)-5 b(ativ)m(es)30
(ersion)g(ev)m(er)g(published)e(\(not)i(as)g(a)f(draft\))h(b)m(y)f(the)
h(F)-8 b(ree)330 5320 y(Soft)m(w)m(are)31 b(F)-8 b(oundation.)p
eop end
-%%Page: 139 145
-TeXDict begin 139 144 bop 150 -116 a Ft(App)s(endix)29
-b(C:)h(Cop)m(ying)g(This)g(Man)m(ual)2063 b(139)150 299
+%%Page: 141 147
+TeXDict begin 141 146 bop 150 -116 a Ft(App)s(endix)29
+b(C:)h(Cop)m(ying)g(This)g(Man)m(ual)2063 b(141)150 299
y Fk(C.1.1)62 b(ADDENDUM:)41 b(Ho)m(w)f(to)h(use)h(this)f(License)g
(for)h(y)m(our)f(do)s(cumen)m(ts)275 543 y Ft(T)-8 b(o)27
b(use)g(this)g(License)h(in)f(a)h(do)s(cumen)m(t)f(y)m(ou)h(ha)m(v)m(e)
(license,)k(suc)m(h)43 b(as)g(the)g(GNU)150 2392 y(General)31
b(Public)f(License,)i(to)f(p)s(ermit)e(their)i(use)f(in)g(free)g(soft)m
(w)m(are.)p eop end
-%%Page: 140 146
-TeXDict begin 140 145 bop 150 -116 a Ft(140)2527 b(Bash)31
+%%Page: 142 148
+TeXDict begin 142 147 bop 150 -116 a Ft(142)2527 b(Bash)31
b(Reference)g(Man)m(ual)p eop end
-%%Page: 141 147
-TeXDict begin 141 146 bop 150 -116 a Ft(Index)30 b(of)g(Shell)g
-(Builtin)h(Commands)2133 b(141)150 299 y Fo(Index)53
+%%Page: 143 149
+TeXDict begin 143 148 bop 150 -116 a Ft(Index)30 b(of)g(Shell)g
+(Builtin)h(Commands)2133 b(143)150 299 y Fo(Index)53
b(of)h(Shell)e(Builtin)g(Commands)150 560 y Fr(.)150
686 y Fe(.)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)
Fb(39)150 2116 y Fr(B)150 2242 y Fe(bg)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f
-(.)41 b Fb(82)150 2334 y Fe(bind)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)
+(.)41 b Fb(84)150 2334 y Fe(bind)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38
b Fb(39)150 2426 y Fe(break)11 b Fc(.)j(.)e(.)g(.)g(.)h(.)f(.)g(.)h(.)f
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)34 b Fb(41)150
3179 y Fe(compgen)7 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)h(.)f(.)33 b Fb(107)150 3271 y Fe(complete)26
+f(.)g(.)h(.)f(.)g(.)h(.)f(.)33 b Fb(109)150 3271 y Fe(complete)26
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
-50 b Fb(107)150 3363 y Fe(continue)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)
+50 b Fb(109)150 3363 y Fe(continue)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)32 b Fb(34)150
3621 y Fr(D)150 3747 y Fe(declare)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f
Fb(41)150 3839 y Fe(dirs)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38
-b Fb(73)150 3931 y Fe(disown)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)
+b Fb(75)150 3931 y Fe(disown)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(83)150
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(85)150
4190 y Fr(E)150 4316 y Fe(echo)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38
y Fr(F)150 5179 y Fe(fc)14 b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)40
-b Fb(111)150 5271 y Fe(fg)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h
+b Fb(113)150 5271 y Fe(fg)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)41
-b Fb(82)150 5548 y Fr(G)150 5674 y Fe(getopts)8 b Fc(.)14
+b Fb(84)150 5548 y Fr(G)150 5674 y Fe(getopts)8 b Fc(.)14
b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)34 b Fb(35)2025 560 y Fr(H)2025 676 y Fe(hash)13
(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(43)2025 851 y Fe(history)7
b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)
-g(.)h(.)33 b Fb(112)2025 1103 y Fr(J)2025 1219 y Fe(jobs)13
+g(.)h(.)33 b Fb(114)2025 1103 y Fr(J)2025 1219 y Fe(jobs)13
b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(82)2025 1470 y Fr(K)2025
+(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(84)2025 1470 y Fr(K)2025
1586 y Fe(kill)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(83)2025
+f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(85)2025
1819 y Fr(L)2025 1935 y Fe(let)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40
Fb(43)2025 2362 y Fr(P)2025 2478 y Fe(popd)13 b Fc(.)g(.)f(.)g(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38
-b Fb(74)2025 2565 y Fe(printf)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g
+b Fb(76)2025 2565 y Fe(printf)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b
Fb(44)2025 2652 y Fe(pushd)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b
-Fb(74)2025 2739 y Fe(pwd)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
+Fb(76)2025 2739 y Fe(pwd)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40
b Fb(36)2025 2991 y Fr(R)2025 3107 y Fe(read)13 b Fc(.)g(.)f(.)g(.)g(.)
b Fb(45)2025 3892 y Fe(source)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b
-Fb(48)2025 3979 y Fe(suspend)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f
+Fb(49)2025 3979 y Fe(suspend)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(83)2025
+f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(85)2025
4231 y Fr(T)2025 4347 y Fe(test)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38
b Fb(38)2025 4609 y Fe(type)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38
-b Fb(48)2025 4696 y Fe(typeset)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)
+b Fb(49)2025 4696 y Fe(typeset)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(49)2025
4948 y Fr(U)2025 5064 y Fe(ulimit)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f
y Fr(W)2025 5674 y Fe(wait)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38
-b Fb(83)p eop end
-%%Page: 142 148
-TeXDict begin 142 147 bop 150 -116 a Ft(142)2527 b(Bash)31
+b Fb(85)p eop end
+%%Page: 144 150
+TeXDict begin 144 149 bop 150 -116 a Ft(144)2527 b(Bash)31
b(Reference)g(Man)m(ual)p eop end
-%%Page: 143 149
-TeXDict begin 143 148 bop 150 -116 a Ft(Index)30 b(of)g(Shell)g(Reserv)
-m(ed)h(W)-8 b(ords)2247 b(143)150 299 y Fo(Index)53 b(of)h(Shell)e
+%%Page: 145 151
+TeXDict begin 145 150 bop 150 -116 a Ft(Index)30 b(of)g(Shell)g(Reserv)
+m(ed)h(W)-8 b(ords)2247 b(145)150 299 y Fo(Index)53 b(of)h(Shell)e
(Reserv)l(ed)g(W)-13 b(ords)150 610 y Fr(!)150 743 y
Fe(!)18 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40
b Fb(10)2025 1425 y Fe(function)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(13)2025
+g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(14)2025
1658 y Fr(I)2025 1775 y Fe(if)15 b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)41
Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)37 b Fb(10)p eop end
-%%Page: 144 150
-TeXDict begin 144 149 bop 150 -116 a Ft(144)2527 b(Bash)31
+%%Page: 146 152
+TeXDict begin 146 151 bop 150 -116 a Ft(146)2527 b(Bash)31
b(Reference)g(Man)m(ual)p eop end
-%%Page: 145 151
-TeXDict begin 145 150 bop 150 -116 a Ft(P)m(arameter)32
-b(and)d(V)-8 b(ariable)32 b(Index)2262 b(145)150 299
+%%Page: 147 153
+TeXDict begin 147 152 bop 150 -116 a Ft(P)m(arameter)32
+b(and)d(V)-8 b(ariable)32 b(Index)2262 b(147)150 299
y Fo(P)l(arameter)54 b(and)f(V)-13 b(ariable)53 b(Index)150
610 y Fr(!)150 727 y Fe(!)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g
h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(16)150 3809 y Fr(A)150
3926 y Fe(auto_resume)23 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)46 b Fb(84)150 4171 y Fr(B)150 4288
+(.)f(.)g(.)h(.)f(.)46 b Fb(86)150 4171 y Fr(B)150 4288
y Fe(BASH)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 b Fb(55)150 4375
h(.)f(.)g(.)g(.)h(.)f(.)g(.)45 b Fb(57)150 5340 y Fe(bell-style)24
b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)47
-b Fb(89)2025 610 y Fe(bind-tty-special-chars)27 b Fc(.)13
+b Fb(91)2025 610 y Fe(bind-tty-special-chars)27 b Fc(.)13
b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)48 b Fb(89)2025 866 y Fr(C)2025 983 y Fe(CDPATH)10
+(.)h(.)48 b Fb(91)2025 866 y Fr(C)2025 983 y Fe(CDPATH)10
b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)35 b Fb(55)2025 1071 y Fe(COLUMNS)8 b
g(.)h(.)f(.)34 b Fb(57)2025 1159 y Fe(comment-begin)18
b Fc(.)d(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43
-b Fb(89)2025 1247 y Fe(COMP_CWORD)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)
+b Fb(91)2025 1247 y Fe(COMP_CWORD)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(57)2025 1335
y Fe(COMP_LINE)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48
b Fb(57)2025 1686 y Fe(completion-query-items)27 b Fc(.)13
b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)48 b Fb(89)2025 1774 y Fe(COMPREPLY)25 b Fc(.)13
+(.)h(.)48 b Fb(91)2025 1774 y Fe(COMPREPLY)25 b Fc(.)13
b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49
b Fb(58)2025 1862 y Fe(convert-meta)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)h(.)f(.)g(.)45 b Fb(89)2025 2099 y Fr(D)2025
+g(.)h(.)f(.)g(.)h(.)f(.)g(.)45 b Fb(91)2025 2099 y Fr(D)2025
2216 y Fe(DIRSTACK)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(58)2025 2304 y
Fe(disable-completion)10 b Fc(.)17 b(.)12 b(.)g(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)36
-b Fb(90)2025 2559 y Fr(E)2025 2677 y Fe(editing-mode)22
+b Fb(92)2025 2559 y Fr(E)2025 2677 y Fe(editing-mode)22
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45
-b Fb(90)2025 2765 y Fe(EMACS)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)
+b Fb(92)2025 2765 y Fe(EMACS)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37
b Fb(58)2025 2853 y Fe(enable-keypad)18 b Fc(.)d(.)d(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(90)2025 2940 y Fe(EUID)13
+(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(92)2025 2940 y Fe(EUID)13
b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(58)2025 3028 y Fe(expand-tilde)22
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45
-b Fb(90)2025 3284 y Fr(F)2025 3401 y Fe(FCEDIT)10 b Fc(.)j(.)f(.)h(.)f
+b Fb(92)2025 3284 y Fr(F)2025 3401 y Fe(FCEDIT)10 b Fc(.)j(.)f(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35
b Fb(58)2025 3489 y Fe(FIGNORE)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48
b Fb(59)2025 4900 y Fe(history-preserve-point)27 b Fc(.)13
b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)48 b Fb(90)2025 4988 y Fe(HISTSIZE)7 b Fc(.)14
+(.)h(.)48 b Fb(92)2025 4988 y Fe(HISTSIZE)7 b Fc(.)14
b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
32 b Fb(59)2025 5076 y Fe(HISTTIMEFORMAT)16 b Fc(.)f(.)e(.)f(.)g(.)h(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(55)2025 5252 y Fe
(horizontal-scroll-mode)27 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)48 b Fb(90)2025
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)48 b Fb(92)2025
5340 y Fe(HOSTFILE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(59)p eop end
-%%Page: 146 152
-TeXDict begin 146 151 bop 150 -116 a Ft(146)2527 b(Bash)31
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(60)p eop end
+%%Page: 148 154
+TeXDict begin 148 153 bop 150 -116 a Ft(148)2527 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fe(HOSTNAME)7 b Fc(.)14
b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)
h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(60)150 910
y Fe(input-meta)24 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
-h(.)f(.)g(.)h(.)47 b Fb(90)150 998 y Fe(INPUTRC)8 b Fc(.)14
+h(.)f(.)g(.)h(.)47 b Fb(92)150 998 y Fe(INPUTRC)8 b Fc(.)14
b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)34 b Fb(60)150 1085 y Fe(isearch-terminators)9 b
Fc(.)17 b(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)34 b Fb(90)150 1318 y
+g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)34 b Fb(92)150 1318 y
Fr(K)150 1435 y Fe(keymap)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
-h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(90)150
+h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(92)150
1687 y Fr(L)150 1803 y Fe(LANG)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38
(.)g(.)h(.)f(.)35 b Fb(60)150 2414 y Fe(LINES)11 b Fc(.)j(.)e(.)g(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)37
-b Fb(60)150 2647 y Fr(M)150 2763 y Fe(MACHTYPE)7 b Fc(.)14
+b Fb(61)150 2647 y Fr(M)150 2763 y Fe(MACHTYPE)7 b Fc(.)14
b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)
-32 b Fb(60)150 2851 y Fe(MAIL)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f
+32 b Fb(61)150 2851 y Fe(MAIL)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38
b Fb(55)150 2938 y Fe(MAILCHECK)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)g(.)h(.)32 b Fb(55)150 3113 y Fe(mark-modified-lines)9
b Fc(.)17 b(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)34 b Fb(91)150 3200
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)34 b Fb(93)150 3200
y Fe(mark-symlinked-directories)17 b Fc(.)h(.)12 b(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(91)150 3287
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(93)150 3287
y Fe(match-hidden-files)10 b Fc(.)17 b(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)36
-b Fb(91)150 3375 y Fe(meta-flag)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h
+b Fb(93)150 3375 y Fe(meta-flag)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
-h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(90)150 3627
+h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(92)150 3627
y Fr(O)150 3743 y Fe(OLDPWD)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(61)150
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35
b Fb(61)2025 299 y Fe(output-meta)23 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)46 b Fb(91)2025 553 y
+(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)46 b Fb(93)2025 553 y
Fr(P)2025 669 y Fe(page-completions)13 b Fc(.)j(.)c(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
-h(.)f(.)39 b Fb(91)2025 757 y Fe(PATH)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f
+h(.)f(.)39 b Fb(93)2025 757 y Fe(PATH)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38
b Fb(55)2025 844 y Fe(PIPESTATUS)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(61)2025 2219
y Fr(S)2025 2336 y Fe(SECONDS)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(61)2025
+f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(62)2025
2424 y Fe(SHELL)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(62)2025 2511
g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)37 b Fb(62)2025 2687 y Fe(show-all-if-ambiguous)29
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)g(.)h(.)f(.)50 b Fb(91)2025 2774 y Fe(show-all-if-unmodified)27
+(.)g(.)g(.)h(.)f(.)50 b Fb(93)2025 2774 y Fe(show-all-if-unmodified)27
b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)48 b Fb(91)2025 3009 y Fr(T)2025 3126
+(.)f(.)g(.)h(.)48 b Fb(93)2025 3009 y Fr(T)2025 3126
y Fe(TEXTDOMAIN)25 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)h(.)49 b Fb(7)2025 3213 y Fe(TEXTDOMAINDIR)21
y Fr(U)2025 3740 y Fe(UID)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40
-b Fb(62)2025 3975 y Fr(V)2025 4092 y Fe(visible-stats)18
+b Fb(63)2025 3975 y Fr(V)2025 4092 y Fe(visible-stats)18
b Fc(.)d(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43
-b Fb(91)p eop end
-%%Page: 147 153
-TeXDict begin 147 152 bop 150 -116 a Ft(F)-8 b(unction)31
-b(Index)2861 b(147)150 299 y Fo(F)-13 b(unction)52 b(Index)150
+b Fb(93)p eop end
+%%Page: 149 155
+TeXDict begin 149 154 bop 150 -116 a Ft(F)-8 b(unction)31
+b(Index)2861 b(149)150 299 y Fo(F)-13 b(unction)52 b(Index)150
610 y Fr(A)150 749 y Fe(abort)27 b(\(C-g\))8 b Fc(.)13
b(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)34
-b Fb(103)150 848 y Fe(accept-line)28 b(\(Newline)g(or)e(Return\))12
+b Fb(105)150 848 y Fe(accept-line)28 b(\(Newline)g(or)e(Return\))12
b Fc(.)h(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)37
-b Fb(97)150 946 y Fe(alias-expand-line)29 b(\(\))13 b
+b Fb(99)150 946 y Fe(alias-expand-line)29 b(\(\))13 b
Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)39 b Fb(105)150 1257 y Fr(B)150 1397
+(.)f(.)g(.)h(.)f(.)39 b Fb(107)150 1257 y Fr(B)150 1397
y Fe(backward-char)29 b(\(C-b\))16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)41
-b Fb(97)150 1495 y Fe(backward-delete-char)30 b(\(Rubout\))21
-b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45
-b Fb(99)150 1594 y Fe(backward-kill-line)30 b(\(C-x)c(Rubout\))e
-Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(100)150
+b Fb(99)150 1495 y Fe(backward-delete-char)30 b(\(Rubout\))18
+b Fc(.)d(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)44
+b Fb(101)150 1594 y Fe(backward-kill-line)30 b(\(C-x)c(Rubout\))e
+Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(102)150
1692 y Fe(backward-kill-word)30 b(\(M-)999 1689 y Fg(h)p
1024 1636 146 4 v 1024 1692 a Ff(DEL)p 1024 1708 V 1165
1689 a Fg(i)1195 1692 y Fe(\))20 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)46 b Fb(100)150 1791 y Fe(backward-word)29
+f(.)g(.)h(.)f(.)g(.)46 b Fb(102)150 1791 y Fe(backward-word)29
b(\(M-b\))16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)41 b Fb(97)150
-1889 y Fe(beginning-of-history)30 b(\(M-<\))25 b Fc(.)12
-b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)49
-b Fb(98)150 1988 y Fe(beginning-of-line)29 b(\(C-a\))10
+(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)41 b Fb(99)150
+1889 y Fe(beginning-of-history)30 b(\(M-<\))24 b Fc(.)12
+b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)49
+b Fb(100)150 1988 y Fe(beginning-of-line)29 b(\(C-a\))10
b Fc(.)k(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)35 b Fb(97)150 2299 y Fr(C)150 2438 y Fe
+f(.)g(.)h(.)35 b Fb(99)150 2299 y Fr(C)150 2438 y Fe
(call-last-kbd-macro)30 b(\(C-x)c(e\))10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)36 b Fb(103)150 2537
-y Fe(capitalize-word)29 b(\(M-c\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)38
-b Fb(99)150 2635 y Fe(character-search)29 b(\(C-]\))10
+(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)36 b Fb(105)150 2537
+y Fe(capitalize-word)29 b(\(M-c\))12 b Fc(.)h(.)g(.)f(.)g(.)h(.)f(.)g
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38
+b Fb(101)150 2635 y Fe(character-search)29 b(\(C-]\))10
b Fc(.)k(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)g(.)h(.)36 b Fb(103)150 2734 y Fe(character-search-backward)31
+g(.)g(.)h(.)36 b Fb(105)150 2734 y Fe(character-search-backward)31
b(\(M-C-]\))12 b Fc(.)j(.)d(.)g(.)h(.)f(.)g(.)h(.)38
-b Fb(103)150 2832 y Fe(clear-screen)28 b(\(C-l\))17 b
+b Fb(105)150 2832 y Fe(clear-screen)28 b(\(C-l\))17 b
Fc(.)d(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)43 b Fb(97)150 2931 y
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)43 b Fb(99)150 2931 y
Fe(complete)27 b(\()528 2928 y Fg(h)p 553 2875 148 4
v 553 2931 a Ff(T)-6 b(AB)p 553 2946 V 697 2928 a Fg(i)726
2931 y Fe(\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44
-b Fb(101)150 3029 y Fe(complete-command)29 b(\(M-!\))10
+b Fb(103)150 3029 y Fe(complete-command)29 b(\(M-!\))10
b Fc(.)k(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)g(.)h(.)36 b Fb(102)150 3128 y Fe(complete-filename)29
+g(.)g(.)h(.)36 b Fb(104)150 3128 y Fe(complete-filename)29
b(\(M-/\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(102)150 3226 y Fe(complete-hostname)29
+(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(104)150 3226 y Fe(complete-hostname)29
b(\(M-@\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(102)150 3325 y Fe(complete-into-braces)
+(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(104)150 3325 y Fe(complete-into-braces)
30 b(\(M-{\))24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h
-(.)f(.)g(.)49 b Fb(102)150 3423 y Fe(complete-username)29
+(.)f(.)g(.)49 b Fb(104)150 3423 y Fe(complete-username)29
b(\(M-~\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(102)150 3522 y Fe(complete-variable)29
+(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(104)150 3522 y Fe(complete-variable)29
b(\(M-$\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(102)150 3620 y Fe(copy-backward-word)30
+(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(104)150 3620 y Fe(copy-backward-word)30
b(\(\))12 b Fc(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)38 b Fb(100)150 3719 y Fe(copy-forward-word)
+(.)h(.)f(.)g(.)h(.)f(.)g(.)38 b Fb(102)150 3719 y Fe(copy-forward-word)
29 b(\(\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(100)150 3817
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(102)150 3817
y Fe(copy-region-as-kill)30 b(\(\))10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)36
-b Fb(100)150 4128 y Fr(D)150 4268 y Fe(delete-char)28
-b(\(C-d\))20 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44
-b Fb(99)150 4366 y Fe(delete-char-or-list)30 b(\(\))10
+b Fb(102)150 4128 y Fr(D)150 4268 y Fe(delete-char)28
+b(\(C-d\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
+f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b
+Fb(101)150 4366 y Fe(delete-char-or-list)30 b(\(\))10
b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)g(.)h(.)36 b Fb(102)150 4465 y Fe(delete-horizontal-space)31
+g(.)g(.)h(.)36 b Fb(104)150 4465 y Fe(delete-horizontal-space)31
b(\(\))23 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f
-(.)g(.)49 b Fb(100)150 4563 y Fe(digit-argument)29 b(\()p
+(.)g(.)49 b Fb(102)150 4563 y Fe(digit-argument)29 b(\()p
Fd(M-0)p Fe(,)e Fd(M-1)p Fe(,)f(...)g Fd(M--)p Fe(\))13
-b Fc(.)h(.)e(.)h(.)f(.)g(.)g(.)h(.)39 b Fb(101)150 4662
+b Fc(.)h(.)e(.)h(.)f(.)g(.)g(.)h(.)39 b Fb(103)150 4662
y Fe(display-shell-version)30 b(\(C-x)d(C-v\))c Fc(.)12
-b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(104)150 4760
+b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(106)150 4760
y Fe(do-uppercase-version)30 b(\(M-a,)d(M-b,)f(M-)p Fd(x)p
Fe(,)h(...)q(\))317 4847 y Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(103)150
-4946 y Fe(downcase-word)29 b(\(M-l\))16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)
-h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)41
-b Fb(99)150 5044 y Fe(dump-functions)29 b(\(\))18 b Fc(.)12
-b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(104)150 5143 y Fe(dump-macros)28
-b(\(\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48
-b Fb(104)150 5241 y Fe(dump-variables)29 b(\(\))18 b
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(105)150
+4946 y Fe(downcase-word)29 b(\(M-l\))15 b Fc(.)e(.)f(.)g(.)h(.)f(.)g(.)
+h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)41
+b Fb(101)150 5044 y Fe(dump-functions)29 b(\(\))18 b
Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(104)150 5340
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(106)150 5143
+y Fe(dump-macros)28 b(\(\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
+f(.)g(.)48 b Fb(106)150 5241 y Fe(dump-variables)29 b(\(\))18
+b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(106)150 5340
y Fe(dynamic-complete-history)31 b(\(M-)1234 5337 y Fg(h)p
1259 5284 V 1259 5340 a Ff(T)-6 b(AB)p 1259 5355 V 1403
5337 a Fg(i)1432 5340 y Fe(\))10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)36
-b Fb(102)2025 610 y Fr(E)2025 730 y Fe(edit-and-execute-command)31
+b Fb(104)2025 610 y Fr(E)2025 730 y Fe(edit-and-execute-command)31
b(\(C-xC-e\))12 b Fc(.)i(.)f(.)f(.)g(.)h(.)f(.)g(.)39
-b Fb(105)2025 819 y Fe(end-kbd-macro)28 b(\(C-x)f(\)\))19
+b Fb(107)2025 819 y Fe(end-kbd-macro)28 b(\(C-x)f(\)\))19
b Fc(.)12 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)45 b Fb(103)2025 909 y Fe(end-of-history)29
-b(\(M->\))14 b Fc(.)f(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)40 b Fb(98)2025
-998 y Fe(end-of-line)28 b(\(C-e\))20 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)44 b Fb(97)2025 1087 y Fe(exchange-point-and-mark)31
+(.)g(.)h(.)f(.)g(.)45 b Fb(105)2025 909 y Fe(end-of-history)29
+b(\(M->\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(100)2025 998
+y Fe(end-of-line)28 b(\(C-e\))20 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)
+g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
+(.)44 b Fb(99)2025 1087 y Fe(exchange-point-and-mark)31
b(\(C-x)26 b(C-x\))20 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)45
-b Fb(103)2025 1349 y Fr(F)2025 1469 y Fe(forward-backward-delete-char)
-32 b(\(\))16 b Fc(.)d(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42
-b Fb(99)2025 1558 y Fe(forward-char)28 b(\(C-f\))17 b
+b Fb(105)2025 1349 y Fr(F)2025 1469 y Fe(forward-backward-delete-char)
+32 b(\(\))15 b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)42
+b Fb(101)2025 1558 y Fe(forward-char)28 b(\(C-f\))17
+b Fc(.)d(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
+f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)43 b Fb(99)2025 1647
+y Fe(forward-search-history)30 b(\(C-s\))21 b Fc(.)13
+b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)46 b
+Fb(100)2025 1736 y Fe(forward-word)28 b(\(M-f\))17 b
Fc(.)d(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)43 b Fb(97)2025 1647 y
-Fe(forward-search-history)30 b(\(C-s\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)47 b Fb(98)2025 1736
-y Fe(forward-word)28 b(\(M-f\))17 b Fc(.)d(.)e(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)43
-b Fb(97)2025 1988 y Fr(G)2025 2108 y Fe(glob-complete-word)29
-b(\(M-g\))7 b Fc(.)14 b(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)g(.)34 b Fb(104)2025 2197 y Fe(glob-expand-word)29
+(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)43 b Fb(99)2025 1988 y
+Fr(G)2025 2108 y Fe(glob-complete-word)29 b(\(M-g\))7
+b Fc(.)14 b(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
+(.)g(.)34 b Fb(106)2025 2197 y Fe(glob-expand-word)29
b(\(C-x)e(*\))14 b Fc(.)f(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)40 b Fb(104)2025 2286 y Fe(glob-list-expansions)
+(.)g(.)h(.)f(.)g(.)h(.)40 b Fb(106)2025 2286 y Fe(glob-list-expansions)
30 b(\(C-x)c(g\))8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)g(.)35 b Fb(104)2025 2548 y Fr(H)2025 2668 y Fe
+(.)g(.)g(.)35 b Fb(106)2025 2548 y Fr(H)2025 2668 y Fe
(history-and-alias-expand-line)d(\(\))14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)40 b Fb(105)2025 2757 y Fe(history-expand-line)30
+(.)h(.)f(.)40 b Fb(107)2025 2757 y Fe(history-expand-line)30
b(\(M-^\))25 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)
-f(.)g(.)h(.)50 b Fb(104)2025 2846 y Fe(history-search-backward)31
-b(\(\))24 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)49 b Fb(98)2025 2935 y Fe(history-search-forward)30
-b(\(\))7 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)33 b Fb(98)2025 3197 y Fr(I)2025 3317
-y Fe(insert-comment)c(\(M-#\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39
-b Fb(104)2025 3406 y Fe(insert-completions)29 b(\(M-*\))7
-b Fc(.)14 b(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)g(.)34 b Fb(101)2025 3495 y Fe(insert-last-argument)c(\(M-.)c(or)g
-(M-_\))8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)34
-b Fb(105)2025 3757 y Fr(K)2025 3877 y Fe(kill-line)27
-b(\(C-k\))22 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)47
-b Fb(100)2025 3966 y Fe(kill-region)28 b(\(\))22 b Fc(.)13
-b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(100)2025
-4056 y Fe(kill-whole-line)29 b(\(\))16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)42
-b Fb(100)2025 4145 y Fe(kill-word)27 b(\(M-d\))22 b Fc(.)12
-b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)47 b Fb(100)2025 4396
-y Fr(M)2025 4516 y Fe(magic-space)28 b(\(\))22 b Fc(.)13
-b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(105)2025
-4605 y Fe(menu-complete)28 b(\(\))20 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)45 b Fb(101)2025 4867 y Fr(N)2025 4987 y Fe(next-history)28
-b(\(C-n\))17 b Fc(.)d(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)43 b Fb(98)2025
-5076 y Fe(non-incremental-forward-search)q(-hist)q(ory)32
-b(\(M-n\))2193 5164 y Fc(.)12 b(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)40 b Fb(98)2025
-5253 y Fe(non-incremental-reverse-search)q(-hist)q(ory)32
-b(\(M-p\))2193 5340 y Fc(.)12 b(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)40 b Fb(98)p
-eop end
-%%Page: 148 154
-TeXDict begin 148 153 bop 150 -116 a Ft(148)2527 b(Bash)31
+f(.)g(.)h(.)50 b Fb(106)2025 2846 y Fe(history-search-backward)31
+b(\(\))23 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
+(.)g(.)49 b Fb(100)2025 2935 y Fe(history-search-forward)30
+b(\(\))25 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f
+(.)g(.)h(.)50 b Fb(100)2025 3197 y Fr(I)2025 3317 y Fe(insert-comment)
+29 b(\(M-#\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)
+f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(106)2025
+3406 y Fe(insert-completions)29 b(\(M-*\))7 b Fc(.)14
+b(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)34
+b Fb(103)2025 3495 y Fe(insert-last-argument)c(\(M-.)c(or)g(M-_\))8
+b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)34 b Fb(107)2025
+3757 y Fr(K)2025 3877 y Fe(kill-line)27 b(\(C-k\))22
+b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
+(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)47 b Fb(102)2025
+3966 y Fe(kill-region)28 b(\(\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h
+(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
+g(.)h(.)f(.)48 b Fb(102)2025 4056 y Fe(kill-whole-line)29
+b(\(\))16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
+(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(102)2025
+4145 y Fe(kill-word)27 b(\(M-d\))22 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)
+f(.)g(.)47 b Fb(102)2025 4396 y Fr(M)2025 4516 y Fe(magic-space)28
+b(\(\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48
+b Fb(107)2025 4605 y Fe(menu-complete)28 b(\(\))20 b
+Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(103)2025
+4867 y Fr(N)2025 4987 y Fe(next-history)28 b(\(C-n\))16
+b Fc(.)e(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
+f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(100)2025 5076 y Fe
+(non-incremental-forward-search)q(-hist)q(ory)32 b(\(M-n\))2191
+5164 y Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
+g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h
+(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(100)2025 5253 y Fe
+(non-incremental-reverse-search)q(-hist)q(ory)32 b(\(M-p\))2191
+5340 y Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
+g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h
+(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(100)p eop end
+%%Page: 150 156
+TeXDict begin 150 155 bop 150 -116 a Ft(150)2527 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fr(O)150 425 y Fe
(operate-and-get-next)f(\(C-o\))24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)49 b Fb(105)150 518 y
-Fe(overwrite-mode)29 b(\(\))19 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-44 b Fb(99)150 786 y Fr(P)150 913 y Fe(possible-command-completions)32
-b(\(C-x)26 b(!\))15 b Fc(.)e(.)g(.)f(.)g(.)41 b Fb(102)150
+(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)49 b Fb(107)150 518 y
+Fe(overwrite-mode)29 b(\(\))18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43
+b Fb(101)150 786 y Fr(P)150 913 y Fe(possible-command-completions)32
+b(\(C-x)26 b(!\))15 b Fc(.)e(.)g(.)f(.)g(.)41 b Fb(104)150
1005 y Fe(possible-completions)30 b(\(M-?\))24 b Fc(.)12
b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)49
-b Fb(101)150 1097 y Fe(possible-filename-completions)32
-b(\(C-x)27 b(/\))14 b Fc(.)e(.)g(.)h(.)39 b Fb(102)150
+b Fb(103)150 1097 y Fe(possible-filename-completions)32
+b(\(C-x)27 b(/\))14 b Fc(.)e(.)g(.)h(.)39 b Fb(104)150
1190 y Fe(possible-hostname-completions)32 b(\(C-x)27
-b(@\))14 b Fc(.)e(.)g(.)h(.)39 b Fb(102)150 1282 y Fe
+b(@\))14 b Fc(.)e(.)g(.)h(.)39 b Fb(104)150 1282 y Fe
(possible-username-completions)32 b(\(C-x)27 b(~\))14
-b Fc(.)e(.)g(.)h(.)39 b Fb(102)150 1374 y Fe
+b Fc(.)e(.)g(.)h(.)39 b Fb(104)150 1374 y Fe
(possible-variable-completions)32 b(\(C-x)27 b($\))14
-b Fc(.)e(.)g(.)h(.)39 b Fb(102)150 1467 y Fe(prefix-meta)28
+b Fc(.)e(.)g(.)h(.)39 b Fb(104)150 1467 y Fe(prefix-meta)28
b(\()646 1464 y Fg(h)p 671 1411 139 4 v 671 1467 a Ff(ESC)p
671 1482 V 804 1464 a Fg(i)834 1467 y Fe(\))19 b Fc(.)13
b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)45 b Fb(103)150 1559 y Fe(previous-history)29
-b(\(C-p\))11 b Fc(.)j(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(98)150 1838 y
-Fr(Q)150 1964 y Fe(quoted-insert)29 b(\(C-q)d(or)g(C-v\))20
-b Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)45 b Fb(99)150 2243 y Fr(R)150 2369 y Fe(re-read-init-file)29
+(.)g(.)h(.)f(.)g(.)45 b Fb(105)150 1559 y Fe(previous-history)29
+b(\(C-p\))10 b Fc(.)k(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
+(.)g(.)h(.)f(.)g(.)g(.)h(.)36 b Fb(100)150 1838 y Fr(Q)150
+1964 y Fe(quoted-insert)29 b(\(C-q)d(or)g(C-v\))18 b
+Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44
+b Fb(101)150 2243 y Fr(R)150 2369 y Fe(re-read-init-file)29
b(\(C-x)e(C-r\))10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)36 b Fb(103)150 2462 y Fe(redraw-current-line)30
+(.)f(.)g(.)36 b Fb(105)150 2462 y Fe(redraw-current-line)30
b(\(\))11 b Fc(.)i(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(97)150 2554 y Fe
-(reverse-search-history)31 b(\(C-r\))22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)46 b Fb(98)150 2646 y
-Fe(revert-line)28 b(\(M-r\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43
-b Fb(103)2025 299 y Fr(S)2025 415 y Fe(self-insert)28
-b(\(a,)e(b,)g(A,)g(1,)g(!,)g(...)q(\))13 b Fc(.)f(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(99)2025 503 y Fe(set-mark)27
-b(\(C-@\))c Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48
-b Fb(103)2025 590 y Fe(shell-expand-line)29 b(\(M-C-e\))d
-Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)50
-b Fb(104)2025 677 y Fe(start-kbd-macro)29 b(\(C-x)d(\(\))16
-b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)42 b Fb(102)2025 919 y Fr(T)2025 1036 y Fe(tilde-expand)28
+(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(99)150 2554 y Fe
+(reverse-search-history)31 b(\(C-r\))20 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g
+(.)h(.)f(.)g(.)h(.)f(.)g(.)46 b Fb(100)150 2646 y Fe(revert-line)28
+b(\(M-r\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
+f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b
+Fb(105)2025 299 y Fr(S)2025 415 y Fe(self-insert)28 b(\(a,)e(b,)g(A,)g
+(1,)g(!,)g(...)q(\))12 b Fc(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
+38 b Fb(101)2025 503 y Fe(set-mark)27 b(\(C-@\))c Fc(.)13
+b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(105)2025
+590 y Fe(shell-expand-line)29 b(\(M-C-e\))d Fc(.)12 b(.)h(.)f(.)g(.)h
+(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)50 b Fb(106)2025
+677 y Fe(start-kbd-macro)29 b(\(C-x)d(\(\))16 b Fc(.)d(.)f(.)g(.)h(.)f
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)42
+b Fb(104)2025 919 y Fr(T)2025 1036 y Fe(tilde-expand)28
b(\(M-&\))16 b Fc(.)e(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(103)2025
-1123 y Fe(transpose-chars)29 b(\(C-t\))13 b Fc(.)g(.)f(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)39
-b Fb(99)2025 1210 y Fe(transpose-words)29 b(\(M-t\))13
-b Fc(.)g(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)g(.)39 b Fb(99)2025 1463 y Fr(U)2025
-1579 y Fe(undo)26 b(\(C-_)h(or)f(C-x)g(C-u\))14 b Fc(.)f(.)g(.)f(.)g(.)
-h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)40
-b Fb(103)2025 1666 y Fe(universal-argument)29 b(\(\))12
+(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(105)2025
+1123 y Fe(transpose-chars)29 b(\(C-t\))12 b Fc(.)h(.)f(.)h(.)f(.)g(.)h
+(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)38
+b Fb(101)2025 1210 y Fe(transpose-words)29 b(\(M-t\))12
+b Fc(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
+g(.)g(.)h(.)f(.)38 b Fb(101)2025 1463 y Fr(U)2025 1579
+y Fe(undo)26 b(\(C-_)h(or)f(C-x)g(C-u\))14 b Fc(.)f(.)g(.)f(.)g(.)h(.)f
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)40
+b Fb(105)2025 1666 y Fe(universal-argument)29 b(\(\))12
b Fc(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)g(.)h(.)f(.)38 b Fb(101)2025 1754 y Fe(unix-filename-rubout)30
+g(.)g(.)h(.)f(.)38 b Fb(103)2025 1754 y Fe(unix-filename-rubout)30
b(\(\))9 b Fc(.)k(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)35 b Fb(100)2025 1841 y Fe(unix-line-discard)29
+(.)f(.)g(.)h(.)f(.)35 b Fb(102)2025 1841 y Fe(unix-line-discard)29
b(\(C-u\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(100)2025 1928 y Fe(unix-word-rubout)29
+(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(102)2025 1928 y Fe(unix-word-rubout)29
b(\(C-w\))10 b Fc(.)k(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(100)2025 2016 y Fe(upcase-word)28
-b(\(M-u\))20 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)
-h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44
-b Fb(99)2025 2268 y Fr(Y)2025 2384 y Fe(yank)26 b(\(C-y\))10
+(.)f(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(102)2025 2016 y Fe(upcase-word)28
+b(\(M-u\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)
+h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)44 b
+Fb(101)2025 2268 y Fr(Y)2025 2384 y Fe(yank)26 b(\(C-y\))10
b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)36
-b Fb(101)2025 2472 y Fe(yank-last-arg)28 b(\(M-.)f(or)f(M-_\))20
-b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f
-(.)45 b Fb(98)2025 2559 y Fe(yank-nth-arg)28 b(\(M-C-y\))14
-b Fc(.)g(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)h(.)f(.)40 b Fb(98)2025 2646 y Fe(yank-pop)27
+b Fb(103)2025 2472 y Fe(yank-last-arg)28 b(\(M-.)f(or)f(M-_\))18
+b Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
+44 b Fb(100)2025 2559 y Fe(yank-nth-arg)28 b(\(M-C-y\))13
+b Fc(.)h(.)f(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
+g(.)h(.)f(.)g(.)h(.)39 b Fb(100)2025 2646 y Fe(yank-pop)27
b(\(M-y\))c Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48
-b Fb(101)p eop end
-%%Page: 149 155
-TeXDict begin 149 154 bop 150 -116 a Ft(Concept)31 b(Index)2882
-b(149)150 299 y Fo(Concept)52 b(Index)150 638 y Fr(A)150
+b Fb(103)p eop end
+%%Page: 151 157
+TeXDict begin 151 156 bop 150 -116 a Ft(Concept)31 b(Index)2882
+b(151)150 299 y Fo(Concept)52 b(Index)150 638 y Fr(A)150
754 y Fb(alias)27 b(expansion)20 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)45 b Fb(71)150 841 y(arithmetic)26
+(.)g(.)h(.)f(.)g(.)45 b Fb(73)150 841 y(arithmetic)26
b(ev)l(aluation)f Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)50 b Fb(70)150
+(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)50 b Fb(72)150
929 y(arithmetic)26 b(expansion)12 b Fc(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38
-b Fb(21)150 1016 y(arithmetic,)27 b(shell)20 b Fc(.)12
+b Fb(22)150 1016 y(arithmetic,)27 b(shell)20 b Fc(.)12
b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(70)150
+(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(72)150
1103 y(arra)n(ys)6 b Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)32 b Fb(72)150
+g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)32 b Fb(74)150
1353 y Fr(B)150 1469 y Fb(bac)n(kground)23 b Fc(.)13
b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)49
-b Fb(81)150 1556 y(Bash)26 b(con\014guration)11 b Fc(.)i(.)f(.)g(.)h(.)
+b Fb(83)150 1556 y(Bash)26 b(con\014guration)11 b Fc(.)i(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)36 b Fb(117)150 1643 y(Bash)26 b(installation)6
+(.)f(.)g(.)h(.)36 b Fb(119)150 1643 y(Bash)26 b(installation)6
b Fc(.)15 b(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)32 b Fb(117)150
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)32 b Fb(119)150
1730 y(Bourne)26 b(shell)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(5)150 1818 y(brace)26
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b
Fb(3)150 2138 y Fr(C)150 2254 y Fb(command)26 b(editing)19
b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44 b Fb(85)150
+(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44 b Fb(87)150
2341 y(command)26 b(execution)11 b Fc(.)h(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
37 b Fb(29)150 2428 y(command)26 b(expansion)d Fc(.)12
(.)f(.)g(.)h(.)f(.)g(.)h(.)48 b Fb(28)150 2515 y(command)26
b(history)16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42
-b Fb(111)150 2603 y(command)26 b(searc)n(h)12 b Fc(.)h(.)f(.)g(.)h(.)f
+b Fb(113)150 2603 y(command)26 b(searc)n(h)12 b Fc(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)g(.)38 b Fb(29)150 2690 y(command)26
b(substitution)e Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)34
b Fb(7)150 3649 y(completion)27 b(builtins)22 b Fc(.)12
b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(107)150 3736 y(con\014guration)15
+(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(109)150 3736 y(con\014guration)15
b Fc(.)e(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)41
-b Fb(117)150 3824 y(con)n(trol)26 b(op)r(erator)c Fc(.)12
+b Fb(119)150 3824 y(con)n(trol)26 b(op)r(erator)c Fc(.)12
b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)47 b Fb(3)150
4073 y Fr(D)150 4189 y Fb(directory)26 b(stac)n(k)e Fc(.)12
b(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(73)150
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(75)150
4439 y Fr(E)150 4555 y Fb(editing)26 b(command)g(lines)d
Fc(.)12 b(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(85)150 4642 y(en)n(vironmen)n(t)10
+(.)f(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(87)150 4642 y(en)n(vironmen)n(t)10
b Fc(.)i(.)g(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35
b Fb(30)150 4729 y(ev)l(aluation,)26 b(arithmetic)13
b Fc(.)h(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(70)150 4817 y(ev)n(en)n(t)25
+f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(72)150 4817 y(ev)n(en)n(t)25
b(designators)18 b Fc(.)c(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44
-b Fb(113)150 4904 y(execution)26 b(en)n(vironmen)n(t)19
+b Fb(115)150 4904 y(execution)26 b(en)n(vironmen)n(t)19
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)45 b Fb(29)150 4991 y(exit)25
b(status)17 b Fc(.)c(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
(.)43 b Fb(3,)26 b(31)150 5078 y(expansion)16 b Fc(.)d(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)42 b
-Fb(16)150 5166 y(expansion,)26 b(arithmetic)20 b Fc(.)13
+Fb(17)150 5166 y(expansion,)26 b(arithmetic)20 b Fc(.)13
b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(21)150 5253 y(expansion,)26
+(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(22)150 5253 y(expansion,)26
b(brace)12 b Fc(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)38
b Fb(17)150 5340 y(expansion,)26 b(\014lename)18 b Fc(.)12
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(18)2025 910 y(expressions,)27
b(arithmetic)16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)42 b Fb(70)2025
+g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)42 b Fb(72)2025
1000 y(expressions,)27 b(conditional)22 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)47
-b Fb(69)2025 1267 y Fr(F)2025 1390 y Fb(FDL,)25 b(GNU)g(F)-6
+b Fb(71)2025 1267 y Fr(F)2025 1390 y Fb(FDL,)25 b(GNU)g(F)-6
b(ree)26 b(Do)r(cumen)n(tation)g(License)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)
-36 b Fb(133)2025 1480 y(\014eld)21 b Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g
+36 b Fb(135)2025 1480 y(\014eld)21 b Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)48
b Fb(3)2025 1571 y(\014lename)8 b Fc(.)k(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
(.)g(.)36 b Fb(23)2025 1752 y(foreground)20 b Fc(.)12
b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)45
-b Fb(81)2025 1842 y(functions,)26 b(shell)c Fc(.)13 b(.)f(.)g(.)h(.)f
+b Fb(83)2025 1842 y(functions,)26 b(shell)c Fc(.)13 b(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(13)2025 2109 y Fr(H)2025
+f(.)g(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(14)2025 2109 y Fr(H)2025
2232 y Fb(history)25 b(builtins)16 b Fc(.)d(.)f(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)
-f(.)g(.)h(.)42 b Fb(111)2025 2322 y(history)25 b(ev)n(en)n(ts)20
+f(.)g(.)h(.)42 b Fb(113)2025 2322 y(history)25 b(ev)n(en)n(ts)20
b Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)46
-b Fb(113)2025 2413 y(history)25 b(expansion)13 b Fc(.)g(.)f(.)h(.)f(.)g
+b Fb(115)2025 2413 y(history)25 b(expansion)13 b Fc(.)g(.)f(.)h(.)f(.)g
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)39 b Fb(113)2025 2503 y(history)25 b(list)18
+f(.)g(.)h(.)f(.)39 b Fb(115)2025 2503 y(history)25 b(list)18
b Fc(.)c(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44
-b Fb(111)2025 2594 y(History)-6 b(,)25 b(ho)n(w)h(to)g(use)20
+b Fb(113)2025 2594 y(History)-6 b(,)25 b(ho)n(w)h(to)g(use)20
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)46 b Fb(110)2025 2861
+(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)46 b Fb(112)2025 2861
y Fr(I)2025 2984 y Fb(iden)n(ti\014er)16 b Fc(.)c(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)43
b Fb(3)2025 3074 y(initialization)28 b(\014le,)e(readline)7
b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)33 b Fb(88)2025 3165 y(installation)11
+(.)g(.)h(.)f(.)g(.)33 b Fb(90)2025 3165 y(installation)11
b Fc(.)j(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)37
-b Fb(117)2025 3255 y(in)n(teraction,)26 b(readline)9
+b Fb(119)2025 3255 y(in)n(teraction,)26 b(readline)9
b Fc(.)14 b(.)e(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(85)2025
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(87)2025
3346 y(in)n(teractiv)n(e)26 b(shell)20 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
-h(.)f(.)45 b Fb(65,)27 b(67)2025 3436 y(in)n(ternationalization)21
+h(.)f(.)45 b Fb(67,)27 b(69)2025 3436 y(in)n(ternationalization)21
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(7)2025
3686 y Fr(J)2025 3809 y Fb(job)22 b Fc(.)12 b(.)h(.)f(.)g(.)g(.)h(.)f
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)48
b Fb(3)2025 3900 y(job)26 b(con)n(trol)12 b Fc(.)h(.)f(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
-h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(3,)26 b(81)2025
+h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(3,)26 b(83)2025
4166 y Fr(K)2025 4289 y Fb(kill)g(ring)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)40
-b Fb(87)2025 4380 y(killing)26 b(text)16 b Fc(.)c(.)h(.)f(.)g(.)h(.)f
+b Fb(89)2025 4380 y(killing)26 b(text)16 b Fc(.)c(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)42 b Fb(87)2025
+f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)42 b Fb(89)2025
4647 y Fr(L)2025 4769 y Fb(lo)r(calization)10 b Fc(.)15
b(.)d(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)36
b Fb(7)2025 4860 y(login)26 b(shell)13 b Fc(.)h(.)e(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)39 b Fb(65)2025
+g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)39 b Fb(67)2025
5127 y Fr(M)2025 5249 y Fb(matc)n(hing,)26 b(pattern)7
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)33 b Fb(23)2025
5340 y(metac)n(haracter)17 b Fc(.)d(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)44 b Fb(3)p eop end
-%%Page: 150 156
-TeXDict begin 150 155 bop 150 -116 a Ft(150)2527 b(Bash)31
+%%Page: 152 158
+TeXDict begin 152 157 bop 150 -116 a Ft(152)2527 b(Bash)31
b(Reference)g(Man)m(ual)150 299 y Fr(N)150 417 y Fb(name)21
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)40
b Fb(7)150 594 y(notation,)27 b(readline)12 b Fc(.)h(.)f(.)h(.)f(.)g(.)
g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)38 b Fb(85)150 851 y Fr(O)150 969
+(.)g(.)h(.)f(.)g(.)38 b Fb(87)150 851 y Fr(O)150 969
y Fb(op)r(erator,)27 b(shell)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)41 b Fb(3)150 1225 y Fr(P)150
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)34
b Fb(15)150 1609 y(parameters,)27 b(sp)r(ecial)e Fc(.)12
b(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(15)150 1698 y(pathname)25
+(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(16)150 1698 y(pathname)25
b(expansion)19 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44
b Fb(23)150 1786 y(pattern)25 b(matc)n(hing)18 b Fc(.)13
h(.)f(.)g(.)h(.)f(.)g(.)h(.)34 b Fb(3)150 2052 y(POSIX)25
b(Mo)r(de)10 b Fc(.)i(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)35 b Fb(76)150 2140 y(pro)r(cess)27 b(group)7 b Fc(.)13
+f(.)35 b Fb(78)150 2140 y(pro)r(cess)27 b(group)7 b Fc(.)13
b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)33
b Fb(3)150 2229 y(pro)r(cess)27 b(group)e(ID)f Fc(.)12
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)
f(.)36 b Fb(22)150 2406 y(programmable)27 b(completion)16
b Fc(.)d(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)g(.)42 b Fb(105)150 2494 y(prompting)7 b Fc(.)12
+g(.)g(.)42 b Fb(107)150 2494 y(prompting)7 b Fc(.)12
b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32
-b Fb(75)150 2750 y Fr(Q)150 2869 y Fb(quoting)19 b Fc(.)13
+b Fb(77)150 2750 y Fr(Q)150 2869 y Fb(quoting)19 b Fc(.)13
b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)46 b Fb(6)150 2957 y(quoting,)26 b(ANSI)12 b
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)38
b Fb(6)150 3213 y Fr(R)150 3332 y Fb(Readline,)26 b(ho)n(w)g(to)g(use)
14 b Fc(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(84)150 3421
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(86)150 3421
y(redirection)21 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
-(.)f(.)g(.)h(.)f(.)46 b Fb(24)2025 299 y(reserv)n(ed)25
+(.)f(.)g(.)h(.)f(.)46 b Fb(25)2025 299 y(reserv)n(ed)25
b(w)n(ord)f Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
g(.)50 b Fb(3)2025 386 y(restricted)26 b(shell)8 b Fc(.)13
b(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)34
-b Fb(76)2025 473 y(return)25 b(status)19 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)
+b Fb(78)2025 473 y(return)25 b(status)19 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)
g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)45 b Fb(3)2025
707 y Fr(S)2025 823 y Fb(shell)26 b(arithmetic)12 b Fc(.)h(.)g(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
-f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 b Fb(70)2025 910 y(shell)26
+f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 b Fb(72)2025 910 y(shell)26
b(function)11 b Fc(.)i(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)37 b Fb(13)2025 997 y(shell)26 b(script)18 b Fc(.)13
+g(.)37 b Fb(14)2025 997 y(shell)26 b(script)18 b Fc(.)13
b(.)f(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)44
b Fb(32)2025 1084 y(shell)26 b(v)l(ariable)17 b Fc(.)c(.)g(.)f(.)g(.)h
g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)43 b Fb(15)2025 1172
y(shell,)26 b(in)n(teractiv)n(e)16 b Fc(.)d(.)g(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)h(.)f(.)42 b Fb(67)2025 1259 y(signal)14 b Fc(.)f(.)g(.)f(.)g(.)h
+g(.)h(.)f(.)42 b Fb(69)2025 1259 y(signal)14 b Fc(.)f(.)g(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)40
b Fb(4)2025 1346 y(signal)27 b(handling)18 b Fc(.)13
g(.)g(.)h(.)38 b Fb(4,)26 b(54)2025 1521 y(startup)f(\014les)20
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)45
-b Fb(65)2025 1608 y(susp)r(ending)25 b(jobs)7 b Fc(.)14
+b Fb(67)2025 1608 y(susp)r(ending)25 b(jobs)7 b Fc(.)14
b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
-(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)33 b Fb(81)2025
+(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)33 b Fb(83)2025
1858 y Fr(T)2025 1974 y Fb(tilde)26 b(expansion)19 b
Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)45
(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)
h(.)32 b Fb(15)2025 2601 y(v)l(ariables,)27 b(readline)7
b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f
-(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(89)2025
+(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(91)2025
2851 y Fr(W)2025 2967 y Fb(w)n(ord)10 b Fc(.)i(.)h(.)f(.)g(.)h(.)f(.)g
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)36
b Fb(22)2025 3304 y Fr(Y)2025 3421 y Fb(y)n(anking)25
b(text)7 b Fc(.)k(.)i(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h
(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
-g(.)33 b Fb(87)p eop end
+g(.)33 b Fb(89)p eop end
%%Trailer
userdict /end-hook known{end-hook}if
\entry{]]}{12}{\code {]]}}
\entry{{\tt \char 123}}{13}{\code {{\tt \char 123}}}
\entry{{\tt \char 125}}{13}{\code {{\tt \char 125}}}
-\entry{function}{13}{\code {function}}
+\entry{function}{14}{\code {function}}
\initial {F}
\entry {\code {fi}}{10}
\entry {\code {for}}{10}
-\entry {\code {function}}{13}
+\entry {\code {function}}{14}
\initial {I}
\entry {\code {if}}{10}
\entry {\code {in}}{11}
example, @code{SIGTSTP}.
@item
-Reserved words may not be aliased.
+Reserved words appearing in a context where reserved words are recognized
+do not undergo alias expansion.
@item
The @sc{posix} 1003.2 @env{PS1} and @env{PS2} expansions of @samp{!} to
redirection errors, variable assignment errors for assignments preceding
the command name, and so on.
-@item
-If the @code{cd} builtin finds a directory to change to
-using @env{$CDPATH}, the
-value it assigns to the @env{PWD} variable does not contain any
-symbolic links, as if @samp{cd -P} had been executed.
-
@item
If @env{CDPATH} is set, the @code{cd} builtin will not implicitly
append the current directory to it. This means that @code{cd} will
falling back to @var{physical} mode.
@item
-When the @code{pwd} builtin is supplied the @opt{-P} option, it resets
+When the @code{pwd} builtin is supplied the @option{-P} option, it resets
@code{$PWD} to a pathname containing no symlinks.
@item
of @cite{The GNU Bash Reference Manual},
for @code{Bash}, Version @value{VERSION}.
-Copyright @copyright{} 1988-2005 Free Software Foundation, Inc.
+Copyright @copyright{} 1988-2003 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
for the @sc{gnu} operating system.
The name is an acronym for the @samp{Bourne-Again SHell},
a pun on Stephen Bourne, the author of the direct ancestor of
-the current Unix shell @code{sh},
+the current Unix shell @code{/bin/sh},
which appeared in the Seventh Edition Bell Labs Research version
of Unix.
Like other @sc{gnu} software, Bash is quite portable. It currently runs
on nearly every version of Unix and a few other operating systems @minus{}
independently-supported ports exist for @sc{ms-dos}, @sc{os/2},
-and Windows platforms.
+Windows @sc{95/98}, and Windows @sc{nt}.
@node What is a shell?
@section What is a shell?
At its base, a shell is simply a macro processor that executes
-commands. The term macro processor means functionality where text
-and symbols are expanded to create larger expressions.
-
-A Unix shell is both a command interpreter and a programming
-language. As a command interpreter, the shell provides the user
-interface to the rich set of @sc{gnu} utilities. The programming
-language features allow these utilitites to be combined.
-Files containing commands can be created, and become
+commands. A Unix shell is both a command interpreter, which
+provides the user interface to the rich set of @sc{gnu} utilities,
+and a programming language, allowing these utilitites to be
+combined. Files containing commands can be created, and become
commands themselves. These new commands have the same status as
system commands in directories such as @file{/bin}, allowing users
-or groups to establish custom environments to automate their common
-tasks.
-
-Shells may be used interactively or non-interactively. In
-interactive mode, they accept input typed from the keyboard.
-When executing non-interactively, shells execute commands read
-from a file.
+or groups to establish custom environments.
A shell allows execution of @sc{gnu} commands, both synchronously and
asynchronously.
fine-grained control of the input and output of those commands.
Moreover, the shell allows control over the contents of commands'
environments.
+Shells may be used interactively or non-interactively: they accept
+input typed from the keyboard or from a file.
Shells also provide a small set of built-in
commands (@dfn{builtins}) implementing functionality impossible
Shells offer features geared specifically for
interactive use rather than to augment the programming language.
These interactive features include job control, command line
-editing, command history and aliases. Each of these features is
+editing, history and aliases. Each of these features is
described in this manual.
@node Definitions
The Bourne shell is
the traditional Unix shell originally written by Stephen Bourne.
All of the Bourne shell builtin commands are available in Bash,
-The rules for evaluation and quoting are taken from the @sc{posix}
-specification for the `standard' Unix shell.
+and the rules for evaluation and quoting are taken from the @sc{posix}
+1003.2 specification for the `standard' Unix shell.
This chapter briefly summarizes the shell's `building blocks':
commands, control structures, shell functions, shell @i{parameters},
Each of the shell metacharacters (@pxref{Definitions})
has special meaning to the shell and must be quoted if it is to
represent itself.
-When the command history expansion facilities are being used
-(@pxref{History Interaction}), the
+When the command history expansion facilities are being used, the
@var{history expansion} character, usually @samp{!}, must be quoted
to prevent history expansion. @xref{Bash History Facilities}, for
more details concerning history expansion.
Enclosing characters in double quotes (@samp{"}) preserves the literal value
of all characters within the quotes, with the exception of
-@samp{$}, @samp{`}, @samp{\},
-and, when history expansion is enabled, @samp{!}.
+@samp{$}, @samp{`}, and @samp{\}.
The characters @samp{$} and @samp{`}
retain their special meaning within double quotes (@pxref{Shell Expansions}).
The backslash retains its special meaning only when followed by one of
special meaning are left unmodified.
A double quote may be quoted within double quotes by preceding it with
a backslash.
-If enabled, history expansion will be performed unless an @samp{!}
-appearing in double quotes is escaped using a backslash.
-The backslash preceding the @samp{!} is not removed.
+When command history is being used, the double quote may not be used to
+quote the history expansion character.
The special parameters @samp{*} and @samp{@@} have special meaning
when in double quotes (@pxref{Shell Parameter Expansion}).
* Pipelines:: Connecting the input and output of several
commands.
* Lists:: How to execute commands sequentially.
-* Compound Commands:: Shell commands for control flow.
+* Looping Constructs:: Shell commands for iterative action.
+* Conditional Constructs:: Shell commands for conditional execution.
+* Command Grouping:: Ways to group commands.
@end menu
@node Simple Commands
Each command in a pipeline is executed in its own subshell
(@pxref{Command Execution Environment}). The exit
status of a pipeline is the exit status of the last command in the
-pipeline, unless the @code{pipefail} option is enabled
-(@pxref{The Set Builtin}).
-If @code{pipefail} is enabled, the pipeline's return status is the
-value of the last (rightmost) command to exit with a non-zero status,
-or zero if all commands exit successfully.
-If the reserved word @samp{!} precedes the pipeline, the
-exit status is the logical negation of the exit status as described
-above.
-The shell waits for all commands in the pipeline to terminate before
-returning a value.
+pipeline. If the reserved word @samp{!} precedes the pipeline, the
+exit status is the logical negation of the exit status of the last command.
@node Lists
@subsection Lists of Commands
@sc{and} and @sc{or} lists is the exit status of the last command
executed in the list.
-@node Compound Commands
-@subsection Compound Commands
-@cindex commands, compound
-
-@menu
-* Looping Constructs:: Shell commands for iterative action.
-* Conditional Constructs:: Shell commands for conditional execution.
-* Command Grouping:: Ways to group commands.
-@end menu
-
-Compound commands are the shell programming constructs.
-Each construct begins with a reserved word or control operator and is
-terminated by a corresponding reserved word or operator.
-Any redirections (@pxref{Redirections}) associated with a compound command
-apply to all commands within that compound command unless explicitly overridden.
-
-Bash provides looping constructs, conditional commands, and mechanisms
-to group commands and execute them as a unit.
-
@node Looping Constructs
-@subsubsection Looping Constructs
+@subsection Looping Constructs
@cindex commands, looping
Bash supports the following looping constructs.
may be used to control loop execution.
@node Conditional Constructs
-@subsubsection Conditional Constructs
+@subsection Conditional Constructs
@cindex commands, conditional
@table @code
Any part of the pattern may be quoted to force it to be matched as a
string.
-An additional binary operator, @samp{=~}, is available, with the same
-precedence as @samp{==} and @samp{!=}.
-When it is used, the string to the right of the operator is considered
-an extended regular expression and matched accordingly (as in @i{regex}3)).
-The return value is 0 if the string matches
-the pattern, and 1 otherwise.
-If the regular expression is syntactically incorrect, the conditional
-expression's return value is 2.
-If the shell option @code{nocaseglob}
-(see the description of @code{shopt} in @ref{Bash Builtins})
-is enabled, the match is performed without regard to the case
-of alphabetic characters.
-Substrings matched by parenthesized subexpressions within the regular
-expression are saved in the array variable @code{BASH_REMATCH}.
-The element of @code{BASH_REMATCH} with index 0 is the portion of the string
-matching the entire regular expression.
-The element of @code{BASH_REMATCH} with index @var{n} is the portion of the
-string matching the @var{n}th parenthesized subexpression.
-
Expressions may be combined using the following operators, listed
in decreasing order of precedence:
@end table
@node Command Grouping
-@subsubsection Grouping Commands
+@subsection Grouping Commands
@cindex commands, grouping
Bash provides two ways to group a list of commands to be executed
@end example
Placing a list of commands between parentheses causes a subshell
-environment to be created (@pxref{Command Execution Environment}), and each
-of the commands in @var{list} to be executed in that subshell. Since the
-@var{list} is executed in a subshell, variable assignments do not remain in
-effect after the subshell completes.
+to be created, and each of the commands in @var{list} to be executed
+in that subshell. Since the @var{list} is executed in a subshell,
+variable assignments do not remain in effect after the subshell completes.
@item @{@}
@rwindex @{
Functions are declared using this syntax:
@rwindex function
@example
-[ @code{function} ] @var{name} () @var{compound-command} [ @var{redirections} ]
+[ @code{function} ] @var{name} () @{ @var{command-list}; @}
@end example
This defines a shell function named @var{name}. The reserved
word @code{function} is optional.
If the @code{function} reserved
word is supplied, the parentheses are optional.
-The @var{body} of the function is the compound command
-@var{compound-command} (@pxref{Compound Commands}).
-That command is usually a @var{list} enclosed between @{ and @}, but
-may be any compound command listed above.
-@var{compound-command} is executed whenever @var{name} is specified as the
-name of a command.
-Any redirections (@pxref{Redirections}) associated with the shell function
-are performed when the function is executed.
-
-The exit status of a function definition is zero unless a syntax error
-occurs or a readonly function with the same name already exists.
-When executed, the exit status of a function is the exit status of the
-last command executed in the body.
-
-Note that for historical reasons, in the most common usage the curly braces
-that surround the body of the function must be separated from the body by
+The @var{body} of the function is the @var{command-list} between @{ and @}.
+This list is executed whenever @var{name} is specified as the
+name of a command. The exit status of a function is
+the exit status of the last command executed in the body.
+
+Note that for historical reasons, the curly braces that surround
+the body of the function must be separated from the body by
@code{blank}s or newlines.
This is because the braces are reserved words and are only recognized
as such when they are separated by whitespace.
-Also, when using the braces, the @var{list} must be terminated by a semicolon,
+Also, the @var{command-list} must be terminated by a semicolon,
a @samp{&}, or a newline.
When a function is executed, the arguments to the
during its execution (@pxref{Positional Parameters}).
The special parameter @samp{#} that expands to the number of
positional parameters is updated to reflect the change.
-Special parameter @code{0} is unchanged.
+Positional parameter @code{0} is unchanged.
The first element of the @env{FUNCNAME} variable is set to the
name of the function while the function is executing.
All other aspects of the shell execution
environment are identical between a function and its caller
-with the exception that the @env{DEBUG} and @env{RETURN} traps
-are not inherited unless the function has been given the
+with the exception that the @env{DEBUG} trap
+below) is not inherited unless the function has been given the
@code{trace} attribute using the @code{declare} builtin or
the @code{-o functrace} option has been enabled with
the @code{set} builtin,
-(in which case all functions inherit the @env{DEBUG} and @env{RETURN} traps).
+(in which case all functions inherit the @code{DEBUG} trap).
@xref{Bourne Shell Builtins}, for the description of the
@code{trap} builtin.
of @code{"$@@"} as explained below.
Filename expansion is not performed.
Assignment statements may also appear as arguments to the
-@code{alias},
@code{declare}, @code{typeset}, @code{export}, @code{readonly},
and @code{local} builtin commands.
-In the context where an assignment statement is assigning a value
-to a shell variable or array index (@pxref{Arrays}), the @samp{+=}
-operator can be used to
-append to or add to the variable's previous value.
-When @samp{+=} is applied to a variable for which the integer attribute
-has been set, @var{value} is evaluated as an arithmetic expression and
-added to the variable's current value, which is also evaluated.
-When @samp{+=} is applied to an array variable using compound assignment
-(@pxref{Arrays}), the
-variable's value is not unset (as it is when using @samp{=}), and new
-values are appended to the array beginning at one greater than the array's
-maximum index.
-When applied to a string-valued variable, @var{value} is expanded and
-appended to the variable's value.
-
@node Positional Parameters
@subsection Positional Parameters
@cindex parameters, positional
expansion occurs within double quotes, each parameter expands to a
separate word. That is, @code{"$@@"} is equivalent to
@code{"$1" "$2" @dots{}}.
-If the double-quoted expansion occurs within a word, the expansion of
-the first parameter is joined with the beginning part of the original
-word, and the expansion of the last parameter is joined with the last
-part of the original word.
When there are no positional parameters, @code{"$@@"} and
@code{$@@}
expand to nothing (i.e., they are removed).
@item _
(An underscore.)
-At shell startup, set to the absolute pathname used to invoke the
-shell or shell script being executed as passed in the environment
-or argument list.
+At shell startup, set to the absolute filename of the shell or shell
+script being executed as passed in the argument list.
Subsequently, expands to the last argument to the previous command,
after expansion.
-Also set to the full pathname used to invoke each command executed
-and placed in the environment exported to that command.
+Also set to the full pathname of each command executed and placed in
+the environment exported to that command.
When checking mail, this parameter holds the name of the mail file.
@end vtable
left unchanged.
Each variable assignment is checked for unquoted tilde-prefixes immediately
-following a @samp{:} or the first @samp{=}.
+following a @samp{:} or @samp{=}.
In these cases, tilde expansion is also performed.
Consequently, one may use file names with tildes in assignments to
@env{PATH}, @env{MAILPATH}, and @env{CDPATH},
If @var{parameter}
is unset or null, the expansion of @var{word}
is assigned to @var{parameter}.
-The value of @var{parameter} is then substituted.
-Positional parameters and special parameters may not be assigned to
-in this way.
+The value of @var{parameter}
+is then substituted. Positional parameters and special parameters may
+not be assigned to in this way.
@item $@{@var{parameter}:?@var{word}@}
If @var{parameter}
If @var{parameter} is an array name indexed by @samp{@@} or @samp{*},
the result is the @var{length}
members of the array beginning with @code{$@{@var{parameter}[@var{offset}]@}}.
-A negative @var{offset} is taken relative to one greater than the maximum
-index of the specified array.
-Note that a negative offset must be separated from the colon by at least
-one space to avoid being confused with the @samp{:-} expansion.
Substring indexing is zero-based unless the positional parameters
are used, in which case the indexing starts at 1.
unchanged.
If the @code{nullglob} option is set, and no matches are found, the word
is removed.
-If the @code{failglob} shell option is set, and no matches are found,
-an error message is printed and the command is not executed.
If the shell option @code{nocaseglob} is enabled, the match is performed
without regard to the case of alphabetic characters.
See the description of @code{shopt} in @ref{Bash Builtins},
for a description of the @code{nocaseglob}, @code{nullglob},
-@code{failglob}, and @code{dotglob} options.
+and @code{dotglob} options.
The @env{GLOBIGNORE}
shell variable may be used to restrict the set of filenames matching a
Matches one or more occurrences of the given patterns.
@item @@(@var{pattern-list})
-Matches one of the given patterns.
+Matches exactly one of the given patterns.
@item !(@var{pattern-list})
Matches anything except one of the given patterns.
A failure to open or create a file causes the redirection to fail.
-Redirections using file descriptors greater than 9 should be used with
-care, as they may conflict with file descriptors the shell uses
-internally.
-
@subsection Redirecting Input
Redirection of input causes the file whose name results from
the expansion of @var{word}
A command invoked in this separate environment cannot affect the
shell's execution environment.
-Command substitution, commands grouped with parentheses,
-and asynchronous commands are invoked in a
+Command substitution and asynchronous commands are invoked in a
subshell environment that is a duplicate of the shell environment,
except that traps caught by the shell are reset to the values
that the shell inherited from its parent at invocation. Builtin
If job control is in effect (@pxref{Job Control}), Bash
ignores @code{SIGTTIN}, @code{SIGTTOU}, and @code{SIGTSTP}.
-Non-builtin commands started by Bash have signal handlers set to the
+Commands started by Bash have signal handlers set to the
values inherited by the shell from its parent.
When job control is not in effect, asynchronous commands
-ignore @code{SIGINT} and @code{SIGQUIT} in addition to these inherited
-handlers.
+ignore @code{SIGINT} and @code{SIGQUIT} as well.
Commands run as a result of
command substitution ignore the keyboard-generated job control signals
@code{SIGTTIN}, @code{SIGTTOU}, and @code{SIGTSTP}.
(@pxref{Bash Builtins}), Bash sends a @code{SIGHUP} to all jobs when
an interactive login shell exits.
-If Bash is waiting for a command to complete and receives a signal
-for which a trap has been set, the trap will not be executed until
-the command completes.
+When Bash receives a signal for which a trap has been set while waiting
+for a command to complete, the trap will not be executed until the
+command completes.
When Bash is waiting for an asynchronous
command via the @code{wait} builtin, the reception of a signal for
which a trap has been set will cause the @code{wait} builtin to return
Many of the builtins have been extended by @sc{posix} or Bash.
-Unless otherwise noted, each builtin command documented as accepting
-options preceded by @samp{-} accepts @samp{--}
-to signify the end of the options.
-
@node Bourne Shell Builtins
@section Bourne Shell Builtins
@example
cd [-L|-P] [@var{directory}]
@end example
-Change the current working directory to @var{directory}.
-If @var{directory} is not given, the value of the @env{HOME} shell
-variable is used.
-If the shell variable @env{CDPATH} exists, it is used as a search path.
-If @var{directory} begins with a slash, @env{CDPATH} is not used.
-
-The @option{-P} option means to not follow symbolic links; symbolic
-links are followed by default or with the @option{-L} option.
+Change the current working directory to @var{directory}. If @var{directory}
+is not given, the value of the @env{HOME} shell variable is used. If the
+shell variable @env{CDPATH} exists, it is used as a search path. If
+@var{directory} begins with a slash, @env{CDPATH} is not used.
+The @option{-P} option means
+to not follow symbolic links; symbolic links are followed by default
+or with the @option{-L} option.
If @var{directory} is @samp{-}, it is equivalent to @env{$OLDPWD}.
-
-If a non-empty directory name from @env{CDPATH} is used, or if
-@samp{-} is the first argument, and the directory change is
-successful, the absolute pathname of the new working directory is
-written to the standard output.
-
The return status is zero if the directory is successfully changed,
non-zero otherwise.
trap [-lp] [@var{arg}] [@var{sigspec} @dots{}]
@end example
The commands in @var{arg} are to be read and executed when the
-shell receives signal @var{sigspec}. If @var{arg} is absent (and
-there is a single @var{sigspec}) or
-equal to @samp{-}, each specified signal's disposition is reset
-to the value it had when the shell was started.
+shell receives signal @var{sigspec}. If @var{arg} is absent or
+equal to @samp{-}, all specified signals are reset to the values
+they had when the shell was started.
If @var{arg} is the null string, then the signal specified by
each @var{sigspec} is ignored by the shell and commands it invokes.
If @var{arg} is not present and @option{-p} has been supplied,
shell input.
The @option{-l} option causes the shell to print a list of signal names
and their corresponding numbers.
-Each @var{sigspec} is either a signal name or a signal number.
-Signal names are case insensitive and the @code{SIG} prefix is optional.
+
+Each @var{sigspec} is either a signal name such as @code{SIGINT} (with
+or without the @code{SIG} prefix) or a signal number.
If a @var{sigspec}
is @code{0} or @code{EXIT}, @var{arg} is executed when the shell exits.
If a @var{sigspec} is @code{DEBUG}, the command @var{arg} is executed
@code{shopt} builtin (@pxref{Bash Builtins}) for details of its
effect on the @code{DEBUG} trap.
If a @var{sigspec} is @code{ERR}, the command @var{arg}
-is executed whenever a simple command has a non-zero exit status,
-subject to the following conditions.
+is executed whenever a simple command has a non-zero exit status.
The @code{ERR} trap is not executed if the failed command is part of the
command list immediately following an @code{until} or @code{while} keyword,
part of the test in an @code{if} statement,
part of a @code{&&} or @code{||} list, or if the command's return
status is being inverted using @code{!}.
-These are the same conditions obeyed by the @code{errexit} option.
If a @var{sigspec} is @code{RETURN}, the command @var{arg} is executed
each time a shell function or a script executed with the @code{.} or
@code{source} builtins finishes executing.
caller [@var{expr}]
@end example
Returns the context of any active subroutine call (a shell function or
-a script executed with the @code{.} or @code{source} builtins).
+a script executed with the @code{.} or @code{source} builtins.
Without @var{expr}, @code{caller} displays the line number and source
filename of the current subroutine call.
@item -t
Give each @var{name} the @code{trace} attribute.
-Traced functions inherit the @code{DEBUG} and @code{RETURN} traps from
-the calling shell.
+Traced functions inherit the @code{DEBUG} trap from the calling shell.
The trace attribute has no special meaning for variables.
@item -x
@var{argument}.
In addition to the standard @code{printf(1)} formats, @samp{%b} causes
@code{printf} to expand backslash escape sequences in the corresponding
-@var{argument},
-(except that @samp{\c} terminates output, backslashes in
-@samp{\'}, @samp{\"}, and @samp{\?} are not removed, and octal escapes
-beginning with @samp{\0} may contain up to four digits),
-and @samp{%q} causes @code{printf} to output the
+@var{argument}, and @samp{%q} causes @code{printf} to output the
corresponding @var{argument} in a format that can be reused as shell input.
The @var{format} is reused as necessary to consume all of the @var{arguments}.
shell is executing in a subroutine (a shell function or a shell script
executed by the @code{.} or @code{source} builtins), a call to
@code{return} is simulated.
-
-@item
-@code{BASH_ARGC} and @code{BASH_ARGV} are updated as described in their
-descriptions (@pxref{Bash Variables}).
-
-@item
-Function tracing is enabled: command substitution, shell functions, and
-subshells invoked with @code{( @var{command} )} inherit the
-@code{DEBUG} and @code{RETURN} traps.
-
-@item
-Error tracing is enabled: command substitution, shell functions, and
-subshells invoked with @code{( @var{command} )} inherit the
-@code{ERROR} trap.
@end enumerate
@item extglob
performed within @code{$@{@var{parameter}@}} expansions
enclosed in double quotes. This option is enabled by default.
-@item failglob
-If set, patterns which fail to match filenames during pathname expansion
-result in an expansion error.
-
-@item force_fignore
-If set, the suffixes specified by the @env{FIGNORE} shell variable
-cause words to be ignored when performing word completion even if
-the ignored words are the only possible completions.
-@xref{Bash Variables}, for a description of @env{FIGNORE}.
-This option is enabled by default.
-
-@item gnu_errfmt
-If set, shell error messages are written in the standard @sc{gnu} error
-message format.
-
@item histappend
If set, the history list is appended to the file named by the value
of the @env{HISTFILE}
This option is enabled by default.
@item promptvars
-If set, prompt strings undergo
-parameter expansion, command substitution, arithmetic
-expansion, and quote removal after being expanded
-as described below (@pxref{Printing a Prompt}).
+If set, prompt strings undergo variable and parameter expansion after
+being expanded (@pxref{Printing a Prompt}).
This option is enabled by default.
@item restricted_shell
If no options or arguments are supplied, @code{set} displays the names
and values of all shell variables and functions, sorted according to the
-current locale, in a format that may be reused as input
-for setting or resetting the currently-set variables.
-Read-only variables cannot be reset.
-In @sc{posix} mode, only shell variables are listed.
+current locale, in a format that may be reused as input.
When options are supplied, they set or unset shell attributes.
Options, if specified, have the following meanings:
@item physical
Same as @code{-P}.
-@item pipefail
-If set, the return value of a pipeline is the value of the last
-(rightmost) command to exit with a non-zero status, or zero if all
-commands in the pipeline exit successfully.
-This option is disabled by default.
-
@item posix
Change the behavior of Bash where the default operation differs
from the @sc{posix} 1003.2 standard to match the standard
@end example
@item -T
-If set, any trap on @code{DEBUG} and @code{RETURN} are inherited by
-shell functions, command substitutions, and commands executed
-in a subshell environment.
-The @code{DEBUG} and @code{RETURN} traps are normally not inherited
-in such cases.
+If set, any trap on @code{DEBUG} is inherited by shell functions, command
+substitutions, and commands executed in a subshell environment.
+The @code{DEBUG} trap is normally not inherited in such cases.
@item --
If no arguments follow this option, then the positional parameters are
with @code{.} or @code{source}) is at the top of the stack. When a
subroutine is executed, the number of parameters passed is pushed onto
@code{BASH_ARGC}.
-The shell sets @code{BASH_ARGC} only when in extended debugging mode
-(see @ref{Bash Builtins}
-for a description of the @code{extdebug} option to the @code{shopt}
-builtin).
@item BASH_ARGV
An array variable containing all of the parameters in the current bash
is at the top of the stack; the first parameter of the initial call is
at the bottom. When a subroutine is executed, the parameters supplied
are pushed onto @code{BASH_ARGV}.
-The shell sets @code{BASH_ARGV} only when in extended debugging mode
-(see @ref{Bash Builtins}
-for a description of the @code{extdebug} option to the @code{shopt}
-builtin).
@item BASH_COMMAND
The command currently being executed or about to be executed, unless the
An array variable whose members are the line numbers in source files
corresponding to each member of @var{FUNCNAME}.
@code{$@{BASH_LINENO[$i]@}} is the line number in the source file where
-@code{$@{FUNCNAME[$i]@}} was called.
-The corresponding source file name is @code{$@{BASH_SOURCE[$i]@}}.
+@code{$@{FUNCNAME[$i + 1]@}} was called.
+The corresponding source file name is @code{$@{BASH_SOURCE[$i + 1]@}}.
Use @code{LINENO} to obtain the current line number.
-@item BASH_REMATCH
-An array variable whose members are assigned by the @samp{=~} binary
-operator to the @code{[[} conditional command
-(@pxref{Conditional Constructs}).
-The element with index 0 is the portion of the string
-matching the entire regular expression.
-The element with index @var{n} is the portion of the
-string matching the @var{n}th parenthesized subexpression.
-This variable is read-only.
-
@item BASH_SOURCE
An array variable whose members are the source filenames corresponding
to the elements in the @code{FUNCNAME} array variable.
The maximum number of commands to remember on the history list.
The default value is 500.
-@item HISTTIMEFORMAT
-If this variable is set and not null, its value is used as a format string
-for @var{strftime} to print the time stamp associated with each history
-entry displayed by the @code{history} builtin.
-If this variable is set, time stamps are written to the history file so
-they may be preserved across shell sessions.
-
@item HOSTFILE
Contains the name of a file in the same format as @file{/etc/hosts} that
should be read when the shell needs to complete a hostname.
becomes the value assigned plus the number of seconds
since the assignment.
-@item SHELL
-The full pathname to the shell is kept in this environment variable.
-If it is not set when the shell starts,
-Bash assigns to it the full pathname of the current user's login shell.
-
@item SHELLOPTS
A colon-separated list of enabled shell options. Each word in
the list is a valid argument for the @option{-o} option to the
@item --dump-po-strings
A list of all double-quoted strings preceded by @samp{$}
-is printed on the standard output
+is printed on the standard ouput
in the @sc{gnu} @code{gettext} PO (portable object) file format.
Equivalent to @option{-D} except for the output format.
@item -D
A list of all double-quoted strings preceded by @samp{$}
-is printed on the standard output.
+is printed on the standard ouput.
These are the strings that
are subject to language translation when the current locale
is not @code{C} or @code{POSIX} (@pxref{Locale Translation}).
An interactive shell
is one started without non-option arguments, unless @option{-s} is
specified, without specifiying the @option{-c} option, and
-whose input and error output are both
+whose input and output are both
connected to terminals (as determined by @code{isatty(3)}),
or one started with the @option{-i} option.
@file{/dev/stdin}, @file{/dev/stdout}, or @file{/dev/stderr}, file
descriptor 0, 1, or 2, respectively, is checked.
-Unless otherwise specified, primaries that operate on files follow symbolic
-links and operate on the target of the link, rather than the link itself.
-
@table @code
@item -a @var{file}
True if @var{file} exists.
The digits greater than 9 are represented by the lowercase letters,
the uppercase letters, @samp{@@}, and @samp{_}, in that order.
If @var{base} is less than or equal to 36, lowercase and uppercase
-letters may be used interchangeably to represent numbers between 10
+letters may be used interchangably to represent numbers between 10
and 35.
Operators are evaluated in order of precedence. Sub-expressions in
The first word of each simple command, if unquoted, is checked to see
if it has an alias.
If so, that word is replaced by the text of the alias.
-The characters @samp{/}, @samp{$}, @samp{`}, @samp{=} and any of the
-shell metacharacters or quoting characters listed above may not appear
-in an alias name.
-The replacement text may contain any valid
-shell input, including shell metacharacters.
+The alias name and the replacement text may contain any valid
+shell input, including shell metacharacters, with the exception
+that the alias name may not contain @samp{=}.
The first word of the replacement text is tested for
aliases, but a word that is identical to an alias being expanded
-is not expanded a second time.
-This means that one may alias @code{ls} to @code{"ls -F"},
+is not expanded a second time. This means that one may alias
+@code{ls} to @code{"ls -F"},
for instance, and Bash does not try to recursively expand the
replacement text. If the last character of the alias value is a
space or tab character, then the next command word following the
conflicts with the shell's filename expansion operators. If the
@var{subscript} is @samp{@@} or @samp{*}, the word expands to all members
of the array @var{name}. These subscripts differ only when the word
-appears within double quotes.
-If the word is double-quoted,
+appears within double quotes. If the word is double-quoted,
@code{$@{name[*]@}} expands to a single word with
the value of each array member separated by the first character of the
@env{IFS} variable, and @code{$@{name[@@]@}} expands each element of
@var{name} to a separate word. When there are no array members,
-@code{$@{name[@@]@}} expands to nothing.
-If the double-quoted expansion occurs within a word, the expansion of
-the first parameter is joined with the beginning part of the original
-word, and the expansion of the last parameter is joined with the last
-part of the original word.
-This is analogous to the
+@code{$@{name[@@]@}} expands to nothing. This is analogous to the
expansion of the special parameters @samp{@@} and @samp{*}.
@code{$@{#name[}@var{subscript}@code{]@}} expands to the length of
@code{$@{name[}@var{subscript}@code{]@}}.
@item \V
The release of Bash, version + patchlevel (e.g., 2.00.0)
@item \w
-The current working directory, with @env{$HOME} abbreviated with a tilde.
+The current working directory.
@item \W
-The basename of @env{$PWD}, with @env{$HOME} abbreviated with a tilde.
+The basename of @env{$PWD}.
@item \!
The history number of this command.
@item \#
and parameter expansion is performed on the values of @env{PS1} and
@env{PS2} regardless of the setting of the @code{promptvars} option.
+@item
+Interactive comments are enabled by default. (Bash has them on by
+default anyway.)
+
@item
The @sc{posix} 1003.2 startup files are executed (@env{$ENV}) rather than
the normal Bash files.
@item
The output of @samp{kill -l} prints all the signal names on a single line,
-separated by spaces, without the @samp{SIG} prefix.
-
-@item
-The @code{kill} builtin does not accept signal names with a @samp{SIG}
-prefix.
+separated by spaces.
@item
Non-interactive shells exit if @var{filename} in @code{.} @var{filename}
The @code{trap} builtin displays signal names without the leading
@code{SIG}.
-@item
-The @code{trap} builtin doesn't check the first argument for a possible
-signal specification and revert the signal handling to the original
-disposition if it is, unless that argument consists solely of digits and
-is a valid signal number. If users want to reset the handler for a given
-signal to the original disposition, they should use @samp{-} as the
-first argument.
-
@item
The @code{.} and @code{source} builtins do not search the current directory
for the filename argument if it is not found by searching @env{PATH}.
@item
Alias expansion is always enabled, even in non-interactive shells.
-@item
-When the @code{alias} builtin displays alias definitions, it does not
-display them with a leading @samp{alias } unless the @option{-p} option
-is supplied.
-
@item
When the @code{set} builtin is invoked without options, it does not display
shell function names and definitions.
constructed from @code{$PWD} and the directory name supplied as an argument
does not refer to an existing directory, @code{cd} will fail instead of
falling back to @var{physical} mode.
-
-@item
-When the @code{pwd} builtin is supplied the @opt{-P} option, it resets
-@code{$PWD} to a pathname containing no symlinks.
-
-@item
-When listing the history, the @code{fc} builtin does not include an
-indication of whether or not a history entry has been modified.
-
-@item
-The default editor used by @code{fc} is @code{ed}.
-
-@item
-The @code{type} and @code{command} builtins will not report a non-executable
-file as having been found, though the shell will attempt to execute such a
-file if it is the only so-named file found in @code{$PATH}.
-
-@item
-When the @code{xpg_echo} option is enabled, Bash does not attempt to interpret
-any arguments to @code{echo} as options. Each argument is displayed, after
-escape characters are converted.
-
@end enumerate
There is other @sc{posix} 1003.2 behavior that Bash does not implement.
character @samp{%} introduces a job name.
Job number @code{n} may be referred to as @samp{%n}.
-The symbols @samp{%%} and @samp{%+} refer to the shell's notion of the
-current job, which is the last job stopped while it was in the foreground
-or started in the background.
-A single @samp{%} (with no accompanying job specification) also refers
-to the current job.
-The previous job may be referenced using @samp{%-}. In output
+The symbols @samp{%%} and
+@samp{%+} refer to the shell's notion of the current job, which
+is the last job stopped while it was in the foreground or started
+in the background. The
+previous job may be referenced using @samp{%-}. In output
pertaining to jobs (e.g., the output of the @code{jobs} command),
the current job is always flagged with a @samp{+}, and the
previous job with a @samp{-}.
Any trap on @code{SIGCHLD} is executed for each child process
that exits.
-If an attempt to exit Bash is made while jobs are stopped, the
+If an attempt to exit Bash is while jobs are stopped, the
shell prints a message warning that there are stopped jobs.
The @code{jobs} command may then be used to inspect their status.
If a second attempt to exit is made without an intervening command,
@item bg
@btindex bg
@example
-bg [@var{jobspec} @dots{}]
+bg [@var{jobspec}]
@end example
-Resume each suspended job @var{jobspec} in the background, as if it
+Resume the suspended job @var{jobspec} in the background, as if it
had been started with @samp{&}.
If @var{jobspec} is not supplied, the current job is used.
The return status is zero unless it is run when job control is not
-enabled, or, when run with job control enabled, if the last
-@var{jobspec} was not found or the last @var{jobspec} specifies a job
-that was started without job control.
+enabled, or, when run with job control enabled, if @var{jobspec} was
+not found or @var{jobspec} specifies a job that was started without
+job control.
@item fg
@btindex fg
@end example
Send a signal specified by @var{sigspec} or @var{signum} to the process
named by job specification @var{jobspec} or process @sc{id} @var{pid}.
-@var{sigspec} is either a case-insensitive signal name such as
-@code{SIGINT} (with or without the @code{SIG} prefix)
-or a signal number; @var{signum} is a signal number.
+@var{sigspec} is either a signal name such as @code{SIGINT} (with or without
+the @code{SIG} prefix) or a signal number; @var{signum} is a signal number.
If @var{sigspec} and @var{signum} are not present, @code{SIGTERM} is used.
The @option{-l} option lists the signal names.
If any arguments are supplied when @option{-l} is given, the names of the
@item wait
@btindex wait
@example
-wait [@var{jobspec} or @var{pid} ...]
+wait [@var{jobspec} or @var{pid}]
@end example
-Wait until the child process specified by each process @sc{id} @var{pid}
-or job specification @var{jobspec} exits and return the exit status of the
-last command waited for.
+Wait until the child process specified by process @sc{id} @var{pid} or job
+specification @var{jobspec} exits and return the exit status of the last
+command waited for.
If a job spec is given, all processes in the job are waited for.
If no arguments are given, all currently active child processes are
waited for, and the return status is zero.
@sc{gnu} operating systems, nearly every version of Unix, and several
non-Unix systems such as BeOS and Interix.
Other independent ports exist for
-@sc{ms-dos}, @sc{os/2}, and Windows platforms.
+@sc{ms-dos}, @sc{os/2}, Windows @sc{95/98}, and Windows @sc{nt}.
@menu
* Basic Installation:: Installation instructions.
@item --with-installed-readline[=@var{PREFIX}]
Define this to make Bash link with a locally-installed version of Readline
rather than the version in @file{lib/readline}. This works only with
-Readline 5.0 and later versions. If @var{PREFIX} is @code{yes} or not
+Readline 4.3 and later versions. If @var{PREFIX} is @code{yes} or not
supplied, @code{configure} uses the values of the make variables
@code{includedir} and @code{libdir}, which are subdirectories of @code{prefix}
by default, to find the installed version of Readline if it is not in
This allows pipelines as well as shell builtins and functions to be timed.
@item --enable-cond-command
-Include support for the @code{[[} conditional command.
-(@pxref{Conditional Constructs}).
-
-@item --enable-cond-regexp
-Include support for matching POSIX regular expressions using the
-@samp{=~} binary operator in the @code{[[} conditional command.
+Include support for the @code{[[} conditional command
(@pxref{Conditional Constructs}).
-@item --enable-debugger
-Include support for the bash debugger (distributed separately).
-
@item --enable-directory-stack
Include support for a @code{csh}-like directory stack and the
@code{pushd}, @code{popd}, and @code{dirs} builtins
This enables process substitution (@pxref{Process Substitution}) if
the operating system provides the necessary support.
-@item --enable-progcomp
-Enable the programmable completion facilities
-(@pxref{Programmable Completion}).
-If Readline is not enabled, this option has no effect.
-
@item --enable-prompt-string-decoding
Turn on the interpretation of a number of backslash-escaped characters
in the @env{$PS1}, @env{$PS2}, @env{$PS3}, and @env{$PS4} prompt
strings. See @ref{Printing a Prompt}, for a complete list of prompt
string escape sequences.
+@item --enable-progcomp
+Enable the programmable completion facilities
+(@pxref{Programmable Completion}).
+If Readline is not enabled, this option has no effect.
+
@item --enable-readline
Include support for command-line editing and history with the Bash
version of the Readline library (@pxref{Command Line Editing}).
Include the @code{select} builtin, which allows the generation of simple
menus (@pxref{Conditional Constructs}).
-@item --enable-separate-helpfiles
-Use external files for the documentation displayed by the @code{help} builtin
-instead of storing the text internally.
-
-@item --enable-single-help-strings
-Store the text displayed by the @code{help} builtin as a single string for
-each help topic. This aids in translating the text to different languages.
-You may need to disable this if your compiler cannot handle very long string
-literals.
-
@item --enable-usg-echo-default
A synonym for @code{--enable-xpg-echo-default}.
without requiring the @option{-e} option.
This sets the default value of the @code{xpg_echo} shell option to @code{on},
which makes the Bash @code{echo} behave more like the version specified in
-the Single Unix Specification, version 3.
+the Single Unix Specification, version 2.
@xref{Bash Builtins}, for a description of the escape sequences that
@code{echo} recognizes.
@item
Bash has command history (@pxref{Bash History Facilities}) and the
@code{history} and @code{fc} builtins to manipulate it.
-The Bash history list maintains timestamp information and uses the
-value of the @code{HISTTIMEFORMAT} variable to display it.
@item
Bash implements @code{csh}-like history expansion
Bash has much more optional behavior controllable with the @code{set}
builtin (@pxref{The Set Builtin}).
-@item
-The @samp{-x} (@code{xtrace}) option displays commands other than
-simple commands when performing an execution trace
-(@pxref{The Set Builtin}).
-
@item
The @code{test} builtin (@pxref{Bourne Shell Builtins})
is slightly different, as it implements the @sc{posix} algorithm,
which specifies the behavior based on the number of arguments.
-@item
-Bash includes the @code{caller} builtin, which displays the context of
-any active subroutine call (a shell function or a script executed with
-the @code{.} or @code{source} builtins). This supports the bash
-debugger.
-
@item
The @code{trap} builtin (@pxref{Bourne Shell Builtins}) allows a
@code{DEBUG} pseudo-signal specification, similar to @code{EXIT}.
Commands specified with an @code{RETURN} trap are executed before
execution resumes after a shell function or a shell script executed with
@code{.} or @code{source} returns.
-The @code{RETURN} trap is not inherited by shell functions unless the
-function has been given the @code{trace} attribute or the
-@code{functrace} option has been enabled using the @code{shopt} builtin.
+The @code{RETURN} trap is not inherited by shell functions.
@item
The Bash @code{type} builtin is more extensive and gives more information
\subsubsecentry{Conditional Constructs}{3}{2}{4}{2}{10}
\subsubsecentry{Grouping Commands}{3}{2}{4}{3}{13}
\secentry{Shell Functions}{3}{3}{13}
-\secentry{Shell Parameters}{3}{4}{14}
+\secentry{Shell Parameters}{3}{4}{15}
\subsecentry{Positional Parameters}{3}{4}{1}{15}
-\subsecentry{Special Parameters}{3}{4}{2}{15}
-\secentry{Shell Expansions}{3}{5}{16}
+\subsecentry{Special Parameters}{3}{4}{2}{16}
+\secentry{Shell Expansions}{3}{5}{17}
\subsecentry{Brace Expansion}{3}{5}{1}{17}
\subsecentry{Tilde Expansion}{3}{5}{2}{18}
-\subsecentry{Shell Parameter Expansion}{3}{5}{3}{18}
+\subsecentry{Shell Parameter Expansion}{3}{5}{3}{19}
\subsecentry{Command Substitution}{3}{5}{4}{21}
-\subsecentry{Arithmetic Expansion}{3}{5}{5}{21}
+\subsecentry{Arithmetic Expansion}{3}{5}{5}{22}
\subsecentry{Process Substitution}{3}{5}{6}{22}
\subsecentry{Word Splitting}{3}{5}{7}{22}
-\subsecentry{Filename Expansion}{3}{5}{8}{22}
+\subsecentry{Filename Expansion}{3}{5}{8}{23}
\subsubsecentry{Pattern Matching}{3}{5}{8}{1}{23}
\subsecentry{Quote Removal}{3}{5}{9}{24}
\secentry{Redirections}{3}{6}{24}
\subsecentry{Opening File Descriptors for Reading and Writing}{3}{6}{9}{28}
\secentry{Executing Commands}{3}{7}{28}
\subsecentry{Simple Command Expansion}{3}{7}{1}{28}
-\subsecentry{Command Search and Execution}{3}{7}{2}{28}
+\subsecentry{Command Search and Execution}{3}{7}{2}{29}
\subsecentry{Command Execution Environment}{3}{7}{3}{29}
\subsecentry{Environment}{3}{7}{4}{30}
\subsecentry{Exit Status}{3}{7}{5}{31}
\secentry{Bourne Shell Builtins}{4}{1}{33}
\secentry{Bash Builtin Commands}{4}{2}{39}
\secentry{The Set Builtin}{4}{3}{50}
-\secentry{Special Builtins}{4}{4}{53}
+\secentry{Special Builtins}{4}{4}{54}
\chapentry{Shell Variables}{5}{55}
\secentry{Bourne Shell Variables}{5}{1}{55}
\secentry{Bash Variables}{5}{2}{55}
-\chapentry{Bash Features}{6}{63}
-\secentry{Invoking Bash}{6}{1}{63}
-\secentry{Bash Startup Files}{6}{2}{65}
-\secentry{Interactive Shells}{6}{3}{67}
-\subsecentry{What is an Interactive Shell?}{6}{3}{1}{67}
-\subsecentry{Is this Shell Interactive?}{6}{3}{2}{67}
-\subsecentry{Interactive Shell Behavior}{6}{3}{3}{67}
-\secentry{Bash Conditional Expressions}{6}{4}{68}
-\secentry{Shell Arithmetic}{6}{5}{70}
-\secentry{Aliases}{6}{6}{71}
-\secentry{Arrays}{6}{7}{72}
-\secentry{The Directory Stack}{6}{8}{73}
-\subsecentry{Directory Stack Builtins}{6}{8}{1}{73}
-\secentry{Controlling the Prompt}{6}{9}{74}
-\secentry{The Restricted Shell}{6}{10}{76}
-\secentry{Bash POSIX Mode}{6}{11}{76}
-\chapentry{Job Control}{7}{81}
-\secentry{Job Control Basics}{7}{1}{81}
-\secentry{Job Control Builtins}{7}{2}{82}
-\secentry{Job Control Variables}{7}{3}{83}
-\chapentry{Command Line Editing}{8}{85}
-\secentry{Introduction to Line Editing}{8}{1}{85}
-\secentry{Readline Interaction}{8}{2}{85}
-\subsecentry{Readline Bare Essentials}{8}{2}{1}{85}
-\subsecentry{Readline Movement Commands}{8}{2}{2}{86}
-\subsecentry{Readline Killing Commands}{8}{2}{3}{86}
-\subsecentry{Readline Arguments}{8}{2}{4}{87}
-\subsecentry{Searching for Commands in the History}{8}{2}{5}{87}
-\secentry{Readline Init File}{8}{3}{88}
-\subsecentry{Readline Init File Syntax}{8}{3}{1}{88}
-\subsecentry{Conditional Init Constructs}{8}{3}{2}{93}
-\subsecentry{Sample Init File}{8}{3}{3}{94}
-\secentry{Bindable Readline Commands}{8}{4}{97}
-\subsecentry{Commands For Moving}{8}{4}{1}{97}
-\subsecentry{Commands For Manipulating The History}{8}{4}{2}{97}
-\subsecentry{Commands For Changing Text}{8}{4}{3}{99}
-\subsecentry{Killing And Yanking}{8}{4}{4}{100}
-\subsecentry{Specifying Numeric Arguments}{8}{4}{5}{101}
-\subsecentry{Letting Readline Type For You}{8}{4}{6}{101}
-\subsecentry{Keyboard Macros}{8}{4}{7}{102}
-\subsecentry{Some Miscellaneous Commands}{8}{4}{8}{103}
-\secentry{Readline vi Mode}{8}{5}{105}
-\secentry{Programmable Completion}{8}{6}{105}
-\secentry{Programmable Completion Builtins}{8}{7}{107}
-\chapentry{Using History Interactively}{9}{111}
-\secentry{Bash History Facilities}{9}{1}{111}
-\secentry{Bash History Builtins}{9}{2}{111}
-\secentry{History Expansion}{9}{3}{113}
-\subsecentry{Event Designators}{9}{3}{1}{113}
-\subsecentry{Word Designators}{9}{3}{2}{114}
-\subsecentry{Modifiers}{9}{3}{3}{115}
-\chapentry{Installing Bash}{10}{117}
-\secentry{Basic Installation}{10}{1}{117}
-\secentry{Compilers and Options}{10}{2}{117}
-\secentry{Compiling For Multiple Architectures}{10}{3}{118}
-\secentry{Installation Names}{10}{4}{118}
-\secentry{Specifying the System Type}{10}{5}{118}
-\secentry{Sharing Defaults}{10}{6}{119}
-\secentry{Operation Controls}{10}{7}{119}
-\secentry{Optional Features}{10}{8}{119}
-\appendixentry{Reporting Bugs}{A}{125}
-\appendixentry{Major Differences From The Bourne Shell}{B}{127}
-\secentry{Implementation Differences From The SVR4.2 Shell}{B}{1}{131}
-\appendixentry{Copying This Manual}{C}{133}
-\secentry{GNU Free Documentation License}{C}{1}{133}
-\subsecentry{ADDENDUM: How to use this License for your documents}{C}{1}{1}{139}
-\unnumbchapentry{Index of Shell Builtin Commands}{10}{141}
-\unnumbchapentry{Index of Shell Reserved Words}{10}{143}
-\unnumbchapentry{Parameter and Variable Index}{10}{145}
-\unnumbchapentry{Function Index}{10}{147}
-\unnumbchapentry{Concept Index}{10}{149}
+\chapentry{Bash Features}{6}{65}
+\secentry{Invoking Bash}{6}{1}{65}
+\secentry{Bash Startup Files}{6}{2}{67}
+\secentry{Interactive Shells}{6}{3}{69}
+\subsecentry{What is an Interactive Shell?}{6}{3}{1}{69}
+\subsecentry{Is this Shell Interactive?}{6}{3}{2}{69}
+\subsecentry{Interactive Shell Behavior}{6}{3}{3}{69}
+\secentry{Bash Conditional Expressions}{6}{4}{70}
+\secentry{Shell Arithmetic}{6}{5}{72}
+\secentry{Aliases}{6}{6}{73}
+\secentry{Arrays}{6}{7}{74}
+\secentry{The Directory Stack}{6}{8}{75}
+\subsecentry{Directory Stack Builtins}{6}{8}{1}{75}
+\secentry{Controlling the Prompt}{6}{9}{76}
+\secentry{The Restricted Shell}{6}{10}{78}
+\secentry{Bash POSIX Mode}{6}{11}{78}
+\chapentry{Job Control}{7}{83}
+\secentry{Job Control Basics}{7}{1}{83}
+\secentry{Job Control Builtins}{7}{2}{84}
+\secentry{Job Control Variables}{7}{3}{85}
+\chapentry{Command Line Editing}{8}{87}
+\secentry{Introduction to Line Editing}{8}{1}{87}
+\secentry{Readline Interaction}{8}{2}{87}
+\subsecentry{Readline Bare Essentials}{8}{2}{1}{87}
+\subsecentry{Readline Movement Commands}{8}{2}{2}{88}
+\subsecentry{Readline Killing Commands}{8}{2}{3}{88}
+\subsecentry{Readline Arguments}{8}{2}{4}{89}
+\subsecentry{Searching for Commands in the History}{8}{2}{5}{89}
+\secentry{Readline Init File}{8}{3}{90}
+\subsecentry{Readline Init File Syntax}{8}{3}{1}{90}
+\subsecentry{Conditional Init Constructs}{8}{3}{2}{95}
+\subsecentry{Sample Init File}{8}{3}{3}{96}
+\secentry{Bindable Readline Commands}{8}{4}{99}
+\subsecentry{Commands For Moving}{8}{4}{1}{99}
+\subsecentry{Commands For Manipulating The History}{8}{4}{2}{99}
+\subsecentry{Commands For Changing Text}{8}{4}{3}{101}
+\subsecentry{Killing And Yanking}{8}{4}{4}{102}
+\subsecentry{Specifying Numeric Arguments}{8}{4}{5}{103}
+\subsecentry{Letting Readline Type For You}{8}{4}{6}{103}
+\subsecentry{Keyboard Macros}{8}{4}{7}{104}
+\subsecentry{Some Miscellaneous Commands}{8}{4}{8}{105}
+\secentry{Readline vi Mode}{8}{5}{107}
+\secentry{Programmable Completion}{8}{6}{107}
+\secentry{Programmable Completion Builtins}{8}{7}{109}
+\chapentry{Using History Interactively}{9}{113}
+\secentry{Bash History Facilities}{9}{1}{113}
+\secentry{Bash History Builtins}{9}{2}{113}
+\secentry{History Expansion}{9}{3}{115}
+\subsecentry{Event Designators}{9}{3}{1}{115}
+\subsecentry{Word Designators}{9}{3}{2}{116}
+\subsecentry{Modifiers}{9}{3}{3}{117}
+\chapentry{Installing Bash}{10}{119}
+\secentry{Basic Installation}{10}{1}{119}
+\secentry{Compilers and Options}{10}{2}{119}
+\secentry{Compiling For Multiple Architectures}{10}{3}{120}
+\secentry{Installation Names}{10}{4}{120}
+\secentry{Specifying the System Type}{10}{5}{120}
+\secentry{Sharing Defaults}{10}{6}{121}
+\secentry{Operation Controls}{10}{7}{121}
+\secentry{Optional Features}{10}{8}{121}
+\appendixentry{Reporting Bugs}{A}{127}
+\appendixentry{Major Differences From The Bourne Shell}{B}{129}
+\secentry{Implementation Differences From The SVR4.2 Shell}{B}{1}{133}
+\appendixentry{Copying This Manual}{C}{135}
+\secentry{GNU Free Documentation License}{C}{1}{135}
+\subsecentry{ADDENDUM: How to use this License for your documents}{C}{1}{1}{141}
+\unnumbchapentry{Index of Shell Builtin Commands}{10}{143}
+\unnumbchapentry{Index of Shell Reserved Words}{10}{145}
+\unnumbchapentry{Parameter and Variable Index}{10}{147}
+\unnumbchapentry{Function Index}{10}{149}
+\unnumbchapentry{Concept Index}{10}{151}
\entry{HISTIGNORE}{59}{\code {HISTIGNORE}}
\entry{HISTSIZE}{59}{\code {HISTSIZE}}
\entry{HISTTIMEFORMAT}{59}{\code {HISTTIMEFORMAT}}
-\entry{HOSTFILE}{59}{\code {HOSTFILE}}
+\entry{HOSTFILE}{60}{\code {HOSTFILE}}
\entry{HOSTNAME}{60}{\code {HOSTNAME}}
\entry{HOSTTYPE}{60}{\code {HOSTTYPE}}
\entry{IGNOREEOF}{60}{\code {IGNOREEOF}}
\entry{LC_MESSAGES}{60}{\code {LC_MESSAGES}}
\entry{LC_NUMERIC}{60}{\code {LC_NUMERIC}}
\entry{LINENO}{60}{\code {LINENO}}
-\entry{LINES}{60}{\code {LINES}}
-\entry{MACHTYPE}{60}{\code {MACHTYPE}}
+\entry{LINES}{61}{\code {LINES}}
+\entry{MACHTYPE}{61}{\code {MACHTYPE}}
\entry{MAILCHECK}{61}{\code {MAILCHECK}}
\entry{OLDPWD}{61}{\code {OLDPWD}}
\entry{OPTERR}{61}{\code {OPTERR}}
\entry{PWD}{61}{\code {PWD}}
\entry{RANDOM}{61}{\code {RANDOM}}
\entry{REPLY}{61}{\code {REPLY}}
-\entry{SECONDS}{61}{\code {SECONDS}}
+\entry{SECONDS}{62}{\code {SECONDS}}
\entry{SHELL}{62}{\code {SHELL}}
\entry{SHELLOPTS}{62}{\code {SHELLOPTS}}
\entry{SHLVL}{62}{\code {SHLVL}}
\entry{TIMEFORMAT}{62}{\code {TIMEFORMAT}}
\entry{TMOUT}{62}{\code {TMOUT}}
-\entry{UID}{62}{\code {UID}}
-\entry{auto_resume}{84}{\code {auto_resume}}
-\entry{bell-style}{89}{\code {bell-style}}
-\entry{bind-tty-special-chars}{89}{\code {bind-tty-special-chars}}
-\entry{comment-begin}{89}{\code {comment-begin}}
-\entry{completion-query-items}{89}{\code {completion-query-items}}
-\entry{convert-meta}{89}{\code {convert-meta}}
-\entry{disable-completion}{90}{\code {disable-completion}}
-\entry{editing-mode}{90}{\code {editing-mode}}
-\entry{enable-keypad}{90}{\code {enable-keypad}}
-\entry{expand-tilde}{90}{\code {expand-tilde}}
-\entry{history-preserve-point}{90}{\code {history-preserve-point}}
-\entry{horizontal-scroll-mode}{90}{\code {horizontal-scroll-mode}}
-\entry{input-meta}{90}{\code {input-meta}}
-\entry{meta-flag}{90}{\code {meta-flag}}
-\entry{isearch-terminators}{90}{\code {isearch-terminators}}
-\entry{keymap}{90}{\code {keymap}}
-\entry{mark-modified-lines}{91}{\code {mark-modified-lines}}
-\entry{mark-symlinked-directories}{91}{\code {mark-symlinked-directories}}
-\entry{match-hidden-files}{91}{\code {match-hidden-files}}
-\entry{output-meta}{91}{\code {output-meta}}
-\entry{page-completions}{91}{\code {page-completions}}
-\entry{show-all-if-ambiguous}{91}{\code {show-all-if-ambiguous}}
-\entry{show-all-if-unmodified}{91}{\code {show-all-if-unmodified}}
-\entry{visible-stats}{91}{\code {visible-stats}}
+\entry{UID}{63}{\code {UID}}
+\entry{auto_resume}{86}{\code {auto_resume}}
+\entry{bell-style}{91}{\code {bell-style}}
+\entry{bind-tty-special-chars}{91}{\code {bind-tty-special-chars}}
+\entry{comment-begin}{91}{\code {comment-begin}}
+\entry{completion-query-items}{91}{\code {completion-query-items}}
+\entry{convert-meta}{91}{\code {convert-meta}}
+\entry{disable-completion}{92}{\code {disable-completion}}
+\entry{editing-mode}{92}{\code {editing-mode}}
+\entry{enable-keypad}{92}{\code {enable-keypad}}
+\entry{expand-tilde}{92}{\code {expand-tilde}}
+\entry{history-preserve-point}{92}{\code {history-preserve-point}}
+\entry{horizontal-scroll-mode}{92}{\code {horizontal-scroll-mode}}
+\entry{input-meta}{92}{\code {input-meta}}
+\entry{meta-flag}{92}{\code {meta-flag}}
+\entry{isearch-terminators}{92}{\code {isearch-terminators}}
+\entry{keymap}{92}{\code {keymap}}
+\entry{mark-modified-lines}{93}{\code {mark-modified-lines}}
+\entry{mark-symlinked-directories}{93}{\code {mark-symlinked-directories}}
+\entry{match-hidden-files}{93}{\code {match-hidden-files}}
+\entry{output-meta}{93}{\code {output-meta}}
+\entry{page-completions}{93}{\code {page-completions}}
+\entry{show-all-if-ambiguous}{93}{\code {show-all-if-ambiguous}}
+\entry{show-all-if-unmodified}{93}{\code {show-all-if-unmodified}}
+\entry{visible-stats}{93}{\code {visible-stats}}
\initial {0}
\entry {\code {0}}{16}
\initial {A}
-\entry {\code {auto_resume}}{84}
+\entry {\code {auto_resume}}{86}
\initial {B}
\entry {\code {BASH}}{55}
\entry {\code {BASH_ARGC}}{56}
\entry {\code {BASH_SUBSHELL}}{56}
\entry {\code {BASH_VERSINFO}}{56}
\entry {\code {BASH_VERSION}}{57}
-\entry {\code {bell-style}}{89}
-\entry {\code {bind-tty-special-chars}}{89}
+\entry {\code {bell-style}}{91}
+\entry {\code {bind-tty-special-chars}}{91}
\initial {C}
\entry {\code {CDPATH}}{55}
\entry {\code {COLUMNS}}{57}
-\entry {\code {comment-begin}}{89}
+\entry {\code {comment-begin}}{91}
\entry {\code {COMP_CWORD}}{57}
\entry {\code {COMP_LINE}}{57}
\entry {\code {COMP_POINT}}{57}
\entry {\code {COMP_WORDBREAKS}}{57}
\entry {\code {COMP_WORDS}}{57}
-\entry {\code {completion-query-items}}{89}
+\entry {\code {completion-query-items}}{91}
\entry {\code {COMPREPLY}}{58}
-\entry {\code {convert-meta}}{89}
+\entry {\code {convert-meta}}{91}
\initial {D}
\entry {\code {DIRSTACK}}{58}
-\entry {\code {disable-completion}}{90}
+\entry {\code {disable-completion}}{92}
\initial {E}
-\entry {\code {editing-mode}}{90}
+\entry {\code {editing-mode}}{92}
\entry {\code {EMACS}}{58}
-\entry {\code {enable-keypad}}{90}
+\entry {\code {enable-keypad}}{92}
\entry {\code {EUID}}{58}
-\entry {\code {expand-tilde}}{90}
+\entry {\code {expand-tilde}}{92}
\initial {F}
\entry {\code {FCEDIT}}{58}
\entry {\code {FIGNORE}}{58}
\entry {\code {HISTFILE}}{59}
\entry {\code {HISTFILESIZE}}{59}
\entry {\code {HISTIGNORE}}{59}
-\entry {\code {history-preserve-point}}{90}
+\entry {\code {history-preserve-point}}{92}
\entry {\code {HISTSIZE}}{59}
\entry {\code {HISTTIMEFORMAT}}{59}
\entry {\code {HOME}}{55}
-\entry {\code {horizontal-scroll-mode}}{90}
-\entry {\code {HOSTFILE}}{59}
+\entry {\code {horizontal-scroll-mode}}{92}
+\entry {\code {HOSTFILE}}{60}
\entry {\code {HOSTNAME}}{60}
\entry {\code {HOSTTYPE}}{60}
\initial {I}
\entry {\code {IFS}}{55}
\entry {\code {IGNOREEOF}}{60}
-\entry {\code {input-meta}}{90}
+\entry {\code {input-meta}}{92}
\entry {\code {INPUTRC}}{60}
-\entry {\code {isearch-terminators}}{90}
+\entry {\code {isearch-terminators}}{92}
\initial {K}
-\entry {\code {keymap}}{90}
+\entry {\code {keymap}}{92}
\initial {L}
\entry {\code {LANG}}{60}
\entry {\code {LC_ALL}}{60}
\entry {\code {LC_MESSAGES}}{7, 60}
\entry {\code {LC_NUMERIC}}{60}
\entry {\code {LINENO}}{60}
-\entry {\code {LINES}}{60}
+\entry {\code {LINES}}{61}
\initial {M}
-\entry {\code {MACHTYPE}}{60}
+\entry {\code {MACHTYPE}}{61}
\entry {\code {MAIL}}{55}
\entry {\code {MAILCHECK}}{61}
\entry {\code {MAILPATH}}{55}
-\entry {\code {mark-modified-lines}}{91}
-\entry {\code {mark-symlinked-directories}}{91}
-\entry {\code {match-hidden-files}}{91}
-\entry {\code {meta-flag}}{90}
+\entry {\code {mark-modified-lines}}{93}
+\entry {\code {mark-symlinked-directories}}{93}
+\entry {\code {match-hidden-files}}{93}
+\entry {\code {meta-flag}}{92}
\initial {O}
\entry {\code {OLDPWD}}{61}
\entry {\code {OPTARG}}{55}
\entry {\code {OPTERR}}{61}
\entry {\code {OPTIND}}{55}
\entry {\code {OSTYPE}}{61}
-\entry {\code {output-meta}}{91}
+\entry {\code {output-meta}}{93}
\initial {P}
-\entry {\code {page-completions}}{91}
+\entry {\code {page-completions}}{93}
\entry {\code {PATH}}{55}
\entry {\code {PIPESTATUS}}{61}
\entry {\code {POSIXLY_CORRECT}}{61}
\entry {\code {RANDOM}}{61}
\entry {\code {REPLY}}{61}
\initial {S}
-\entry {\code {SECONDS}}{61}
+\entry {\code {SECONDS}}{62}
\entry {\code {SHELL}}{62}
\entry {\code {SHELLOPTS}}{62}
\entry {\code {SHLVL}}{62}
-\entry {\code {show-all-if-ambiguous}}{91}
-\entry {\code {show-all-if-unmodified}}{91}
+\entry {\code {show-all-if-ambiguous}}{93}
+\entry {\code {show-all-if-unmodified}}{93}
\initial {T}
\entry {\code {TEXTDOMAIN}}{7}
\entry {\code {TEXTDOMAINDIR}}{7}
\entry {\code {TIMEFORMAT}}{62}
\entry {\code {TMOUT}}{62}
\initial {U}
-\entry {\code {UID}}{62}
+\entry {\code {UID}}{63}
\initial {V}
-\entry {\code {visible-stats}}{91}
+\entry {\code {visible-stats}}{93}
routine (a shell function or a shell script exe-
cuted by the .\b. or s\bso\bou\bur\brc\bce\be builtins), a call to
r\bre\bet\btu\bur\brn\bn is simulated.
+ 4\b4.\b. B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGC\bC and B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV are updated as described
+ in their descriptions above.
+ 5\b5.\b. Function tracing is enabled: command substitu-
+ tion, shell functions, and subshells invoked with
+ (\b( _\bc_\bo_\bm_\bm_\ba_\bn_\bd )\b) inherit the D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN traps.
+ 6\b6.\b. Error tracing is enabled: command substitution,
+ shell functions, and subshells invoked with (\b(
+ _\bc_\bo_\bm_\bm_\ba_\bn_\bd )\b) inherit the E\bER\bRR\bRO\bOR\bR trap.
e\bex\bxt\btg\bgl\blo\bob\bb If set, the extended pattern matching features described
above under P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn are enabled.
e\bex\bxt\btq\bqu\buo\bot\bte\be
- If set, $\b$'_\bs_\bt_\br_\bi_\bn_\bg' and $\b$"_\bs_\bt_\br_\bi_\bn_\bg" quoting is performed
- within $\b${\b{_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br}\b} expansions enclosed in double
+ If set, $\b$'_\bs_\bt_\br_\bi_\bn_\bg' and $\b$"_\bs_\bt_\br_\bi_\bn_\bg" quoting is performed
+ within $\b${\b{_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br}\b} expansions enclosed in double
quotes. This option is enabled by default.
f\bfa\bai\bil\blg\bgl\blo\bob\bb
- If set, patterns which fail to match filenames during
+ If set, patterns which fail to match filenames during
pathname expansion result in an expansion error.
f\bfo\bor\brc\bce\be_\b_f\bfi\big\bgn\bno\bor\bre\be
- If set, the suffixes specified by the F\bFI\bIG\bGN\bNO\bOR\bRE\bE shell
- variable cause words to be ignored when performing word
+ If set, the suffixes specified by the F\bFI\bIG\bGN\bNO\bOR\bRE\bE shell
+ variable cause words to be ignored when performing word
completion even if the ignored words are the only possi-
ble completions. See S\bSH\bHE\bEL\bLL\bL V\bVA\bAR\bRI\bIA\bAB\bBL\bLE\bES\bS above for a
- description of F\bFI\bIG\bGN\bNO\bOR\bRE\bE. This option is enabled by
+ description of F\bFI\bIG\bGN\bNO\bOR\bRE\bE. This option is enabled by
default.
g\bgn\bnu\bu_\b_e\ber\brr\brf\bfm\bmt\bt
If set, shell error messages are written in the standard
GNU error message format.
h\bhi\bis\bst\bta\bap\bpp\bpe\ben\bnd\bd
- If set, the history list is appended to the file named
- by the value of the H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE variable when the shell
+ If set, the history list is appended to the file named
+ by the value of the H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE variable when the shell
exits, rather than overwriting the file.
h\bhi\bis\bst\btr\bre\bee\bed\bdi\bit\bt
- If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, a user is given the
+ If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, a user is given the
opportunity to re-edit a failed history substitution.
h\bhi\bis\bst\btv\bve\ber\bri\bif\bfy\by
- If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, the results of his-
- tory substitution are not immediately passed to the
- shell parser. Instead, the resulting line is loaded
+ If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, the results of his-
+ tory substitution are not immediately passed to the
+ shell parser. Instead, the resulting line is loaded
into the r\bre\bea\bad\bdl\bli\bin\bne\be editing buffer, allowing further modi-
fication.
h\bho\bos\bst\btc\bco\bom\bmp\bpl\ble\bet\bte\be
If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, b\bba\bas\bsh\bh will attempt to
- perform hostname completion when a word containing a @\b@
- is being completed (see C\bCo\bom\bmp\bpl\ble\bet\bti\bin\bng\bg under R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE
+ perform hostname completion when a word containing a @\b@
+ is being completed (see C\bCo\bom\bmp\bpl\ble\bet\bti\bin\bng\bg under R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE
above). This is enabled by default.
h\bhu\bup\bpo\bon\bne\bex\bxi\bit\bt
If set, b\bba\bas\bsh\bh will send S\bSI\bIG\bGH\bHU\bUP\bP to all jobs when an inter-
active login shell exits.
i\bin\bnt\bte\ber\bra\bac\bct\bti\biv\bve\be_\b_c\bco\bom\bmm\bme\ben\bnt\bts\bs
If set, allow a word beginning with #\b# to cause that word
- and all remaining characters on that line to be ignored
- in an interactive shell (see C\bCO\bOM\bMM\bME\bEN\bNT\bTS\bS above). This
+ and all remaining characters on that line to be ignored
+ in an interactive shell (see C\bCO\bOM\bMM\bME\bEN\bNT\bTS\bS above). This
option is enabled by default.
- l\bli\bit\bth\bhi\bis\bst\bt If set, and the c\bcm\bmd\bdh\bhi\bis\bst\bt option is enabled, multi-line
+ l\bli\bit\bth\bhi\bis\bst\bt If set, and the c\bcm\bmd\bdh\bhi\bis\bst\bt option is enabled, multi-line
commands are saved to the history with embedded newlines
rather than using semicolon separators where possible.
l\blo\bog\bgi\bin\bn_\b_s\bsh\bhe\bel\bll\bl
- The shell sets this option if it is started as a login
- shell (see I\bIN\bNV\bVO\bOC\bCA\bAT\bTI\bIO\bON\bN above). The value may not be
+ The shell sets this option if it is started as a login
+ shell (see I\bIN\bNV\bVO\bOC\bCA\bAT\bTI\bIO\bON\bN above). The value may not be
changed.
m\bma\bai\bil\blw\bwa\bar\brn\bn
- If set, and a file that b\bba\bas\bsh\bh is checking for mail has
- been accessed since the last time it was checked, the
- message ``The mail in _\bm_\ba_\bi_\bl_\bf_\bi_\bl_\be has been read'' is dis-
+ If set, and a file that b\bba\bas\bsh\bh is checking for mail has
+ been accessed since the last time it was checked, the
+ message ``The mail in _\bm_\ba_\bi_\bl_\bf_\bi_\bl_\be has been read'' is dis-
played.
n\bno\bo_\b_e\bem\bmp\bpt\bty\by_\b_c\bcm\bmd\bd_\b_c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bn
- If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, b\bba\bas\bsh\bh will not
+ If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, b\bba\bas\bsh\bh will not
attempt to search the P\bPA\bAT\bTH\bH for possible completions when
completion is attempted on an empty line.
n\bno\boc\bca\bas\bse\beg\bgl\blo\bob\bb
- If set, b\bba\bas\bsh\bh matches filenames in a case-insensitive
+ If set, b\bba\bas\bsh\bh matches filenames in a case-insensitive
fashion when performing pathname expansion (see P\bPa\bat\bth\bhn\bna\bam\bme\be
E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn above).
+ n\bno\boc\bca\bas\bse\bem\bma\bat\btc\bch\bh
+ If set, b\bba\bas\bsh\bh matches patterns in a case-insensitive
+ fashion when performing matching while executing c\bca\bas\bse\be or
+ [\b[[\b[ conditional commands.
n\bnu\bul\bll\blg\bgl\blo\bob\bb
- If set, b\bba\bas\bsh\bh allows patterns which match no files (see
- P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn above) to expand to a null string,
+ If set, b\bba\bas\bsh\bh allows patterns which match no files (see
+ P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn above) to expand to a null string,
rather than themselves.
p\bpr\bro\bog\bgc\bco\bom\bmp\bp
If set, the programmable completion facilities (see P\bPr\bro\bo-\b-
enabled by default.
p\bpr\bro\bom\bmp\bpt\btv\bva\bar\brs\bs
If set, prompt strings undergo parameter expansion, com-
- mand substitution, arithmetic expansion, and quote
- removal after being expanded as described in P\bPR\bRO\bOM\bMP\bPT\bTI\bIN\bNG\bG
+ mand substitution, arithmetic expansion, and quote
+ removal after being expanded as described in P\bPR\bRO\bOM\bMP\bPT\bTI\bIN\bNG\bG
above. This option is enabled by default.
r\bre\bes\bst\btr\bri\bic\bct\bte\bed\bd_\b_s\bsh\bhe\bel\bll\bl
- The shell sets this option if it is started in
+ The shell sets this option if it is started in
restricted mode (see R\bRE\bES\bST\bTR\bRI\bIC\bCT\bTE\bED\bD S\bSH\bHE\bEL\bLL\bL below). The value
- may not be changed. This is not reset when the startup
- files are executed, allowing the startup files to dis-
+ may not be changed. This is not reset when the startup
+ files are executed, allowing the startup files to dis-
cover whether or not a shell is restricted.
s\bsh\bhi\bif\bft\bt_\b_v\bve\ber\brb\bbo\bos\bse\be
- If set, the s\bsh\bhi\bif\bft\bt builtin prints an error message when
+ If set, the s\bsh\bhi\bif\bft\bt builtin prints an error message when
the shift count exceeds the number of positional parame-
ters.
s\bso\bou\bur\brc\bce\bep\bpa\bat\bth\bh
If set, the s\bso\bou\bur\brc\bce\be (.\b.) builtin uses the value of P\bPA\bAT\bTH\bH to
- find the directory containing the file supplied as an
+ find the directory containing the file supplied as an
argument. This option is enabled by default.
x\bxp\bpg\bg_\b_e\bec\bch\bho\bo
- If set, the e\bec\bch\bho\bo builtin expands backslash-escape
+ If set, the e\bec\bch\bho\bo builtin expands backslash-escape
sequences by default.
s\bsu\bus\bsp\bpe\ben\bnd\bd [-\b-f\bf]
- Suspend the execution of this shell until it receives a S\bSI\bIG\bGC\bCO\bON\bNT\bT
- signal. The -\b-f\bf option says not to complain if this is a login
- shell; just suspend anyway. The return status is 0 unless the
+ Suspend the execution of this shell until it receives a S\bSI\bIG\bGC\bCO\bON\bNT\bT
+ signal. The -\b-f\bf option says not to complain if this is a login
+ shell; just suspend anyway. The return status is 0 unless the
shell is a login shell and -\b-f\bf is not supplied, or if job control
is not enabled.
t\bte\bes\bst\bt _\be_\bx_\bp_\br
[\b[ _\be_\bx_\bp_\br ]\b]
- Return a status of 0 or 1 depending on the evaluation of the
- conditional expression _\be_\bx_\bp_\br. Each operator and operand must be
- a separate argument. Expressions are composed of the primaries
+ Return a status of 0 or 1 depending on the evaluation of the
+ conditional expression _\be_\bx_\bp_\br. Each operator and operand must be
+ a separate argument. Expressions are composed of the primaries
described above under C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS.
- Expressions may be combined using the following operators,
+ Expressions may be combined using the following operators,
listed in decreasing order of precedence.
!\b! _\be_\bx_\bp_\br True if _\be_\bx_\bp_\br is false.
(\b( _\be_\bx_\bp_\br )\b)
- Returns the value of _\be_\bx_\bp_\br. This may be used to override
+ Returns the value of _\be_\bx_\bp_\br. This may be used to override
the normal precedence of operators.
_\be_\bx_\bp_\br_\b1 -a\ba _\be_\bx_\bp_\br_\b2
True if both _\be_\bx_\bp_\br_\b1 and _\be_\bx_\bp_\br_\b2 are true.
null.
2 arguments
If the first argument is !\b!, 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 C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS, 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 C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS, 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
- If the second argument is one of the binary conditional
+ If the second argument is one of the binary conditional
operators listed above under C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS, the
result of the expression is the result of the binary test
- using the first and third arguments as operands. If the
- first argument is !\b!, the value is the negation of the
- two-argument test using the second and third arguments.
+ using the first and third arguments as operands. If the
+ first argument is !\b!, the value is the negation of the
+ two-argument test using the second and third arguments.
If the first argument is exactly (\b( and the third argument
- is exactly )\b), the result is the one-argument test of the
- second argument. Otherwise, the expression is false.
- The -\b-a\ba and -\b-o\bo operators are considered binary operators
+ is exactly )\b), the result is the one-argument test of the
+ second argument. Otherwise, the expression is false.
+ The -\b-a\ba and -\b-o\bo operators are considered binary operators
in this case.
4 arguments
If the first argument is !\b!, the result is the negation of
- the three-argument expression composed of the remaining
+ the three-argument expression composed of the remaining
arguments. Otherwise, the expression is parsed and eval-
- uated according to precedence using the rules listed
+ uated according to precedence using the rules listed
above.
5 or more arguments
- The expression is parsed and evaluated according to
+ The expression is parsed and evaluated according to
precedence using the rules listed above.
- t\bti\bim\bme\bes\bs Print the accumulated user and system times for the shell and
+ t\bti\bim\bme\bes\bs Print the accumulated user and system times for the shell and
for processes run from the shell. The return status is 0.
t\btr\bra\bap\bp [-\b-l\blp\bp] [[_\ba_\br_\bg] _\bs_\bi_\bg_\bs_\bp_\be_\bc ...]
- The command _\ba_\br_\bg is to be read and executed when the shell
- receives signal(s) _\bs_\bi_\bg_\bs_\bp_\be_\bc. If _\ba_\br_\bg is absent (and there is a
- single _\bs_\bi_\bg_\bs_\bp_\be_\bc) or -\b-, each specified signal is reset to its
- original disposition (the value it had upon entrance to the
- shell). If _\ba_\br_\bg is the null string the signal specified by each
- _\bs_\bi_\bg_\bs_\bp_\be_\bc is ignored by the shell and by the commands it invokes.
- If _\ba_\br_\bg is not present and -\b-p\bp has been supplied, then the trap
- commands associated with each _\bs_\bi_\bg_\bs_\bp_\be_\bc are displayed. If no
- arguments are supplied or if only -\b-p\bp is given, t\btr\bra\bap\bp prints the
- list of commands associated with each signal. The -\b-l\bl option
- causes the shell to print a list of signal names and their cor-
- responding numbers. Each _\bs_\bi_\bg_\bs_\bp_\be_\bc is either a signal name
- defined in <_\bs_\bi_\bg_\bn_\ba_\bl_\b._\bh>, or a signal number. Signal names are
- case insensitive and the SIG prefix is optional. If a _\bs_\bi_\bg_\bs_\bp_\be_\bc
- is E\bEX\bXI\bIT\bT (0) the command _\ba_\br_\bg is executed on exit from the shell.
- If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is D\bDE\bEB\bBU\bUG\bG, the command _\ba_\br_\bg is executed before every
+ The command _\ba_\br_\bg is to be read and executed when the shell
+ receives signal(s) _\bs_\bi_\bg_\bs_\bp_\be_\bc. If _\ba_\br_\bg is absent (and there is a
+ single _\bs_\bi_\bg_\bs_\bp_\be_\bc) or -\b-, each specified signal is reset to its
+ original disposition (the value it had upon entrance to the
+ shell). If _\ba_\br_\bg is the null string the signal specified by each
+ _\bs_\bi_\bg_\bs_\bp_\be_\bc is ignored by the shell and by the commands it invokes.
+ If _\ba_\br_\bg is not present and -\b-p\bp has been supplied, then the trap
+ commands associated with each _\bs_\bi_\bg_\bs_\bp_\be_\bc are displayed. If no
+ arguments are supplied or if only -\b-p\bp is given, t\btr\bra\bap\bp prints the
+ list of commands associated with each signal. The -\b-l\bl option
+ causes the shell to print a list of signal names and their cor-
+ responding numbers. Each _\bs_\bi_\bg_\bs_\bp_\be_\bc is either a signal name
+ defined in <_\bs_\bi_\bg_\bn_\ba_\bl_\b._\bh>, or a signal number. Signal names are
+ case insensitive and the SIG prefix is optional. If a _\bs_\bi_\bg_\bs_\bp_\be_\bc
+ is E\bEX\bXI\bIT\bT (0) the command _\ba_\br_\bg is executed on exit from the shell.
+ If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is D\bDE\bEB\bBU\bUG\bG, the command _\ba_\br_\bg is executed before every
_\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd, _\bf_\bo_\br command, _\bc_\ba_\bs_\be command, _\bs_\be_\bl_\be_\bc_\bt command, every
arithmetic _\bf_\bo_\br command, and before the first command executes in
- a shell function (see S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR above). Refer to the
- description of the e\bex\bxt\btd\bde\beb\bbu\bug\bg option to the s\bsh\bho\bop\bpt\bt builtin for
- details of its effect on the D\bDE\bEB\bBU\bUG\bG trap. If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is E\bER\bRR\bR,
- the command _\ba_\br_\bg is executed whenever a simple command has a
- non-zero exit status, subject to the following conditions. The
- E\bER\bRR\bR trap is not executed if the failed command is part of the
- command list immediately following a w\bwh\bhi\bil\ble\be or u\bun\bnt\bti\bil\bl keyword,
+ a shell function (see S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR above). Refer to the
+ description of the e\bex\bxt\btd\bde\beb\bbu\bug\bg option to the s\bsh\bho\bop\bpt\bt builtin for
+ details of its effect on the D\bDE\bEB\bBU\bUG\bG trap. If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is E\bER\bRR\bR,
+ the command _\ba_\br_\bg is executed whenever a simple command has a
+ non-zero exit status, subject to the following conditions. The
+ E\bER\bRR\bR trap is not executed if the failed command is part of the
+ command list immediately following a w\bwh\bhi\bil\ble\be or u\bun\bnt\bti\bil\bl keyword,
part of the test in an _\bi_\bf statement, part of a &\b&&\b& or |\b||\b| list, or
- if the command's return value is being inverted via !\b!. These
- are the same conditions obeyed by the e\ber\brr\bre\bex\bxi\bit\bt option. If a
+ if the command's return value is being inverted via !\b!. These
+ are the same conditions obeyed by the e\ber\brr\bre\bex\bxi\bit\bt option. If a
_\bs_\bi_\bg_\bs_\bp_\be_\bc is R\bRE\bET\bTU\bUR\bRN\bN, the command _\ba_\br_\bg is executed each time a shell
function or a script executed with the .\b. or s\bso\bou\bur\brc\bce\be builtins fin-
ishes executing. Signals ignored upon entry to the shell cannot
- be trapped or reset. Trapped signals are reset to their origi-
- nal values in a child process when it is created. The return
- status is false if any _\bs_\bi_\bg_\bs_\bp_\be_\bc is invalid; otherwise t\btr\bra\bap\bp
+ be trapped or reset. Trapped signals are reset to their origi-
+ nal values in a child process when it is created. The return
+ status is false if any _\bs_\bi_\bg_\bs_\bp_\be_\bc is invalid; otherwise t\btr\bra\bap\bp
returns true.
t\bty\byp\bpe\be [-\b-a\baf\bft\btp\bpP\bP] _\bn_\ba_\bm_\be [_\bn_\ba_\bm_\be ...]
- With no options, indicate how each _\bn_\ba_\bm_\be would be interpreted if
+ With no options, indicate how each _\bn_\ba_\bm_\be would be interpreted if
used as a command name. If the -\b-t\bt option is used, t\bty\byp\bpe\be prints a
- string which is one of _\ba_\bl_\bi_\ba_\bs, _\bk_\be_\by_\bw_\bo_\br_\bd, _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn, _\bb_\bu_\bi_\bl_\bt_\bi_\bn, or
- _\bf_\bi_\bl_\be if _\bn_\ba_\bm_\be is an alias, shell reserved word, function,
- builtin, or disk file, respectively. If the _\bn_\ba_\bm_\be is not found,
- then nothing is printed, and an exit status of false is
- returned. If the -\b-p\bp option is used, t\bty\byp\bpe\be either returns the
+ string which is one of _\ba_\bl_\bi_\ba_\bs, _\bk_\be_\by_\bw_\bo_\br_\bd, _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn, _\bb_\bu_\bi_\bl_\bt_\bi_\bn, or
+ _\bf_\bi_\bl_\be if _\bn_\ba_\bm_\be is an alias, shell reserved word, function,
+ builtin, or disk file, respectively. If the _\bn_\ba_\bm_\be is not found,
+ then nothing is printed, and an exit status of false is
+ returned. If the -\b-p\bp option is used, t\bty\byp\bpe\be either returns the
name of the disk file that would be executed if _\bn_\ba_\bm_\be were speci-
fied as a command name, or nothing if ``type -t name'' would not
- return _\bf_\bi_\bl_\be. The -\b-P\bP option forces a P\bPA\bAT\bTH\bH search for each _\bn_\ba_\bm_\be,
+ return _\bf_\bi_\bl_\be. The -\b-P\bP option forces a P\bPA\bAT\bTH\bH search for each _\bn_\ba_\bm_\be,
even if ``type -t name'' would not return _\bf_\bi_\bl_\be. If a command is
- hashed, -\b-p\bp and -\b-P\bP print the hashed value, not necessarily the
+ hashed, -\b-p\bp and -\b-P\bP print the hashed value, not necessarily the
file that appears first in P\bPA\bAT\bTH\bH. If the -\b-a\ba option is used, t\bty\byp\bpe\be
- prints all of the places that contain an executable named _\bn_\ba_\bm_\be.
- This includes aliases and functions, if and only if the -\b-p\bp
- option is not also used. The table of hashed commands is not
- consulted when using -\b-a\ba. The -\b-f\bf option suppresses shell func-
- tion lookup, as with the c\bco\bom\bmm\bma\ban\bnd\bd builtin. t\bty\byp\bpe\be returns true if
+ prints all of the places that contain an executable named _\bn_\ba_\bm_\be.
+ This includes aliases and functions, if and only if the -\b-p\bp
+ option is not also used. The table of hashed commands is not
+ consulted when using -\b-a\ba. The -\b-f\bf option suppresses shell func-
+ tion lookup, as with the c\bco\bom\bmm\bma\ban\bnd\bd builtin. t\bty\byp\bpe\be returns true if
any of the arguments are found, false if none are found.
u\bul\bli\bim\bmi\bit\bt [-\b-S\bSH\bHa\bac\bcd\bdf\bfl\blm\bmn\bnp\bps\bst\btu\buv\bv [_\bl_\bi_\bm_\bi_\bt]]
- Provides control over the resources available to the shell and
- to processes started by it, on systems that allow such control.
+ Provides control over the resources available to the shell and
+ to processes started by it, on systems that allow such control.
The -\b-H\bH and -\b-S\bS options specify that the hard or soft limit is set
- for the given resource. A hard limit cannot be increased once
- it is set; a soft limit may be increased up to the value of the
- hard limit. If neither -\b-H\bH nor -\b-S\bS is specified, both the soft
- and hard limits are set. The value of _\bl_\bi_\bm_\bi_\bt can be a number in
+ for the given resource. A hard limit cannot be increased once
+ it is set; a soft limit may be increased up to the value of the
+ hard limit. If neither -\b-H\bH nor -\b-S\bS is specified, both the soft
+ and hard limits are set. The value of _\bl_\bi_\bm_\bi_\bt can be a number in
the unit specified for the resource or one of the special values
- h\bha\bar\brd\bd, s\bso\bof\bft\bt, or u\bun\bnl\bli\bim\bmi\bit\bte\bed\bd, which stand for the current hard
- limit, the current soft limit, and no limit, respectively. If
- _\bl_\bi_\bm_\bi_\bt is omitted, the current value of the soft limit of the
- resource is printed, unless the -\b-H\bH option is given. When more
- than one resource is specified, the limit name and unit are
+ h\bha\bar\brd\bd, s\bso\bof\bft\bt, or u\bun\bnl\bli\bim\bmi\bit\bte\bed\bd, which stand for the current hard
+ limit, the current soft limit, and no limit, respectively. If
+ _\bl_\bi_\bm_\bi_\bt is omitted, the current value of the soft limit of the
+ resource is printed, unless the -\b-H\bH option is given. When more
+ than one resource is specified, the limit name and unit are
printed before the value. Other options are interpreted as fol-
lows:
-\b-a\ba All current limits are reported
-\b-p\bp The pipe size in 512-byte blocks (this may not be set)
-\b-s\bs The maximum stack size
-\b-t\bt The maximum amount of cpu time in seconds
- -\b-u\bu The maximum number of processes available to a single
+ -\b-u\bu The maximum number of processes available to a single
user
- -\b-v\bv The maximum amount of virtual memory available to the
+ -\b-v\bv The maximum amount of virtual memory available to the
shell
If _\bl_\bi_\bm_\bi_\bt is given, it is the new value of the specified resource
(the -\b-a\ba option is display only). If no option is given, then -\b-f\bf
- is assumed. Values are in 1024-byte increments, except for -\b-t\bt,
- which is in seconds, -\b-p\bp, which is in units of 512-byte blocks,
- and -\b-n\bn and -\b-u\bu, which are unscaled values. The return status is
- 0 unless an invalid option or argument is supplied, or an error
+ is assumed. Values are in 1024-byte increments, except for -\b-t\bt,
+ which is in seconds, -\b-p\bp, which is in units of 512-byte blocks,
+ and -\b-n\bn and -\b-u\bu, which are unscaled values. The return status is
+ 0 unless an invalid option or argument is supplied, or an error
occurs while setting a new limit.
u\bum\bma\bas\bsk\bk [-\b-p\bp] [-\b-S\bS] [_\bm_\bo_\bd_\be]
The user file-creation mask is set to _\bm_\bo_\bd_\be. If _\bm_\bo_\bd_\be begins with
- a digit, it is interpreted as an octal number; otherwise it is
- interpreted as a symbolic mode mask similar to that accepted by
- _\bc_\bh_\bm_\bo_\bd(1). If _\bm_\bo_\bd_\be is omitted, the current value of the mask is
- printed. The -\b-S\bS option causes the mask to be printed in sym-
- bolic form; the default output is an octal number. If the -\b-p\bp
+ a digit, it is interpreted as an octal number; otherwise it is
+ interpreted as a symbolic mode mask similar to that accepted by
+ _\bc_\bh_\bm_\bo_\bd(1). If _\bm_\bo_\bd_\be is omitted, the current value of the mask is
+ printed. The -\b-S\bS option causes the mask to be printed in sym-
+ bolic form; the default output is an octal number. If the -\b-p\bp
option is supplied, and _\bm_\bo_\bd_\be is omitted, the output is in a form
that may be reused as input. The return status is 0 if the mode
- was successfully changed or if no _\bm_\bo_\bd_\be argument was supplied,
+ was successfully changed or if no _\bm_\bo_\bd_\be argument was supplied,
and false otherwise.
u\bun\bna\bal\bli\bia\bas\bs [-a\ba] [_\bn_\ba_\bm_\be ...]
- Remove each _\bn_\ba_\bm_\be from the list of defined aliases. If -\b-a\ba is
- supplied, all alias definitions are removed. The return value
+ Remove each _\bn_\ba_\bm_\be from the list of defined aliases. If -\b-a\ba is
+ supplied, all alias definitions are removed. The return value
is true unless a supplied _\bn_\ba_\bm_\be is not a defined alias.
u\bun\bns\bse\bet\bt [-f\bfv\bv] [_\bn_\ba_\bm_\be ...]
- For each _\bn_\ba_\bm_\be, remove the corresponding variable or function.
+ For each _\bn_\ba_\bm_\be, remove the corresponding variable or function.
If no options are supplied, or the -\b-v\bv option is given, each _\bn_\ba_\bm_\be
- refers to a shell variable. Read-only variables may not be
- unset. If -\b-f\bf is specified, each _\bn_\ba_\bm_\be refers to a shell func-
- tion, and the function definition is removed. Each unset vari-
- able or function is removed from the environment passed to sub-
- sequent commands. If any of R\bRA\bAN\bND\bDO\bOM\bM, S\bSE\bEC\bCO\bON\bND\bDS\bS, L\bLI\bIN\bNE\bEN\bNO\bO, H\bHI\bIS\bST\bTC\bCM\bMD\bD,
+ refers to a shell variable. Read-only variables may not be
+ unset. If -\b-f\bf is specified, each _\bn_\ba_\bm_\be refers to a shell func-
+ tion, and the function definition is removed. Each unset vari-
+ able or function is removed from the environment passed to sub-
+ sequent commands. If any of R\bRA\bAN\bND\bDO\bOM\bM, S\bSE\bEC\bCO\bON\bND\bDS\bS, L\bLI\bIN\bNE\bEN\bNO\bO, H\bHI\bIS\bST\bTC\bCM\bMD\bD,
F\bFU\bUN\bNC\bCN\bNA\bAM\bME\bE, G\bGR\bRO\bOU\bUP\bPS\bS, or D\bDI\bIR\bRS\bST\bTA\bAC\bCK\bK are unset, they lose their special
- properties, even if they are subsequently reset. The exit sta-
+ properties, even if they are subsequently reset. The exit sta-
tus is true unless a _\bn_\ba_\bm_\be is readonly.
w\bwa\bai\bit\bt [_\bn _\b._\b._\b.]
- Wait for each specified process and return its termination sta-
- tus. Each _\bn may be a process ID or a job specification; if a
- job spec is given, all processes in that job's pipeline are
- waited for. If _\bn is not given, all currently active child pro-
- cesses are waited for, and the return status is zero. If _\bn
- specifies a non-existent process or job, the return status is
- 127. Otherwise, the return status is the exit status of the
+ Wait for each specified process and return its termination sta-
+ tus. Each _\bn may be a process ID or a job specification; if a
+ job spec is given, all processes in that job's pipeline are
+ waited for. If _\bn is not given, all currently active child pro-
+ cesses are waited for, and the return status is zero. If _\bn
+ specifies a non-existent process or job, the return status is
+ 127. Otherwise, the return status is the exit status of the
last process or job waited for.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
%!PS-Adobe-3.0
%%Creator: groff version 1.18.1
-%%CreationDate: Mon Feb 14 11:56:35 2005
+%%CreationDate: Tue Feb 22 13:37:34 2005
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
(outine \(a shell function or a shell script exe-)-.18 F(cuted by the)
220 300 Q F1(.)2.5 E F2(or)2.5 E F1(source)2.5 E F2
(builtins\), a call to)2.5 E F1(return)2.5 E F2(is simulated.)2.5 E F1
-(extglob)144 312 Q F2 .432(If set, the extended pattern matching featur)
-6.11 F .432(es described above under)-.18 F F1(Pathname)2.932 E
-(Expansion)184 324 Q F2(ar)2.5 E 2.5(ee)-.18 G(nabled.)-2.5 E F1
-(extquote)144 336 Q F2 .143(If set,)184 348 R F1($)2.643 E F2(')A/F5 10
-/Palatino-Italic@0 SF(string)A F2 2.643('a)C(nd)-2.643 E F1($)2.643 E F2
-(")A F5(string)A F2 2.643("q)C .143(uoting is performed within)-2.643 F
-F1(${)2.643 E F5(parameter)A F1(})A F2(expansions)2.643 E
-(enclosed in double quotes.)184 360 Q
-(This option is enabled by default.)5 E F1(failglob)144 372 Q F2 .507(I\
+26(4. BASH_ARGC)184 312 R F2(and)5.149 E F1(BASH_ARGV)5.149 E F2(ar)
+5.149 E 5.149(eu)-.18 G 2.649(pdated as described in their)-5.149 F
+(descriptions above.)220 324 Q F1(5.)184 336 Q F2 .163
+(Function tracing is enabled:)28.5 F .164
+(command substitution, shell functions, and)5.164 F 1.112
+(subshells invoked with)220 348 R F1(\()3.612 E/F5 10/Palatino-Italic@0
+SF(command)3.612 E F1(\))3.612 E F2 1.112(inherit the)3.612 F F1(DEBUG)
+3.612 E F2(and)3.612 E F1(RETURN)3.612 E F2(traps.)220 360 Q F1(6.)184
+372 Q F2(Err)28.5 E 2.171(or tracing is enabled:)-.18 F 2.171
+(command substitution, shell functions, and)7.171 F
+(subshells invoked with)220 384 Q F1(\()2.5 E F5(command)2.5 E F1(\))2.5
+E F2(inherit the)2.5 E F1(ERROR)2.5 E F2(trap.)2.5 E F1(extglob)144 396
+Q F2 .432(If set, the extended pattern matching featur)6.11 F .432
+(es described above under)-.18 F F1(Pathname)2.932 E(Expansion)184 408 Q
+F2(ar)2.5 E 2.5(ee)-.18 G(nabled.)-2.5 E F1(extquote)144 420 Q F2 .143
+(If set,)184 432 R F1($)2.643 E F2(')A F5(string)A F2 2.643('a)C(nd)
+-2.643 E F1($)2.643 E F2(")A F5(string)A F2 2.643("q)C .143
+(uoting is performed within)-2.643 F F1(${)2.643 E F5(parameter)A F1(})A
+F2(expansions)2.643 E(enclosed in double quotes.)184 444 Q
+(This option is enabled by default.)5 E F1(failglob)144 456 Q F2 .507(I\
f set, patterns which fail to match \214lenames during pathname expansi\
-on r)184 384 R(esult)-.18 E(in an expansion err)184 396 Q(or)-.18 E(.)
--.74 E F1(force_\214gnore)144 408 Q F2 1.118(If set, the suf)184 420 R
+on r)184 468 R(esult)-.18 E(in an expansion err)184 480 Q(or)-.18 E(.)
+-.74 E F1(force_\214gnore)144 492 Q F2 1.118(If set, the suf)184 504 R
1.118(\214xes speci\214ed by the)-.18 F F1(FIGNORE)3.618 E F2 1.119
-(shell variable cause wor)3.619 F 1.119(ds to be)-.18 F(ignor)184 432 Q
+(shell variable cause wor)3.619 F 1.119(ds to be)-.18 F(ignor)184 516 Q
1.291(ed when performing wor)-.18 F 3.791(dc)-.18 G 1.291
(ompletion even if the ignor)-3.791 F 1.291(ed wor)-.18 F 1.291(ds ar)
--.18 F 3.79(et)-.18 G(he)-3.79 E 1.7(only possible completions.)184 444
+-.18 F 3.79(et)-.18 G(he)-3.79 E 1.7(only possible completions.)184 528
R(See)6.7 E F3 1.7(SHELL V)4.2 F(ARIABLES)-1.161 E F2 1.701
-(above for a description of)3.95 F F1(FIGNORE)184 456 Q F2 5(.T)C
-(his option is enabled by default.)-5 E F1(gnu_errfmt)144 468 Q F2 .843
-(If set, shell err)184 480 R .843(or messages ar)-.18 F 3.342(ew)-.18 G
+(above for a description of)3.95 F F1(FIGNORE)184 540 Q F2 5(.T)C
+(his option is enabled by default.)-5 E F1(gnu_errfmt)144 552 Q F2 .843
+(If set, shell err)184 564 R .843(or messages ar)-.18 F 3.342(ew)-.18 G
.842(ritten in the standar)-3.342 F 3.342(dG)-.18 G .842(NU err)-3.342 F
-.842(or message for)-.18 F(-)-.18 E(mat.)184 492 Q F1(histappend)144 504
+.842(or message for)-.18 F(-)-.18 E(mat.)184 576 Q F1(histappend)144 588
Q F2 1.127(If set, the history list is appended to the \214le named by \
-the value of the)184 516 R F1(HIST)3.627 E(-)-.92 E(FILE)184 528 Q F2
+the value of the)184 600 R F1(HIST)3.627 E(-)-.92 E(FILE)184 612 Q F2
(variable when the shell exits, rather than overwriting the \214le.)2.5
-E F1(histreedit)144 540 Q F2 1.381(If set, and)184 552 R F1(readline)
+E F1(histreedit)144 624 Q F2 1.381(If set, and)184 636 R F1(readline)
3.881 E F2 1.381(is being used, a user is given the opportunity to r)
-3.881 F 1.38(e-edit a)-.18 F(failed history substitution.)184 564 Q F1
-(histverify)144 576 Q F2 2.133(If set, and)184 588 R F1(readline)4.633 E
+3.881 F 1.38(e-edit a)-.18 F(failed history substitution.)184 648 Q F1
+(histverify)144 660 Q F2 2.133(If set, and)184 672 R F1(readline)4.633 E
F2 2.133(is being used, the r)4.633 F 2.133
(esults of history substitution ar)-.18 F 4.634(en)-.18 G(ot)-4.634 E
-.383(immediately passed to the shell parser)184 600 R 5.383(.I)-.74 G
+.383(immediately passed to the shell parser)184 684 R 5.383(.I)-.74 G
.382(nstead, the r)-5.383 F .382(esulting line is loaded into)-.18 F
-(the)184 612 Q F1(readline)2.5 E F2(editing buf)2.5 E(fer)-.18 E 2.5(,a)
--.74 G(llowing further modi\214cation.)-2.5 E F1(hostcomplete)144 624 Q
-F2 .647(If set, and)184 636 R F1(readline)3.147 E F2 .648
-(is being used,)3.147 F F1(bash)3.148 E F2 .648
-(will attempt to perform hostname com-)3.148 F .44(pletion when a wor)
-184 648 R 2.939(dc)-.18 G .439(ontaining a)-2.939 F F1(@)2.939 E F2 .439
-(is being completed \(see)2.939 F F1(Completing)2.939 E F2(under)2.939 E
-F3(READLINE)184 660 Q F2 2.5(above\). This)2.25 F
-(is enabled by default.)2.5 E F1(huponexit)144 672 Q F2(If set,)184 684
-Q F1(bash)2.5 E F2(will send)2.5 E F3(SIGHUP)2.5 E F2
-(to all jobs when an interactive login shell exits.)2.25 E F1
-(interactive_comments)144 696 Q F2 .26(If set, allow a wor)184 708 R
-2.76(db)-.18 G .26(eginning with)-2.76 F F1(#)2.76 E F2 .26
-(to cause that wor)2.76 F 2.76(da)-.18 G .26(nd all r)-2.76 F .26
-(emaining char)-.18 F(-)-.18 E .512(acters on that line to be ignor)184
-720 R .512(ed in an interactive shell \(see)-.18 F F3(COMMENTS)3.012 E
-F2(above\).)2.762 E F0(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(15)
-198.725 E 0 Cg EP
+(the)184 696 Q F1(readline)2.5 E F2(editing buf)2.5 E(fer)-.18 E 2.5(,a)
+-.74 G(llowing further modi\214cation.)-2.5 E F0(GNU Bash-3.0)72 768 Q
+(2004 Apr 20)148.735 E(15)198.725 E 0 Cg EP
%%Page: 16 16
%%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
-/Palatino-Roman@0 SF(This option is enabled by default.)184 84 Q/F2 10
-/Palatino-Bold@0 SF(lithist)144 96 Q F1 .513(If set, and the)12.8 F F2
-(cmdhist)3.013 E F1 .513(option is enabled, multi-line commands ar)3.013
-F 3.013(es)-.18 G .513(aved to the)-3.013 F .643(history with embedded \
-newlines rather than using semicolon separators wher)184 108 R(e)-.18 E
-(possible.)184 120 Q F2(login_shell)144 132 Q F1 2.454
+/Palatino-Bold@0 SF(hostcomplete)144 84 Q/F2 10/Palatino-Roman@0 SF .647
+(If set, and)184 96 R F1(readline)3.147 E F2 .648(is being used,)3.147 F
+F1(bash)3.148 E F2 .648(will attempt to perform hostname com-)3.148 F
+.44(pletion when a wor)184 108 R 2.939(dc)-.18 G .439(ontaining a)-2.939
+F F1(@)2.939 E F2 .439(is being completed \(see)2.939 F F1(Completing)
+2.939 E F2(under)2.939 E/F3 9/Palatino-Bold@0 SF(READLINE)184 120 Q F2
+2.5(above\). This)2.25 F(is enabled by default.)2.5 E F1(huponexit)144
+132 Q F2(If set,)184 144 Q F1(bash)2.5 E F2(will send)2.5 E F3(SIGHUP)
+2.5 E F2(to all jobs when an interactive login shell exits.)2.25 E F1
+(interactive_comments)144 156 Q F2 .26(If set, allow a wor)184 168 R
+2.76(db)-.18 G .26(eginning with)-2.76 F F1(#)2.76 E F2 .26
+(to cause that wor)2.76 F 2.76(da)-.18 G .26(nd all r)-2.76 F .26
+(emaining char)-.18 F(-)-.18 E .512(acters on that line to be ignor)184
+180 R .512(ed in an interactive shell \(see)-.18 F F3(COMMENTS)3.012 E
+F2(above\).)2.762 E(This option is enabled by default.)184 192 Q F1
+(lithist)144 204 Q F2 .513(If set, and the)12.8 F F1(cmdhist)3.013 E F2
+.513(option is enabled, multi-line commands ar)3.013 F 3.013(es)-.18 G
+.513(aved to the)-3.013 F .643(history with embedded newlines rather th\
+an using semicolon separators wher)184 216 R(e)-.18 E(possible.)184 228
+Q F1(login_shell)144 240 Q F2 2.454
(The shell sets this option if it is started as a login shell \(see)184
-144 R/F3 9/Palatino-Bold@0 SF(INVOCA)4.954 E(TION)-.828 E F1 2.5
-(above\). The)184 156 R(value may not be changed.)2.5 E F2(mailwarn)144
-168 Q F1 .965(If set, and a \214le that)184 180 R F2(bash)3.465 E F1
-.964(is checking for mail has been accessed since the last)3.464 F 1.647
-(time it was checked, the message `)184 192 R 1.647(`The mail in)-.37 F
-/F4 10/Palatino-Italic@0 SF(mail\214le)4.147 E F1 1.647(has been r)4.147
+252 R F3(INVOCA)4.954 E(TION)-.828 E F2 2.5(above\). The)184 264 R
+(value may not be changed.)2.5 E F1(mailwarn)144 276 Q F2 .965
+(If set, and a \214le that)184 288 R F1(bash)3.465 E F2 .964
+(is checking for mail has been accessed since the last)3.464 F 1.647
+(time it was checked, the message `)184 300 R 1.647(`The mail in)-.37 F
+/F4 10/Palatino-Italic@0 SF(mail\214le)4.147 E F2 1.647(has been r)4.147
F(ead')-.18 E 4.148('i)-.37 G 4.148(sd)-4.148 G(is-)-4.148 E(played.)184
-204 Q F2(no_empty_cmd_completion)144 216 Q F1 .572(If set, and)184 228 R
-F2(readline)3.072 E F1 .572(is being used,)3.072 F F2(bash)3.072 E F1
-.572(will not attempt to sear)3.072 F .572(ch the)-.18 F F2 -.74(PA)
-3.072 G(TH)-.18 E F1(for)3.072 E
+312 Q F1(no_empty_cmd_completion)144 324 Q F2 .572(If set, and)184 336 R
+F1(readline)3.072 E F2 .572(is being used,)3.072 F F1(bash)3.072 E F2
+.572(will not attempt to sear)3.072 F .572(ch the)-.18 F F1 -.74(PA)
+3.072 G(TH)-.18 E F2(for)3.072 E
(possible completions when completion is attempted on an empty line.)184
-240 Q F2(nocaseglob)144 252 Q F1 1.548(If set,)184 264 R F2(bash)4.048 E
-F1 1.548
+348 Q F1(nocaseglob)144 360 Q F2 1.548(If set,)184 372 R F1(bash)4.048 E
+F2 1.548
(matches \214lenames in a case\255insensitive fashion when performing)
-4.048 F(pathname expansion \(see)184 276 Q F2(Pathname Expansion)2.5 E
-F1(above\).)2.5 E F2(nullglob)144 288 Q F1 2.34(If set,)184 300 R F2
-(bash)4.84 E F1 2.34(allows patterns which match no \214les \(see)4.84 F
-F2 2.34(Pathname Expansion)4.84 F F1
-(above\) to expand to a null string, rather than themselves.)184 312 Q
-F2(progcomp)144 324 Q F1 1.198(If set, the pr)184 336 R 1.199
-(ogrammable completion facilities \(see)-.18 F F2 1.199
-(Programmable Completion)3.699 F F1(above\) ar)184 348 Q 2.5(ee)-.18 G
-2.5(nabled. This)-2.5 F(option is enabled by default.)2.5 E F2
-(promptvars)144 360 Q F1 2.553(If set, pr)184 372 R 2.553
-(ompt strings under)-.18 F 2.552
+4.048 F(pathname expansion \(see)184 384 Q F1(Pathname Expansion)2.5 E
+F2(above\).)2.5 E F1(nocasematch)144 396 Q F2 2.158(If set,)184 408 R F1
+(bash)4.658 E F2 2.158
+(matches patterns in a case\255insensitive fashion when performing)4.658
+F(matching while executing)184 420 Q F1(case)2.5 E F2(or)2.5 E F1([[)2.5
+E F2(conditional commands.)2.5 E F1(nullglob)144 432 Q F2 2.34(If set,)
+184 444 R F1(bash)4.84 E F2 2.34
+(allows patterns which match no \214les \(see)4.84 F F1 2.34
+(Pathname Expansion)4.84 F F2
+(above\) to expand to a null string, rather than themselves.)184 456 Q
+F1(progcomp)144 468 Q F2 1.199(If set, the pr)184 480 R 1.199
+(ogrammable completion facilities \(see)-.18 F F1 1.198
+(Programmable Completion)3.698 F F2(above\) ar)184 492 Q 2.5(ee)-.18 G
+2.5(nabled. This)-2.5 F(option is enabled by default.)2.5 E F1
+(promptvars)144 504 Q F2 2.552(If set, pr)184 516 R 2.552
+(ompt strings under)-.18 F 2.553
(go parameter expansion, command substitution,)-.18 F 1.007
-(arithmetic expansion, and quote r)184 384 R 1.007
-(emoval after being expanded as described in)-.18 F F3(PROMPTING)184 396
-Q F1 2.5(above. This)2.25 F(option is enabled by default.)2.5 E F2
-(restricted_shell)144 408 Q F1 1.743
-(The shell sets this option if it is started in r)184 420 R 1.742
-(estricted mode \(see)-.18 F F3(RESTRICTED)4.242 E(SHELL)184 432 Q F1
-4.862(below\). The)4.612 F 2.362(value may not be changed.)4.862 F 2.362
-(This is not r)7.362 F 2.362(eset when the)-.18 F .294
-(startup \214les ar)184 444 R 2.794(ee)-.18 G .294
+(arithmetic expansion, and quote r)184 528 R 1.007
+(emoval after being expanded as described in)-.18 F F3(PROMPTING)184 540
+Q F2 2.5(above. This)2.25 F(option is enabled by default.)2.5 E F1
+(restricted_shell)144 552 Q F2 1.743
+(The shell sets this option if it is started in r)184 564 R 1.743
+(estricted mode \(see)-.18 F F3(RESTRICTED)4.243 E(SHELL)184 576 Q F2
+4.862(below\). The)4.613 F 2.362(value may not be changed.)4.862 F 2.362
+(This is not r)7.362 F 2.362(eset when the)-.18 F .293
+(startup \214les ar)184 588 R 2.794(ee)-.18 G .294
(xecuted, allowing the startup \214les to discover whether or not a)
--2.794 F(shell is r)184 456 Q(estricted.)-.18 E F2(shift_verbose)144 468
-Q F1 .527(If set, the)184 480 R F2(shift)3.028 E F1 .528
+-2.794 F(shell is r)184 600 Q(estricted.)-.18 E F1(shift_verbose)144 612
+Q F2 .528(If set, the)184 624 R F1(shift)3.028 E F2 .528
(builtin prints an err)3.028 F .528
(or message when the shift count exceeds the)-.18 F
-(number of positional parameters.)184 492 Q F2(sourcepath)144 504 Q F1
-.515(If set, the)184 516 R F2(source)3.015 E F1(\()3.014 E F2(.)A F1
+(number of positional parameters.)184 636 Q F1(sourcepath)144 648 Q F2
+.514(If set, the)184 660 R F1(source)3.014 E F2(\()3.014 E F1(.)A F2
3.014(\)b)C .514(uiltin uses the value of)-3.014 F F3 -.666(PA)3.014 G
-(TH)-.162 E F1 .514(to \214nd the dir)2.764 F .514(ectory contain-)-.18
-F(ing the \214le supplied as an ar)184 528 Q 2.5(gument. This)-.18 F
-(option is enabled by default.)2.5 E F2(xpg_echo)144 540 Q F1
-(If set, the)184 552 Q F2(echo)2.5 E F1
-(builtin expands backslash-escape sequences by default.)2.5 E F2
-(suspend)108 564 Q F1([)2.5 E F2<ad66>A F1(])A .048
-(Suspend the execution of this shell until it r)144 576 R .048
-(eceives a)-.18 F F3(SIGCONT)2.548 E F1 2.548(signal. The)2.298 F F2
-<ad66>2.548 E F1 .048(option says)2.548 F .327
-(not to complain if this is a login shell; just suspend anyway)144 588 R
-5.327(.T)-1.11 G .327(he r)-5.327 F .327(eturn status is 0 unless)-.18 F
-(the shell is a login shell and)144 600 Q F2<ad66>2.5 E F1
-(is not supplied, or if job contr)2.5 E(ol is not enabled.)-.18 E F2
-(test)108 612 Q F4(expr)2.5 E F2([)108 624 Q F4(expr)2.5 E F2(])2.5 E F1
-.544(Return a status of 0 or 1 depending on the evaluation of the condi\
-tional expr)6.56 F(ession)-.18 E F4(expr)3.044 E F1(.).45 E .789
-(Each operator and operand must be a separate ar)144 636 R 3.288
-(gument. Expr)-.18 F .788(essions ar)-.18 F 3.288(ec)-.18 G .788
-(omposed of)-3.288 F(the primaries described above under)144 648 Q F3
-(CONDITIONAL EXPRESSIONS)2.5 E/F5 9/Palatino-Roman@0 SF(.)A F1(Expr)144
-666 Q .054
-(essions may be combined using the following operators, listed in decr)
--.18 F .055(easing or)-.18 F .055(der of)-.18 F(pr)144 678 Q(ecedence.)
--.18 E F2(!)144 690 Q F4(expr)2.5 E F1 -.78 -.9(Tr u)12.94 H 2.5(ei).9 G
-(f)-2.5 E F4(expr)2.85 E F1(is false.)2.95 E F2(\()144 702 Q F4(expr)2.5
-E F2(\))2.5 E F1 .847(Returns the value of)6.56 F F4(expr)3.347 E F1
-5.847(.T)C .847(his may be used to override the normal pr)-5.847 F
-(ecedence)-.18 E(of operators.)180 714 Q F0(GNU Bash-3.0)72 768 Q
-(2004 Apr 20)148.735 E(16)198.725 E 0 Cg EP
+(TH)-.162 E F2 .515(to \214nd the dir)2.764 F .515(ectory contain-)-.18
+F(ing the \214le supplied as an ar)184 672 Q 2.5(gument. This)-.18 F
+(option is enabled by default.)2.5 E F1(xpg_echo)144 684 Q F2
+(If set, the)184 696 Q F1(echo)2.5 E F2
+(builtin expands backslash-escape sequences by default.)2.5 E F0
+(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(16)198.725 E 0 Cg EP
%%Page: 17 17
%%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
-/Palatino-Italic@0 SF(expr1)144 84 Q/F2 10/Palatino-Roman@0 SF<ad>2.5 E
-/F3 10/Palatino-Bold@0 SF(a)A F1(expr2)2.5 E F2 -.78 -.9(Tr u)180 96 T
-2.5(ei).9 G 2.5(fb)-2.5 G(oth)-2.5 E F1(expr1)2.85 E F2(and)2.5 E F1
-(expr2)2.85 E F2(ar)2.5 E 2.5(et)-.18 G -.08(ru)-2.5 G(e.).08 E F1
-(expr1)144 108 Q F2<ad>2.5 E F3(o)A F1(expr2)2.5 E F2 -.78 -.9(Tr u)180
-120 T 2.5(ei).9 G 2.5(fe)-2.5 G(ither)-2.5 E F1(expr1)2.85 E F2(or)2.5 E
-F1(expr2)2.85 E F2(is tr)2.5 E(ue.)-.08 E F3(test)144 136.8 Q F2(and)
-3.576 E F3([)3.576 E F2 1.076(evaluate conditional expr)3.576 F 1.076
-(essions using a set of r)-.18 F 1.076(ules based on the number of)-.08
-F(ar)144 148.8 Q(guments.)-.18 E 2.5(0a)144 166.8 S -.18(rg)-2.5 G
-(uments).18 E(The expr)180 178.8 Q(ession is false.)-.18 E 2.5(1a)144
-190.8 S -.18(rg)-2.5 G(ument).18 E(The expr)180 202.8 Q(ession is tr)
--.18 E(ue if and only if the ar)-.08 E(gument is not null.)-.18 E 2.5
-(2a)144 214.8 S -.18(rg)-2.5 G(uments).18 E .209(If the \214rst ar)180
-226.8 R .208(gument is)-.18 F F3(!)2.708 E F2 2.708(,t)C .208(he expr)
--2.708 F .208(ession is tr)-.18 F .208(ue if and only if the second ar)
--.08 F(gument)-.18 E 2.143(is null.)180 238.8 R 2.144(If the \214rst ar)
-7.143 F 2.144(gument is one of the unary conditional operators listed)
--.18 F 1.402(above under)180 250.8 R/F4 9/Palatino-Bold@0 SF 1.401
-(CONDITIONAL EXPRESSIONS)3.901 F/F5 9/Palatino-Roman@0 SF(,)A F2 1.401
-(the expr)3.651 F 1.401(ession is tr)-.18 F 1.401(ue if the unary)-.08 F
-1.355(test is tr)180 262.8 R 3.855(ue. If)-.08 F 1.356(the \214rst ar)
-3.855 F 1.356(gument is not a valid unary conditional operator)-.18 F
-3.856(,t)-.74 G(he)-3.856 E(expr)180 274.8 Q(ession is false.)-.18 E 2.5
-(3a)144 286.8 S -.18(rg)-2.5 G(uments).18 E 1.5(If the second ar)180
-298.8 R 1.499
+/Palatino-Bold@0 SF(suspend)108 84 Q/F2 10/Palatino-Roman@0 SF([)2.5 E
+F1<ad66>A F2(])A .048(Suspend the execution of this shell until it r)144
+96 R .048(eceives a)-.18 F/F3 9/Palatino-Bold@0 SF(SIGCONT)2.548 E F2
+2.548(signal. The)2.298 F F1<ad66>2.548 E F2 .047(option says)2.547 F
+.327(not to complain if this is a login shell; just suspend anyway)144
+108 R 5.327(.T)-1.11 G .327(he r)-5.327 F .327(eturn status is 0 unless)
+-.18 F(the shell is a login shell and)144 120 Q F1<ad66>2.5 E F2
+(is not supplied, or if job contr)2.5 E(ol is not enabled.)-.18 E F1
+(test)108 132 Q/F4 10/Palatino-Italic@0 SF(expr)2.5 E F1([)108 144 Q F4
+(expr)2.5 E F1(])2.5 E F2 .544(Return a status of 0 or 1 depending on t\
+he evaluation of the conditional expr)6.56 F(ession)-.18 E F4(expr)3.044
+E F2(.).45 E .788(Each operator and operand must be a separate ar)144
+156 R 3.289(gument. Expr)-.18 F .789(essions ar)-.18 F 3.289(ec)-.18 G
+.789(omposed of)-3.289 F(the primaries described above under)144 168 Q
+F3(CONDITIONAL EXPRESSIONS)2.5 E/F5 9/Palatino-Roman@0 SF(.)A F2(Expr)
+144 186 Q .054
+(essions may be combined using the following operators, listed in decr)
+-.18 F .054(easing or)-.18 F .054(der of)-.18 F(pr)144 198 Q(ecedence.)
+-.18 E F1(!)144 210 Q F4(expr)2.5 E F2 -.78 -.9(Tr u)12.94 H 2.5(ei).9 G
+(f)-2.5 E F4(expr)2.85 E F2(is false.)2.95 E F1(\()144 222 Q F4(expr)2.5
+E F1(\))2.5 E F2 .847(Returns the value of)6.56 F F4(expr)3.347 E F2
+5.847(.T)C .847(his may be used to override the normal pr)-5.847 F
+(ecedence)-.18 E(of operators.)180 234 Q F4(expr1)144 246 Q F2<ad>2.5 E
+F1(a)A F4(expr2)2.5 E F2 -.78 -.9(Tr u)180 258 T 2.5(ei).9 G 2.5(fb)-2.5
+G(oth)-2.5 E F4(expr1)2.85 E F2(and)2.5 E F4(expr2)2.85 E F2(ar)2.5 E
+2.5(et)-.18 G -.08(ru)-2.5 G(e.).08 E F4(expr1)144 270 Q F2<ad>2.5 E F1
+(o)A F4(expr2)2.5 E F2 -.78 -.9(Tr u)180 282 T 2.5(ei).9 G 2.5(fe)-2.5 G
+(ither)-2.5 E F4(expr1)2.85 E F2(or)2.5 E F4(expr2)2.85 E F2(is tr)2.5 E
+(ue.)-.08 E F1(test)144 298.8 Q F2(and)3.576 E F1([)3.576 E F2 1.076
+(evaluate conditional expr)3.576 F 1.076(essions using a set of r)-.18 F
+1.076(ules based on the number of)-.08 F(ar)144 310.8 Q(guments.)-.18 E
+2.5(0a)144 328.8 S -.18(rg)-2.5 G(uments).18 E(The expr)180 340.8 Q
+(ession is false.)-.18 E 2.5(1a)144 352.8 S -.18(rg)-2.5 G(ument).18 E
+(The expr)180 364.8 Q(ession is tr)-.18 E(ue if and only if the ar)-.08
+E(gument is not null.)-.18 E 2.5(2a)144 376.8 S -.18(rg)-2.5 G(uments)
+.18 E .208(If the \214rst ar)180 388.8 R .208(gument is)-.18 F F1(!)
+2.708 E F2 2.708(,t)C .208(he expr)-2.708 F .208(ession is tr)-.18 F
+.208(ue if and only if the second ar)-.08 F(gument)-.18 E 2.144
+(is null.)180 400.8 R 2.144(If the \214rst ar)7.144 F 2.144
+(gument is one of the unary conditional operators listed)-.18 F 1.401
+(above under)180 412.8 R F3 1.401(CONDITIONAL EXPRESSIONS)3.901 F F5(,)A
+F2 1.401(the expr)3.651 F 1.401(ession is tr)-.18 F 1.401
+(ue if the unary)-.08 F 1.356(test is tr)180 424.8 R 3.856(ue. If)-.08 F
+1.356(the \214rst ar)3.856 F 1.356
+(gument is not a valid unary conditional operator)-.18 F 3.855(,t)-.74 G
+(he)-3.855 E(expr)180 436.8 Q(ession is false.)-.18 E 2.5(3a)144 448.8 S
+-.18(rg)-2.5 G(uments).18 E 1.499(If the second ar)180 460.8 R 1.499
(gument is one of the binary conditional operators listed above)-.18 F
-(under)180 310.8 Q F4 .64(CONDITIONAL EXPRESSIONS)3.14 F F5(,)A F2 .64
+(under)180 472.8 Q F3 .64(CONDITIONAL EXPRESSIONS)3.141 F F5(,)A F2 .64
(the r)2.89 F .64(esult of the expr)-.18 F .64(ession is the r)-.18 F
-.641(esult of)-.18 F .529(the binary test using the \214rst and thir)180
-322.8 R 3.029(da)-.18 G -.18(rg)-3.029 G .528(uments as operands.).18 F
-.528(If the \214rst ar)5.528 F(gu-)-.18 E .106(ment is)180 334.8 R F3(!)
-2.606 E F2 2.606(,t)C .107(he value is the negation of the two-ar)-2.606
-F .107(gument test using the second and)-.18 F(thir)180 346.8 Q 4.633
-(da)-.18 G -.18(rg)-4.633 G 4.633(uments. If).18 F 2.133(the \214rst ar)
-4.633 F 2.132(gument is exactly)-.18 F F3(\()4.632 E F2 2.132
-(and the thir)4.632 F 4.632(da)-.18 G -.18(rg)-4.632 G 2.132(ument is)
-.18 F(exactly)180 358.8 Q F3(\))2.925 E F2 2.925(,t)C .426(he r)-2.925 F
+.64(esult of)-.18 F .528(the binary test using the \214rst and thir)180
+484.8 R 3.029(da)-.18 G -.18(rg)-3.029 G .529(uments as operands.).18 F
+.529(If the \214rst ar)5.529 F(gu-)-.18 E .107(ment is)180 496.8 R F1(!)
+2.607 E F2 2.607(,t)C .107(he value is the negation of the two-ar)-2.607
+F .106(gument test using the second and)-.18 F(thir)180 508.8 Q 4.632
+(da)-.18 G -.18(rg)-4.632 G 4.632(uments. If).18 F 2.132(the \214rst ar)
+4.632 F 2.132(gument is exactly)-.18 F F1(\()4.632 E F2 2.133
+(and the thir)4.632 F 4.633(da)-.18 G -.18(rg)-4.633 G 2.133(ument is)
+.18 F(exactly)180 520.8 Q F1(\))2.926 E F2 2.926(,t)C .426(he r)-2.926 F
.426(esult is the one-ar)-.18 F .426(gument test of the second ar)-.18 F
-2.926(gument. Otherwise,)-.18 F .43(the expr)180 370.8 R .43
-(ession is false.)-.18 F(The)5.43 E F3<ad61>2.93 E F2(and)2.93 E F3
+2.925(gument. Otherwise,)-.18 F .43(the expr)180 532.8 R .43
+(ession is false.)-.18 F(The)5.43 E F1<ad61>2.93 E F2(and)2.93 E F1
<ad6f>2.93 E F2 .43(operators ar)2.93 F 2.93(ec)-.18 G(onsider)-2.93 E
-.43(ed binary operators)-.18 F(in this case.)180 382.8 Q 2.5(4a)144
-394.8 S -.18(rg)-2.5 G(uments).18 E .668(If the \214rst ar)180 406.8 R
-.668(gument is)-.18 F F3(!)3.168 E F2 3.168(,t)C .669(he r)-3.168 F .669
-(esult is the negation of the thr)-.18 F(ee-ar)-.18 E .669(gument expr)
--.18 F(es-)-.18 E .409(sion composed of the r)180 418.8 R .409
+.43(ed binary operators)-.18 F(in this case.)180 544.8 Q 2.5(4a)144
+556.8 S -.18(rg)-2.5 G(uments).18 E .669(If the \214rst ar)180 568.8 R
+.669(gument is)-.18 F F1(!)3.169 E F2 3.169(,t)C .669(he r)-3.169 F .668
+(esult is the negation of the thr)-.18 F(ee-ar)-.18 E .668(gument expr)
+-.18 F(es-)-.18 E .409(sion composed of the r)180 580.8 R .409
(emaining ar)-.18 F 2.909(guments. Otherwise,)-.18 F .409(the expr)2.909
-F .409(ession is parsed)-.18 F(and evaluated accor)180 430.8 Q
+F .409(ession is parsed)-.18 F(and evaluated accor)180 592.8 Q
(ding to pr)-.18 E(ecedence using the r)-.18 E(ules listed above.)-.08 E
-2.5(5o)144 442.8 S 2.5(rm)-2.5 G(or)-2.5 E 2.5(ea)-.18 G -.18(rg)-2.5 G
-(uments).18 E .781(The expr)180 454.8 R .782
-(ession is parsed and evaluated accor)-.18 F .782(ding to pr)-.18 F .782
-(ecedence using the r)-.18 F(ules)-.08 E(listed above.)180 466.8 Q F3
-(times)108 483.6 Q F2 .334
+2.5(5o)144 604.8 S 2.5(rm)-2.5 G(or)-2.5 E 2.5(ea)-.18 G -.18(rg)-2.5 G
+(uments).18 E .782(The expr)180 616.8 R .782
+(ession is parsed and evaluated accor)-.18 F .782(ding to pr)-.18 F .781
+(ecedence using the r)-.18 F(ules)-.08 E(listed above.)180 628.8 Q F1
+(times)108 645.6 Q F2 .334
(Print the accumulated user and system times for the shell and for pr)
11.01 F .334(ocesses r)-.18 F .334(un fr)-.08 F .334(om the)-.18 F 2.5
-(shell. The)144 495.6 R -.18(re)2.5 G(turn status is 0.).18 E F3(trap)
-108 512.4 Q F2([)2.5 E F3(\255lp)A F2 2.5(][)C([)-2.5 E F1(ar)A(g)-.18 E
-F2(])A F1(sigspec)2.5 E F2(...])2.5 E .563(The command)144 524.4 R F1
-(ar)3.523 E(g)-.18 E F2 .563(is to be r)3.543 F .563
-(ead and executed when the shell r)-.18 F .564(eceives signal\(s\))-.18
-F F1(sigspec)3.064 E F2 5.564(.I).32 G(f)-5.564 E F1(ar)144.46 536.4 Q
-(g)-.18 E F2 .153(is absent \(and ther)3.133 F 2.653(ei)-.18 G 2.653
-(sas)-2.653 G(ingle)-2.653 E F1(sigspec)2.653 E F2 2.653(\)o)C(r)-2.653
-E F3<ad>2.653 E F2 2.653(,e)C .153(ach speci\214ed signal is r)-2.653 F
-.152(eset to its original)-.18 F .069
-(disposition \(the value it had upon entrance to the shell\).)144 548.4
-R(If)5.069 E F1(ar)3.03 E(g)-.18 E F2 .07(is the null string the signal)
-3.05 F .142(speci\214ed by each)144 560.4 R F1(sigspec)3.052 E F2 .142
-(is ignor)2.962 F .142(ed by the shell and by the commands it invokes.)
--.18 F(If)5.141 E F1(ar)3.101 E(g)-.18 E F2(is)3.121 E 1.795(not pr)144
-572.4 R 1.795(esent and)-.18 F F3<ad70>4.295 E F2 1.796
-(has been supplied, then the trap commands associated with each)4.295 F
-F1(sigspec)144.41 584.4 Q F2(ar)3.218 E 2.898(ed)-.18 G 2.898
-(isplayed. If)-2.898 F .398(no ar)2.898 F .398(guments ar)-.18 F 2.898
-(es)-.18 G .397(upplied or if only)-2.898 F F3<ad70>2.897 E F2 .397
-(is given,)2.897 F F3(trap)2.897 E F2 .397(prints the)2.897 F .035
-(list of commands associated with each signal.)144 596.4 R(The)5.036 E
-F3<ad6c>2.536 E F2 .036(option causes the shell to print a list)2.536 F
-1.095(of signal names and their corr)144 608.4 R 1.095
-(esponding numbers.)-.18 F(Each)6.095 E F1(sigspec)4.005 E F2 1.094
-(is either a signal name)3.914 F .672(de\214ned in <)144 620.4 R F1
-(signal.h)A F2 .673(>, or a signal number)B 5.673(.S)-.74 G .673
-(ignal names ar)-5.673 F 3.173(ec)-.18 G .673
-(ase insensitive and the SIG)-3.173 F(pr)144 632.4 Q .977
-(e\214x is optional.)-.18 F .976(If a)5.976 F F1(sigspec)3.886 E F2(is)
-3.796 E F4(EXIT)3.476 E F2 .976(\(0\) the command)3.226 F F1(ar)3.936 E
-(g)-.18 E F2 .976(is executed on exit fr)3.956 F .976(om the)-.18 F
-3.404(shell. If)144 644.4 R(a)3.404 E F1(sigspec)3.814 E F2(is)3.724 E
-F4(DEBUG)3.404 E F5(,)A F2 .904(the command)3.154 F F1(ar)3.864 E(g)-.18
-E F2 .905(is executed befor)3.885 F 3.405(ee)-.18 G(very)-3.405 E F1
-.905(simple command)3.405 F F2(,)A F1(for)144 656.4 Q F2(command,)3.016
-E F1(case)3.016 E F2(command,)3.016 E F1(select)3.016 E F2 .515
-(command, every arithmetic)3.016 F F1(for)3.015 E F2 .515
-(command, and befor)3.015 F(e)-.18 E 1.001
-(the \214rst command executes in a shell function \(see)144 668.4 R F4
-1.001(SHELL GRAMMAR)3.501 F F2 3.501(above\). Refer)3.251 F(to)3.501 E
-.679(the description of the)144 680.4 R F3(extdebug)3.178 E F2 .678
-(option to the)3.178 F F3(shopt)3.178 E F2 .678
-(builtin for details of its ef)3.178 F .678(fect on the)-.18 F F3(DEBUG)
-144 692.4 Q F2 3.153(trap. If)3.153 F(a)3.153 E F1(sigspec)3.563 E F2
-(is)3.473 E F4(ERR)3.153 E F5(,)A F2 .653(the command)2.903 F F1(ar)
-3.613 E(g)-.18 E F2 .653(is executed whenever a simple com-)3.633 F .241
-(mand has a non\255zer)144 704.4 R 2.741(oe)-.18 G .24
-(xit status, subject to the following conditions.)-2.741 F(The)5.24 E F4
-(ERR)2.74 E F2 .24(trap is not)2.49 F 1.926(executed if the failed comm\
-and is part of the command list immediately following a)144 716.4 R F3
-(while)144 728.4 Q F2(or)2.552 E F3(until)2.552 E F2(keywor)2.552 E .052
-(d, part of the test in an)-.18 F F1(if)2.712 E F2 .052
-(statement, part of a)4.402 F F3(&&)2.552 E F2(or)2.552 E/F6 10/Symbol
-SF<efef>2.552 E F2 .051(list, or if the)2.552 F F0(GNU Bash-3.0)72 768 Q
-(2004 Apr 20)148.735 E(17)198.725 E 0 Cg EP
+(shell. The)144 657.6 R -.18(re)2.5 G(turn status is 0.).18 E F1(trap)
+108 674.4 Q F2([)2.5 E F1(\255lp)A F2 2.5(][)C([)-2.5 E F4(ar)A(g)-.18 E
+F2(])A F4(sigspec)2.5 E F2(...])2.5 E .564(The command)144 686.4 R F4
+(ar)3.524 E(g)-.18 E F2 .564(is to be r)3.544 F .563
+(ead and executed when the shell r)-.18 F .563(eceives signal\(s\))-.18
+F F4(sigspec)3.063 E F2 5.563(.I).32 G(f)-5.563 E F4(ar)144.46 698.4 Q
+(g)-.18 E F2 .152(is absent \(and ther)3.132 F 2.653(ei)-.18 G 2.653
+(sas)-2.653 G(ingle)-2.653 E F4(sigspec)2.653 E F2 2.653(\)o)C(r)-2.653
+E F1<ad>2.653 E F2 2.653(,e)C .153(ach speci\214ed signal is r)-2.653 F
+.153(eset to its original)-.18 F .07
+(disposition \(the value it had upon entrance to the shell\).)144 710.4
+R(If)5.069 E F4(ar)3.029 E(g)-.18 E F2 .069
+(is the null string the signal)3.049 F .141(speci\214ed by each)144
+722.4 R F4(sigspec)3.051 E F2 .142(is ignor)2.961 F .142
+(ed by the shell and by the commands it invokes.)-.18 F(If)5.142 E F4
+(ar)3.102 E(g)-.18 E F2(is)3.122 E F0(GNU Bash-3.0)72 768 Q(2004 Apr 20)
+148.735 E(17)198.725 E 0 Cg EP
%%Page: 18 18
%%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
-/Palatino-Roman@0 SF .092(command's r)144 84 R .092
-(eturn value is being inverted via)-.18 F/F2 10/Palatino-Bold@0 SF(!)
-2.592 E F1 5.092(.T)C .092(hese ar)-5.092 F 2.592(et)-.18 G .092
-(he same conditions obeyed by)-2.592 F(the)144 96 Q F2(errexit)2.825 E
-F1 2.825(option. If)2.825 F(a)2.825 E/F3 10/Palatino-Italic@0 SF
-(sigspec)3.235 E F1(is)3.145 E/F4 9/Palatino-Bold@0 SF(RETURN)2.825 E/F5
-9/Palatino-Roman@0 SF(,)A F1 .325(the command)2.575 F F3(ar)3.284 E(g)
--.18 E F1 .324(is executed each time a shell)3.304 F 1.95
-(function or a script executed with the)144 108 R F2(.)4.451 E F1(or)
-4.451 E F2(source)4.451 E F1 1.951(builtins \214nishes executing.)4.451
-F(Signals)6.951 E(ignor)144 120 Q .847
-(ed upon entry to the shell cannot be trapped or r)-.18 F 3.346(eset. T)
--.18 F .846(rapped signals ar)-.9 F 3.346(er)-.18 G .846(eset to)-3.526
-F .298(their original values in a child pr)144 132 R .299
-(ocess when it is cr)-.18 F 2.799(eated. The)-.18 F -.18(re)2.799 G .299
-(turn status is false if any).18 F F3(sigspec)144.41 144 Q F1
+/Palatino-Roman@0 SF 1.796(not pr)144 84 R 1.796(esent and)-.18 F/F2 10
+/Palatino-Bold@0 SF<ad70>4.296 E F1 1.795
+(has been supplied, then the trap commands associated with each)4.296 F
+/F3 10/Palatino-Italic@0 SF(sigspec)144.41 96 Q F1(ar)3.217 E 2.897(ed)
+-.18 G 2.897(isplayed. If)-2.897 F .397(no ar)2.897 F .397(guments ar)
+-.18 F 2.897(es)-.18 G .398(upplied or if only)-2.897 F F2<ad70>2.898 E
+F1 .398(is given,)2.898 F F2(trap)2.898 E F1 .398(prints the)2.898 F
+.036(list of commands associated with each signal.)144 108 R(The)5.036 E
+F2<ad6c>2.536 E F1 .035(option causes the shell to print a list)2.536 F
+1.094(of signal names and their corr)144 120 R 1.095(esponding numbers.)
+-.18 F(Each)6.095 E F3(sigspec)4.005 E F1 1.095(is either a signal name)
+3.915 F .673(de\214ned in <)144 132 R F3(signal.h)A F1 .673
+(>, or a signal number)B 5.673(.S)-.74 G .673(ignal names ar)-5.673 F
+3.173(ec)-.18 G .673(ase insensitive and the SIG)-3.173 F(pr)144 144 Q
+.976(e\214x is optional.)-.18 F .976(If a)5.976 F F3(sigspec)3.886 E F1
+(is)3.796 E/F4 9/Palatino-Bold@0 SF(EXIT)3.476 E F1 .976
+(\(0\) the command)3.226 F F3(ar)3.936 E(g)-.18 E F1 .976
+(is executed on exit fr)3.956 F .977(om the)-.18 F 3.405(shell. If)144
+156 R(a)3.405 E F3(sigspec)3.815 E F1(is)3.725 E F4(DEBUG)3.405 E/F5 9
+/Palatino-Roman@0 SF(,)A F1 .904(the command)3.155 F F3(ar)3.864 E(g)
+-.18 E F1 .904(is executed befor)3.884 F 3.404(ee)-.18 G(very)-3.404 E
+F3 .904(simple command)3.404 F F1(,)A F3(for)144 168 Q F1(command,)3.015
+E F3(case)3.015 E F1(command,)3.015 E F3(select)3.015 E F1 .515
+(command, every arithmetic)3.015 F F3(for)3.016 E F1 .516
+(command, and befor)3.016 F(e)-.18 E 1.001
+(the \214rst command executes in a shell function \(see)144 180 R F4
+1.001(SHELL GRAMMAR)3.501 F F1 3.5(above\). Refer)3.25 F(to)3.5 E .678
+(the description of the)144 192 R F2(extdebug)3.178 E F1 .678
+(option to the)3.178 F F2(shopt)3.178 E F1 .678
+(builtin for details of its ef)3.178 F .679(fect on the)-.18 F F2(DEBUG)
+144 204 Q F1 3.153(trap. If)3.153 F(a)3.153 E F3(sigspec)3.563 E F1(is)
+3.473 E F4(ERR)3.153 E F5(,)A F1 .653(the command)2.903 F F3(ar)3.613 E
+(g)-.18 E F1 .653(is executed whenever a simple com-)3.633 F .24
+(mand has a non\255zer)144 216 R 2.74(oe)-.18 G .24
+(xit status, subject to the following conditions.)-2.74 F(The)5.241 E F4
+(ERR)2.741 E F1 .241(trap is not)2.491 F 1.926(executed if the failed c\
+ommand is part of the command list immediately following a)144 228 R F2
+(while)144 240 Q F1(or)2.551 E F2(until)2.551 E F1(keywor)2.552 E .052
+(d, part of the test in an)-.18 F F3(if)2.712 E F1 .052
+(statement, part of a)4.402 F F2(&&)2.552 E F1(or)2.552 E/F6 10/Symbol
+SF<efef>2.552 E F1 .052(list, or if the)2.552 F .093(command's r)144 252
+R .092(eturn value is being inverted via)-.18 F F2(!)2.592 E F1 5.092
+(.T)C .092(hese ar)-5.092 F 2.592(et)-.18 G .092
+(he same conditions obeyed by)-2.592 F(the)144 264 Q F2(errexit)2.824 E
+F1 2.824(option. If)2.824 F(a)2.824 E F3(sigspec)3.234 E F1(is)3.144 E
+F4(RETURN)2.824 E F5(,)A F1 .325(the command)2.575 F F3(ar)3.285 E(g)
+-.18 E F1 .325(is executed each time a shell)3.305 F 1.951
+(function or a script executed with the)144 276 R F2(.)4.451 E F1(or)
+4.451 E F2(source)4.451 E F1 1.95(builtins \214nishes executing.)4.451 F
+(Signals)6.95 E(ignor)144 288 Q .846
+(ed upon entry to the shell cannot be trapped or r)-.18 F 3.347(eset. T)
+-.18 F .847(rapped signals ar)-.9 F 3.347(er)-.18 G .847(eset to)-3.527
+F .299(their original values in a child pr)144 300 R .299
+(ocess when it is cr)-.18 F 2.799(eated. The)-.18 F -.18(re)2.799 G .298
+(turn status is false if any).18 F F3(sigspec)144.41 312 Q F1
(is invalid; otherwise)2.82 E F2(trap)2.5 E F1 -.18(re)2.5 G(turns tr)
-.18 E(ue.)-.08 E F2(type)108 160.8 Q F1([)2.5 E F2(\255aftpP)A F1(])A F3
-(name)2.5 E F1([)2.5 E F3(name)A F1(...])2.5 E -.55(Wi)144 172.8 S 1.476
+.18 E(ue.)-.08 E F2(type)108 328.8 Q F1([)2.5 E F2(\255aftpP)A F1(])A F3
+(name)2.5 E F1([)2.5 E F3(name)A F1(...])2.5 E -.55(Wi)144 340.8 S 1.475
(th no options, indicate how each).55 F F3(name)4.236 E F1 1.476
-(would be interpr)4.326 F 1.475(eted if used as a command)-.18 F 2.725
-(name. If)144 184.8 R(the)2.725 E F2<ad74>2.725 E F1 .225
-(option is used,)2.725 F F2(type)2.725 E F1 .225
-(prints a string which is one of)2.725 F F3(alias)2.726 E F1(,).06 E F3
-(keyword)2.726 E F1(,).33 E F3(function)2.726 E F1(,).08 E F3(builtin)
-144 196.8 Q F1 2.556(,o).08 G(r)-2.556 E F3(\214le)4.676 E F1(if)2.906 E
-F3(name)2.816 E F1 .056(is an alias, shell r)2.906 F .056(eserved wor)
--.18 F .055(d, function, builtin, or disk \214le, r)-.18 F(espec-)-.18 E
-(tively)144 208.8 Q 6.634(.I)-1.11 G 4.134(ft)-6.634 G(he)-4.134 E F3
-(name)4.394 E F1 1.635
+(would be interpr)4.326 F 1.476(eted if used as a command)-.18 F 2.726
+(name. If)144 352.8 R(the)2.726 E F2<ad74>2.726 E F1 .226
+(option is used,)2.726 F F2(type)2.725 E F1 .225
+(prints a string which is one of)2.725 F F3(alias)2.725 E F1(,).06 E F3
+(keyword)2.725 E F1(,).33 E F3(function)2.725 E F1(,).08 E F3(builtin)
+144 364.8 Q F1 2.555(,o).08 G(r)-2.555 E F3(\214le)4.675 E F1(if)2.905 E
+F3(name)2.815 E F1 .056(is an alias, shell r)2.905 F .056(eserved wor)
+-.18 F .056(d, function, builtin, or disk \214le, r)-.18 F(espec-)-.18 E
+(tively)144 376.8 Q 6.635(.I)-1.11 G 4.135(ft)-6.635 G(he)-4.135 E F3
+(name)4.395 E F1 1.635
(is not found, then nothing is printed, and an exit status of false is)
-4.484 F -.18(re)144 220.8 S 2.523(turned. If).18 F(the)2.523 E F2<ad70>
+4.485 F -.18(re)144 388.8 S 2.522(turned. If).18 F(the)2.523 E F2<ad70>
2.523 E F1 .023(option is used,)2.523 F F2(type)2.523 E F1 .023
(either r)2.523 F .023(eturns the name of the disk \214le that would)
--.18 F 1.086(be executed if)144 232.8 R F3(name)3.846 E F1(wer)3.936 E
+-.18 F 1.086(be executed if)144 400.8 R F3(name)3.846 E F1(wer)3.936 E
3.586(es)-.18 G 1.086(peci\214ed as a command name, or nothing if)-3.586
-F/F6 10/Courier@0 SF 1.086(type -t name)3.586 F F1 .016(would not r)144
-244.8 R(eturn)-.18 E F3(\214le)2.516 E F1 5.016(.T).35 G(he)-5.016 E F2
-<ad50>2.516 E F1 .016(option for)2.516 F .016(ces a)-.18 F F4 -.666(PA)
-2.515 G(TH)-.162 E F1(sear)2.265 E .015(ch for each)-.18 F F3(name)2.515
-E F1 2.515(,e)C .015(ven if)-2.515 F F6 .015(type -t)2.515 F(name)144
-256.8 Q F1 .645(would not r)3.145 F(eturn)-.18 E F3(\214le)3.145 E F1
+F/F7 10/Courier@0 SF 1.086(type -t name)3.586 F F1 .015(would not r)144
+412.8 R(eturn)-.18 E F3(\214le)2.515 E F1 5.015(.T).35 G(he)-5.015 E F2
+<ad50>2.515 E F1 .015(option for)2.515 F .015(ces a)-.18 F F4 -.666(PA)
+2.515 G(TH)-.162 E F1(sear)2.266 E .016(ch for each)-.18 F F3(name)2.516
+E F1 2.516(,e)C .016(ven if)-2.516 F F7 .016(type -t)2.516 F(name)144
+424.8 Q F1 .645(would not r)3.145 F(eturn)-.18 E F3(\214le)3.145 E F1
5.645(.I).35 G 3.145(fac)-5.645 G .645(ommand is hashed,)-3.145 F F2
<ad70>3.145 E F1(and)3.145 E F2<ad50>3.145 E F1 .645
-(print the hashed value,)3.145 F .411
-(not necessarily the \214le that appears \214rst in)144 268.8 R F4 -.666
+(print the hashed value,)3.145 F .41
+(not necessarily the \214le that appears \214rst in)144 436.8 R F4 -.666
(PA)2.911 G(TH)-.162 E F5(.)A F1 .411(If the)4.911 F F2<ad61>2.911 E F1
-.411(option is used,)2.911 F F2(type)2.91 E F1 .41(prints all)2.91 F
-.164(of the places that contain an executable named)144 280.8 R F3(name)
+.411(option is used,)2.911 F F2(type)2.911 E F1 .411(prints all)2.911 F
+.164(of the places that contain an executable named)144 448.8 R F3(name)
2.664 E F1 5.164(.T).35 G .164(his includes aliases and functions,)
--5.164 F .73(if and only if the)144 292.8 R F2<ad70>3.23 E F1 .73
+-5.164 F .73(if and only if the)144 460.8 R F2<ad70>3.23 E F1 .73
(option is not also used.)3.23 F .73
-(The table of hashed commands is not con-)5.73 F .497(sulted when using)
-144 304.8 R F2<ad61>2.998 E F1 5.498(.T)C(he)-5.498 E F2<ad66>2.998 E F1
+(The table of hashed commands is not con-)5.73 F .498(sulted when using)
+144 472.8 R F2<ad61>2.998 E F1 5.498(.T)C(he)-5.498 E F2<ad66>2.998 E F1
.498(option suppr)2.998 F .498(esses shell function lookup, as with the)
--.18 F F2(com-)2.998 E(mand)144 316.8 Q F1(builtin.)4.558 E F2(type)
-7.058 E F1 -.18(re)4.558 G 2.058(turns tr).18 F 2.057
-(ue if any of the ar)-.08 F 2.057(guments ar)-.18 F 4.557(ef)-.18 G
-2.057(ound, false if none ar)-4.557 F(e)-.18 E(found.)144 328.8 Q F2
-(ulimit)108 345.6 Q F1([)2.5 E F2(\255SHacd\215mnpstuv)A F1([)2.5 E F3
-(limit)A F1(]])A(Pr)144 357.6 Q .061(ovides contr)-.18 F .061
+-.18 F F2(com-)2.997 E(mand)144 484.8 Q F1(builtin.)4.557 E F2(type)
+7.057 E F1 -.18(re)4.557 G 2.057(turns tr).18 F 2.057
+(ue if any of the ar)-.08 F 2.057(guments ar)-.18 F 4.558(ef)-.18 G
+2.058(ound, false if none ar)-4.558 F(e)-.18 E(found.)144 496.8 Q F2
+(ulimit)108 513.6 Q F1([)2.5 E F2(\255SHacd\215mnpstuv)A F1([)2.5 E F3
+(limit)A F1(]])A(Pr)144 525.6 Q .062(ovides contr)-.18 F .062
(ol over the r)-.18 F(esour)-.18 E .061
-(ces available to the shell and to pr)-.18 F .062
-(ocesses started by it, on)-.18 F 1.497(systems that allow such contr)
-144 369.6 R 3.997(ol. The)-.18 F F2<ad48>3.997 E F1(and)3.997 E F2<ad53>
-3.997 E F1 1.496(options specify that the har)3.997 F 3.996(do)-.18 G
-3.996(rs)-3.996 G(oft)-3.996 E .884(limit is set for the given r)144
-381.6 R(esour)-.18 E 3.384(ce. A)-.18 F(har)3.384 E 3.384(dl)-.18 G .884
+(ces available to the shell and to pr)-.18 F .061
+(ocesses started by it, on)-.18 F 1.496(systems that allow such contr)
+144 537.6 R 3.996(ol. The)-.18 F F2<ad48>3.997 E F1(and)3.997 E F2<ad53>
+3.997 E F1 1.497(options specify that the har)3.997 F 3.997(do)-.18 G
+3.997(rs)-3.997 G(oft)-3.997 E .884(limit is set for the given r)144
+549.6 R(esour)-.18 E 3.384(ce. A)-.18 F(har)3.384 E 3.384(dl)-.18 G .884
(imit cannot be incr)-3.384 F .884(eased once it is set; a soft)-.18 F
-.089(limit may be incr)144 393.6 R .088
+.088(limit may be incr)144 561.6 R .088
(eased up to the value of the har)-.18 F 2.588(dl)-.18 G 2.588(imit. If)
--2.588 F(neither)2.588 E F2<ad48>2.588 E F1(nor)2.588 E F2<ad53>2.588 E
-F1 .088(is speci\214ed,)2.588 F .162(both the soft and har)144 405.6 R
-2.662(dl)-.18 G .162(imits ar)-2.662 F 2.662(es)-.18 G 2.663(et. The)
--2.662 F .163(value of)2.663 F F3(limit)2.803 E F1 .163
-(can be a number in the unit speci-)2.933 F .176(\214ed for the r)144
-417.6 R(esour)-.18 E .176(ce or one of the special values)-.18 F F2
-(hard)2.676 E F1(,)A F2(soft)2.675 E F1 2.675(,o)C(r)-2.675 E F2
-(unlimited)2.675 E F1 2.675(,w)C .175(hich stand for)-2.675 F .242
-(the curr)144 429.6 R .242(ent har)-.18 F 2.742(dl)-.18 G .242
-(imit, the curr)-2.742 F .243(ent soft limit, and no limit, r)-.18 F
-(espectively)-.18 E 5.243(.I)-1.11 G(f)-5.243 E F3(limit)2.883 E F1 .243
-(is omitted,)3.013 F .082(the curr)144 441.6 R .081
+-2.588 F(neither)2.589 E F2<ad48>2.589 E F1(nor)2.589 E F2<ad53>2.589 E
+F1 .089(is speci\214ed,)2.589 F .163(both the soft and har)144 573.6 R
+2.663(dl)-.18 G .163(imits ar)-2.663 F 2.663(es)-.18 G 2.663(et. The)
+-2.663 F .163(value of)2.663 F F3(limit)2.803 E F1 .162
+(can be a number in the unit speci-)2.933 F .175(\214ed for the r)144
+585.6 R(esour)-.18 E .175(ce or one of the special values)-.18 F F2
+(hard)2.676 E F1(,)A F2(soft)2.676 E F1 2.676(,o)C(r)-2.676 E F2
+(unlimited)2.676 E F1 2.676(,w)C .176(hich stand for)-2.676 F .243
+(the curr)144 597.6 R .243(ent har)-.18 F 2.743(dl)-.18 G .243
+(imit, the curr)-2.743 F .243(ent soft limit, and no limit, r)-.18 F
+(espectively)-.18 E 5.242(.I)-1.11 G(f)-5.242 E F3(limit)2.882 E F1 .242
+(is omitted,)3.012 F .081(the curr)144 609.6 R .081
(ent value of the soft limit of the r)-.18 F(esour)-.18 E .081
-(ce is printed, unless the)-.18 F F2<ad48>2.581 E F1 .081
-(option is given.)2.581 F .329(When mor)144 453.6 R 2.829(et)-.18 G .329
-(han one r)-2.829 F(esour)-.18 E .329
-(ce is speci\214ed, the limit name and unit ar)-.18 F 2.83(ep)-.18 G .33
-(rinted befor)-2.83 F 2.83(et)-.18 G(he)-2.83 E 2.5(value. Other)144
-465.6 R(options ar)2.5 E 2.5(ei)-.18 G(nterpr)-2.5 E(eted as follows:)
--.18 E F2<ad61>144 477.6 Q F1(All curr)24.94 E(ent limits ar)-.18 E 2.5
-(er)-.18 G(eported)-2.68 E F2<ad63>144 489.6 Q F1
-(The maximum size of cor)25.5 E 2.5<658c>-.18 G(les cr)-2.5 E(eated)-.18
-E F2<ad64>144 501.6 Q F1(The maximum size of a pr)23.83 E
-(ocess's data segment)-.18 E F2<ad66>144 513.6 Q F1
+(ce is printed, unless the)-.18 F F2<ad48>2.581 E F1 .082
+(option is given.)2.582 F .33(When mor)144 621.6 R 2.83(et)-.18 G .33
+(han one r)-2.83 F(esour)-.18 E .329
+(ce is speci\214ed, the limit name and unit ar)-.18 F 2.829(ep)-.18 G
+.329(rinted befor)-2.829 F 2.829(et)-.18 G(he)-2.829 E 2.5(value. Other)
+144 633.6 R(options ar)2.5 E 2.5(ei)-.18 G(nterpr)-2.5 E
+(eted as follows:)-.18 E F2<ad61>144 645.6 Q F1(All curr)24.94 E
+(ent limits ar)-.18 E 2.5(er)-.18 G(eported)-2.68 E F2<ad63>144 657.6 Q
+F1(The maximum size of cor)25.5 E 2.5<658c>-.18 G(les cr)-2.5 E(eated)
+-.18 E F2<ad64>144 669.6 Q F1(The maximum size of a pr)23.83 E
+(ocess's data segment)-.18 E F2<ad66>144 681.6 Q F1
(The maximum size of \214les cr)26.05 E(eated by the shell)-.18 E F2
-<ad6c>144 525.6 Q F1(The maximum size that may be locked into memory)
-26.61 E F2<ad6d>144 537.6 Q F1(The maximum r)21.05 E(esident set size)
--.18 E F2<ad6e>144 549.6 Q F1 .958(The maximum number of open \214le de\
+<ad6c>144 693.6 Q F1(The maximum size that may be locked into memory)
+26.61 E F2<ad6d>144 705.6 Q F1(The maximum r)21.05 E(esident set size)
+-.18 E F2<ad6e>144 717.6 Q F1 .958(The maximum number of open \214le de\
scriptors \(most systems do not allow this)23.83 F(value to be set\))180
-561.6 Q F2<ad70>144 573.6 Q F1
-(The pipe size in 512-byte blocks \(this may not be set\))23.83 E F2
-<ad73>144 585.6 Q F1(The maximum stack size)25.5 E F2<ad74>144 597.6 Q
-F1(The maximum amount of cpu time in seconds)26.61 E F2<ad75>144 609.6 Q
-F1(The maximum number of pr)23.83 E(ocesses available to a single user)
--.18 E F2<ad76>144 621.6 Q F1
-(The maximum amount of virtual memory available to the shell)24.38 E(If)
-144 638.4 Q F3(limit)4.15 E F1 1.51
-(is given, it is the new value of the speci\214ed r)4.28 F(esour)-.18 E
-1.511(ce \(the)-.18 F F2<ad61>4.011 E F1 1.511(option is display)4.011 F
-4.315(only\). If)144 650.4 R 1.815(no option is given, then)4.315 F F2
-<ad66>4.315 E F1 1.815(is assumed.)4.315 F -.92(Va)6.815 G 1.815
-(lues ar).92 F 4.315(ei)-.18 G 4.315(n1)-4.315 G 1.815(024-byte incr)
--4.315 F(ements,)-.18 E .972(except for)144 662.4 R F2<ad74>3.473 E F1
-3.473(,w)C .973(hich is in seconds,)-3.473 F F2<ad70>3.473 E F1 3.473
-(,w)C .973(hich is in units of 512-byte blocks, and)-3.473 F F2<ad6e>
-3.473 E F1(and)3.473 E F2<ad75>144 674.4 Q F1 3.518(,w)C 1.018(hich ar)
--3.518 F 3.518(eu)-.18 G 1.018(nscaled values.)-3.518 F 1.017(The r)
-6.018 F 1.017(eturn status is 0 unless an invalid option or ar)-.18 F
-(gu-)-.18 E(ment is supplied, or an err)144 686.4 Q
-(or occurs while setting a new limit.)-.18 E F2(umask)108 703.2 Q F1([)
-2.5 E F2<ad70>A F1 2.5(][)C F2<ad53>-2.5 E F1 2.5(][)C F3(mode)-2.5 E F1
-(])A .535(The user \214le-cr)144 715.2 R .535(eation mask is set to)-.18
-F F3(mode)3.035 E F1 5.535(.I).35 G(f)-5.535 E F3(mode)3.295 E F1 .536
-(begins with a digit, it is interpr)3.385 F .536(eted as)-.18 F 1.827
-(an octal number; otherwise it is interpr)144 727.2 R 1.826
-(eted as a symbolic mode mask similar to that)-.18 F F0(GNU Bash-3.0)72
-768 Q(2004 Apr 20)148.735 E(18)198.725 E 0 Cg EP
+729.6 Q F0(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(18)198.725 E 0 Cg
+EP
%%Page: 19 19
%%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
-/Palatino-Roman@0 SF .95(accepted by)144 84 R/F2 10/Palatino-Italic@0 SF
-(chmod)3.45 E F1 3.45(\(1\). If).33 F F2(mode)3.71 E F1 .951
-(is omitted, the curr)3.8 F .951(ent value of the mask is printed.)-.18
-F(The)5.951 E/F3 10/Palatino-Bold@0 SF<ad53>144 96 Q F1 .607(option cau\
-ses the mask to be printed in symbolic form; the default output is an o\
-ctal)3.107 F(number)144 108 Q 6.02(.I)-.74 G 3.52(ft)-6.02 G(he)-3.52 E
-F3<ad70>3.52 E F1 1.02(option is supplied, and)3.52 F F2(mode)3.78 E F1
-1.02(is omitted, the output is in a form that)3.87 F .237(may be r)144
-120 R .237(eused as input.)-.18 F .237(The r)5.237 F .236
+/Palatino-Bold@0 SF<ad70>144 84 Q/F2 10/Palatino-Roman@0 SF
+(The pipe size in 512-byte blocks \(this may not be set\))23.83 E F1
+<ad73>144 96 Q F2(The maximum stack size)25.5 E F1<ad74>144 108 Q F2
+(The maximum amount of cpu time in seconds)26.61 E F1<ad75>144 120 Q F2
+(The maximum number of pr)23.83 E(ocesses available to a single user)
+-.18 E F1<ad76>144 132 Q F2
+(The maximum amount of virtual memory available to the shell)24.38 E(If)
+144 148.8 Q/F3 10/Palatino-Italic@0 SF(limit)4.151 E F2 1.511
+(is given, it is the new value of the speci\214ed r)4.281 F(esour)-.18 E
+1.51(ce \(the)-.18 F F1<ad61>4.01 E F2 1.51(option is display)4.01 F
+4.315(only\). If)144 160.8 R 1.815(no option is given, then)4.315 F F1
+<ad66>4.315 E F2 1.815(is assumed.)4.315 F -.92(Va)6.815 G 1.815
+(lues ar).92 F 4.315(ei)-.18 G 4.315(n1)-4.315 G 1.815(024-byte incr)
+-4.315 F(ements,)-.18 E .973(except for)144 172.8 R F1<ad74>3.473 E F2
+3.473(,w)C .973(hich is in seconds,)-3.473 F F1<ad70>3.473 E F2 3.473
+(,w)C .973(hich is in units of 512-byte blocks, and)-3.473 F F1<ad6e>
+3.473 E F2(and)3.472 E F1<ad75>144 184.8 Q F2 3.517(,w)C 1.017(hich ar)
+-3.517 F 3.517(eu)-.18 G 1.017(nscaled values.)-3.517 F 1.017(The r)
+6.017 F 1.018(eturn status is 0 unless an invalid option or ar)-.18 F
+(gu-)-.18 E(ment is supplied, or an err)144 196.8 Q
+(or occurs while setting a new limit.)-.18 E F1(umask)108 213.6 Q F2([)
+2.5 E F1<ad70>A F2 2.5(][)C F1<ad53>-2.5 E F2 2.5(][)C F3(mode)-2.5 E F2
+(])A .536(The user \214le-cr)144 225.6 R .536(eation mask is set to)-.18
+F F3(mode)3.035 E F2 5.535(.I).35 G(f)-5.535 E F3(mode)3.295 E F2 .535
+(begins with a digit, it is interpr)3.385 F .535(eted as)-.18 F 1.826
+(an octal number; otherwise it is interpr)144 237.6 R 1.827
+(eted as a symbolic mode mask similar to that)-.18 F .951(accepted by)
+144 249.6 R F3(chmod)3.451 E F2 3.451(\(1\). If).33 F F3(mode)3.711 E F2
+.951(is omitted, the curr)3.801 F .95(ent value of the mask is printed.)
+-.18 F(The)5.95 E F1<ad53>144 261.6 Q F2 .607(option causes the mask to\
+ be printed in symbolic form; the default output is an octal)3.106 F
+(number)144 273.6 Q 6.02(.I)-.74 G 3.52(ft)-6.02 G(he)-3.52 E F1<ad70>
+3.52 E F2 1.02(option is supplied, and)3.52 F F3(mode)3.78 E F2 1.02
+(is omitted, the output is in a form that)3.87 F .236(may be r)144 285.6
+R .236(eused as input.)-.18 F .236(The r)5.236 F .237
(eturn status is 0 if the mode was successfully changed or if)-.18 F(no)
-144 132 Q F2(mode)2.5 E F1(ar)2.5 E
-(gument was supplied, and false otherwise.)-.18 E F3(unalias)108 148.8 Q
-F1<5bad>2.5 E F3(a)A F1 2.5(][)C F2(name)-2.5 E F1(...])2.5 E .718
-(Remove each)144 160.8 R F2(name)3.218 E F1(fr)3.218 E .719
-(om the list of de\214ned aliases.)-.18 F(If)5.719 E F3<ad61>3.219 E F1
-.719(is supplied, all alias de\214nitions)3.219 F(ar)144 172.8 Q 2.5(er)
+144 297.6 Q F3(mode)2.5 E F2(ar)2.5 E
+(gument was supplied, and false otherwise.)-.18 E F1(unalias)108 314.4 Q
+F2<5bad>2.5 E F1(a)A F2 2.5(][)C F3(name)-2.5 E F2(...])2.5 E .719
+(Remove each)144 326.4 R F3(name)3.219 E F2(fr)3.219 E .719
+(om the list of de\214ned aliases.)-.18 F(If)5.719 E F1<ad61>3.219 E F2
+.718(is supplied, all alias de\214nitions)3.218 F(ar)144 338.4 Q 2.5(er)
-.18 G 2.5(emoved. The)-2.68 F -.18(re)2.5 G(turn value is tr).18 E
-(ue unless a supplied)-.08 E F2(name)2.76 E F1
-(is not a de\214ned alias.)2.85 E F3(unset)108 189.6 Q F1<5bad>2.5 E F3
-(fv)A F1 2.5(][)C F2(name)-2.5 E F1(...])2.5 E 1.61(For each)144 201.6 R
-F2(name)4.11 E F1 4.11(,r).35 G 1.61(emove the corr)-4.29 F 1.61
+(ue unless a supplied)-.08 E F3(name)2.76 E F2
+(is not a de\214ned alias.)2.85 E F1(unset)108 355.2 Q F2<5bad>2.5 E F1
+(fv)A F2 2.5(][)C F3(name)-2.5 E F2(...])2.5 E 1.61(For each)144 367.2 R
+F3(name)4.11 E F2 4.11(,r).35 G 1.61(emove the corr)-4.29 F 1.61
(esponding variable or function.)-.18 F 1.61(If no options ar)6.61 F
-4.11(es)-.18 G(up-)-4.11 E .473(plied, or the)144 213.6 R F3<ad76>2.973
-E F1 .473(option is given, each)2.973 F F2(name)3.233 E F1 -.18(re)3.323
-G .474(fers to a shell variable.).18 F .474(Read-only variables)5.474 F
-.32(may not be unset.)144 225.6 R(If)5.32 E F3<ad66>2.82 E F1 .32
-(is speci\214ed, each)2.82 F F2(name)3.08 E F1 -.18(re)3.17 G .32
+4.11(es)-.18 G(up-)-4.11 E .474(plied, or the)144 379.2 R F1<ad76>2.974
+E F2 .473(option is given, each)2.974 F F3(name)3.233 E F2 -.18(re)3.323
+G .473(fers to a shell variable.).18 F .473(Read-only variables)5.473 F
+.32(may not be unset.)144 391.2 R(If)5.32 E F1<ad66>2.82 E F2 .32
+(is speci\214ed, each)2.82 F F3(name)3.08 E F2 -.18(re)3.17 G .32
(fers to a shell function, and the function).18 F .405
-(de\214nition is r)144 237.6 R 2.905(emoved. Each)-.18 F .405
+(de\214nition is r)144 403.2 R 2.905(emoved. Each)-.18 F .405
(unset variable or function is r)2.905 F .405(emoved fr)-.18 F .405
-(om the envir)-.18 F(onment)-.18 E 1.475(passed to subsequent commands.)
-144 249.6 R 1.475(If any of)6.475 F/F4 9/Palatino-Bold@0 SF(RANDOM)3.975
-E/F5 9/Palatino-Roman@0 SF(,)A F4(SECONDS)3.725 E F5(,)A F4(LINENO)3.724
-E F5(,)A F4(HISTCMD)3.724 E F5(,)A F4(FUNCNAME)144 261.6 Q F5(,)A F4
-(GROUPS)2.803 E F5(,)A F1(or)2.803 E F4(DIRST)3.053 E(ACK)-.828 E F1(ar)
+(om the envir)-.18 F(onment)-.18 E 1.474(passed to subsequent commands.)
+144 415.2 R 1.475(If any of)6.475 F/F4 9/Palatino-Bold@0 SF(RANDOM)3.975
+E/F5 9/Palatino-Roman@0 SF(,)A F4(SECONDS)3.725 E F5(,)A F4(LINENO)3.725
+E F5(,)A F4(HISTCMD)3.725 E F5(,)A F4(FUNCNAME)144 427.2 Q F5(,)A F4
+(GROUPS)2.804 E F5(,)A F2(or)2.803 E F4(DIRST)3.053 E(ACK)-.828 E F2(ar)
2.803 E 3.053(eu)-.18 G .553(nset, they lose their special pr)-3.053 F
-.553(operties, even if)-.18 F(they ar)144 273.6 Q 2.5(es)-.18 G
+.553(operties, even if)-.18 F(they ar)144 439.2 Q 2.5(es)-.18 G
(ubsequently r)-2.5 E 2.5(eset. The)-.18 F(exit status is tr)2.5 E
-(ue unless a)-.08 E F2(name)2.76 E F1(is r)2.85 E(eadonly)-.18 E(.)-1.11
-E F3(wait)108 290.4 Q F1([)2.5 E F2 2.5(n.)C(..)-2.5 E F1(])A -.92(Wa)
-144 302.4 S .016(it for each speci\214ed pr).92 F .016(ocess and r)-.18
-F .016(eturn its termination status.)-.18 F(Each)5.016 E F2(n)2.776 E F1
-.016(may be a pr)2.596 F(ocess)-.18 E 1.733
-(ID or a job speci\214cation; if a job spec is given, all pr)144 314.4 R
-1.733(ocesses in that job's pipeline ar)-.18 F(e)-.18 E 1.015
-(waited for)144 326.4 R 6.015(.I)-.74 G(f)-6.015 E F2(n)3.775 E F1 1.015
-(is not given, all curr)3.595 F 1.014(ently active child pr)-.18 F 1.014
-(ocesses ar)-.18 F 3.514(ew)-.18 G 1.014(aited for)-3.514 F 3.514(,a)
--.74 G 1.014(nd the)-3.514 F -.18(re)144 338.4 S .693
-(turn status is zer).18 F 3.193(o. If)-.18 F F2(n)3.453 E F1 .693
+(ue unless a)-.08 E F3(name)2.76 E F2(is r)2.85 E(eadonly)-.18 E(.)-1.11
+E F1(wait)108 456 Q F2([)2.5 E F3 2.5(n.)C(..)-2.5 E F2(])A -.92(Wa)144
+468 S .016(it for each speci\214ed pr).92 F .016(ocess and r)-.18 F .016
+(eturn its termination status.)-.18 F(Each)5.016 E F3(n)2.776 E F2 .016
+(may be a pr)2.596 F(ocess)-.18 E 1.733
+(ID or a job speci\214cation; if a job spec is given, all pr)144 480 R
+1.733(ocesses in that job's pipeline ar)-.18 F(e)-.18 E 1.014
+(waited for)144 492 R 6.014(.I)-.74 G(f)-6.014 E F3(n)3.774 E F2 1.014
+(is not given, all curr)3.594 F 1.014(ently active child pr)-.18 F 1.015
+(ocesses ar)-.18 F 3.515(ew)-.18 G 1.015(aited for)-3.515 F 3.515(,a)
+-.74 G 1.015(nd the)-3.515 F -.18(re)144 504 S .694(turn status is zer)
+.18 F 3.193(o. If)-.18 F F3(n)3.453 E F2 .693
(speci\214es a non-existent pr)3.273 F .693(ocess or job, the r)-.18 F
-.694(eturn status is 127.)-.18 F(Otherwise, the r)144 350.4 Q
+.693(eturn status is 127.)-.18 F(Otherwise, the r)144 516 Q
(eturn status is the exit status of the last pr)-.18 E
(ocess or job waited for)-.18 E(.)-.74 E/F6 10.95/Palatino-Bold@0 SF
-(SEE ALSO)72 367.2 Q F1(bash\(1\), sh\(1\))108 379.2 Q F0(GNU Bash-3.0)
+(SEE ALSO)72 532.8 Q F2(bash\(1\), sh\(1\))108 544.8 Q F0(GNU Bash-3.0)
72 768 Q(2004 Apr 20)148.735 E(19)198.725 E 0 Cg EP
%%Trailer
end
%!PS-Adobe-3.0
%%Creator: groff version 1.18.1
-%%CreationDate: Mon Feb 14 11:56:35 2005
+%%CreationDate: Tue Feb 22 13:37:34 2005
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%DocumentSuppliedResources: procset grops 1.18 1
Copyright (C) 1988-2005 Free Software Foundation, Inc.
@end ignore
-@set LASTCHANGE Sat Feb 19 17:38:46 EST 2005
+@set LASTCHANGE Wed Feb 23 16:45:53 EST 2005
@set EDITION 3.1-devel
@set VERSION 3.1-devel
-@set UPDATED 19 February 2005
+@set UPDATED 23 February 2005
@set UPDATED-MONTH February 2005
_path_isdir (path)
char *path;
{
- int l, x;
+ int l;
struct stat sb;
/* This should leave errno set to the correct value. */
+ errno = 0;
l = stat (path, &sb) == 0 && S_ISDIR (sb.st_mode);
#if defined (__CYGWIN__)
if (l == 0)
field delimiter, not a separate delimiter that would result in an
empty field. Look at POSIX.2, 3.6.5, (3)(b). */
if (string[sindex] && whitesep && issep (string[sindex]) && !spctabnl (string[sindex]))
- sindex++;
+ {
+ sindex++;
+ /* An IFS character that is not IFS white space, along with any
+ adjacent IFS white space, shall delimit a field. (SUSv3) */
+ while (s[sindex] && spctabnl (s[sindex]) && isifs (s[sindex]))
+ sindex++;
+ }
}
return (REVERSE_LIST (result, WORD_LIST *));
}
delimiter, not a separate delimiter that would result in an empty field.
Look at POSIX.2, 3.6.5, (3)(b). */
if (s[sindex] && whitesep && isifs (s[sindex]) && !spctabnl (s[sindex]))
- sindex++;
+ {
+ sindex++;
+ /* An IFS character that is not IFS white space, along with any adjacent
+ IFS white space, shall delimit a field. */
+ while (s[sindex] && spctabnl (s[sindex]) && isifs (s[sindex]))
+ sindex++;
+ }
/* Update STRING to point to the next field. */
*stringp = s + sindex;
-/* subst.c -- The part of the shell that does parameter, command, and
- globbing substitutions. */
+/* subst.c -- The part of the shell that does parameter, command, arithmetic,
+ and globbing substitutions. */
/* ``Have a little faith, there's magic in the night. You ain't a
beauty, but, hey, you're alright.'' */
-/* Copyright (C) 1987-2004 Free Software Foundation, Inc.
+/* Copyright (C) 1987-2005 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
field delimiter, not a separate delimiter that would result in an
empty field. Look at POSIX.2, 3.6.5, (3)(b). */
if (string[sindex] && whitesep && issep (string[sindex]) && !spctabnl (string[sindex]))
+{
sindex++;
+ /* An IFS character that is not IFS whitespace, along with any adjacent
+ IFS white space, shall delimit a field. */
+while (s[sindex] && spctabnl (s[sindex]) && isifs (s[sindex]))
+ sindex++;
+}
}
return (REVERSE_LIST (result, WORD_LIST *));
}
delimiter, not a separate delimiter that would result in an empty field.
Look at POSIX.2, 3.6.5, (3)(b). */
if (s[sindex] && whitesep && isifs (s[sindex]) && !spctabnl (s[sindex]))
+{
sindex++;
+ /* An IFS character that is not IFS whitespace, along with any adjacent
+ IFS white space, shall delimit a field. */
+while (s[sindex] && spctabnl (s[sindex]) && isifs (s[sindex]))
+ sindex++;
+}
/* Update STRING to point to the next field. */
*stringp = s + sindex;
enable set
enable shift
enable source
+enable times
enable trap
enable unset
enable .
enable set
enable shift
enable source
+enable times
enable trap
enable unset
enable -n test worked
a.
-a-b-
--a-b-
+-a-b -
-a b-
-a b-
-a-b\-
done 3<$0
argv[1] = <>
argv[1] = <>
-argv[1] = <:>
-argv[1] = <:>
+argv[1] = <>
FOO
argv[1] = <>
argv[1] = <3>