Opened 6 years ago
Closed 6 years ago
#4404 closed task (fixed)
bash-5.0
Reported by: | Anton Maisak | Owned by: | lfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 8.4 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
Note:
See TracTickets
for help on using tickets.
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.
name' argument to the
coproc' reserved word now undergoes word expansion, so unique coprocs can be created in loops.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.aa. There is a new (disabled by default, undocumented) shell option to enable
bb. Bash no longer allows variable assignments preceding a special builtin that
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
ee. The internal bash malloc now uses mmap (if available) to satisfy requests
ff. The shell doesn't automatically set BASH_ARGC and BASH_ARGV at startup
gg. The localvar_inherit option will not attempt to inherit a value from a
hh. The `globasciiranges' option is now enabled by default; it can be set to
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
nn. There is a new `seq' loadable builtin.
oo. Trap execution now honors the (internal) max invocations of `eval', since
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
rr. POSIX mode now enables the `shift_verbose' option.
N',
n') can search for a shell pattern, as Posix specifies (uses fnmatch(3) if available).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.on' or
off'; variable names are separated from the operator by whitespace.