Documentation links

During a discussion on #wordpress-dev this evening I came up with the following oneliner for generating links to phpdocumenter output based on function name to support a php.net like lookup solutions:


curl "http://phpdoc.wordpress.org/trunk/li_WordPress.html" | grep "wp_list_pages" | sed "s/^.*'\(.*\)'.*'.*'.*$/http:\/\/phpdoc.wordpress.org\/trunk\/\1/"

It needs some optimisation though.  It’s too long to tweet!