bug-coreutils
[Top][All Lists]
Advanced

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

bug#10043: md5sum improvment suggestion


From: Castet JR
Subject: bug#10043: 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



reply via email to

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