Mercurial > geeqie
view doc/download.sh @ 1808:6c61c246506b
Fix a small issue with strptime
strptime do not initialize all fields. So the undefined fields could end
in crash later on.
author | mow |
---|---|
date | Sun, 28 Feb 2010 15:17:12 +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