|
From: Heiko Z. <he...@zu...> - 2004-03-13 01:26:19
|
Diego Torres wrote: > can someone told me what is the version of md5sum used and where to find it? > > I'm using the one from the coreutils on debian unstable, and the arguments expected differs from the one the update_src is using: > > $ md5sum -V > md5sum: invalid option -- V > usage: md5sum [-bv] [-c [file]] | [file...] > Generates or checks MD5 Message Digests > -c check message digests (default is generate) > -v verbose, print file names when checking > -b read files in binary mode > The input for -c should be the list of message digests and file names > that is printed on stdout by this program when it generates digests. > > # cat update_src | grep md5s > md5sum --check md5sum.lst | grep -v ": OK" Change this to: md5sum -c md5sum.lst | grep -v ": OK" And see how it behaves. It's strange that you're missing the "--long" parameters Heiko |