terminalからwebのmanページへ

macosxhints.com - Yet another way to read beautifully formatted man pages


これは新鮮。

function wman() {
   url="man -w ${1} | sed 's#.*\(${1}.\)\([[:digit:]]\).*\$#http://developer.apple.com/documentation/Darwin/Reference/ManPages/man\2/\1\2.html#'"
   open `eval $url`
}


普段は、jmanだが、たまにはこれもいい。
見やすいし。