mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 03:42:04 +01:00
md5.1: Fix an example
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 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D44098
This commit is contained in:
parent
77f6c0ce92
commit
865baeaf1a
@ -1,4 +1,4 @@
|
||||
.Dd February 13, 2024
|
||||
.Dd February 28, 2024
|
||||
.Dt MD5 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -367,7 +367,7 @@ for
|
||||
.Pa /boot/loader.conf
|
||||
in the example above.
|
||||
.Bd -literal -offset indent
|
||||
$ md5 -c digest /boot/loader.conf
|
||||
$ md5sum -c digest /boot/loader.conf
|
||||
/boot/loader.conf: OK
|
||||
.Ed
|
||||
.Pp
|
||||
|
Loading…
Reference in New Issue
Block a user