Man Creation

Createnroff -man a.txt > a.1
View local man fileman -l a.1
gzip a.1
Copy to man directorysudo cp a.1.gz /usr/share/man/man1
Parse header informationlexgrog a.1.qz
Update the manual page index
i.e. as used by apropos
sudo mandb


It looks like we just compress the text file, there is no need to pass it through nroff/trroff.

Custom Search