View man pages using Preview.app

December 31st, 2005

In this article I learnt how to use the command-line to browse formatted man pages using Preview.app:

man -t whatever | open -f -a /Applications/Preview.app

4 Responses to “View man pages using Preview.app”

  1. Alex Kunin Says:

    There is a better solution (should be added to ~/.profile):

    pman() {
    CACHE=~/Library/Caches/pman/
    PDF=”$CACHE${2:+$2.}$1.pdf”

    mkdir -p $CACHE
    test ! -f $PDF && man -w > /dev/null $1 $2 && (man -t $1 $2 | pstopdf -i -o $PDF)
    test -f $PDF && open $PDF
    }

    Benefits:

    1. Cache: “man -t bash” might take really long time to execute.
    2. Bookmarks and “view from last position”: Preview.app will be able to save these things.

  2. Everett Krefft Says:

    I’ve recently started a website, and the information you provide on this web site has helped me greatly. Thank you for all of your time & work.

  3. Madalyn Schutzenhofer Says:

    Los Angeles Wedding Photography Bend Oregon Wedding Photography they shot this wedding too- Real Wedding ~ Karina and Nehal at the St. Regis Style Me Pretty : The Ultimate Wedding Blog that links also mentions a wedding coordinator, stephanie larson- Orange County Wedding Planner -

  4. Thaddeus Mcleod Says:

    No, thats a myth.
    100% if you want different eye colors you should
    get colored contacts, or use the Almay eye color kits which is make up that intensifies your eye color.. Being in the sun can also change your eye color temporarily but not permanent!

Leave a Reply