Your message dated Wed, 23 Sep 2026 12:33:53 +0000
with message-id <[email protected]>
and subject line Bug#972886: fixed in dash 0.5.13.5-1
has caused the Debian Bug report #972886,
regarding dash: printf %b '\000' # does not produce NUL in output
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
972886: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972886
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 out a NUL byte.

The following examples will help show what the bug is about:

    $ printf %b '\0074\0101\0076' | hexdump -c
    0000000   <   A   >
    0000003
    $ printf %b '\0074\0001\0076' | hexdump -c
    0000000   < 001   >
    0000003
    $ printf %b '\0074\0000\0076' | hexdump -c
    0000000   <
    0000001
    $ perl -e 'print "<\x{0}>"' | hexdump -c
    0000000   <  \0   >
    0000003

The first two commands work as expected: all three octets are printed on
the standard output, as shown by the output from hexdump.

The third and the last command are expected to yield the same result,
but the one based on printf does not comply and stops processing the
input as soon as it reaches the \0000 string, which is also dropped from
the output.

I scanned through the list of bugs but found none about this specific
issue.

-- System Information:
Debian Release: 9.5
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-7-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dash depends on:
ii  debianutils  4.8.1.1
ii  dpkg         1.18.25
ii  libc6        2.24-11+deb9u3

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true

--- End Message ---
--- Begin Message ---
Source: dash
Source-Version: 0.5.13.5-1
Done: Andrej Shadura <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dash, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrej Shadura <[email protected]> (supplier of updated dash package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 23 Sep 2026 14:05:05 +0200
Source: dash
Architecture: source
Version: 0.5.13.5-1
Distribution: experimental
Urgency: medium
Maintainer: Andrej Shadura <[email protected]>
Changed-By: Andrej Shadura <[email protected]>
Closes: 972886 1095985 1106180 1108493 1110364
Changes:
 dash (0.5.13.5-1) experimental; urgency=medium
 .
   [ Andrej Shadura ]
   * New upstream release (Closes: #1106180, #972886).
   * Fix typo in the manpage (Closes: #1108493).
   * Refresh patches and drop patches applied upstream.
 .
   [ Carles Pina i Estany ]
   * Added po-debconf Catalan translation.
 .
   [ Nuri KÜÇÜKLER ]
   * Add Turkish debconf translation (Closes: #1110364)
 .
   [ Luca Boccassi ]
   * Drop versioned dependency on debianutils, satisfied since Bookworm.
 .
   [ Helmut Grohne ]
   * Don't pass host LDFLAGS to CC_FOR_BUILD (Closes: #1095985)
Checksums-Sha1:
 d689aaecde4b70cd90780127b633ab9dbf849c4a 1471 dash_0.5.13.5-1.dsc
 f7bf38cb203bac7b7592fc25a32cd01cf04277a8 261540 dash_0.5.13.5.orig.tar.gz
 3feb50cb340b7d68e1cea968a46d17cd79e10f4f 41060 dash_0.5.13.5-1.debian.tar.xz
Checksums-Sha256:
 acfe536e16b3fbe11d0b1c588cf544894769cebbb9d82efd5542806f9c258f29 1471 
dash_0.5.13.5-1.dsc
 40090101a2a491f13e901d3d48e90414f26634628b9bfff35ff540363c227a7d 261540 
dash_0.5.13.5.orig.tar.gz
 1c0b30e698418623f520d802e703a35ce633d537d461b174902c16861bc06008 41060 
dash_0.5.13.5-1.debian.tar.xz
Files:
 23e158060d694fdc0e77ed0856154829 1471 shells optional dash_0.5.13.5-1.dsc
 d787f34b985fca82e89b131c2e911256 261540 shells optional 
dash_0.5.13.5.orig.tar.gz
 9744bb5000cd6aa0f1eb6098845ee923 41060 shells optional 
dash_0.5.13.5-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCarPD4gAKCRDoRGtKyMdy
YZ2gAQCFyoWI4NZPamI3X3Jtuz2ZoRcXQBgwiQRKlOwG04Ds0AD/Sn01E3lonff7
bh48igPwm2lTRuVTb+4UTP1U6rfsTQ4=
=Fd72
-----END PGP SIGNATURE-----

Attachment: pgprFv1f5RG6a.pgp
Description: PGP signature


--- End Message ---

Reply via email to