diff options
author | Ron Yorston <rmy@pobox.com> | 2021-01-27 11:19:14 +0000 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-02-02 13:51:14 +0100 |
commit | e8fe9f96356a6b19ec907ea30cffc829c539a7ff (patch) | |
tree | 1c9450cbdc4c32266241652303852acde28c14a0 /shell/hush_doc.txt | |
parent | f3a55b306ed3803133ab028b72b255c65d94197f (diff) | |
download | busybox-e8fe9f96356a6b19ec907ea30cffc829c539a7ff.tar.gz |
awk: allow printf('%c') to output NUL, closes 13486
Treat the output of printf as binary rather than a null-terminated
string so that NUL characters can be output.
This is considered to be a GNU extension, though it's also available
in mawk and FreeBSD's awk.
function old new delta
evaluate 3487 3504 +17
awk_printf 504 519 +15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 32/0) Total: 32 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_doc.txt')
0 files changed, 0 insertions, 0 deletions