freebsd-src/sbin/md5
Gordon Bergling f3343fe4a6 md5.1: Fix the GNU mode example when using a digest file
The last example in the manpage md5(1) wants to demonstrate
GNU mode (md5sum), but uses BSD mode (md5) instead.

In GNU mode, the -c option does not compare against a hash string
passed as parameter. Instead, it expects a digest file,
as created under the name digest for /boot/loader.conf in
the example above.

PR:	276560
Reviewed by:	mhorne, des
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D44098
2024-03-12 15:44:48 +01:00
..
tests md5: Add test case for GNU input modes. 2024-02-20 23:04:32 +01:00
Makefile md5: Enter capability mode earlier 2024-01-16 09:38:53 -05:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend.host Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
md5.1 md5.1: Fix the GNU mode example when using a digest file 2024-03-12 15:44:48 +01:00
md5.c md5: Untabify declarations. 2024-02-20 23:04:45 +01:00