bugGNU troff - Bugs: bug #42968, mdoc: handle OpenBSD-style...

 
 

bug #42968: mdoc: handle OpenBSD-style $Mdocdate CVS keyword

Submitted by:  None
Submitted on:  Tue 12 Aug 2014 02:46:10 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Werner LEMBERG <wl>
Open/Closed: ClosedPlanned Release: 1.22.3

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 13 Oct 2014 04:09:31 AM UTC, comment #2:

[Updated patch sent to groff mailing list applied to git repository.]

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Sun 12 Oct 2014 09:39:45 PM UTC, comment #1:

I can apply this patch if you document `Dd's new capability in groff_mdoc.man ...

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Tue 12 Aug 2014 02:46:10 PM UTC, original submission:

in OpenBSD, we are using CVS keyword substitution to automatically update the manual page date when committing to the manual page - updating the date was too often forgotten before this was implemented, and typos crept into the dates as well. It looks like this:

.Dd $Mdocdate: March 5 2011 $
.Dt CAT 1
.Os

To make groff handle that, i'm using the following patch.

Maybe you want to include it upstream?
It costs very little, and it helps people who want to read OpenBSD manuals on other operating systems.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #31889:  Mdocdate.patch added by None (610B - text/x-patch - patch to tmac/doc-common)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 13 Oct 2014 04:09:31 AM UTCwlStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Planned ReleaseNone=>1.22.3
    Sun 12 Oct 2014 09:39:45 PM UTCwlAssigned toNone=>wl
    Tue 12 Aug 2014 02:46:10 PM UTCNoneAttached File-=>Added Mdocdate.patch, #31889

    Back to the top


    Powered by Savane 3.1-cleanup1