checksum plugin - 2 spaces in SFV files
checksum plugin - 2 spaces in SFV files
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.
Last edited by Jan Patera on 19 Jul 2010, 09:06, edited 1 time in total.
Reason: Changed Subject from just "checksum plugin" for clear problem indication
Reason: Changed Subject from just "checksum plugin" for clear problem indication
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: checksum plugin - 2 spaces in SFV files
Please update your scripts, there should be two spaces for compatibility with md5sum utility.
-
- Plugin Developer
- Posts: 707
- Joined: 08 Dec 2005, 14:33
- Location: Prague, Czech Republic
- Contact:
Re: checksum plugin - 2 spaces in SFV files
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.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.
Re: checksum plugin - 2 spaces in SFV files
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 

-
- Plugin Developer
- Posts: 707
- Joined: 08 Dec 2005, 14:33
- Location: Prague, Czech Republic
- Contact:
Re: checksum plugin - 2 spaces in SFV files
Indeed, since version 2.52, AS always writes two spaces, regardless of the checksum type.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
However, in case of the SFV files, 2 spaces are perfectly correct - see wikipedia.