From owner-dev-commits-src-all@freebsd.org Mon Jun 21 14:42:08 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CD32A649C1C; Mon, 21 Jun 2021 14:42:08 +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 4G7sgN5NJYz3l0C; Mon, 21 Jun 2021 14:42:08 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 A01251EDC1; Mon, 21 Jun 2021 14:42:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15LEg8MW085738; Mon, 21 Jun 2021 14:42:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15LEg8Vw085737; Mon, 21 Jun 2021 14:42:08 GMT (envelope-from git) Date: Mon, 21 Jun 2021 14:42:08 GMT Message-Id: <202106211442.15LEg8Vw085737@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: f394c73666ba - main - basename: fix history MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f394c73666ba375cbd6114950b1b1ea5943185a8 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2021 14:42:08 -0000 The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=f394c73666ba375cbd6114950b1b1ea5943185a8 commit f394c73666ba375cbd6114950b1b1ea5943185a8 Author: Warner Losh AuthorDate: 2021-06-21 14:23:34 +0000 Commit: Warner Losh CommitDate: 2021-06-21 14:40:54 +0000 basename: fix history Basename(1) first appeared in the 7th edition. It was not in the 6th edition, or PWB releases. It's on all the subsequent descendants. Dirname(1) first appeared in System III, and was later picked up in 4.3-Reno and 8th edition research unix (though was not in 4.1BSD where the bulk of 8th edition came from). In System III and V8 it was a shell script, though the BSD version is in C. Sponsored by: Netflix --- usr.bin/basename/basename.1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/usr.bin/basename/basename.1 b/usr.bin/basename/basename.1 index 6d4ae51b5b8a..f7e78c8e135b 100644 --- a/usr.bin/basename/basename.1 +++ b/usr.bin/basename/basename.1 @@ -31,7 +31,7 @@ .\" @(#)basename.1 8.2 (Berkeley) 4/18/94 .\" $FreeBSD$ .\" -.Dd May 26, 2020 +.Dd June 21, 2021 .Dt BASENAME 1 .Os .Sh NAME @@ -114,7 +114,9 @@ compatible. .Sh HISTORY The .Nm -and +utility first appeared in +.At 7 . +The .Nm dirname -utilities first appeared in -.Bx 4.4 . +utility first appeared in +.At III .