diff options
-rw-r--r-- | lib/libc/gen/glob.3 | 14 | ||||
-rw-r--r-- | share/man/man7/glob.7 | 17 |
2 files changed, 16 insertions, 15 deletions
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3 index 69166a831bc..99e29082904 100644 --- a/lib/libc/gen/glob.3 +++ b/lib/libc/gen/glob.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: glob.3,v 1.37 2019/05/16 13:35:16 schwarze Exp $ +.\" $OpenBSD: glob.3,v 1.38 2022/07/29 17:34:07 schwarze Exp $ .\" .\" Copyright (c) 1989, 1991, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 16 2019 $ +.Dd $Mdocdate: July 29 2022 $ .Dt GLOB 3 .Os .Sh NAME @@ -472,12 +472,18 @@ and .Fa gl_flags should not be used by applications striving for strict standards conformance. .Sh HISTORY +A stand-alone program, +.Pa /etc/glob , +first appeared in +.At v1 . +In PWB/UNIX 1.0 this functionality was incorporated into the shell itself. +.Pp The .Fn glob and .Fn globfree -functions first appeared in -.Bx 4.4 . +functions in their current form first appeared in the C library of +.Bx 4.3 Reno . .Sh CAVEATS On systems other than .Ox , diff --git a/share/man/man7/glob.7 b/share/man/man7/glob.7 index fc0f6431452..037cb52e438 100644 --- a/share/man/man7/glob.7 +++ b/share/man/man7/glob.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: glob.7,v 1.6 2019/01/25 00:19:26 millert Exp $ +.\" $OpenBSD: glob.7,v 1.7 2022/07/29 17:34:07 schwarze Exp $ .\" .\" Copyright (c) 2009 Todd C. Miller <millert@openbsd.org> .\" @@ -15,7 +15,7 @@ .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .\" -.Dd $Mdocdate: January 25 2019 $ +.Dd $Mdocdate: July 29 2022 $ .Dt GLOB 7 .Os .Sh NAME @@ -142,13 +142,8 @@ but not .Xr glob 3 , .Xr re_format 7 .Sh HISTORY -In early versions of -.Ux , -the shell did not do pattern expansion itself. -A dedicated program, +A stand-alone program, .Pa /etc/glob , -was used to perform the expansion and pass the results to a command. -In -.At v7 , -with the introduction of the Bourne shell, -this functionality was incorporated into the shell itself. +first appeared in +.At v1 . +In PWB/UNIX 1.0 this functionality was incorporated into the shell itself. |