man -t alias | lpr -Pps Format the manual page referenced by 'alias', usually a shell man�\ ual page, into the default troff or groff format and pipe it to the printer named ps. The default output for groff is usually PostScript. man --help should advise as to which processor is bound to the -t option.
2006/11/2, lish <[EMAIL PROTECTED]>:
查看一个命令的man时候,怎么打印出来? 我现在采用的办法是找到命令的man文件,比如: $ locate mailcap|grep man $ cp /usr/share/man/man5/mailcap.5.gz /tmp/ $ gunzip mailcap.5.gz $ a2ps mailcap.5 -o mailcap 这样打印出来,但是我想知道还有什么更快捷的办法? -- +========================================================+ ASCII ARTS _o _|<,_ (*)/(*) Lish -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-- Best Regards Haifeng Chen