Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2023 11:24:02 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5d26c78b507b - stable/13 - basename: fix history
Message-ID:  <202310041124.394BO25m085446@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=5d26c78b507bf76353b339a78623851801842e94

commit 5d26c78b507bf76353b339a78623851801842e94
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-06-21 14:23:34 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-10-04 11:18:39 +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
    
    (cherry picked from commit f394c73666ba375cbd6114950b1b1ea5943185a8)
---
 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 9d459abee4fc..d15de2c19edf 100644
--- a/usr.bin/basename/basename.1
+++ b/usr.bin/basename/basename.1
@@ -30,7 +30,7 @@
 .\"
 .\"     @(#)basename.1	8.2 (Berkeley) 4/18/94
 .\"
-.Dd May 26, 2020
+.Dd June 21, 2021
 .Dt BASENAME 1
 .Os
 .Sh NAME
@@ -113,7 +113,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 .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310041124.394BO25m085446>