Solved

*roff on man pages

Posted on 1997-04-06
1
198 Views
Last Modified: 2013-12-15
What switches do I send to nroff(? is this the right *roff) to make a Man Page look as if I had called man filename?

For example...I have downloaded a package, am interested in more details.  So, I go (insert answer here) man/man1/kewlthing.1 | less
0
Comment
Question by:lordvorp
1 Comment
 

Accepted Solution

by:
jlee040697 earned 50 total points
ID: 1627085
nroff is usually just an invocation of groff, try something
like:

groff -Tascii -mandoc filename.1 | less

to view it on a terminal... or

groff -Tps -mandoc filename.1 | lpr

to print it on a PostScript compatible printer. ;-)

On the other hand, most versions of man will interpret
their argument as a file if it has a slash in it, so try:

man /usr/local/man/filename.1

or if you're in the same directory as the file,

man ./filename.1

James Lee <jlee@math.purdue.edu>
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now