[cs631apue] ".1" files in NetBSD code

Jan Schaumann jschauma at stevens.edu
Thu Sep 5 20:30:31 EDT 2013


hao wu <hwu9 at stevens.edu> wrote:
 
> so it seems the .1 file is used  for the manpage

That is correct.

The manual pages are written in a markup language, which are then
rendered by certain Unix tools to produce the final manual page as it is
displayed to you when you type 'man ls'.

For example, on linux-lab.cs.stevens.edu you can find the manual page
for ls(1) under /usr/share/man/man1/ls.1.gz; when you type 'man ls', the
command effectively runs 

gzip -d -c /usr/share/man/man1/ls.1.gz | nroff -man | more

The NetBSD project keeps these markup documents next to the source code
in the code repository, and so you will find them there.

-Jan


More information about the cs631apue mailing list