From cf8dceeb43442a72c3e3376d44f9cc84635bba58 Mon Sep 17 00:00:00 2001 From: Marc Fonvieille Date: Wed, 7 Jan 2004 19:49:12 +0000 Subject: [PATCH] Add a tip on how to print a manual page. PR: docs/61033 Submitted by: mi@ --- games/fortune/datfiles/freebsd-tips | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips index ea4fd0d2156..5d60cda4dcf 100644 --- a/games/fortune/datfiles/freebsd-tips +++ b/games/fortune/datfiles/freebsd-tips @@ -494,3 +494,10 @@ And you'll get a backup of the original in a file named 'foo.bak', but if you want no backup: 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 ''. 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