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


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

From: Pádraig Brady <P <at> draigBrady.com>
To: Francesco Turco <fturco <at> fastmail.fm>, 24795 <at> debbugs.gnu.org
Subject: Re: bug#24795: sha1sum cannot find file to check
Date: Tue, 25 Oct 2016 19:52:12 +0100
On 25/10/16 18:26, Francesco Turco wrote:
> I'm using coreutils-8.25-2 on a Parabola GNU/Linux-libre system.
> I think I found a bug with the "sha1sum" command.
> 
> Steps to reproduce:
> 1) wget https://dumps.wikimedia.org/enwikisource/20161020/enwikisource-
> 20161020-pages-articles.xml.bz2
> 2) wget https://dumps.wikimedia.org/enwikisource/20161020/enwikisource-
> 20161020-sha1sums.txt
> 3) sha1sum -c enwikisource-20161020-sha1sums.txt --ignore-missing
> 
> Result:
> sha1sum: enwikisource-20161020-sha1sums.txt: no file was verified
> 
> Expected result:
> enwikisource-20161020-pages-articles.xml.bz2: OK
> 

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




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.