GNU bug report logs - #55325
(sha|md5)*sum on UNIX should default to binary mode

Previous Next

Package: coreutils;

Reported by: Christoph Anton Mitterer <calestyo <at> scientia.org>

Date: Sun, 8 May 2022 20:20:01 UTC

Severity: normal

Tags: wontfix

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


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

From: Pádraig Brady <P <at> draigBrady.com>
To: Christoph Anton Mitterer <calestyo <at> scientia.org>, 55325 <at> debbugs.gnu.org
Subject: Re: bug#55325: (sha|md5)*sum on UNIX should default to binary mode
Date: Mon, 9 May 2022 14:14:37 +0100
tag 55325 wontfix
close 55325
stop

On 08/05/2022 21:18, Christoph Anton Mitterer wrote:
> Hey.
> 
> Since on UNIX/Linux it is effectively always binary mode, shouldn't the
> (sha|md5)*sum tools default to that, and especially also generate
> output with the "*" flag set?

Well they do default to binary mode,
but don't use an explicit flag on UNIX systems
(unless -b is specified).

For compatibility reasons we can't really change thing now,
but note the newer `cksum -a ...` interface which uses
a different format without binary tag.

thanks,
Pádraig





This bug report was last modified 3 years and 74 days ago.

Previous Next


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