Slightly better script because the old one had an error:

#get all the pdfs
wget -O - \
http://publib.boulder.ibm.com/epubs/df/zosv1r9paz.des |\
perl -p -e "next unless m/ELM_DIRECT_NAME/;
if (m/\.pdf/) {
s/ELM_DIRECT_NAME//;
s/\"//g;
print; }" | \
while read i;do
wget http://publib.boulder.ibm.com$i;done


--
John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to