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:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Werner LEMBERG <wl>
Open/Closed:  Closed Planned 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

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.



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

Attach Files:

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
  • -email is unavailable- added by wl (Posted a comment)

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

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-10-13 wl StatusNone => Fixed
        Open/ClosedOpen => Closed
        Planned ReleaseNone => 1.22.3
    2014-10-12 wl Assigned toNone => wl
    2014-08-12 None Attached File- => Added Mdocdate.patch, #31889

    Back to the top

    Powered by Savane 3.3