commit bash-20201203 snapshot

This commit is contained in:
Chet Ramey
2020-12-18 15:26:11 -05:00
parent 9b44e16c6f
commit 3f17ceca10
18 changed files with 8674 additions and 7779 deletions
+10
View File
@@ -9175,3 +9175,13 @@ test.c
doc/{bash.1,bashref.texi}
- small tweaks to the ulimit description to make it more consistent with
the Posix standard's terminology
12/6
----
[bash-5.1 released]
12/7
----
Makefile.in
- bashline.o: add dependency on ${DEFDIR}/builtext.h. Report from
Fazal Majid <fazal@majid.org>
+1
View File
@@ -1311,6 +1311,7 @@ bashline.o: trap.h flags.h assoc.h $(BASHINCDIR)/ocache.h
bashline.o: $(DEFSRC)/common.h $(GLOB_LIBSRC)/glob.h alias.h
bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h
bashline.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h
bashline.o: ${DEFDIR}/builtext.h
bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h
bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h
bracecomp.o: command.h ${BASHINCDIR}/stdc.h error.h
+3 -1
View File
@@ -1,4 +1,6 @@
This is the Bash FAQ, version 4.15, for Bash version 5.0.
This is the Bash FAQ, version 4.15, for Bash version 5.1.
[This document is no longer maintained.]
This document contains a set of frequently-asked questions concerning
Bash, the GNU Bourne-Again Shell. Bash is a freely-available command
+16 -9
View File
@@ -8808,9 +8808,13 @@ the installed version of Readline in subdirectories of that directory
(include files in @var{PREFIX}/@code{include} and the library in
@var{PREFIX}/@code{lib}).
@item --with-purify
Define this to use the Purify memory allocation checker from Rational
Software.
@item --with-libintl-prefix[=@var{PREFIX}]
Define this to make Bash link with a locally-installed version of the
libintl library instead ofthe version in @file{lib/intl}.
@item --with-libiconv-prefix[=@var{PREFIX}]
Define this to make Bash look for libiconv in @var{PREFIX} instead of the
standard system locations. There is no version included with Bash.
@item --enable-minimal-config
This produces a shell with minimal features, close to the historical
@@ -8818,7 +8822,7 @@ Bourne shell.
@end table
There are several @option{--enable-} options that alter how Bash is
compiled and linked, rather than changing run-time features.
compiled, linked, and installed, rather than changing run-time features.
@table @code
@item --enable-largefile
@@ -8831,9 +8835,14 @@ default, if the operating system provides large file support.
This builds a Bash binary that produces profiling information to be
processed by @code{gprof} each time it is executed.
@item --enable-separate-helpfiles
Use external files for the documentation displayed by the @code{help} builtin
instead of storing the text internally.
@item --enable-static-link
This causes Bash to be linked statically, if @code{gcc} is being used.
This could be used to build a version to use as root's shell.
@end table
The @samp{minimal-config} option can be used to disable all of
@@ -8841,7 +8850,9 @@ the following options, but it is processed first, so individual
options may be enabled using @samp{enable-@var{feature}}.
All of the following options except for @samp{disabled-builtins},
@samp{direxpand-default}, and
@samp{direxpand-default},
@samp{strict-posix-default},
and
@samp{xpg-echo-default} are
enabled by default, unless the operating system does not provide the
necessary support.
@@ -8994,10 +9005,6 @@ when called as @code{rbash}, enters a restricted mode. See
Include the @code{select} compound command, 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.
+10 -4
View File
@@ -1,11 +1,13 @@
Some examples of ready-to-dynamic-load builtins. Most of the
examples given are reimplementations of standard commands whose
execution time is dominated by process startup time. The
execution time is dominated by process startup time. Some
exceptions are sleep, which allows you to sleep for fractions
of a second, finfo, which provides access to the rest of the
elements of the `stat' structure that `test' doesn't let you
see, and pushd/popd/dirs, which allows you to compile them out
of the shell.
see, csv, which allows you to manipulate data from comma-separated
values files, fdflags, which lets you change the flags associated
with one of the shell's file descriptors, and pushd/popd/dirs, which
allows you to compile them out of the shell.
All of the new builtins in ksh93 that bash didn't already have
are included here, as is the ksh `print' builtin.
@@ -40,6 +42,8 @@ without having to search for the right CFLAGS and LDFLAGS.
basename.c Return non-directory portion of pathname.
cat.c cat(1) replacement with no options - the way cat was intended.
csv.c Process a line of csv data and store it in an indexed array.
cut.c Cut out selected portions of each line of a file.
dirname.c Return directory portion of pathname.
fdflags.c Change the flag associated with one of bash's open file descriptors.
finfo.c Print file info.
@@ -52,7 +56,9 @@ logname.c Print login name of current user.
Makefile.in Simple makefile for the sample loadable builtins.
Makefile.inc.in Sample makefile to use for loadable builtin development.
mkdir.c Make directories.
mypid.c Add $MYPID variable, demonstrate use of unload hook functio.n
mkfifo.c Create named pipes.
mktemp.c Make unique temporary file name.
mypid.c Add $MYPID variable, demonstrate use of unload hook function.
necho.c echo without options or argument interpretation.
pathchk.c Check pathnames for validity and portability.
print.c Loadable ksh-93 style print builtin.
+1 -1
View File
@@ -39,7 +39,7 @@ extern "C" {
#endif
/* Hex-encoded Readline version number. */
#define RL_READLINE_VERSION 0x0801 /* Readline 8.0 */
#define RL_READLINE_VERSION 0x0801 /* Readline 8.1 */
#define RL_VERSION_MAJOR 8
#define RL_VERSION_MINOR 1
+4248
View File
File diff suppressed because it is too large Load Diff
+411 -803
View File
File diff suppressed because it is too large Load Diff
+267 -536
View File
File diff suppressed because it is too large Load Diff
+955 -1754
View File
File diff suppressed because it is too large Load Diff
+289 -495
View File
File diff suppressed because it is too large Load Diff
+312 -649
View File
File diff suppressed because it is too large Load Diff
+406 -790
View File
File diff suppressed because it is too large Load Diff
+369 -727
View File
File diff suppressed because it is too large Load Diff
+256 -526
View File
File diff suppressed because it is too large Load Diff
+331 -680
View File
File diff suppressed because it is too large Load Diff
+353 -348
View File
File diff suppressed because it is too large Load Diff
+436 -456
View File
File diff suppressed because it is too large Load Diff