view doc/download.sh @ 1804:2cc889b20a9e

Unifying the datetime output The output of %date% and %formatted.DateTime% should be equivalent.
author mow
date Sat, 27 Feb 2010 20:34:54 +0000
parents 2ae81598b254
children
line wrap: on
line source

#!/bin/sh

unset LANG
PAGES=`curl "http://sourceforge.net/apps/trac/geeqie/wiki/TitleIndex" | \
     sed -e "s|>|>\n|g" |grep 'href=.*/geeqie/wiki/Guide'|sed -e 's|.*/wiki/Guide\([a-zA-Z0-9]*\).*|Guide\1|'`

mkdir wiki

for p in $PAGES ; do
  curl "http://sourceforge.net/apps/trac/geeqie/wiki/$p?format=txt" > wiki/$p
done