emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#10043: closed (md5sum improvment suggestion)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#10043: closed (md5sum improvment suggestion)
Date: Mon, 14 Nov 2011 10:28:01 +0000

Your message dated Mon, 14 Nov 2011 10:27:02 +0000
with message-id <address@hidden>
and subject line Re: bug#10043: md5sum improvment suggestion
has caused the debbugs.gnu.org bug report #10043,
regarding md5sum improvment suggestion
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
10043: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10043
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: md5sum improvment suggestion Date: Mon, 14 Nov 2011 08:56:15 +0000 (GMT)
md5sum improvment suggestion

Let assume this:

  find /lib -type f -name '*dll' |head -n5 >a0.a

  cat a0.a

/lib/aspell-0.60/context-filter.dll
/lib/aspell-0.60/email-filter.dll
/lib/aspell-0.60/nroff-filter.dll
/lib/aspell-0.60/sgml-filter.dll
/lib/aspell-0.60/tex-filter.dll


md5sum checks file integrity based on the md5 crc, of an single file.
  md5sum /lib/aspell-0.60/tex-filter.dll
  0


md5sum checks file integrity based on the md5 crc, of an list of files .
  md5sum -c a0.md5
  0



md5sum apparently does not make an a0.md5 signature file from a list of files:
  find /lib -type f -name '*dll' |head -n5 |while read f; do md5sum $f; done >>a0.md

  -nasty-  :-(

therefore, should it be a good idea to improve md5sum with this option:
  md5sum -f a0.md5

to achive
  find /lib -type f -name '*dll' |head -n5 |while read f; do md5sum $f; done >>a0.md

spontaneously ? :-)


Thx

' nice day

pc


--- End Message ---
--- Begin Message --- Subject: Re: bug#10043: md5sum improvment suggestion Date: Mon, 14 Nov 2011 10:27:02 +0000 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0
tags 10043 notabug

On 11/14/2011 08:56 AM, Castet JR wrote:
> md5sum improvment suggestion
> 
> Let assume this:
> 
>   find /lib -type f -name '*dll' |head -n5 >a0.a
> 
>   cat a0.a
> 
> /lib/aspell-0.60/context-filter.dll
> /lib/aspell-0.60/email-filter.dll
> /lib/aspell-0.60/nroff-filter.dll
> /lib/aspell-0.60/sgml-filter.dll
> /lib/aspell-0.60/tex-filter.dll
> 
> 
> md5sum checks file integrity based on the md5 crc, of an single file.
>   md5sum /lib/aspell-0.60/tex-filter.dll
>   0

That's not what happens with coreutils md5sum.
Can you give the output of md5sum --version.
I'm closing the bug for the moment.

> md5sum checks file integrity based on the md5 crc, of an list of files .
>   md5sum -c a0.md5
>   0
> 
> 
> 
> md5sum apparently does not make an a0.md5 signature file from a list of files:
>   find /lib -type f -name '*dll' |head -n5 |while read f; do md5sum $f; done 
> >>a0.md
> 
>   -nasty-  :-(

BTW the above would start an md5sum process for each file,
as well as using shell loops which are slow.
The preferred idiom for this is:

find /lib -type f -name '*dll' | xargs md5sum >a0.md5

cheers,
Pádraig.


--- End Message ---

reply via email to

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