Solved

*roff on man pages

Posted on 1997-04-06
1
197 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

757 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

20 Experts available now in Live!

Get 1:1 Help Now