File: htmldump

package info (click to toggle)
w3m 0.5.3%2Bgit20210102-6%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,044 kB
  • sloc: ansic: 58,502; perl: 4,196; sh: 4,160; makefile: 915; cpp: 869; ruby: 776; awk: 78; sed: 16
file content (12 lines) | stat: -rwxr-xr-x 198 bytes parent folder | download | duplicates (12)
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