Solved

*roff on man pages

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

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…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

717 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