Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2003 19:10:54 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        William Michael Grim <wgrim@siue.edu>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: What are .1 files in /usr/src?
Message-ID:  <20030508091054.GA6640@cirb503493.alcatel.com.au>
In-Reply-To: <Pine.SO4.4.05.10305080324001.12960-100000@cougar.isg.siue.edu>
References:  <Pine.SO4.4.05.10305080324001.12960-100000@cougar.isg.siue.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 08, 2003 at 03:25:47AM -0500, William Michael Grim wrote:
>I was curious, what are all the .1 files in /usr/src?  A couple examples
>are /usr/src/bin/dd/dd.1 and /usr/src/bin/pax/pax.1.  Are these some sort
>of files that are converted to man pages in some way?  If so, how is this
>achieved?

As already mentioned, they are the man pages.  By default, they are
gzip(1)'d into /usr/share/man/manX/ to save space.  They are converted
into formatted text using groff(1).  As an example, you can get a
PostScript version of the dd(1) man page with either of the following:
	groff -man /usr/src/bin/dd/dd.1 > dd.ps
	gzcat /usr/share/man/man1/dd.1.gz | groff -man > dd.ps

Peter



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