busybox-w32 version FRP-4264-gc79f13025 was released on 2021-07-25. It is no longer current. For other release notes see:
ksh
and bash. This has now been implemented in upstream
BusyBox ash and ported to busybox-w32.
Process substitution allows a list of commands to be executed asynchronously and treated as if it were a file. A trivial example is:
cat <(echo hello)The
echo command is run in a separate process and its
output is made available to cat by passing the name of
an imaginary file. This is useful if a command can only accept
input from files rather than via standard input.
Suppose we wish to compare the contents of two directories.
diff can compare two files. One of them can be
standard input (specified with a - argument) but the
other has to be a file. So we'd need to use at least one temporary
file:
ls dir1 >/tmp/file1 ls dir2 | diff /tmp/file1 -With process substitution we can do:
diff <(ls dir1) <(ls dir2)It also works for output. Suppose we want to view the output of a script but also save it to a file (GitHub issue #111):
#!/bin/sh
exec > >(tee debug.log)
for i in $(seq 1 10)
do
echo "hello world"
done
exit
sync applet has been ported and enabled in the
default configuration. sync writes all buffered data to
the filesystem. The Windows implementation has some limitations:
sync will now run without error.
The xz and lzma implementations in BusyBox only
support decompression, not compression. Thus it's possible to decompress
a tar file with either of these compression mechanisms but not create one.
tar has been updated so that it now tries to use an external
compression program when asked to create a file with xz
or lzma compression. A suitable program can be downloaded
from tukaani.org. To make it
available copy xz.exe to a directory on PATH.
For lzma compression make a link from xz.exe
to lzma.exe.
(GitHub issue #222)
while true; do echo hello; donewith ctrl-c no longer causes the shell to exit (most of the time).
-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4.
vi. These make it more compatible with
traditional implementations and vim. In particular,
support for regular expressions in search and search/replace commands
is much improved.
wget to connect to sites using this
encryption mechanism.
crc32 (generate CRC32 checksum) and
ascii (display a table of ASCII characters) have been added.