Subject: Bug#1087810: dash: support '-d' flag for 'read' per POSIX 2024

From: Trevor Gross <[email-masked]>
Date: Mon, 18 Nov 2024 22:49:03 +0000

Package: dash
Version: 0.5.12-9+b1
Severity: normal
X-Debbugs-Cc: [email-masked]

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