From owner-freebsd-doc@FreeBSD.ORG Wed Aug 25 00:00:20 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C94D1065673 for ; Wed, 25 Aug 2010 00:00:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BC2518FC18 for ; Wed, 25 Aug 2010 00:00:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7P00Jrs098400 for ; Wed, 25 Aug 2010 00:00:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7P00Jbg098399; Wed, 25 Aug 2010 00:00:19 GMT (envelope-from gnats) Resent-Date: Wed, 25 Aug 2010 00:00:19 GMT Resent-Message-Id: <201008250000.o7P00Jbg098399@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Best Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF3A91065674 for ; Tue, 24 Aug 2010 23:50:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id CF2168FC08 for ; Tue, 24 Aug 2010 23:50:38 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7ONocik098946 for ; Tue, 24 Aug 2010 23:50:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o7ONochH098945; Tue, 24 Aug 2010 23:50:38 GMT (envelope-from nobody) Message-Id: <201008242350.o7ONochH098945@www.freebsd.org> Date: Tue, 24 Aug 2010 23:50:38 GMT From: Alexander Best To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/149950: glob(3)'s reference to regex(3) is spelled incorrectly X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2010 00:00:20 -0000 >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@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: