GNU bug report logs - #24795
sha1sum cannot find file to check

Previous Next

Package: coreutils;

Reported by: Francesco Turco <fturco <at> fastmail.fm>

Date: Tue, 25 Oct 2016 17:27:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Francesco Turco <fturco <at> fastmail.fm>
To: 24795 <at> debbugs.gnu.org
Subject: bug#24795: sha1sum cannot find file to check
Date: Wed, 26 Oct 2016 10:30:47 +0200
On Tue, 2016-10-25 at 19:52 +0100, Pádraig Brady wrote:
> This seems like the txt file is in DOS format with \r\n line endings.
> If you remove the --ignore-missing option, are you presented with
> $'\r' representations in the missing file names?
> Though when I downloaded the file it was in unix format so I'm
> confused

If I remove the --ignore-missing option no \r characters appear in the
output, so the checksum file uses Unix line endings.

If I convert the checksum file to DOS line endings with unix2dos I can
see \r line endings in the output.

There is another difference by using --ignore-missing: when using DOS
line endings sha1sum immediately says "no file was verified", without
checking anything; when using Unix line endings it says the same thing
but after a few seconds, so it must have checked something behind the
scenes.

-- 
https://www.fturco.net/




This bug report was last modified 8 years and 206 days ago.

Previous Next


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