Bug#43107: md5sum manpage example is lame; here's a better one
Package: dpkg
Version: 1.4.1.6
Severity: normal
The current example text involves calculating the md5sum of md5sum.1.
This is impossible (at least until MD5 is really broken).
A better example:
--- m Tue Aug 17 07:03:01 1999
+++ md5sum.1 Tue Aug 17 07:02:03 1999
@@ -42,11 +42,16 @@
.B <MD5 checksum> <filename>
-So, for example, a file containing checksum for this manpage would look
-like(don't worry, if the checkusum doesn't match, there is a minor
-problem in keeping it up to date):
+So, for example, if a file was created and its message digest calculated
+like so:
+
+.B echo foo > md5-test-file; md5sum md5-test-file
+
+.B md5sum
+would report:
+
+.B d3b07384d113edec49eaa6238ad5ff00\ md5-test-file
-.B c6514f34ffe6e1ce146e1f17db2c0f90 md5sum.1
.TP
.B -v
Be more verbose. Print filenames when checking (with -c).
-- System Information
Debian Release: potato
Architecture: i386
Kernel: Linux washu 2.2.11 #2 Tue Aug 10 13:28:54 EDT 1999 i686
Versions of packages dpkg depends on:
ii libc6 2.1.2-0pre7 GNU C Library: Shared libraries an
ii libncurses4 4.2-3.2 Shared libraries for terminal hand
ii libstdc++2.9-glibc2.1 2.91.66-2 The GNU stdc++ library (EGCS versi
Reply to: