[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #42968] mdoc: handle OpenBSD-style $Mdocdate CVS keyword
From: |
anonymous |
Subject: |
[bug #42968] mdoc: handle OpenBSD-style $Mdocdate CVS keyword |
Date: |
Tue, 12 Aug 2014 14:46:11 +0000 |
User-agent: |
Mozilla/5.0 (X11; OpenBSD i386; rv:30.0) Gecko/20100101 Firefox/30.0 |
URL:
<http://savannah.gnu.org/bugs/?42968>
Summary: mdoc: handle OpenBSD-style $Mdocdate CVS keyword
Project: GNU troff
Submitted by: None
Submitted on: Tue 12 Aug 2014 02:46:10 PM UTC
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 12 Aug 2014 02:46:10 PM UTC Name: Mdocdate.patch Size: 610B By:
None
patch to tmac/doc-common
<http://savannah.gnu.org/bugs/download.php?file_id=31889>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?42968>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #42968] mdoc: handle OpenBSD-style $Mdocdate CVS keyword,
anonymous <=