Subject: | [PATCH] a proposal for md5sum-perl-0.2 |
The following is a patch for md5sum-perl-0.1 distribution.
Its pretension is to make md5sum-perl look more like
gnu md5sum 2.0
The following changes are noteworthy.
0.2 Sun Feb 29 19:51 2004
- the checksum file (argument of -c) can contain comments
(lines starting by #)
- lines in checksum file that don't match the pattern
^\s*([0-9a-fA-F]+)\s+(\*?)(.+)
are now silently ignored. This is appropriate for signed
MD5SUM files.
- --binary is the default on MSDOS and MSWin32 (as in gnu md5sum)
- new switch -t (the reverse of -b) for text files
- long options like --binary, --text, --verbose and --check now supported
in addition to the short forms -b, -t, -v and -c
- test scripts introduced (t/01tiny.t, t/01check.t, t/03stdin.t)
- test.pl removed
- special treatment of reading from stdin which used a reference to mark
this special condition was simplified by using "-" as file name
The application of the patch is comprised of
- unified diff over md5sum-perl (md5sum-perl.diff)
- unified diff over MANIFEST (MANIFEST.diff)
- unified diff over README (README.diff)
- new test scripts: t/01tiny.t, t/02check.t, t/03stdin.t
- remove test.pl
- include Changes
- include META.yml
Each one of the these files are contained in the attached zip file.
Message body not shown because it is not plain text.