From nobody Sun Mar 03 17:49:33 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tnq8Z1bM4z5C0L8; Sun, 3 Mar 2024 17:49:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tnq8Z0bnYz4ddp; Sun, 3 Mar 2024 17:49:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709488174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3cjpKUTfGnI7xbY1XEwIxAMWT3/0jUyAQplm0OL/I8M=; b=oq2d7L1o2mHviN3raEU7AQx373n7fVLKK5kZAhWY94o+RdFTZ93vc1+X9BuMng0ExG5xA7 gNNFr+qShooDvUZaUukkSqX2w2mTgTD/+6XGSBZniVDXjKZB8n7z/N8QTarEuywH2DbGsS dh7HQ3YsQ/tbnHJe3D7sHLH47co2V1hsaoIk0VP5TmcoeqnSWSVJ6nWTjknnU1DvgsTx6s hSwfYYHptDMZg3fdeBe6/mpqZSjMPkrnxDW8waMb73klLCS05U5xEY/Km8kEqps3uJ13PH 9W4uhDS+toVPwwpxQgfl38buQIQgGfwQrMv6Z/aWkKq6aXlkNgp5GyR7i2yqtQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709488174; a=rsa-sha256; cv=none; b=stZCx0E0jQjIH36vWvZ12XVP35srwpLqIe2EdWDfFdkfU90b0OEh3GeqYOupPhHyxpZBfc 3pF9Boi8rDgBS7vEwXNrRYPphh3Pb/M7rLcKd4HYKN72Rm9sv7NjV5uY7+u9Sh3qesZD+f mypdAp0tjjGrTRvRR1ydGZHqKNINMEotNxbGgGdBiH40sg7s6hQS+ID1NQEnzYWZl7UtOk jqaPaYNCud2E7i8lA/TrR2GIpoHZSX8iavKYu4r3BPsQNo2gOgpwld4nxq9x7dbXZjrdYL O3JD49O1G0Pk54GCRxoCtBk0TnGggYlGQnbzGSYQP+H6Ft73l76+dG4GFn4K8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709488174; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3cjpKUTfGnI7xbY1XEwIxAMWT3/0jUyAQplm0OL/I8M=; b=SoSuT2i1k7sYDGAApxRSPcKzPRf6dr+5oXOWptTR4lIhVpf8aPaToFAB0bTRpPHiTBoIB9 MCHlDu/d5o9ZZKxGRHT6rvTYQAFvAcaHCMA1tl5SH+CRs6YjVarFEmMVGjrgCvHIzYa3qF /jhDGIWsmAZrOf1k3iyuGHBKvHrY6v0FLVhAUQIXXV9dXrCPZxYw5BCc3YZKvW3DsPIXQx GSCBjHzSoIbA/I1VWVH2ZVEjVBP2lgMnR7sCVhHsoRCydPGJEgJeGnNnSsMimQSbadM5iI HIcyzYBGPshRgekJJZHSyYT4qNstd8ccl00jCCYgaGDMSHw/a7STMIyKpPA9Dg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tnq8Z0CVPzngR; Sun, 3 Mar 2024 17:49:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 423HnXc5068042; Sun, 3 Mar 2024 17:49:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 423HnX7f068039; Sun, 3 Mar 2024 17:49:33 GMT (envelope-from git) Date: Sun, 3 Mar 2024 17:49:33 GMT Message-Id: <202403031749.423HnX7f068039@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: 38a5635de99f - stable/14 - md5.1: Fix an example List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 38a5635de99f3a3ab5f6ec07d2896ee7ffdb8826 Auto-Submitted: auto-generated The branch stable/14 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=38a5635de99f3a3ab5f6ec07d2896ee7ffdb8826 commit 38a5635de99f3a3ab5f6ec07d2896ee7ffdb8826 Author: Stefan Schlosser AuthorDate: 2024-02-28 08:31:28 +0000 Commit: Gordon Bergling CommitDate: 2024-03-03 17:49:10 +0000 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 Differential Revision: https://reviews.freebsd.org/D44098 (cherry picked from commit 865baeaf1abeb14327ad6a4a1f8ce722e242ff73) --- sbin/md5/md5.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/md5/md5.1 b/sbin/md5/md5.1 index 0a8dc46f3b1f..88b795da74b1 100644 --- a/sbin/md5/md5.1 +++ b/sbin/md5/md5.1 @@ -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