Subject: Re: bug#55325: (sha|md5)*sum on UNIX should default to binary mode

From: Pádraig Brady <[email-masked]>
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