patchgrep - Patches: patch #5114, man page should mention...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5114: man page should mention re_format(7)

Submitter:  Ben Byer <bbyer>
Submitted:  Sat 20 May 2006 04:10:00 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Thu 01 Jun 2006 02:05:51 PM UTC, comment #4: 

Maybe BSD could make regex(7) a symlink to re_format(7)?  :)

But have a look at the man page rewritten by Charles Levert in patch #4610, file #5824: the "See also" section mentions, among many other things, regex(7).

Benno Schulenberg <bens>
Thu 01 Jun 2006 12:19:53 AM UTC, comment #3: 

Yes, re_format(7) on BSD and regex(7) are the same page; I don't know how you want to handle that.

The reference to the other man page is part of the discussion of the POSIX definition of a regular expression; it's a clarification of the preceding paragraph.

Ben Byer <bbyer>
Fri 26 May 2006 07:09:37 AM UTC, comment #2: 

There's no standard man-page location for the regular expression documentation, and even if there were, it would probably be wrong for GNU grep, which uses its own regexp code.  I'd leave this change out entirely.

Paul Eggert <eggert>
Group Member
Thu 25 May 2006 08:57:05 PM UTC, comment #1: 

It seems that the re_format man page is something specific to BSD;  the regex(7) man page from the man-pages package appears to be the same thing though.  Is this one also present on BSD systems?

Benno Schulenberg <bens>
Sat 20 May 2006 04:10:00 PM UTC, original submission:  

In the discussion of the POSIX standard, grep should cite re_format(7).



--- doc/grep.1~ Sat May 20 09:07:43 2006
+++ doc/grep.1 Sat May 20 09:07:43 2006
@@ -690,6 +690,10 @@
 instead of reporting a syntax error in the regular expression.
 \s-1POSIX.2\s0 allows this behavior as an extension, but portable scripts
 should avoid it.
+.PP
+For more information see
+.IR "re_format" (7).
+.X
 .SH "ENVIRONMENT VARIABLES"
 The behavior of
 .B grep

Ben Byer <bbyer>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by taa (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-23 taa StatusNone Wont Do
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code