Debian Bug report logs - #1087810
dash: support '-d' flag for 'read' per POSIX 2024

version graph

Package: dash; Maintainer for dash is Andrej Shadura <[email protected]>; Source for dash is src:dash (PTS, buildd, popcon).

Reported by: Trevor Gross <[email protected]>

Date: Mon, 18 Nov 2024 22:51:01 UTC

Severity: normal

Found in version dash/0.5.12-9

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Andrej Shadura <[email protected]>:
Bug#1087810; Package dash. (Mon, 18 Nov 2024 22:51:02 GMT) (full text, mbox, link).


Acknowledgement sent to Trevor Gross <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Andrej Shadura <[email protected]>. (Mon, 18 Nov 2024 22:51:02 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Trevor Gross <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dash: support '-d' flag for 'read' per POSIX 2024
Date: Mon, 18 Nov 2024 22:49:03 +0000
Package: dash
Version: 0.5.12-9+b1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

Since issue 8 (2024), POSIX allows passing a delimiter to `read` with
the `-d` flag. This flag is useful for the handling of null-terminated
strings (`-d ''` specifies the null byte as the delimiter) which makes
it easier to iterate the output of `find` and other similar utilities
that may otherwise split on newlines.

`dash` should add this flag at some point for the compatibility and
usability benefits.

[1]: https://pubs.opengroup.org/onlinepubs/9799919799/

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.4.16-linuxkit (SMP w/11 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages dash depends on:
ii  debianutils  5.20+b1
ii  libc6        2.40-3

dash recommends no packages.

dash suggests no packages.

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:20:45 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.