On Tuesday 08 July 2008 14:42:41 Carlos E. R. wrote:
The Tuesday 2008-07-08 at 13:22 +0200, Istvan Gabor wrote:
Thanks, but it is not possible. Maybe I wasn't clear. I have the file names with the corresponding md5sums listed in a text file, one file per line. This text file is the input for md5sum if -c option is set: md5sum -c textfile.md5. This means that md5sum takes the file names from this file and verifies if the calculated md5sums are the same as the ones given in the textfile. The file is similar to this one:
ed6a5b3feb668866df812b1c2aed9d7f openSUSE-11.0-DVD-i386.iso 113c3ef0509db0e00310e19085f3a197 openSUSE-11.0-DVD-ppc.iso 512c8346b0f8eb35f28c4eb96454d391 openSUSE-11.0-DVD-x86_64.iso
The difference is that in my case the file names listed contain spaces, and md5sum chokes on them. How can I solve this?
Report a bug in bugzilla or upstream, and wait a few ages :-p
Simply calculate the checksums and do the checking manually. I don't know if you change the names both outside and inside if it will work. Try first scaping the spaces.
-- Cheers, Carlos E. R.
You could also try to change your file to have the file names in quotes. This could be done either automatically (with sed) or manually. -- Bogdan Cristea -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org