Bug#972886: dash: printf %b '\000' # does not produce NUL in output

2020-10-25 Thread Flavio Poletti
Il giorno dom 25 ott 2020 alle ore 20:27 Flavio Poletti ha scritto: > Package: dash > Version: 0.5.8-2.4 > Severity: normal It occurred to me that there might be no bug report and still this might have been solved in more recent versions of the package. I then got an updated version of Debian

Bug#972886: dash: printf %b '\000' # does not produce NUL in output

2020-10-25 Thread Flavio Poletti
Package: dash Version: 0.5.8-2.4 Severity: normal Dear Maintainer, I was trying out various examples in article "Rich's sh (POSIX shell) tricks" and the example in section "Writing bytes to stdout by numeric value" failed. It was working in Mac OS X /bin/sh. The error arised when trying to print