GNU bug report logs - #69368
[PATCH] Allow --zero with --check

Previous Next

Package: coreutils;

Reported by: Ricardo Branco <rbranco <at> suse.de>

Date: Sun, 25 Feb 2024 06:37:01 UTC

Severity: wishlist

Tags: patch

Full log


Message #11 received at 69368 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Ricardo Branco <rbranco <at> suse.de>, 69368 <at> debbugs.gnu.org
Subject: Re: bug#69368: [PATCH] Allow --zero with --check
Date: Sun, 25 Feb 2024 11:06:26 +0000
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




This bug report was last modified 120 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.