Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Reading man pages in the current directory' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Reading man pages in the current directory
Authored by: AndyF on Apr 04, '03 11:36:42PM

As an alternative to executing groff directly, you can instead use "grog", which scans the file and determines the command. So "grog -Tascii /usr/share/man/man1/javadoc.1" will give "groff -Tascii -t -man /usr/share/man/man1/javadoc.1" -- the tbl preprocessor is required.

The shell script becomes `grog -Tascii .... ` | less



[ Reply to This | # ]