# # Wrapper to use wd.py, the Web Downloader (Python script) # Ju Li June 2, 1999 echo `which python` | grep not > /dev/null if ($status == 0) then echo Python interpretor not found in current path, echo please install Python \(http://www.python.org/\). exit(1) endif if ($#argv != 2) then echo Usage: % $0 remote_url local_directory. For example, echo % wd http://www.huazhao.com/archive/yuqiuyu/ /tmp/A else wd.py $1 $2 add infoagents # first try using existent browser netscape -remote "openFile($2/index.html)" if ($status == 1) netscape file:$2/index.html & endif