Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Dec 1999 16:48:12 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        Kim Buckner <buckner@cs.utk.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Man Pages 
Message-ID:  <90425.944750892@axl.noc.iafrica.com>
In-Reply-To: Your message of "Thu, 09 Dec 1999 09:34:35 EST." <384FBDFB.19D03C58@cs.utk.edu> 

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


On Thu, 09 Dec 1999 09:34:35 EST, Kim Buckner wrote:

> I obviously missed something.  I am trying to format the man pages from
> the 3.3 release and
> I don't know what macro package was used.

Different manpages use different packages.  You mentioned nroff.  If
that's what you're using, I have yet to find a page that couldn't be
formatted with one of ``nroff -mdoc'' and ``nroff -man''.

The decision can be automated with some shell scripting (although this
is sluggish):

	page=/path/to/foo.1
	if grep -Lq '^\.Nm' ${page}; then
		nroff -mdoc ${page}
	else
		nroff -man ${page}
	fi

That should get you going, depending on what you're actually trying to
do. :-)

Ciao,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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