git: f394c73666ba - main - basename: fix history

Warner Losh imp at FreeBSD.org
Mon Jun 21 14:42:08 UTC 2021


The branch main has been updated by imp:

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

commit f394c73666ba375cbd6114950b1b1ea5943185a8
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-06-21 14:23:34 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
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 .


More information about the dev-commits-src-main mailing list