aboutsummaryrefslogblamecommitdiffstats
path: root/Bonus/htmldump
blob: 4be60bf916bc185f1a439f17bd29cc72631976bf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                          
#!/bin/sh
OPT=
if [ $# -gt 0 -a $1 = "-u" ]; then
  OPT=-u
  shift
fi
if [ $# = 0 ]; then
  URL=$WWW_HOME
else
  URL=$1
fi
w3m -dump_source $URL | makeref $OPT -url $URL | w3m -dump -F -T text/html