Bug 149950

Summary: [patch] glob(3)'s reference to regex(3) is spelled incorrectly
Product: Documentation Reporter: Alexander Best <arundel>
Component: Books & ArticlesAssignee: Ed Schouten <ed>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Alexander Best freebsd_committer freebsd_triage 2010-08-25 01:00:19 UTC
fix a spelling mistake in lib/libc/gen/glob.3 and contrib/tcsh/glob.3.

cheers.
alex

Fix: apply this patch:

Patch attached with submission follows:
How-To-Repeat: find /usr/src -name '*.[1-9]' -exec egrep -n 'regexp 3' {} +
Comment 1 Maxim Konovalov 2010-08-25 06:57:41 UTC
> -.Xr regexp 3
> +.Xr regex 3

It's not clear why.  It seems to me regexp(3) is a pretty much valid
man page.

-- 
Maxim Konovalov
Comment 2 pluknet 2010-08-25 07:26:44 UTC
Hi. Btw, this PR became to be most likely correct since
regexp(3) library was removed on 20100314 (r205146) in head.
Comment 3 Maxim Konovalov 2010-08-25 07:29:51 UTC
On Wed, 25 Aug 2010, 10:26+0400, pluknet wrote:

> Hi. Btw, this PR became to be most likely correct since
> regexp(3) library was removed on 20100314 (r205146) in head.
>
Hm, regexp(3) says about libcompat, not regexp lib.

-- 
Maxim Konovalov
Comment 4 Alexander Best freebsd_committer freebsd_triage 2010-08-25 10:43:52 UTC
On Wed Aug 25 10, pluknet wrote:
> Hi. Btw, this PR became to be most likely correct since
> regexp(3) library was removed on 20100314 (r205146) in head.

then i guess instead of changing the reference from regexp(3) to regex(3), it
should be removed from the glob(3) manual pages completely.

i thought this was a spelling mistake and there never was a regexp(3) manual in
the first place. looks like i've been wrong and before it's removal in r205146
it existed in HEAD.

cheers.
alex

-- 
a13x
Comment 5 Alexander Best freebsd_committer freebsd_triage 2011-02-15 00:23:03 UTC
Responsible Changed
From-To: freebsd-doc->ed

Hi Ed. Could you take a look at this PR? You obsoleted regexp(3) in r205146.
Comment 6 dfilter service freebsd_committer freebsd_triage 2011-02-15 20:04:18 UTC
Author: ed
Date: Tue Feb 15 20:04:13 2011
New Revision: 218711
URL: http://svn.freebsd.org/changeset/base/218711

Log:
  Remove dead reference to regexp(3). Use regex(3) instead.
  
  PR:		docs/149950
  Submitted by:	arundel@

Modified:
  head/lib/libc/gen/glob.3

Modified: head/lib/libc/gen/glob.3
==============================================================================
--- head/lib/libc/gen/glob.3	Tue Feb 15 18:16:04 2011	(r218710)
+++ head/lib/libc/gen/glob.3	Tue Feb 15 20:04:13 2011	(r218711)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 7 Ed Schouten freebsd_committer freebsd_triage 2011-02-15 20:05:50 UTC
State Changed
From-To: open->closed

Committed, except for tcsh change. File doesn't seem to get installed?