From owner-freebsd-questions Thu Dec 9 6:48:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 19C8A14C43 for ; Thu, 9 Dec 1999 06:48:22 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 11w4rc-000NWU-00; Thu, 09 Dec 1999 16:48:12 +0200 From: Sheldon Hearn To: Kim Buckner Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Man Pages In-reply-to: Your message of "Thu, 09 Dec 1999 09:34:35 EST." <384FBDFB.19D03C58@cs.utk.edu> Date: Thu, 09 Dec 1999 16:48:12 +0200 Message-ID: <90425.944750892@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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