Bug 8321 - [PATCH] troff -me \*(td (today's date) string macro broken
Summary: [PATCH] troff -me \*(td (today's date) string macro broken
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: gnu (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-10-15 03:10 UTC by ajk
Modified: 1998-12-06 05:54 UTC (History)
0 users

See Also:


Attachments
file.diff (675 bytes, patch)
1998-10-15 03:10 UTC, ajk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ajk 1998-10-15 03:10:01 UTC
The \*(td string macro, which is supposed to display today's date
in the form "October 14, 1998".  Apparently, a Y2k fix makes it
now display "October 14, 98+1900".  Doesn't look like you can
perform arithmetic in a string definition.

Fix: The following patch works, though there might be better solutions ...
How-To-Repeat: 
Just use \*(td in a -me document.
Comment 1 David E. O'Brien freebsd_committer freebsd_triage 1998-12-06 05:49:51 UTC
State Changed
From-To: open->closed