Jeffrey Walton wrote: > On Tue, Oct 15, 2024 at 3:40 AM Todd Zullinger <t...@pobox.com> wrote: >> For additional (and _possibly_ interesting) context, this >> isn't a Debian-specific change. It's part of the upstream >> util-linux-2.38 release¹. It was submitted to the >> util-linux mailing list in 2021² and referenced the POSIX >> specification as the rationale³. >> >> ¹ >> https://github.com/util-linux/util-linux/blob/master/Documentation/releases/v2.38-ReleaseNotes#L784 >> https://github.com/util-linux/util-linux/commit/df6b29d3b >> (more: POSIX compliance patch preventing exit on EOF >> without -e, 2021-09-29) >> ² https://lore.kernel.org/util-linux/20210624125918.gb2...@contractcoder.biz/ >> ³ https://pubs.opengroup.org/onlinepubs/9699919799/utilities/more.html > > Unexpected behavioral changes are always a pain. It is too bad it was > not hidden behind a variable like POSIXLY_CORRECT, like Bash does. See > <https://www.gnu.org/software/bash/manual/html_node/Bash-POSIX-Mode.html>.
That's just what was done in 2.39, as Max noted. I didn't follow the git log deeply enough last night, so I only told part of the story. This may be something the Debian maintainer(s) would be willing to backport? -- Todd
signature.asc
Description: PGP signature