docs/149950: glob(3)'s reference to regex(3) is spelled incorrectly
Alexander Best
arundel at FreeBSD.org
Wed Aug 25 00:00:20 UTC 2010
>Number: 149950
>Category: docs
>Synopsis: glob(3)'s reference to regex(3) is spelled incorrectly
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 25 00:00:19 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Alexander Best
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r211393M: Mon Aug 16 14:59:32 CEST 2010 root at otaku:/usr/obj/usr/src/sys/ARUNDEL amd64
>Description:
fix a spelling mistake in lib/libc/gen/glob.3 and contrib/tcsh/glob.3.
cheers.
alex
>How-To-Repeat:
find /usr/src -name '*.[1-9]' -exec egrep -n 'regexp 3' {} +
>Fix:
apply this patch:
Patch attached with submission follows:
diff --git a/contrib/tcsh/glob.3 b/contrib/tcsh/glob.3
index f369fc6..127530a 100644
--- a/contrib/tcsh/glob.3
+++ b/contrib/tcsh/glob.3
@@ -31,7 +31,7 @@
.\"
.\" @(#)glob.3 8.3 (Berkeley) 4/16/94
.\"
-.Dd March 31, 1998
+.Dd August 25, 2010
.Dt GLOB 3
.Os
.Sh NAME
@@ -434,7 +434,7 @@ execvp("ls", g.gl_pathv);
.Sh SEE ALSO
.Xr sh 1 ,
.Xr fnmatch 3 ,
-.Xr regexp 3
+.Xr regex 3
.Sh STANDARDS
The
.Fn glob
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3
index 4c912bb..3189719 100644
--- a/lib/libc/gen/glob.3
+++ b/lib/libc/gen/glob.3
@@ -30,7 +30,7 @@
.\" @(#)glob.3 8.3 (Berkeley) 4/16/94
.\" $FreeBSD$
.\"
-.Dd September 1, 2004
+.Dd August 25, 2010
.Dt GLOB 3
.Os
.Sh NAME
@@ -417,7 +417,7 @@ execvp("ls", g.gl_pathv);
.Sh SEE ALSO
.Xr sh 1 ,
.Xr fnmatch 3 ,
-.Xr regexp 3
+.Xr regex 3
.Sh STANDARDS
The current implementation of the
.Fn glob
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list