在中打开手册页预览.app
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在中打开手册页预览.app相关的知识,希望对你有一定的参考价值。
I did write this snippet, I found it somewhere on the internet (I think I found it in a .bash_profile file in [dotfiles.org](http://www.dotfiles.org/)Paste this code at the end of your .bash_profile file and the use it instead of man if you want to read some manpages in Preview.app (and eventually print the manpages or save them as a PDF file)
# Open a manpage in Preview, which can be saved to PDF pman() { man -t "${1}" | open -f -a /Applications/Preview.app }
以上是关于在中打开手册页预览.app的主要内容,如果未能解决你的问题,请参考以下文章