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