bug-coreutils
[Top][All Lists]
Advanced

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

bug#69368: [PATCH] Allow --zero with --check


From: Ricardo Branco
Subject: bug#69368: [PATCH] Allow --zero with --check
Date: Sun, 25 Feb 2024 12:13:17 +0100
User-agent: Mozilla Thunderbird


On 2/25/24 12:06, Pádraig Brady wrote:
By adding this support we diverge the checksum file formats supported by check.
I.e. users may inadvertently create such files that are not usable
by any previous version of the checksum utilities.

Any user of the --zero flag has already created completely unusable check files.

This patch makes them usable.

Also having --check support NUL delimited files
doesn't add any additional functionality, as the checksum files
are already automatically escaped appropriately.

The --zero flag disables file name escaping.

Also NUL delimited checksum files can be harder to manage with other text tools.

Only text tools that don't have zero flags unlike the ones you mention here:

--zero was added for the case of piping to other tools
that would find the filename escaping problematic.


Best,

R






reply via email to

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