mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 10:50:50 +02:00
commit bash-20050714 snapshot
This commit is contained in:
@@ -1,3 +1,363 @@
|
||||
This document details the changes between this version, bash-3.1-alpha1,
|
||||
and the previous version, bash-3.0-release.
|
||||
|
||||
1. Changes to Bash
|
||||
|
||||
a. Fixed a bug that caused bash to crash if referencing an unset local array.
|
||||
|
||||
b. Fixed a problem that caused tilde expansion to not be performed before
|
||||
attempting globbing word completion.
|
||||
|
||||
c. Fixed an incompatibility so that a first argument to trap that's a valid
|
||||
signal number will be trated as a signal rather than a command to execute.
|
||||
|
||||
d. Fixed ${#word} expansion to correctly compute the length of a string
|
||||
containing multibyte characters.
|
||||
|
||||
e. Fixed a bug that caused bash to not pass the correct flags for signal
|
||||
disposition to child processes.
|
||||
|
||||
f. Fixed a bug that caused `fc -l' to list one too many history entries.
|
||||
|
||||
g. Some fixes to `fc' for POSIX conformance.
|
||||
|
||||
h. Some fixes to job status display for POSIX conformance.
|
||||
|
||||
i. Fixed a bug that caused `command -v' to display output if a command was not
|
||||
found -- it should be silent.
|
||||
|
||||
j. In POSIX mode, `type' and `command -[vV]' do not report non-executable
|
||||
files, even if the shell will attempt to execute them.
|
||||
|
||||
k. Fixed a bug that caused the `==' operator to the [[ command to not attempt
|
||||
extended pattern matching.
|
||||
|
||||
l. Fixed the brace expansion code to handle characters whose value exceeds 128.
|
||||
|
||||
m. Fixed `printf' to handle strings with a leading `\0' whose length is
|
||||
non-zero.
|
||||
|
||||
n. Fixed a couple of problems with brace expansion where `${' was handled
|
||||
incorrectly.
|
||||
|
||||
o. Fixed off-by-one error when calculating the upper bound of `offset' when
|
||||
processing the ${array[@]:offset:length} expansion.
|
||||
|
||||
p. System-specific configuration changes for: FreeBSD 5.x, Interix, MacOS X
|
||||
10.4, Linux 2.4+ kernels, Linux 3.x kernels, Dragonfly BSD, QNX 6.x,
|
||||
Cygwin
|
||||
|
||||
q. Fixed a bug that caused the shell to ignore the status of the rightmost
|
||||
command in a pipeline when the `pipefail' option was enabled.
|
||||
|
||||
r. Fixed a completion bug that caused core dumps when expanding a directory
|
||||
name.
|
||||
|
||||
s. Fixed a bug that prevented `hash -d' from removing commands from the hash
|
||||
table.
|
||||
|
||||
t. Fixed word splitting to avoid really bad quadratic performance when
|
||||
expanding long lists.
|
||||
|
||||
u. Fixed a bug that caused negative offsets in substring expansion to use the
|
||||
wrong values.
|
||||
|
||||
v. Fixed a bug in printf that caused it to not return failure on write errors.
|
||||
|
||||
w. Fixed a bug that caused commands in subshells to not be properly timed.
|
||||
|
||||
x. The shell parser no longer attempts to parse a compound assignment specially
|
||||
unless in a position where an assignment statement is acceptable or parsing
|
||||
arguments to a builtin that accepts assignment statements.
|
||||
|
||||
y. Fixed a problem that caused a `case' statement to be added to the history
|
||||
incorrectly as a single command if the `case word' was on one line and the
|
||||
`in' on another.
|
||||
|
||||
z. Fixed a problem that caused internal shell quoting characters to be
|
||||
incorrectly quoted with backslashes under some circumstances.
|
||||
|
||||
aa. The shell now performs correct word splitting when IFS contains multibyte
|
||||
characters.
|
||||
|
||||
bb. The mail checking code now resets the cached file information if the size
|
||||
drops to 0, even if the times don't change.
|
||||
|
||||
cc. A completed command name that is found in $PATH as well as the name of a
|
||||
directory in the current directory no longer has a slash appended in certain
|
||||
circumstances: a single instance found in $PATH when `.' is not in $PATH,
|
||||
and multiple instances found in $PATH, even when `.' is in $PATH.
|
||||
|
||||
dd. Incorporated tilde expansion into the word expansion code rather than as a
|
||||
separately-called function, fixing some cases where it was performed
|
||||
inappropriately (e.g., after the second `=' in an assignment statement or
|
||||
in a double-quoted parameter expansion).
|
||||
|
||||
ee. Fixed several bugs encountered when parsing compound assignment statements,
|
||||
so that compound assignments appearing as arguments to builtins are no
|
||||
longer double-expanded.
|
||||
|
||||
ff. Fixed a bug in the command execution code that caused asynchronous commands
|
||||
containing command substitutions to not put the terminal in the wrong
|
||||
process group.
|
||||
|
||||
gg. Bash now handles the case where the WCONTINUED flag causes waitpid() to
|
||||
return -1/EINVAL at runtime as well as configuration time.
|
||||
|
||||
hh. Fixed parser to generate an error when the pipeline `argument' to `!' or
|
||||
`time' is NULL.
|
||||
|
||||
ii. The shell now takes a little more care when manipulating file descriptors
|
||||
greater than 9 with the `exec' builtin.
|
||||
|
||||
jj. Fixed a bug that caused variable assignments preceding the `command' builtin
|
||||
preceding a special builtin to be preserved after the command completed in
|
||||
POSIX mode.
|
||||
|
||||
kk. Fixed a bug that allowed variables beginning with a digit to be created.
|
||||
|
||||
ll. Fixed a bug that caused a \<newline> to be removed when parsing a $'...'
|
||||
construct.
|
||||
|
||||
mm. A shell whose name begins with `-' will now be a restricted shell if the
|
||||
remainder of the name indicates it should be restricted.
|
||||
|
||||
nn. Fixed a bug that could cause a core dump if FUNCNAME were changed or unset
|
||||
during a function's execution.
|
||||
|
||||
oo. Fixed a bug that caused executing a `return' in a function to not execute
|
||||
a RETURN trap. The RETURN trap is inherited by shell functions only if
|
||||
function tracing is globally enabled or has been enabled for that function.
|
||||
|
||||
pp. Fixed cases where var[@] was not handled exactly like var, when var is a
|
||||
scalar variable.
|
||||
|
||||
qq. Fixed a bug that caused the first character after a SIGINT to be discarded
|
||||
under certain circumstances.
|
||||
|
||||
rr. Fixed exit status code so that a suspended job returns 128+signal as its
|
||||
exit status (preventing commands after it in `&&' lists from being
|
||||
executed).
|
||||
|
||||
ss. Fixed a bug that caused the shell parser state to be changed by executing
|
||||
a shell function as a result of word completion.
|
||||
|
||||
tt. Fixed a long-standing bug that caused '\177' characters in variable
|
||||
values to be discarded when expanded in double-quoted strings.
|
||||
|
||||
uu. Fixed a bug that caused $RANDOM to be re-seeded multiple times in a
|
||||
subshell environment.
|
||||
|
||||
vv. Extensive changes to the job management code to avoid the pid-reuse and
|
||||
pid-aliasing problems caused by retaining the exit status of too many jobs,
|
||||
but still retain as many background job statuses as POSIX requires.
|
||||
|
||||
ww. Fixed a parser bug in processing \<newline> that caused things like
|
||||
|
||||
((echo 5) \
|
||||
(echo 6))
|
||||
|
||||
to not work correctly.
|
||||
|
||||
xx. `pwd -P' now sets $PWD to a directory name containing no symbolic links
|
||||
when in posix mode, as POSIX requires.
|
||||
|
||||
yy. In posix mode, bash no longer sets $PWD to a name containing no symbolic
|
||||
links if a directory is chosen from $CDPATH.
|
||||
|
||||
zz. The word splitting code now treats an IFS character that is not space,
|
||||
tab, or newline and any adjacent IFS white space as a single delimiter, as
|
||||
SUSv3/XPG6 require.
|
||||
|
||||
aaa. The `read' builtin now checks whether or not the number of fields read 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 is what POSIX/SUS/XPG all require.
|
||||
|
||||
bbb. Fixed a bug that caused `read' to always check whether or not fd 0 was a
|
||||
pipe, even when reading from another file descriptor.
|
||||
|
||||
ccc. Fixed a bug that caused short-circuiting of execution even if the return
|
||||
value was being inverted.
|
||||
|
||||
ddd. Fixed a bug that caused a core dump while decoding \W escapes in PS1 if
|
||||
PWD was unset.
|
||||
|
||||
eee. Fixed a bug in `read' that counted internal quoting characters for the
|
||||
purposes of `read -n'.
|
||||
|
||||
fff. Fixed a bug so that a function definition in a pipeline causes a child
|
||||
process to be forked at the right time.
|
||||
|
||||
ggg. Bash will not attempt to link against a readline library that doesn't
|
||||
have rl_gnu_readline_p == 1.
|
||||
|
||||
hhh. Fixed a bug that caused `read' to consume one too many characters when
|
||||
reading a fixed number of characters and the Nth character is a backslash.
|
||||
|
||||
iii. Fixed a bug that caused `unset' on variables in the temporary environment
|
||||
to leave them set when `unset' completed.
|
||||
|
||||
jjj. Fixed a bug that caused bash to close fd 2 if an `exec' failed and the
|
||||
shell didn't exit.
|
||||
|
||||
kkk. The completion code is more careful to not turn `/' or `///' into `//',
|
||||
for those systems on which `//' has special meaning.
|
||||
|
||||
lll. Fixed a bug that caused command substitution in asynchronous commands to
|
||||
close the wrong file descriptors.
|
||||
|
||||
mmm. The shell no longer prints status messages about terminated background
|
||||
processes unless job control is active.
|
||||
|
||||
nnn. Fixed a bug that prevented multiple consecutive invocations of `history -s'
|
||||
from adding all the commands to the history list.
|
||||
|
||||
ooo. Added a couple of changes to make arithmetic expansion more consistent in
|
||||
all its contexts (still not perfect).
|
||||
|
||||
ppp. Fixed a bug that caused the parser to occasionally not find the right
|
||||
terminating "`" in an old-style command substitution.
|
||||
|
||||
qqq. Fixed a bug that caused core dumps when the shell was reading its non-
|
||||
interactive input from fd 0 and fd 0 was duplicated and restored using a
|
||||
combination of `exec' (to save) and redirection (to restore).
|
||||
|
||||
2. Changes to Readline
|
||||
|
||||
a. Fixed a bug that caused multiliine prompts to be wrapped and displayed
|
||||
incorrectly.
|
||||
|
||||
b. Fixed a bug that caused ^P/^N in emacs mode to fail to display the current
|
||||
line correctly.
|
||||
|
||||
c. Fixed a problem in computing the number of invisible characters on the first
|
||||
line of a prompt whose length exceeds the screen width.
|
||||
|
||||
d. Fixed vi-mode searching so that failure preserves the current line rather
|
||||
than the last line in the history list.
|
||||
|
||||
e. Fixed the vi-mode `~' command (change-case) to have the correct behavior at
|
||||
end-of-line when manipulating multibyte characters.
|
||||
|
||||
f. Fixed the vi-mode `r' command (change-char) to have the correct behavior at
|
||||
end-of-line when manipulating multibyte characters.
|
||||
|
||||
g. Fixed multiple bugs in the redisplay of multibyte characters: displaying
|
||||
prompts longer than the screen width containing multibyte characters,
|
||||
|
||||
h. Fix the calculation of the number of physical characters in the prompt
|
||||
string when it contains multibyte characters.
|
||||
|
||||
i. A non-zero value for the `rl_complete_suppress_append' variable now causes
|
||||
no `/' to be appended to a directory name.
|
||||
|
||||
j. Fixed forward-word and backward-word to work when words contained
|
||||
multibyte characters.
|
||||
|
||||
k. Fixed a bug in finding the delimiter of a `?' substring when performing
|
||||
history expansion in a locale that supports multibyte characters.
|
||||
|
||||
l. Fixed a memory leak caused by not freeing the timestamp in a history entry.
|
||||
|
||||
m. Fixed a bug that caused "\M-x" style key bindings to not obey the setting
|
||||
of the `convert-meta' variable.
|
||||
|
||||
n. Fixed saving and restoring primary prompt when prompting for incremental
|
||||
and non-incremental searches; search prompts now display multibyte
|
||||
characters correctly.
|
||||
|
||||
o. Fixed a bug that caused keys originally bound to self-insert but shadowed
|
||||
by a multi-character key sequence to not be inserted.
|
||||
|
||||
p. Fixed code so rl_prep_term_function and rl_deprep_term_function aren't
|
||||
dereferenced if NULL (matching the documentation).
|
||||
|
||||
q. Extensive changes to readline to add enough state so that commands
|
||||
requiring additional characters (searches, multi-key sequences, numeric
|
||||
arguments, commands requiring an additional specifier character like
|
||||
vi-mode change-char, etc.) work without synchronously waiting for
|
||||
additional input.
|
||||
|
||||
r. Lots of changes so readline builds and runs on MinGW.
|
||||
|
||||
s. Readline no longer tries to modify the terminal settings when running in
|
||||
callback mode.
|
||||
|
||||
3. New Features in Bash
|
||||
|
||||
a. Bash now understands LC_TIME as a special variable so that time display
|
||||
tracks the current locale.
|
||||
|
||||
b. BASH_ARGC, BASH_ARGV, BASH_SOURCE, and BASH_LINENO are no longer created
|
||||
as `invisible' variables and may not be unset.
|
||||
|
||||
c. In POSIX mode, if `xpg_echo' option is enabled, the `echo' builtin doesn't
|
||||
try to interpret any options at all, as POSIX requires.
|
||||
|
||||
d. The `bg' builtin now accepts multiple arguments, as POSIX seems to specify.
|
||||
|
||||
e. Fixed vi-mode word completion and glob expansion to perform tilde
|
||||
expansion.
|
||||
|
||||
f. The `**' mathematic exponentiation operator is now right-associative.
|
||||
|
||||
g. The `ulimit' builtin has new options: -i (max number of pending signals),
|
||||
-q (max size of POSIX message queues), and -x (max number of file locks).
|
||||
|
||||
h. A bare `%' once again expands to the current job when used as a job
|
||||
specifier.
|
||||
|
||||
i. The `+=' assignment operator (append to the value of a string or array) is
|
||||
now supported for assignment statements and arguments to builtin commands
|
||||
that accept assignment statements.
|
||||
|
||||
j. BASH_COMMAND now preserves its value when a DEBUG trap is executed.
|
||||
|
||||
k. The `gnu_errfmt' option is enabled automatically if the shell is running
|
||||
in an emacs terminal window.
|
||||
|
||||
l. New configuration option: --single-help-strings. Causes long help text
|
||||
to be written as a single string; intended to ease translation.
|
||||
|
||||
m. The COMP_WORDBREAKS variable now causes the list of word break characters
|
||||
to be emptied when the variable is unset.
|
||||
|
||||
n. An unquoted expansion of $* when $IFS is empty now causes the positional
|
||||
parameters to be concatenated if the expansion doesn't undergo word
|
||||
splitting.
|
||||
|
||||
o. Bash now inherits $_ from the environment if it appears there at startup.
|
||||
|
||||
p. New shell option: nocasematch. If non-zero, shell pattern matching ignores
|
||||
case when used by `case' and `[[' commands.
|
||||
|
||||
q. The `printf' builtin takes a new option: -v var. That causes the output
|
||||
to be placed into var instead of on stdout.
|
||||
|
||||
r. By default, the shell no longer reports processes dying from SIGPIPE.
|
||||
|
||||
s. Bash now sets the extern variable `environ' to the export environment it
|
||||
creates, so C library functions that call getenv() (and can't use the
|
||||
shell-provided replacement) get current values of environment variables.
|
||||
|
||||
4. New Features in Readline
|
||||
|
||||
a. The key sequence sent by the keypad `delete' key is now automatically
|
||||
bound to delete-char.
|
||||
|
||||
b. A negative argument to menu-complete now cycles backward through the
|
||||
completion list.
|
||||
|
||||
c. A new bindable readline variable: bind-tty-special-chars. If non-zero,
|
||||
readline will bind the terminal special characters to their readline
|
||||
equivalents when it's called (on by default).
|
||||
|
||||
d. New bindable command: vi-rubout. Saves deleted text for possible
|
||||
reinsertion, as with any vi-mode `text modification' command; `X' is bound
|
||||
to this in vi command mode.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
This document details the changes between this version, bash-3.0-release,
|
||||
and the previous version, bash-3.0-rc1.
|
||||
|
||||
|
||||
+13
-2
@@ -11497,7 +11497,7 @@ lib/readline/search.c
|
||||
the callback code more easily
|
||||
|
||||
lib/readline/text.c
|
||||
- in rl_quoted_insert(), don't messa around with the tty signals if
|
||||
- in rl_quoted_insert(), don't mess around with the tty signals if
|
||||
running in `callback mode'
|
||||
|
||||
lib/readline/vi_mode.c
|
||||
@@ -11527,7 +11527,7 @@ lib/readline/readline.c
|
||||
to use it - rudimentary support for supporting the existing
|
||||
recursion using a stack of contexts, each with a reference to the
|
||||
previous
|
||||
- fix so that ^G works when in callback mode
|
||||
- fix so that ^G works when in callback mode
|
||||
|
||||
lib/readline/callback.c
|
||||
- call the appropriate multiple-key sequence callback if the state is
|
||||
@@ -11772,3 +11772,14 @@ shell.c
|
||||
making the arg list
|
||||
- in main(), make sure arg_index is not initialized to a value greater
|
||||
than argc
|
||||
|
||||
7/14
|
||||
----
|
||||
lib/readline/display.c
|
||||
- in expand_prompt, don't set the location of the last invisible
|
||||
char if the sequence is zero length (\[\])
|
||||
|
||||
7/15
|
||||
----
|
||||
doc/{bash.1,bashref.texi}
|
||||
- document that the shell uses $TMPDIR when creating temporary files
|
||||
|
||||
+22
-2
@@ -11497,7 +11497,7 @@ lib/readline/search.c
|
||||
the callback code more easily
|
||||
|
||||
lib/readline/text.c
|
||||
- in rl_quoted_insert(), don't messa around with the tty signals if
|
||||
- in rl_quoted_insert(), don't mess around with the tty signals if
|
||||
running in `callback mode'
|
||||
|
||||
lib/readline/vi_mode.c
|
||||
@@ -11761,5 +11761,25 @@ configure.in
|
||||
input.c
|
||||
- in duplicate_buffered_stream, don't call free_buffered_stream if the
|
||||
two buffered streams share the same b_buffer object (e.g., if they
|
||||
had already been duplicated with a previous call). Fixes bug
|
||||
had already been duplicated with a previous call). Fixes Debian bug
|
||||
reported by eero17@bigfoot.com
|
||||
|
||||
7/12
|
||||
----
|
||||
shell.c
|
||||
- make set_shell_name more resistant to a NULL argument
|
||||
- in bind_args, use < instead of != when counting the arguments and
|
||||
making the arg list
|
||||
- in main(), make sure arg_index is not initialized to a value greater
|
||||
than argc
|
||||
|
||||
7/14
|
||||
----
|
||||
lib/readline/display.c
|
||||
- in expand_prompt, don't set the location of the last invisible
|
||||
char if the sequence is zero length (\[\])
|
||||
|
||||
7/15
|
||||
----
|
||||
doc/{bash.1,bashref.texi}
|
||||
- document that the shell uses $TMPDIR when creating temporary files
|
||||
|
||||
@@ -1,3 +1,81 @@
|
||||
This is a terse description of the new features added to bash-3.1 since
|
||||
the release of bash-3.0. As always, the manual page (doc/bash.1) is
|
||||
the place to look for complete descriptions.
|
||||
|
||||
1. New Features in Bash
|
||||
|
||||
a. Bash now understands LC_TIME as a special variable so that time display
|
||||
tracks the current locale.
|
||||
|
||||
b. BASH_ARGC, BASH_ARGV, BASH_SOURCE, and BASH_LINENO are no longer created
|
||||
as `invisible' variables and may not be unset.
|
||||
|
||||
c. In POSIX mode, if `xpg_echo' option is enabled, the `echo' builtin doesn't
|
||||
try to interpret any options at all, as POSIX requires.
|
||||
|
||||
d. The `bg' builtin now accepts multiple arguments, as POSIX seems to specify.
|
||||
|
||||
e. Fixed vi-mode word completion and glob expansion to perform tilde
|
||||
expansion.
|
||||
|
||||
f. The `**' mathematic exponentiation operator is now right-associative.
|
||||
|
||||
g. The `ulimit' builtin has new options: -i (max number of pending signals),
|
||||
-q (max size of POSIX message queues), and -x (max number of file locks).
|
||||
|
||||
h. A bare `%' once again expands to the current job when used as a job
|
||||
specifier.
|
||||
|
||||
i. The `+=' assignment operator (append to the value of a string or array) is
|
||||
now supported for assignment statements and arguments to builtin commands
|
||||
that accept assignment statements.
|
||||
|
||||
j. BASH_COMMAND now preserves its value when a DEBUG trap is executed.
|
||||
|
||||
k. The `gnu_errfmt' option is enabled automatically if the shell is running
|
||||
in an emacs terminal window.
|
||||
|
||||
l. New configuration option: --single-help-strings. Causes long help text
|
||||
to be written as a single string; intended to ease translation.
|
||||
|
||||
m. The COMP_WORDBREAKS variable now causes the list of word break characters
|
||||
to be emptied when the variable is unset.
|
||||
|
||||
n. An unquoted expansion of $* when $IFS is empty now causes the positional
|
||||
parameters to be concatenated if the expansion doesn't undergo word
|
||||
splitting.
|
||||
|
||||
o. Bash now inherits $_ from the environment if it appears there at startup.
|
||||
|
||||
p. New shell option: nocasematch. If non-zero, shell pattern matching ignores
|
||||
case when used by `case' and `[[' commands.
|
||||
|
||||
q. The `printf' builtin takes a new option: -v var. That causes the output
|
||||
to be placed into var instead of on stdout.
|
||||
|
||||
r. By default, the shell no longer reports processes dying from SIGPIPE.
|
||||
|
||||
s. Bash now sets the extern variable `environ' to the export environment it
|
||||
creates, so C library functions that call getenv() (and can't use the
|
||||
shell-provided replacement) get current values of environment variables.
|
||||
|
||||
2. New Features in Readline
|
||||
|
||||
a. The key sequence sent by the keypad `delete' key is now automatically
|
||||
bound to delete-char.
|
||||
|
||||
b. A negative argument to menu-complete now cycles backward through the
|
||||
completion list.
|
||||
|
||||
c. A new bindable readline variable: bind-tty-special-chars. If non-zero,
|
||||
readline will bind the terminal special characters to their readline
|
||||
equivalents when it's called (on by default).
|
||||
|
||||
d. New bindable command: vi-rubout. Saves deleted text for possible
|
||||
reinsertion, as with any vi-mode `text modification' command; `X' is bound
|
||||
to this in vi command mode.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
This is a terse description of the new features added to bash-3.0 since
|
||||
the release of bash-2.05b. As always, the manual page (doc/bash.1) is
|
||||
the place to look for complete descriptions.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
This is GNU Bash, version 3.0. Bash is the GNU Project's Bourne
|
||||
This is GNU Bash, version 3.1. Bash is the GNU Project's Bourne
|
||||
Again SHell, a complete implementation of the POSIX.2 shell spec,
|
||||
but also with interactive command line editing, job control on
|
||||
architectures that support it, csh-like features such as history
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
This is GNU Bash, version 3.0. Bash is the GNU Project's Bourne
|
||||
Again SHell, a complete implementation of the POSIX.2 shell spec,
|
||||
but also with interactive command line editing, job control on
|
||||
architectures that support it, csh-like features such as history
|
||||
substitution and brace expansion, and a slew of other features.
|
||||
For more information on the features of Bash that are new to this
|
||||
type of shell, see the file `doc/bashref.texi'. There is also a
|
||||
large Unix-style man page. The man page is the definitive description
|
||||
of the shell's features.
|
||||
|
||||
See the file POSIX for a discussion of how the Bash defaults differ
|
||||
from the POSIX.2 spec and a description of the Bash `posix mode'.
|
||||
|
||||
There are some user-visible incompatibilities between this version
|
||||
of Bash and a previous widely-distributed version, bash-1.14.
|
||||
For details, see the file COMPAT. The NEWS file tersely lists
|
||||
features that are new in this release.
|
||||
|
||||
Bash is free software, distributed under the terms of the [GNU]
|
||||
General Public License, version 2. For more information, see the
|
||||
file COPYING.
|
||||
|
||||
A number of frequently-asked questions are answered in the file
|
||||
`doc/FAQ'.
|
||||
|
||||
To compile Bash, try typing `./configure', then `make'. Bash
|
||||
auto-configures the build process, so no further intervention
|
||||
should be necessary. Bash builds with `gcc' by default if it is
|
||||
available. If you want to use `cc' instead, type
|
||||
|
||||
CC=cc ./configure
|
||||
|
||||
if you are using a Bourne-style shell. If you are not, the following
|
||||
may work:
|
||||
|
||||
env CC=cc ./configure
|
||||
|
||||
Read the file INSTALL in this directory for more information about how
|
||||
to customize and control the build process. The file NOTES contains
|
||||
platform-specific installation and configuration information.
|
||||
|
||||
If you are a csh user and wish to convert your csh aliases to Bash
|
||||
aliases, you may wish to use the script `examples/misc/alias-conv.sh'
|
||||
as a starting point. The script `examples/misc/cshtobash' is a
|
||||
more ambitious script that attempts to do a more complete job.
|
||||
|
||||
Reporting Bugs
|
||||
==============
|
||||
|
||||
Bug reports for bash should be sent to:
|
||||
|
||||
bug-bash@gnu.org
|
||||
|
||||
using the `bashbug' program that is built and installed at the same
|
||||
time as bash.
|
||||
|
||||
The discussion list `bug-bash@gnu.org' often contains information
|
||||
about new ports of Bash, or discussions of new features or behavior
|
||||
changes that people would like. This mailing list is also available
|
||||
as a usenet newsgroup: gnu.bash.bug.
|
||||
|
||||
When you send a bug report, please use the `bashbug' program that is
|
||||
built at the same time as bash. If bash fails to build, try building
|
||||
bashbug directly with `make bashbug'. If you cannot build `bashbug',
|
||||
please send mail to bug-bash@gnu.org with the following information:
|
||||
|
||||
* the version number and release status of Bash (e.g., 2.05a-release)
|
||||
* the machine and OS that it is running on (you may run
|
||||
`bashversion -l' from the bash build directory for this information)
|
||||
* a list of the compilation flags or the contents of `config.h', if
|
||||
appropriate
|
||||
* a description of the bug
|
||||
* a recipe for recreating the bug reliably
|
||||
* a fix for the bug if you have one!
|
||||
|
||||
The `bashbug' program includes much of this automatically.
|
||||
|
||||
If you would like to contact the Bash maintainers directly, send mail
|
||||
to bash-maintainers@gnu.org.
|
||||
|
||||
While the Bash maintainers do not promise to fix all bugs, we would
|
||||
like this shell to be the best that we can make it.
|
||||
|
||||
Enjoy!
|
||||
|
||||
Chet Ramey
|
||||
chet@po.cwru.edu
|
||||
+86
-86
@@ -15,101 +15,101 @@
|
||||
'configure.in'
|
||||
],
|
||||
{
|
||||
'm4_pattern_forbid' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AC_TYPE_OFF_T' => 1,
|
||||
'AC_C_VOLATILE' => 1,
|
||||
'AC_FUNC_CLOSEDIR_VOID' => 1,
|
||||
'AC_REPLACE_FNMATCH' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AC_FUNC_STAT' => 1,
|
||||
'AC_FUNC_WAIT3' => 1,
|
||||
'AC_HEADER_TIME' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'AC_STRUCT_TM' => 1,
|
||||
'AC_FUNC_LSTAT' => 1,
|
||||
'AC_FUNC_GETMNTENT' => 1,
|
||||
'AC_TYPE_MODE_T' => 1,
|
||||
'AC_CHECK_HEADERS' => 1,
|
||||
'AC_FUNC_STRTOD' => 1,
|
||||
'AC_FUNC_STRNLEN' => 1,
|
||||
'm4_sinclude' => 1,
|
||||
'AC_PROG_CXX' => 1,
|
||||
'AC_PATH_X' => 1,
|
||||
'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
|
||||
'AC_PROG_AWK' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AC_HEADER_STDC' => 1,
|
||||
'AC_HEADER_MAJOR' => 1,
|
||||
'AC_FUNC_ERROR_AT_LINE' => 1,
|
||||
'AC_PROG_GCC_TRADITIONAL' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'AC_FUNC_MBRTOWC' => 1,
|
||||
'AC_STRUCT_ST_BLOCKS' => 1,
|
||||
'AC_TYPE_SIGNAL' => 1,
|
||||
'AC_TYPE_UID_T' => 1,
|
||||
'AC_PROG_MAKE_SET' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'm4_pattern_allow' => 1,
|
||||
'sinclude' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1,
|
||||
'AC_FUNC_STRERROR_R' => 1,
|
||||
'AC_PROG_CC' => 1,
|
||||
'AC_FUNC_FORK' => 1,
|
||||
'AC_DECL_SYS_SIGLIST' => 1,
|
||||
'AC_FUNC_VPRINTF' => 1,
|
||||
'AC_FUNC_STRCOLL' => 1,
|
||||
'AC_PROG_YACC' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'AC_STRUCT_TIMEZONE' => 1,
|
||||
'AC_FUNC_CHOWN' => 1,
|
||||
'AC_FUNC_ALLOCA' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AC_FUNC_GETPGRP' => 1,
|
||||
'AC_CANONICAL_HOST' => 1,
|
||||
'AC_PROG_RANLIB' => 1,
|
||||
'AC_FUNC_SETPGRP' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AC_FUNC_MMAP' => 1,
|
||||
'AC_FUNC_REALLOC' => 1,
|
||||
'AC_TYPE_SIZE_T' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'AC_CHECK_TYPES' => 1,
|
||||
'AC_CHECK_MEMBERS' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AC_FUNC_UTIME_NULL' => 1,
|
||||
'AC_FUNC_SELECT_ARGTYPES' => 1,
|
||||
'AC_FUNC_STRFTIME' => 1,
|
||||
'AC_HEADER_STAT' => 1,
|
||||
'AC_C_INLINE' => 1,
|
||||
'AC_PROG_CPP' => 1,
|
||||
'AC_C_CONST' => 1,
|
||||
'AC_TYPE_PID_T' => 1,
|
||||
'AC_FUNC_MBRTOWC' => 1,
|
||||
'AC_FUNC_CHOWN' => 1,
|
||||
'AM_AUTOMAKE_VERSION' => 1,
|
||||
'AC_FUNC_GETMNTENT' => 1,
|
||||
'AC_PROG_LEX' => 1,
|
||||
'AC_CONFIG_FILES' => 1,
|
||||
'include' => 1,
|
||||
'AC_FUNC_SETVBUF_REVERSED' => 1,
|
||||
'AC_PROG_INSTALL' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'AC_CHECK_LIB' => 1,
|
||||
'AC_FUNC_OBSTACK' => 1,
|
||||
'AC_FUNC_MALLOC' => 1,
|
||||
'AC_FUNC_GETGROUPS' => 1,
|
||||
'AC_FUNC_GETLOADAVG' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'AC_FUNC_FSEEKO' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'AC_CANONICAL_SYSTEM' => 1,
|
||||
'AC_FUNC_MKTIME' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_CONFIG_SUBDIRS' => 1,
|
||||
'AC_FUNC_VPRINTF' => 1,
|
||||
'AC_CONFIG_LIBOBJ_DIR' => 1,
|
||||
'AC_PATH_X' => 1,
|
||||
'm4_sinclude' => 1,
|
||||
'AC_HEADER_TIME' => 1,
|
||||
'AC_HEADER_SYS_WAIT' => 1,
|
||||
'AC_PROG_LN_S' => 1,
|
||||
'AC_LIBSOURCE' => 1,
|
||||
'AC_TYPE_SIZE_T' => 1,
|
||||
'AC_PROG_RANLIB' => 1,
|
||||
'AC_DECL_SYS_SIGLIST' => 1,
|
||||
'AC_FUNC_STRFTIME' => 1,
|
||||
'AC_PROG_LIBTOOL' => 1,
|
||||
'AC_TYPE_OFF_T' => 1,
|
||||
'AC_PROG_INSTALL' => 1,
|
||||
'sinclude' => 1,
|
||||
'AC_FUNC_WAIT3' => 1,
|
||||
'AM_INIT_AUTOMAKE' => 1,
|
||||
'AC_FUNC_MALLOC' => 1,
|
||||
'AC_FUNC_ALLOCA' => 1,
|
||||
'AM_MAINTAINER_MODE' => 1,
|
||||
'AC_PROG_CPP' => 1,
|
||||
'AC_FUNC_MEMCMP' => 1,
|
||||
'm4_include' => 1,
|
||||
'AC_CHECK_HEADERS' => 1,
|
||||
'AC_FUNC_FSEEKO' => 1,
|
||||
'AC_REPLACE_FNMATCH' => 1,
|
||||
'AC_TYPE_UID_T' => 1,
|
||||
'AC_PROG_CXX' => 1,
|
||||
'AC_TYPE_PID_T' => 1,
|
||||
'AC_FUNC_SELECT_ARGTYPES' => 1,
|
||||
'AC_FUNC_ERROR_AT_LINE' => 1,
|
||||
'AC_TYPE_SIGNAL' => 1,
|
||||
'AC_FUNC_STRERROR_R' => 1,
|
||||
'AC_PROG_GCC_TRADITIONAL' => 1,
|
||||
'AC_C_INLINE' => 1,
|
||||
'_m4_warn' => 1,
|
||||
'AC_FUNC_STRTOD' => 1,
|
||||
'AC_PROG_AWK' => 1,
|
||||
'AC_FUNC_GETLOADAVG' => 1,
|
||||
'AC_FUNC_SETPGRP' => 1,
|
||||
'AC_CONFIG_FILES' => 1,
|
||||
'AM_GNU_GETTEXT' => 1,
|
||||
'include' => 1,
|
||||
'AC_FUNC_STRNLEN' => 1,
|
||||
'AC_HEADER_MAJOR' => 1,
|
||||
'AC_FUNC_SETVBUF_REVERSED' => 1,
|
||||
'AC_INIT' => 1,
|
||||
'AC_CONFIG_HEADERS' => 1,
|
||||
'AC_FUNC_CLOSEDIR_VOID' => 1,
|
||||
'AC_C_CONST' => 1,
|
||||
'AC_HEADER_STAT' => 1,
|
||||
'AC_TYPE_MODE_T' => 1,
|
||||
'AC_FUNC_GETGROUPS' => 1,
|
||||
'AC_FUNC_OBSTACK' => 1,
|
||||
'AC_STRUCT_TM' => 1,
|
||||
'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
|
||||
'AC_CHECK_TYPES' => 1,
|
||||
'AH_OUTPUT' => 1,
|
||||
'AC_FUNC_MMAP' => 1,
|
||||
'AC_STRUCT_TIMEZONE' => 1,
|
||||
'AC_FUNC_MKTIME' => 1,
|
||||
'AC_HEADER_STDC' => 1,
|
||||
'AC_PROG_CC' => 1,
|
||||
'm4_pattern_forbid' => 1,
|
||||
'AC_PROG_YACC' => 1,
|
||||
'AC_CHECK_MEMBERS' => 1,
|
||||
'AM_CONDITIONAL' => 1,
|
||||
'AC_FUNC_REALLOC' => 1,
|
||||
'AC_SUBST' => 1,
|
||||
'AC_FUNC_STRCOLL' => 1,
|
||||
'AM_PROG_CC_C_O' => 1,
|
||||
'AC_PROG_LN_S' => 1,
|
||||
'AC_CONFIG_LINKS' => 1,
|
||||
'AC_HEADER_DIRENT' => 1,
|
||||
'AC_CHECK_FUNCS' => 1
|
||||
'm4_include' => 1,
|
||||
'AC_CHECK_LIB' => 1,
|
||||
'AC_CONFIG_AUX_DIR' => 1,
|
||||
'AC_FUNC_FORK' => 1,
|
||||
'AC_FUNC_LSTAT' => 1,
|
||||
'AC_C_VOLATILE' => 1,
|
||||
'AC_CHECK_FUNCS' => 1,
|
||||
'AC_STRUCT_ST_BLOCKS' => 1,
|
||||
'AC_FUNC_UTIME_NULL' => 1,
|
||||
'AC_FUNC_GETPGRP' => 1,
|
||||
'AC_DEFINE_TRACE_LITERAL' => 1
|
||||
}
|
||||
], 'Autom4te::Request' )
|
||||
);
|
||||
|
||||
+6
-2
@@ -6,12 +6,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.CWRU.Edu
|
||||
.\"
|
||||
.\" Last Change: Sat Apr 30 19:09:18 EDT 2005
|
||||
.\" Last Change: Fri Jul 15 23:15:01 EDT 2005
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2005 Apr 30" "GNU Bash-3.1-devel"
|
||||
.TH BASH 1 "2005 Jul 15" "GNU Bash-3.1-devel"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -1986,6 +1986,10 @@ number of seconds to wait for input after issuing the primary prompt.
|
||||
terminates after waiting for that number of seconds if input does
|
||||
not arrive.
|
||||
.TP
|
||||
.B TMPDIR
|
||||
If set, \fBBash\fP uses its value as the name of a directory in which
|
||||
\fBBash\fP creates temporary files for the shell's use.
|
||||
.TP
|
||||
.B auto_resume
|
||||
This variable controls how the shell interacts with the user and
|
||||
job control. If this variable is set, single word simple
|
||||
|
||||
+3
-3
@@ -6,12 +6,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.CWRU.Edu
|
||||
.\"
|
||||
.\" Last Change: Wed Mar 23 21:06:23 EST 2005
|
||||
.\" Last Change: Sat Apr 30 19:09:18 EDT 2005
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2005 Mar 23" "GNU Bash-3.1-devel"
|
||||
.TH BASH 1 "2005 Apr 30" "GNU Bash-3.1-devel"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -7456,7 +7456,7 @@ input is not read within \fItimeout\fP seconds.
|
||||
This option has no effect if \fBread\fP is not reading input from the
|
||||
terminal or a pipe.
|
||||
.TP
|
||||
.B \-u \fIfd\FP
|
||||
.B \-u \fIfd\fP
|
||||
Read input from file descriptor \fIfd\fP.
|
||||
.PD
|
||||
.PP
|
||||
|
||||
@@ -4784,6 +4784,10 @@ prompt when the shell is interactive.
|
||||
Bash terminates after that number of seconds if input does
|
||||
not arrive.
|
||||
|
||||
@item TMPDIR
|
||||
If set, Bash uses its value as the name of a directory in which
|
||||
Bash creates temporary files for the shell's use.
|
||||
|
||||
@item UID
|
||||
The numeric real user id of the current user. This variable is readonly.
|
||||
|
||||
|
||||
+9
-38
@@ -94,46 +94,28 @@ reference on shell behavior.
|
||||
|
||||
@menu
|
||||
* Introduction:: An introduction to the shell.
|
||||
|
||||
* Definitions:: Some definitions used in the rest of this
|
||||
manual.
|
||||
|
||||
* Basic Shell Features:: The shell "building blocks".
|
||||
|
||||
* Shell Builtin Commands:: Commands that are a part of the shell.
|
||||
|
||||
* Shell Variables:: Variables used or set by Bash.
|
||||
|
||||
* Bash Features:: Features found only in Bash.
|
||||
|
||||
* Job Control:: A chapter describing what job control is
|
||||
and how Bash allows you to use it.
|
||||
|
||||
* Using History Interactively:: Chapter dealing with history expansion
|
||||
rules.
|
||||
|
||||
* Job Control:: What job control is and how Bash allows you
|
||||
to use it.
|
||||
* Using History Interactively:: Command History Expansion
|
||||
* Command Line Editing:: Chapter describing the command line
|
||||
editing features.
|
||||
|
||||
* Installing Bash:: How to build and install Bash on your system.
|
||||
|
||||
* Reporting Bugs:: How to report bugs in Bash.
|
||||
|
||||
* Major Differences From The Bourne Shell:: A terse list of the differences
|
||||
between Bash and historical
|
||||
versions of /bin/sh.
|
||||
|
||||
* Copying This Manual:: Copying this manual.
|
||||
|
||||
* Builtin Index:: Index of Bash builtin commands.
|
||||
|
||||
* Reserved Word Index:: Index of Bash reserved words.
|
||||
|
||||
* Variable Index:: Quick reference helps you find the
|
||||
variable you want.
|
||||
|
||||
* Function Index:: Index of bindable Readline functions.
|
||||
|
||||
* Concept Index:: General index for concepts described in
|
||||
this manual.
|
||||
@end menu
|
||||
@@ -143,7 +125,6 @@ reference on shell behavior.
|
||||
@chapter Introduction
|
||||
@menu
|
||||
* What is Bash?:: A short description of Bash.
|
||||
|
||||
* What is a shell?:: A brief introduction to shells.
|
||||
@end menu
|
||||
|
||||
@@ -371,9 +352,7 @@ and to named files, and how the shell executes commands.
|
||||
@section Shell Syntax
|
||||
@menu
|
||||
* Shell Operation:: The basic operation of the shell.
|
||||
|
||||
* Quoting:: How to remove the special meaning from characters.
|
||||
|
||||
* Comments:: How to specify comments.
|
||||
@end menu
|
||||
|
||||
@@ -444,7 +423,6 @@ status (@pxref{Exit Status}).
|
||||
* Double Quotes:: How to suppress most of the interpretation of a
|
||||
sequence of characters.
|
||||
* ANSI-C Quoting:: How to expand ANSI-C sequences in quoted strings.
|
||||
|
||||
* Locale Translation:: How to translate strings into different languages.
|
||||
@end menu
|
||||
|
||||
@@ -2227,21 +2205,15 @@ is not specified. If the file does not exist, it is created.
|
||||
@menu
|
||||
* Simple Command Expansion:: How Bash expands simple commands before
|
||||
executing them.
|
||||
|
||||
* Command Search and Execution:: How Bash finds commands and runs them.
|
||||
|
||||
* Command Execution Environment:: The environment in which Bash
|
||||
executes commands that are not
|
||||
shell builtins.
|
||||
|
||||
* Environment:: The environment given to a command.
|
||||
|
||||
* Exit Status:: The status returned by commands and how Bash
|
||||
interprets it.
|
||||
|
||||
* Signals:: What happens when Bash or a command it runs
|
||||
receives a signal.
|
||||
|
||||
@end menu
|
||||
|
||||
@node Simple Command Expansion
|
||||
@@ -2642,6 +2614,8 @@ 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.
|
||||
For example, the @code{:}, @code{true}, @code{false}, and @code{test}
|
||||
builtins do not accept options.
|
||||
|
||||
@node Bourne Shell Builtins
|
||||
@section Bourne Shell Builtins
|
||||
@@ -2932,6 +2906,8 @@ Evaluate a conditional expression @var{expr}.
|
||||
Each operator and operand must be a separate argument.
|
||||
Expressions are composed of the primaries described below in
|
||||
@ref{Bash Conditional Expressions}.
|
||||
@code{test} does not accept any options, nor does it accept and ignore
|
||||
an argument of @option{--} as signifying the end of options.
|
||||
|
||||
When the @code{[} form is used, the last argument to the command must
|
||||
be a @code{]}.
|
||||
@@ -3335,6 +3311,8 @@ even on systems where they are interpreted by default.
|
||||
The @code{xpg_echo} shell option may be used to
|
||||
dynamically determine whether or not @code{echo} expands these
|
||||
escape characters by default.
|
||||
@code{echo} does not interpret @option{--} to mean the end of options.
|
||||
|
||||
@code{echo} interprets the following escape sequences:
|
||||
@table @code
|
||||
@item \a
|
||||
@@ -6408,23 +6386,16 @@ Other independent ports exist for
|
||||
|
||||
@menu
|
||||
* Basic Installation:: Installation instructions.
|
||||
|
||||
* Compilers and Options:: How to set special options for various
|
||||
systems.
|
||||
|
||||
* Compiling For Multiple Architectures:: How to compile Bash for more
|
||||
than one kind of system from
|
||||
the same source tree.
|
||||
|
||||
* Installation Names:: How to set the various paths used by the installation.
|
||||
|
||||
* Specifying the System Type:: How to configure Bash for a particular system.
|
||||
|
||||
* Sharing Defaults:: How to share default configuration values among GNU
|
||||
programs.
|
||||
|
||||
* Operation Controls:: Options recognized by the configuration program.
|
||||
|
||||
* Optional Features:: How to enable and disable optional features when
|
||||
building Bash.
|
||||
@end menu
|
||||
|
||||
+3
-3
@@ -2,9 +2,9 @@
|
||||
Copyright (C) 1988-2005 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Thu Jun 23 09:48:04 EDT 2005
|
||||
@set LASTCHANGE Fri Jul 15 23:14:38 EDT 2005
|
||||
|
||||
@set EDITION 3.1-devel
|
||||
@set VERSION 3.1-devel
|
||||
@set UPDATED 30 April 2005
|
||||
@set UPDATED-MONTH April 2005
|
||||
@set UPDATED 15 July 2005
|
||||
@set UPDATED-MONTH July 2005
|
||||
|
||||
+3
-4
@@ -2,10 +2,9 @@
|
||||
Copyright (C) 1988-2005 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Wed Mar 23 20:57:44 EST 2005
|
||||
|
||||
@set LASTCHANGE Thu Jun 23 09:48:04 EDT 2005
|
||||
|
||||
@set EDITION 3.1-devel
|
||||
@set VERSION 3.1-devel
|
||||
@set UPDATED 23 March 2005
|
||||
@set UPDATED-MONTH March 2005
|
||||
@set UPDATED 30 April 2005
|
||||
@set UPDATED-MONTH April 2005
|
||||
|
||||
@@ -254,7 +254,8 @@ expand_prompt (pmt, lp, lip, niflp, vlp)
|
||||
else if (ignoring && *p == RL_PROMPT_END_IGNORE)
|
||||
{
|
||||
ignoring = 0;
|
||||
last = r - ret - 1;
|
||||
if (p[-1] != RL_PROMPT_START_IGNORE)
|
||||
last = r - ret - 1;
|
||||
continue;
|
||||
}
|
||||
else
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
BUILD_DIR=/usr/local/build/bash/bash-current
|
||||
BUILD_DIR=/usr/local/build/chet/bash/bash-current
|
||||
THIS_SH=$BUILD_DIR/bash
|
||||
PATH=$PATH:$BUILD_DIR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user