Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2021 08:08:27 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Possibly malformed date in several manual pages
Message-ID:  <20210107080827.GA10295@freebsd.org>

next in thread | raw e-mail | index | archive | help

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJf9sF5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0NEFCRkJFNkIyOTQ5NkYzQzFFQTc5NDE3
RjQzRThCNkQ4OTM3NDUwAAoJEH9D6LbYk3RQljcQALutEAlyY8pT9p89GtLLjfNk
JtNyBuwHFvDAznI8fA2XNEQXndO/ATAuwqUEZiD0shiLfST96qVFwdwv6GovhZLQ
3m4yJ06NpXk0VDQQwNpit6ghKCHKeUdxDwFBTbpIWBK7gn7O/hkWAHd9MyjLCIW8
B8l4LSKS/nci2BgLkm4bDS2gfm2+CaifDxHjz0MRvXOpFHZ00b6lBhJniAROFI7D
9CC1l1oJk2rsRMR2qXiqVOaVmkEdtLT2GDW5ePYVGJbc25wwsDUyEGNVVGRxD5xA
aUWFdwmoXQHr7/rIW1UN00/1grvlkazRkCsOyhIVtGRdAO4b9u17vmsWwwhqP4P5
6mURgWJemmI9U+D5LE88bI3D1BY77XIym7/KdHA9nj5q8BVkmcFfPPZoW9hYWF6o
xFcwEeRcPWj7l8FkoSIgiQNNCe2ZqdBK3OfSUxqT9w3PtIidG+q0IIXaDXXf9U0b
/v5rkVxr+UWRyzORQgwEQIlwCWdNtGeAEfvTQuhWHuh2fe2B2TXWCMTxZoOwcuE+
GUZiuyJmYpFpGzy2+u2qdKHw1L6mThUTHlA9IXRDPa6iXWrJcFzrQtbiAmYtRcFg
/REgfI+MWJffCydXCWY3hGLREIwoENhzbmonx+vXjEEcgjbARlUTGC4yYJi6+chq
YpC/kmY67Q/u/twi7SVn
=5nli
-----END PGP SIGNATURE-----

--Nq2Wo0NMKNjxTN9z--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210107080827.GA10295>