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 #14 received at 69368 <at> debbugs.gnu.org (full text, mbox):

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





This bug report was last modified 119 days ago.

Previous Next


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