[Bug 276560] [patch] use md5sum in last example of md5(1)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Jan 2024 17:32:41 UTC

            Bug ID: 276560
           Summary: [patch] use md5sum in last example of md5(1)
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: bsdcode@disroot.org
                CC: doc@FreeBSD.org

Created attachment 247894
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247894&action=edit
fix last 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.

        $ md5 -c digest /boot/loader.conf
        /boot/loader.conf: OK

Patch replaces "md5" with "md5sum" above.

You are receiving this mail because:
You are on the CC list for the bug.