Alan Bell's script prompted me to write an improved version and send it in along with this email:
I listened to Alan Bell's command line luurve segment in your podcast
this evening. Whilst his script works it inhibits much of man(1)'s
functionality. In particular it does not support specifying the manual
section (compare "man open" and "man 2 open" for example.)
Here's my alternative that maintains this functionality and
automatically falls back to standard man if any options are supplied:
case "$1" in
"") x= ;;
-*) x= ;;
if [ -n "$x" ]; then
for i in "$@"; do
case "$i" in
[0-9]) section="($i)" ;;
*) gnome-help "man:$i$section" >/dev/null 2>&1 & ;;
exec man "$@"
The script also makes specifying multiple pages at once more useful
than it is with man(1).
It can be aliased to man if required as Alan described.
They were nice enough to read out my email in Episode 14 but the script didn't appear in the show notes. So here it is.