blob: 2cc67282c83e832e1f7500d397759782716064f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/sh
#
# $FML: .update.sh,v 1.1 2001/10/17 11:58:45 fukachan Exp $
#
base_url=http://cpan.org/modules/
ftp ${base_url}00modlist.long.html
for file in 0*html
do
txt=`basename $file .html`.txt
echo ftp ${base_url}$file
eval ftp ${base_url}$file
lynx --nolist -dump ${base_url}$file > $txt
done
echo ftp ${base_url}02packages.details.txt.gz
eval ftp ${base_url}02packages.details.txt.gz
echo gunzip -f 02packages.details.txt.gz
eval gunzip -f 02packages.details.txt.gz
exit 0
|