Page 1 of 1
checksum plugin - 2 spaces in SFV files
Posted: 17 Jul 2010, 02:49
by ck86
i have a problem where since version 2.51 checksums created have a double space between the filename and checksum. this is causing problems for some scripts which i am using.
Re: checksum plugin - 2 spaces in SFV files
Posted: 17 Jul 2010, 08:27
by Jan Rysavy
Please update your scripts, there should be two spaces for compatibility with md5sum utility.
Re: checksum plugin - 2 spaces in SFV files
Posted: 17 Jul 2010, 08:30
by Jan Patera
ck86 wrote:i have a problem where since version 2.51 checksums created have a double space between the filename and checksum. this is causing problems for some scripts which i am using.
Can you update the scripts? You probably hit
this change. Since 2.52, AS writes the MD5 files in the GNU syntax which has 1 space AND either another space or asterisk.
Re: checksum plugin - 2 spaces in SFV files
Posted: 17 Jul 2010, 16:20
by ck86
i actually meant crc32 sums. the scripts were not written by myself and neither do they run on any of my machines. sorry about the confusion

Re: checksum plugin - 2 spaces in SFV files
Posted: 19 Jul 2010, 09:11
by Jan Patera
ck86 wrote:i actually meant crc32 sums. the scripts were not written by myself and neither do they run on any of my machines. sorry about the confusion

Indeed, since version 2.52, AS always writes two spaces, regardless of the checksum type.
However, in case of the SFV files, 2 spaces are perfectly correct - see
wikipedia.