discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Kristaps Dzonsons <kristaps@bsd.lv>
To: "discuss@mdocml.bsd.lv" <discuss@mdocml.bsd.lv>
Subject: Re: Three small bugs? (TH and dates)
Date: Wed, 26 May 2010 16:13:29 +0200	[thread overview]
Message-ID: <4BFD2C89.5070403@bsd.lv> (raw)
In-Reply-To: <20100526085514.GF88504@acme.spoerlein.net>

> 1. sendmail's -man pages have a header like this:
> 
> .TH MAIL.LOCAL 8 "$Date: 2003/10/20 20:26:51 $"
> .SH NAME
> mail.local
> \- store mail in a mailbox
> .SH SYNOPSIS
> 
> where groff will put the date verbatim in the footer. mandoc however
> will put the current date into the footer. It would be nice if this
> could be made to take the third argument to .TH literally, if parsing as
> a date fails.

Ulrich, fixed.  If libman encounters a non-standard date, it uses it
verbatim.  If it encounters nothing or an empty string, it prints the
current date.

It still prints a handy warning, however, if the date is bogus.

Thanks again,

Kristaps
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

      parent reply	other threads:[~2010-05-26 14:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-26  8:55 Three small bugs? Ulrich Spörlein
2010-05-26  9:37 ` Three small bugs? (Second: Lb) Kristaps Dzonsons
2010-05-26 10:41 ` Three small bugs? (Ud handling) Kristaps Dzonsons
2010-05-26 14:13 ` Kristaps Dzonsons [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BFD2C89.5070403@bsd.lv \
    --to=kristaps@bsd.lv \
    --cc=discuss@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).