Open a specific man page section via URL

Feb 09, '06 05:40:00AM

Contributed by: boredzo

There's an existing hint about using x-man-page URLs to link to Unix man pages. When such a URL is clicked, it opens in Terminal, which automatically invokes the man page for the linked command. For example, something like this: View ls manpage.

But there's another element to this, not covered in the original hint: you can also specify the section. For example, x-man-page://3/printf gets you the man page for the printf(3) function in C (as opposed to the command-line utility, which is printf(1), and the default manpage for a simple man printf or x-man-page://printf).

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20060204054031667