#!/bin/rc
switch($#*){
case 0
exit
case 1
name = /`{echo $1 | sed 's;.*//;;
s;/.*;;'}^/webpage
# send lynx errors to 2 so they appear in window
lynx -dump -display_charset'='utf-8 -dont_wrap_pre $1 >[2=1]|plumb -i -d edit -a 'action=showdata filename='$name
exit
case *
for(i in *)
lynx2txt $i
}
|