2020-04-25 14:56:54 +02:00
|
|
|
$NetBSD: distinfo,v 1.60 2020/04/25 12:56:54 kre Exp $
|
2004-10-21 05:11:14 +02:00
|
|
|
|
Update to 5.0
Changelog:
This is a terse description of the new features added to bash-5.0 since
the release of bash-4.4. As always, the manual page (doc/bash.1) is
the place to look for complete descriptions.
1. New Features in Bash
a. The `wait' builtin can now wait for the last process substitution created.
b. There is an EPOCHSECONDS variable, which expands to the time in seconds
since the Unix epoch.
c. There is an EPOCHREALTIME variable, which expands to the time in seconds
since the Unix epoch with microsecond granularity.
d. New loadable builtins: rm, stat, fdflags.
e. BASH_ARGV0: a new variable that expands to $0 and sets $0 on assignment.
f. When supplied a numeric argument, the shell-expand-line bindable readline
command does not perform quote removal and suppresses command and process
substitution.
g. `history -d' understands negative arguments: negative arguments offset from
the end of the history list.
h. The `name' argument to the `coproc' reserved word now undergoes word
expansion, so unique coprocs can be created in loops.
i. A nameref name resolution loop in a function now resolves to a variable by
that name in the global scope.
j. The `wait' builtin now has a `-f' option, which signfies to wait until the
specified job or process terminates, instead of waiting until it changes
state.
k. There is a define in config-top.h that allows the shell to use a static
value for $PATH, overriding whatever is in the environment at startup, for
use by the restricted shell.
l. Process substitution does not inherit the `v' option, like command
substitution.
m. If a non-interactive shell with job control enabled detects that a foreground
job died due to SIGINT, it acts as if it received the SIGINT.
n. The SIGCHLD trap is run once for each exiting child process even if job
control is not enabled when the shell is in Posix mode.
o. A new shopt option: localvar_inherit; if set, a local variable inherits the
value of a variable with the same name at the nearest preceding scope.
p. `bind -r' now checks whether a key sequence is bound before binding it to
NULL, to avoid creating keymaps for a multi-key sequence.
q. A numeric argument to the line editing `operate-and-get-next' command
specifies which history entry to use.
r. The positional parameters are now assigned before running the shell startup
files, so startup files can use $@.
s. There is a compile-time option that forces the shell to disable the check
for an inherited OLDPWD being a directory.
t. The `history' builtin can now delete ranges of history entries using
`-d start-end'.
u. The `vi-edit-and-execute-command' bindable readline command now puts readline
back in vi insertion mode after executing commands from the edited file.
v. The command completion code now matches aliases and shell function names
case-insensitively if the readline completion-ignore-case variable is set.
w. There is a new `assoc_expand_once' shell option that attempts to expand
associative array subscripts only once.
x. The shell only sets up BASH_ARGV and BASH_ARGC at startup if extended
debugging mode is active. The old behavior of unconditionally setting them
is available as part of the shell compatibility options.
y. The `umask' builtin now allows modes and masks greater than octal 777.
z. The `times' builtin now honors the current locale when printing a decimal
point.
aa. There is a new (disabled by default, undocumented) shell option to enable
and disable sending history to syslog at runtime.
bb. Bash no longer allows variable assignments preceding a special builtin that
changes variable attributes to propagate back to the calling environment
unless the compatibility level is 44 or lower.
cc. You can set the default value for $HISTSIZE at build time in config-top.h.
dd. The `complete' builtin now accepts a -I option that applies the completion
to the initial word on the line.
ee. The internal bash malloc now uses mmap (if available) to satisfy requests
greater than 128K bytes, so free can use mfree to return the pages to the
kernel.
ff. The shell doesn't automatically set BASH_ARGC and BASH_ARGV at startup
unless it's in debugging mode, as the documentation has always said, but
will dynamically create them if a script references them at the top level
without having enabled debugging mode.
gg. The localvar_inherit option will not attempt to inherit a value from a
variable of an incompatible type (indexed vs. associative arrays, for
example).
hh. The `globasciiranges' option is now enabled by default; it can be set to
off by default at configuration time.
ii. Associative and indexed arrays now allow subscripts consisting solely of
whitespace.
jj. `checkwinsize' is now enabled by default.
kk. The `localvar_unset' shopt option is now visible and documented.
ll. The `progcomp_alias' shopt option is now visible and documented.
mm. The signal name processing code now understands `SIGRTMIN+n' all the way
up to SIGRTMAX.
nn. There is a new `seq' loadable builtin.
oo. Trap execution now honors the (internal) max invocations of `eval', since
traps are supposed to be executed as if using `eval'.
pp. The $_ variable doesn't change when the shell executes a command that forks.
qq. The `kill' builtin now supports -sSIGNAME and -nSIGNUM, even though
conforming applications aren't supposed to use them.
rr. POSIX mode now enables the `shift_verbose' option.
2. New Features in Readline
a. Non-incremental vi-mode search (`N', `n') can search for a shell pattern, as
Posix specifies (uses fnmatch(3) if available).
b. There are new `next-screen-line' and `previous-screen-line' bindable
commands, which move the cursor to the same column in the next, or previous,
physical line, respectively.
c. There are default key bindings for control-arrow-key key combinations.
d. A negative argument (-N) to `quoted-insert' means to insert the next N
characters using quoted-insert.
e. New public function: rl_check_signals(), which allows applications to
respond to signals that readline catches while waiting for input using
a custom read function.
f. There is new support for conditionally testing the readline version in an
inputrc file, with a full set of arithmetic comparison operators available.
g. There is a simple variable comparison facility available for use within an
inputrc file. Allowable operators are equality and inequality; string
variables may be compared to a value; boolean variables must be compared to
either `on' or `off'; variable names are separated from the operator by
whitespace.
h. The history expansion library now understands command and process
substitution and extended globbing and allows them to appear anywhere in a
word.
i. The history library has a new variable that allows applications to set the
initial quoting state, so quoting state can be inherited from a previous
line.
j. Readline now allows application-defined keymap names; there is a new public
function, rl_set_keymap_name(), to do that.
k. The "Insert" keypad key, if available, now puts readline into overwrite
mode.
2019-01-08 17:24:42 +01:00
|
|
|
SHA1 (bash-5.0.tar.gz) = d116b469b9e6ea5264a74661d3a4c797da7f997b
|
|
|
|
RMD160 (bash-5.0.tar.gz) = a081428a896d617855499376b670eca3433a27c1
|
|
|
|
SHA512 (bash-5.0.tar.gz) = bb4519f06e278f271d08722b531e49d2e842cc3e0b02a6b3eee422e2efcb5b6226111af43f5e5eae56beb85ac8bfebcd6a4aacbabb8f609e529aa4d571890864
|
|
|
|
Size (bash-5.0.tar.gz) = 10135110 bytes
|
2019-04-24 16:04:27 +02:00
|
|
|
SHA1 (bash50-001) = 9b8c7b32bf434d36b030c37b54fe8cebe54e2ab7
|
|
|
|
RMD160 (bash50-001) = 20cde6fea8fb371d1d00d10496c1f5b1d9c71182
|
|
|
|
SHA512 (bash50-001) = e3bf036287d3be1f3e91755678c04c9a8e1b4a98e34e181871dfaeb13987dda18c31a44db3f3829d91a185ba4414b9c0229f2a15f6e8a951cbc6c1054252bfdd
|
|
|
|
Size (bash50-001) = 4133 bytes
|
|
|
|
SHA1 (bash50-002) = 44a3a849a6826571115f9920405edeca3d8287ad
|
|
|
|
RMD160 (bash50-002) = a1eb7734493903e9eb25b3c1b48d69ee7a01da5e
|
|
|
|
SHA512 (bash50-002) = 59b1cfa1be1029ada53c63fe651d51451ead5523c50c115e0eada07e34e641c693ed728366986acb431f96fdc61818efd3f8cd168ce416001edc62602e5f28dd
|
|
|
|
Size (bash50-002) = 4380 bytes
|
|
|
|
SHA1 (bash50-003) = f371117fb06427e2b480fb796ee27f467a2d951a
|
|
|
|
RMD160 (bash50-003) = c964aa0deb96a5efe5e0d9cf123d0e5345c77efc
|
|
|
|
SHA512 (bash50-003) = 520b5cc0b7aeea6cd8b7471b553d8979996f3627a3e5c8889023562dadc82475be243aca2ec608217b78400a1dceb134b877d3ded926e581445234f1b69409e6
|
|
|
|
Size (bash50-003) = 6434 bytes
|
|
|
|
SHA1 (bash50-004) = e0adfba3d5e9b96911c771140e03ec892e732be3
|
|
|
|
RMD160 (bash50-004) = 90417dbb08702281201614df0518d1534dcf6f48
|
|
|
|
SHA512 (bash50-004) = cbf51bb242edf36289bd483b47c9451132c12f341f494212c0e5d969cd06a3c1c4d121295f3bacb1d7d5e56f789258ba9f54c4cfb5760ed3c70ec1f49f25c719
|
|
|
|
Size (bash50-004) = 1664 bytes
|
|
|
|
SHA1 (bash50-005) = 08aac2d877b65e5816c3a73ee49a78261988597c
|
|
|
|
RMD160 (bash50-005) = 9662d5e3ed43a14b80845ecb6a5916733113a126
|
|
|
|
SHA512 (bash50-005) = 4d3e6f337a76b9ff1887c4c6e4e4352885779504f3c975b8d6fa587962f01e8adbd843b5341c1fc1d11152cf465f2982eebd9dc6e1384f319157d29740d510da
|
|
|
|
Size (bash50-005) = 3732 bytes
|
|
|
|
SHA1 (bash50-006) = 9cf8246582e3a03f79791a6922c8331c2564a51e
|
|
|
|
RMD160 (bash50-006) = 702429f2e21e61cb39f7ecc579fc61bfaa5f4991
|
|
|
|
SHA512 (bash50-006) = 71df829a3a3927a363ad961de8af8db898ea8b0ccf604c5f1326fe4646d0d50b3c7038ee473c225fc10d26c2dc1f711d66b74d003bb0445d36a8a70c49e056e0
|
|
|
|
Size (bash50-006) = 1275 bytes
|
|
|
|
SHA1 (bash50-007) = 43e1f09bc57bb442603d4c8691d6f39e378a0bfc
|
|
|
|
RMD160 (bash50-007) = 75f55a086cb11db8fb0faa001a7fe8d77b17b30f
|
|
|
|
SHA512 (bash50-007) = 467d377836c53d188cda39de550ce1e00b58895a6646c4da3535e74e599978558a92d8e7bf7c59c988159468fbce04f3a0dbf62cbded28472272f1b9811786e8
|
|
|
|
Size (bash50-007) = 1640 bytes
|
2019-08-15 02:33:44 +02:00
|
|
|
SHA1 (bash50-008) = 953e54638c2e0f3bed5f6589df6b9710f5d6bd35
|
|
|
|
RMD160 (bash50-008) = e4076df3d86bb750c2fd72766fcdf855a92b9269
|
|
|
|
SHA512 (bash50-008) = 110fef44c1a26819ad8926ce00bd5378e99275763db4b0e9cfd125ba1ab7eb9f93abf912efb9841fa2ac59c380995e477683afc8cf6bf00367a9af7ae371e7f4
|
|
|
|
Size (bash50-008) = 2622 bytes
|
|
|
|
SHA1 (bash50-009) = 38e2101c03c9d48595df248a5115b61bd62c0b00
|
|
|
|
RMD160 (bash50-009) = 55a8d44d5ef731d4996bdf69dcf6a80105ca168e
|
|
|
|
SHA512 (bash50-009) = 6b770dbd4ca1175f9b958931b1e725d96626a24fb270bac5414d1679dde05276c87654815e9957d6932c515e8792caf8a5f0e9f2dc108bdd041d8024cf75a833
|
|
|
|
Size (bash50-009) = 1095 bytes
|
2019-09-01 07:59:21 +02:00
|
|
|
SHA1 (bash50-010) = f938ba0730f63f4535eaf4298ae4ebe1121553ca
|
|
|
|
RMD160 (bash50-010) = 40599f5fe2f5a9cfa9324cd31c0487166ff68f5a
|
|
|
|
SHA512 (bash50-010) = 8ca2cea0264bc0401414207fd8752d4d6eda64be3bb10fdc22529fa2bcedb84e6ab257ba2badc7078ece7f2ae1e2964635926f227eea7aed58166e82871322c2
|
|
|
|
Size (bash50-010) = 6407 bytes
|
|
|
|
SHA1 (bash50-011) = c8dfa690a081b15826737cab955ff2d79c69dd7a
|
|
|
|
RMD160 (bash50-011) = d2866cbdf4f5a8e1f79ff4795b6045a45bea4627
|
|
|
|
SHA512 (bash50-011) = 05833d6c85f3795a9c100246335f39155c1b5d190e073bf382269c2bbceb13a2de3f85dbe1dd5d4c7824fcca481febe3bdbb4c555e1f2de86bec05fcf6f5871e
|
|
|
|
Size (bash50-011) = 1870 bytes
|
2020-02-11 12:45:24 +01:00
|
|
|
SHA1 (bash50-012) = 302ff4f46b7910f83600496d6afab898ff24f76b
|
|
|
|
RMD160 (bash50-012) = 3c08d0e8a96645112fe86c407637f2d030319a7a
|
|
|
|
SHA512 (bash50-012) = 24d67358eec07cc4cd0457ec0c296567558f20bf713b917fc8a8e5095a83f1c5db880bb863d483ca0c9e003972ac5f56596a2eb10c26c82bf6326d0475784e7e
|
|
|
|
Size (bash50-012) = 1571 bytes
|
|
|
|
SHA1 (bash50-013) = f03604304381de28bf16f4f86a7d98fc38c05b6e
|
|
|
|
RMD160 (bash50-013) = 824d45c5779bf238b2891a4906a38d7e49f71ea8
|
|
|
|
SHA512 (bash50-013) = 38fff9856c2259fbba607aacee027dd61e8733c6e5f476b7491bc43755fb5a63e82372f9f18663ec81e7480f0738b296271c948e1932e851f68f53cf3a1935b5
|
|
|
|
Size (bash50-013) = 2328 bytes
|
|
|
|
SHA1 (bash50-014) = 7ca0ac31f30ce2364999dc71d7e4d7bd1517dc3d
|
|
|
|
RMD160 (bash50-014) = 1f36acc05688999814a8932ac87fcbd8f2f71b4c
|
|
|
|
SHA512 (bash50-014) = e8f65be24b425ecaf66672eb4271e0efac2f495f882aeb559d60b52359a468b51852ed7aeeea0ab77cf648a48c9d37f2a00e263d06d29e9fa75b67a648399d91
|
|
|
|
Size (bash50-014) = 1747 bytes
|
|
|
|
SHA1 (bash50-015) = ea47fdb05dfde153414dccc79c51238156963bf1
|
|
|
|
RMD160 (bash50-015) = 540db9eff2543184e504f2de9bff3c07642c2ce5
|
|
|
|
SHA512 (bash50-015) = 3a1a552d1f03dec9ed41be8d8c319fb3cbd01df9978ab25a7b37322913014beca6703980f342ea908250b666d72db95402d7b8219ffdd3df717acb36ed4b72b9
|
|
|
|
Size (bash50-015) = 2565 bytes
|
|
|
|
SHA1 (bash50-016) = 93c1a62446bf403139fd266612df9204e477d40d
|
|
|
|
RMD160 (bash50-016) = 19d5f631e0181e2671f9bcb8ee7419a46f99008e
|
|
|
|
SHA512 (bash50-016) = dbc3bd0fe3bddad8f6417b210fc5638a9c0c545f9d27638d63bac48aba9d3b93181a4f2e9898584d231b658589573fad5e4627ccbcf3e9d87e7663ac730b51aa
|
|
|
|
Size (bash50-016) = 1534 bytes
|
2020-04-25 14:56:54 +02:00
|
|
|
SHA1 (bash50-017) = bde40645832ba9dbd9cc531764489165fd67d15e
|
|
|
|
RMD160 (bash50-017) = a46602c2186a902f20f3260da2bbde825b7a8ad9
|
|
|
|
SHA512 (bash50-017) = d4a4b2746a106a7e78f7df2467cfd4ca486ab36b3e6e97eb9d47ede728033b1246bc1b60edc271cdb49df998af196619b09e598c0da1b425f05455237e256b65
|
|
|
|
Size (bash50-017) = 6517 bytes
|
2016-06-11 14:54:24 +02:00
|
|
|
SHA1 (patch-af) = e26e3209902247263884cfebc11a2f7e43245062
|
|
|
|
SHA1 (patch-ag) = cd3b151e3bb045d2bb609c0a03d7d3df2c871f47
|
2015-03-07 23:40:48 +01:00
|
|
|
SHA1 (patch-aj) = 2e4c15afd9b50d44967ee8e1f85bdc908c0eeeb0
|
2020-03-17 22:59:48 +01:00
|
|
|
SHA1 (patch-bashline.c) = a41e6bdca7a0eba71ba76619ff1eb4f51a4437f2
|
2016-06-11 14:54:24 +02:00
|
|
|
SHA1 (patch-builtins_ulimit.def) = 1390069344607204eb3abbd6ddeb148ff590c55e
|
2015-03-07 23:40:48 +01:00
|
|
|
SHA1 (patch-configure) = c4e1ab53a1ee85f3e6121047f0aca8ceb85e6e5d
|
2019-02-28 08:20:57 +01:00
|
|
|
SHA1 (patch-examples_loadables_fdflags.c) = 92a63c8f4c94ccf9cf782e934a0806930d172654
|
2019-01-21 10:03:44 +01:00
|
|
|
SHA1 (patch-examples_loadables_push.c) = 57a3c7de9ea0a75c373db678d9500954bcf40ff4
|
2020-03-17 22:59:48 +01:00
|
|
|
SHA1 (patch-lib_malloc_malloc.c) = fc22c2bb45490c57782d34d62336d168875c3609
|
2015-03-07 23:40:48 +01:00
|
|
|
SHA1 (patch-shell.c) = daa07914d4c318cd72463f80344f4f7c364809cd
|
2020-03-17 22:59:48 +01:00
|
|
|
SHA1 (patch-subst.c) = f07a230682b197db03dcba4c4fd5dbba3e2f35d9
|
2018-01-25 11:40:05 +01:00
|
|
|
SHA1 (patch-support_shobj-conf) = 8750c104549ea8a4a722bd21a684a9fe13e05fe5
|
Update to 5.0
Changelog:
This is a terse description of the new features added to bash-5.0 since
the release of bash-4.4. As always, the manual page (doc/bash.1) is
the place to look for complete descriptions.
1. New Features in Bash
a. The `wait' builtin can now wait for the last process substitution created.
b. There is an EPOCHSECONDS variable, which expands to the time in seconds
since the Unix epoch.
c. There is an EPOCHREALTIME variable, which expands to the time in seconds
since the Unix epoch with microsecond granularity.
d. New loadable builtins: rm, stat, fdflags.
e. BASH_ARGV0: a new variable that expands to $0 and sets $0 on assignment.
f. When supplied a numeric argument, the shell-expand-line bindable readline
command does not perform quote removal and suppresses command and process
substitution.
g. `history -d' understands negative arguments: negative arguments offset from
the end of the history list.
h. The `name' argument to the `coproc' reserved word now undergoes word
expansion, so unique coprocs can be created in loops.
i. A nameref name resolution loop in a function now resolves to a variable by
that name in the global scope.
j. The `wait' builtin now has a `-f' option, which signfies to wait until the
specified job or process terminates, instead of waiting until it changes
state.
k. There is a define in config-top.h that allows the shell to use a static
value for $PATH, overriding whatever is in the environment at startup, for
use by the restricted shell.
l. Process substitution does not inherit the `v' option, like command
substitution.
m. If a non-interactive shell with job control enabled detects that a foreground
job died due to SIGINT, it acts as if it received the SIGINT.
n. The SIGCHLD trap is run once for each exiting child process even if job
control is not enabled when the shell is in Posix mode.
o. A new shopt option: localvar_inherit; if set, a local variable inherits the
value of a variable with the same name at the nearest preceding scope.
p. `bind -r' now checks whether a key sequence is bound before binding it to
NULL, to avoid creating keymaps for a multi-key sequence.
q. A numeric argument to the line editing `operate-and-get-next' command
specifies which history entry to use.
r. The positional parameters are now assigned before running the shell startup
files, so startup files can use $@.
s. There is a compile-time option that forces the shell to disable the check
for an inherited OLDPWD being a directory.
t. The `history' builtin can now delete ranges of history entries using
`-d start-end'.
u. The `vi-edit-and-execute-command' bindable readline command now puts readline
back in vi insertion mode after executing commands from the edited file.
v. The command completion code now matches aliases and shell function names
case-insensitively if the readline completion-ignore-case variable is set.
w. There is a new `assoc_expand_once' shell option that attempts to expand
associative array subscripts only once.
x. The shell only sets up BASH_ARGV and BASH_ARGC at startup if extended
debugging mode is active. The old behavior of unconditionally setting them
is available as part of the shell compatibility options.
y. The `umask' builtin now allows modes and masks greater than octal 777.
z. The `times' builtin now honors the current locale when printing a decimal
point.
aa. There is a new (disabled by default, undocumented) shell option to enable
and disable sending history to syslog at runtime.
bb. Bash no longer allows variable assignments preceding a special builtin that
changes variable attributes to propagate back to the calling environment
unless the compatibility level is 44 or lower.
cc. You can set the default value for $HISTSIZE at build time in config-top.h.
dd. The `complete' builtin now accepts a -I option that applies the completion
to the initial word on the line.
ee. The internal bash malloc now uses mmap (if available) to satisfy requests
greater than 128K bytes, so free can use mfree to return the pages to the
kernel.
ff. The shell doesn't automatically set BASH_ARGC and BASH_ARGV at startup
unless it's in debugging mode, as the documentation has always said, but
will dynamically create them if a script references them at the top level
without having enabled debugging mode.
gg. The localvar_inherit option will not attempt to inherit a value from a
variable of an incompatible type (indexed vs. associative arrays, for
example).
hh. The `globasciiranges' option is now enabled by default; it can be set to
off by default at configuration time.
ii. Associative and indexed arrays now allow subscripts consisting solely of
whitespace.
jj. `checkwinsize' is now enabled by default.
kk. The `localvar_unset' shopt option is now visible and documented.
ll. The `progcomp_alias' shopt option is now visible and documented.
mm. The signal name processing code now understands `SIGRTMIN+n' all the way
up to SIGRTMAX.
nn. There is a new `seq' loadable builtin.
oo. Trap execution now honors the (internal) max invocations of `eval', since
traps are supposed to be executed as if using `eval'.
pp. The $_ variable doesn't change when the shell executes a command that forks.
qq. The `kill' builtin now supports -sSIGNAME and -nSIGNUM, even though
conforming applications aren't supposed to use them.
rr. POSIX mode now enables the `shift_verbose' option.
2. New Features in Readline
a. Non-incremental vi-mode search (`N', `n') can search for a shell pattern, as
Posix specifies (uses fnmatch(3) if available).
b. There are new `next-screen-line' and `previous-screen-line' bindable
commands, which move the cursor to the same column in the next, or previous,
physical line, respectively.
c. There are default key bindings for control-arrow-key key combinations.
d. A negative argument (-N) to `quoted-insert' means to insert the next N
characters using quoted-insert.
e. New public function: rl_check_signals(), which allows applications to
respond to signals that readline catches while waiting for input using
a custom read function.
f. There is new support for conditionally testing the readline version in an
inputrc file, with a full set of arithmetic comparison operators available.
g. There is a simple variable comparison facility available for use within an
inputrc file. Allowable operators are equality and inequality; string
variables may be compared to a value; boolean variables must be compared to
either `on' or `off'; variable names are separated from the operator by
whitespace.
h. The history expansion library now understands command and process
substitution and extended globbing and allows them to appear anywhere in a
word.
i. The history library has a new variable that allows applications to set the
initial quoting state, so quoting state can be inherited from a previous
line.
j. Readline now allows application-defined keymap names; there is a new public
function, rl_set_keymap_name(), to do that.
k. The "Insert" keypad key, if available, now puts readline into overwrite
mode.
2019-01-08 17:24:42 +01:00
|
|
|
SHA1 (patch-variables.c) = 8d91272602aba348dc158d8fb5948edd90d96646
|