HomeFreeBSD

md5.1: Fix the GNU mode example when using a digest file

Description

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

Details

Provenance
gbeAuthored on Mar 12 2024, 2:44 PM
Reviewer
mhorne
Differential Revision
D44098: Fix md5.1 example
Parents
rGe18b97bd63a8: Update to bring the rack stack with all its fixes in.
Branches
Unknown
Tags
Unknown