docs/61033: a new tip -- how to print manual pages
Mikhail Teterin
mteterin at 250-217.customer.cloud9.net
Wed Jan 7 19:40:45 UTC 2004
>Number: 61033
>Category: docs
>Synopsis: a new tip -- how to print manual pages
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jan 07 11:40:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Mikhail Teterin
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD mi.us.murex.com 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Tue Dec 9 16:40:04 EST 2003 root at mi.us.murex.com:/misha/obj/misha/src/sys/Misha-g i386
>Description:
man(1) is could stress this out better: ``man -t <topic>'' will
produce a neat PostScript rendering of <topic>'s manual page...
The tip could be useful for someone starting with FreeBSD (or
Unix) and wanting to print out manual pages for reference.
>How-To-Repeat:
>Fix:
Index: freebsd-tips
===================================================================
RCS file: /home/ncvs/src/games/fortune/datfiles/freebsd-tips,v
retrieving revision 1.31
diff -U2 -r1.31 freebsd-tips
--- freebsd-tips 2 Aug 2003 20:36:28 -0000 1.31
+++ freebsd-tips 7 Jan 2004 19:32:18 -0000
@@ -495,2 +495,9 @@
sed -i '' s/e/o/g foo
+%
+To obtain a neat PostScript rendering of a manual page, use ``-t'' switch
+of the man(1) utility: ``man -t <topic>''. For example:
+
+ man -t grep > grep.ps # Save the PostScript version to a file
+or
+ man -t printf | lp # Send the PostScript directly to printer
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list