cat <<EOF
<gallery title="" perpage=""
- authorname="Colin Watson" authoremail="cjwatson@flatline.org.uk">
+ authorname="Colin Watson"
+ authoremail="cjwatson@chiark.greenend.org.uk">
EOF
index=0
-for x in *.jpg; do
+for x in `ls *.jpg | sort -n`; do
index=$(($index + 1))
if [ "$index" -ne 1 ]; then
echo