coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] env,printenv: with --null, avoid CRLF translation on windows


From: Pádraig Brady
Subject: Re: [PATCH] env,printenv: with --null, avoid CRLF translation on windows
Date: Wed, 12 Aug 2026 11:51:19 +0100
User-agent: Mozilla Thunderbird Beta

On 12/08/2026 02:42, Collin Funk wrote:
Pádraig Brady <P@draigBrady.com> writes:

* NEWS: Mention the improvement.
* src/env.c (main): With -0, set output to binary mode.
* src/printenv.c (main): Likewise.
---
  NEWS           | 3 +++
  src/env.c      | 3 +++
  src/printenv.c | 4 ++++
  3 files changed, 10 insertions(+)

Would this also be needed for other programs that use NUL seperators?
E.g. 'du -0' exists, but there is no xset_binary_mode call there.
Yes that makes sense I think.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]