comparison doc/download.sh @ 1734:b92fc3c922ac

scripts for converting wiki documentation to docbook
author nadvornik
date Sun, 22 Nov 2009 09:12:22 +0000
parents
children
comparison
equal deleted inserted replaced
1733:91a65afb5d77 1734:b92fc3c922ac
1 #!/bin/sh
2
3 unset LANG
4 PAGES=`curl "http://sourceforge.net/apps/trac/geeqie/wiki/TitleIndex" | \
5 sed -e "s|>|>\n|g" |grep 'href=.*/geeqie/wiki/Guide'|sed -e 's|.*/wiki/Guide\([a-zA-Z0-9]*\).*|Guide\1|'`
6
7 mkdir wiki
8
9 for p in $PAGES ; do
10 curl "http://sourceforge.net/apps/trac/geeqie/wiki/$p?format=txt" > wiki/$p
11 done
12
13
14