bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24795: sha1sum cannot find file to check


From: Pádraig Brady
Subject: bug#24795: sha1sum cannot find file to check
Date: Tue, 25 Oct 2016 19:52:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]