summaryrefslogtreecommitdiff
path: root/cpan/doc/.update.sh
blob: 0dac372a66a901fbbbd1a84efab74c972e278fb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
#
# $FML$
#

base_url=http://cpan.org/modules/

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