X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=blobdiff_plain;f=skeleton-gallery;h=2d29487f0b0b2eb731fbe16bb9dc89728a9caf50;hp=0d4a31959eabc49512b1c45e14c4fd2c0f745115;hb=3dc97c2465315fa4952e9a2e23dd68f2982a723d;hpb=59d1059175f6218500e4ef7cec6c91b8bc2171df diff --git a/skeleton-gallery b/skeleton-gallery index 0d4a319..2d29487 100755 --- a/skeleton-gallery +++ b/skeleton-gallery @@ -5,12 +5,13 @@ exec >gallery.xml cat < + 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