Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

*roff on man pages

Posted on 1997-04-06
1
Medium Priority
?
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
jlee040697 earned 100 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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

636 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