Initial revision

This commit is contained in:
Akinori Ito
2001-11-08 05:14:08 +00:00
commit 68a07bf03b
305 changed files with 104639 additions and 0 deletions

33
Bonus/wrap3m Executable file
View File

@@ -0,0 +1,33 @@
#!/bin/sh
HOMEPAGE=http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/
OPT=""
URL=""
for i in $@
do
case $i in
-*)
OPT="$OPT $i"
;;
*)
URL="$URL $i"
;;
esac
done
if [ -z "$URL" ]; then
URL=$HOMEPAGE
fi
URLARG=""
for u in $URL
do
if [ `expr $u : '[a-z][a-z]*://'` -gt 0 ]; then
URLARG="$URLARG $u"
elif [ -f $u -o -d $u ]; then
URLARG="$URLARG $u"
else
URLARG="$URLARG http://$u"
fi
done
w3m $OPTS $URLARG