#!/bin/tcsh # # example: # ../../bin/make-index {DSC,dsc}?????.{JPG,jpg} *.{MPG,mpg} > index.html # author: Yann LeCun, AT&T Labs. http://www.research.att.com/~yann # set verb="" set allinputs= ( $* ) echo "
" endif echo '
' if ( -f readme.txt ) then cat readme.txt echo "
" endif set z=0 foreach i ( $allinputs ) echo "
"
if ( -f index.l.djvu ) then
echo "DjVu Photo Album (low resolution 640x480)
"
endif
if ( -f index.m.djvu ) then
echo "DjVu Photo Album (medium resolution 800x600)
"
endif
if ( -f index.h.djvu ) then
echo "DjVu Photo Album (high resolution 1600x1200)
"
endif
echo "
" echo '