Possibly malformed date in several manual pages

Alexander Best arundel at freebsd.org
Thu Jan 7 08:08:27 UTC 2021


Hi everyone,

while reading the VACATION(1) manual page I stumbled upon the following entry
in the last line:

	$Date: 2013-11-22 20:52:02 $

I then used "zcat `man -w vacation`|zgrep -n \$Date" to find the actual entry:

	14:.TH VACATION 1 "$Date: 2013-11-22 20:52:02 $"

Looking at other manual pages such as CAT(1) via "zcat `man -w cat`|head -n 50"
shows a different format:

	.Dd January 29, 2013

Checking all the manual pages in /usr/share/man for the former format using
the following command

	$for i in `find /usr/share/man -type f`; do zgrep -l \$Date $i; done

revealed several entries:

/usr/share/man/man8/mailstats.8.gz
/usr/share/man/man8/sendmail.8.gz
/usr/share/man/man8/smrsh.8.gz
/usr/share/man/man8/praliases.8.gz
/usr/share/man/man8/purgestat.8.gz
/usr/share/man/man8/editmap.8.gz
/usr/share/man/man8/mail.local.8.gz
/usr/share/man/man8/rmail.8.gz
/usr/share/man/man8/makemap.8.gz
/usr/share/man/man8/hoststat.8.gz
/usr/share/man/man5/aliases.5.gz
/usr/share/man/man1/mailq.1.gz
/usr/share/man/man1/vacation.1.gz
/usr/share/man/man1/dialog.1.gz
/usr/share/man/man1/newaliases.1.gz
/usr/share/man/man4/ubser.4.gz
/usr/share/man/man3/dialog.3.gz

Looking at the MDOC(7) manual page implies, that mdoc doesn't understand
the TH-Macro. Is this expected behaviour? Or should the TH-Entries be turned
into DD-Entries? Or should the TH-Entries remain for historical reasons?

Kind regards,
Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20210107/d7a67dc5/attachment.sig>


More information about the freebsd-questions mailing list