slitaz-tools rev 237
man: add taz* tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 16 09:17:27 2008 +0000 (2008-07-16) |
parents | f46de7c34838 |
children | a39fa6fb1bd2 |
files | tinyutils/man |
line diff
1.1 --- a/tinyutils/man Tue Jul 15 23:08:50 2008 +0200 1.2 +++ b/tinyutils/man Wed Jul 16 09:17:27 2008 +0000 1.3 @@ -15,6 +15,10 @@ 1.4 shift 1.5 fi 1.6 TOPIC=$1 1.7 +if [ -f /usr/share/doc/$TOPIC/$TOPIC.html ]; then 1.8 + retawq --dump=file:///usr/share/doc/$TOPIC/$TOPIC.html | less -M 1.9 + exit 0 1.10 +fi 1.11 #http://www.penguin-soft.com/penguin/man?q=$TOPIC§ion=ALL&action=man 1.12 #http://linuxreviews.org/man/$TOPIC/index.html.en 1.13 #http://www.mediacollege.com/cgi-bin/man/page.cgi?topic=$TOPIC