[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69368: [PATCH] Allow --zero with --check
From: |
Pádraig Brady |
Subject: |
bug#69368: [PATCH] Allow --zero with --check |
Date: |
Sun, 25 Feb 2024 11:06:26 +0000 |
User-agent: |
Mozilla Thunderbird |
On 24/02/2024 19:07, Ricardo Branco wrote:
The --zero option is useless if not supported by --check.
Attached patch fixes it.
https://github.com/coreutils/coreutils/pull/81
I'm not sure about this.
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.
Also having --check support NUL delimited files
doesn't add any additional functionality, as the checksum files
are already automatically escaped appropriately.
Also NUL delimited checksum files can be harder to manage with other text tools.
--zero was added for the case of piping to other tools
that would find the filename escaping problematic.
cheers,
Pádraig