######################################################################### # A simple script to change a directory of one type of images to another. # -- Garrett LeSage ######################################################################### # Yes, this is a hack, but it works pretty well. # # Note: you probably want to get "tidy" at: # http://www.w3.org/People/Raggett/tidy/ # (or just "apt-get install tidy" if using Debian) ######################################################################### # Version of imgconvert IMGCONVERT_VERSION=0.2 + IMGCONVERT_VERSION=0.2 # The file format you wish to change FROM=jpeg + FROM=jpeg # The end result file format TO=jpg + TO=jpg # Options for "convert" CONVERT_OPTIONS='-quality 75' + CONVERT_OPTIONS=-quality 75 # Pull the directory name for the title DIR_NAME=`basename $PWD` basename $PWD ++ basename /srv/www/htdocs/pupman.com/current/catkins/cap + DIR_NAME=cap # Site name for the title SITENAME="Pupman.com" + SITENAME=Pupman.com # This is for the area, and automatically pulls fromt the sitename, # which can be edited directly above TOPTITLE="$SITENAME - " + TOPTITLE=Pupman.com - # General title TITLE="My pictures: $DIR_NAME" + TITLE=My pictures: cap # Description DESC="random pictures" + DESC=random pictures # Instructions for the viewer INSTR="Clicking on the thumbnail will download the 640x480 version of the image.<br> Both pixel and file sizes are located under each picture." + INSTR=Clicking on the thumbnail will download the 640x480 version of the image.<br> Both pixel and file sizes are located under each picture. # Page colors, fonts, etc TEXT="#000000" + TEXT=#000000 BGCOLOR="#ffffff" + BGCOLOR=#ffffff LINK="#5555aa" + LINK=#5555aa ALINK="#9999AA" + ALINK=#9999AA VLINK="#bbbbee" + VLINK=#bbbbee FONT_FAMILY="helvetica,arial,sans-serif" + FONT_FAMILY=helvetica,arial,sans-serif # This credits imgconvert, if you don't want to give credit (for whatever # reason, I don't know), you can turn it off here. Default is "1". "0" will # turn off the credit at the bottom. CREDIT=1 + CREDIT=1 ######################################################################### # The actual convertion stuff # You can edit stuff below here to change how this works, or just stick # with the variables above (which should be good for most people ######################################################################### # # Additions by chip to do a little housekeeping beforehand. # for i in $(ls *.jpg 2>/dev/null); do if [ -z "$i" ]; then break fi NAME=$(basename $i .jpg).jpeg if [ ! -e "$NAME" ]; then mv $i $NAME else echo "Warning: $name already exists" fi done ls *.jpg 2>/dev/null ++ ls '*.jpg' for i in $(ls *.pdf 2>/dev/null); do if [ -z "$i" ]; then break fi convert $i $(basename $i .pdf).jpeg done ls *.pdf 2>/dev/null ++ ls '*.pdf' # #end additions # echo Running $0 + echo Running ../../kcherrick/dothumbs.sh Running ../../kcherrick/dothumbs.sh echo + echo if [ ! -s "thumb/" ] then mkdir thumb fi + '[' '!' -s thumb/ ']' if [ ! -s "640/" ] then mkdir 640 fi + '[' '!' -s 640/ ']' if [ ! -s "800/" ] then mkdir 800 fi + '[' '!' -s 800/ ']' if [ ! -s "1024/" ] then mkdir 1024 fi + '[' '!' -s 1024/ ']' if [ ! -s "1600/" ] then mkdir 1600 fi + '[' '!' -s 1600/ ']' ### Header echo "<html><head><title>$TOPTITLE$TITLE" >> index.html + echo '' echo "> index.html + echo '" >> index.html + echo 'vlink="#bbbbee" link="#5555aa">' echo "

$TITLE

" >> index.html + echo '

My pictures: cap

' echo "

$DESC" >> index.html + echo '

random pictures' echo "

Instructions:
$INSTR
" >> index.html + echo '

Instructions:
Clicking on the thumbnail will download the 640x480 version of the image.
Both pixel and file sizes are located under each picture.
' echo "

[back]" >> index.html + echo '

[back]' ### End Header TABLE_START="

" + TABLE_START=
COUNT=0 + COUNT=0 CAPLINE="" + CAPLINE= for i in `ls *.$FROM`; do COUNTLOOP=`expr $COUNT \% 4` echo $COUNT $COUNTLOOP if [ $COUNTLOOP -eq 0 ] then echo "$CAPLINE
$TABLE_START" >> index.html echo "4444" CAPLINE="" fi COUNT=`expr $COUNT + 1` echo "" >> index.html CONVERT_OPTIONS='-quality 75 -geometry 100x75' _thumb=`basename $i $FROM`thumb.$TO if [ ! -s "thumb/$_thumb" ] then echo Thumbnailing $i... echo convert $CONVERT_OPTIONS $i $_thumb /usr/local/bin/convert $CONVERT_OPTIONS $i thumb/$_thumb fi echo Converting $i... CONVERT_OPTIONS='-quality 75 -geometry 640x480' _640=`basename $i $FROM`640.$TO if [ ! -s "640/$_640" ] then echo convert $CONVERT_OPTIONS $i $_640 /usr/local/bin/convert $CONVERT_OPTIONS $i 640/$_640 fi CONVERT_OPTIONS='-quality 75 -geometry 800x600' _800=`basename $i $FROM`800.$TO if [ ! -s "800/$_800" ] then echo convert $CONVERT_OPTIONS $i $_800 /usr/local/bin/convert $CONVERT_OPTIONS $i 800/$_800 fi CONVERT_OPTIONS='-quality 75 -geometry 1024x768' _1024=`basename $i $FROM`1024.$TO if [ ! -s "1024/$_1024" ] then echo convert $CONVERT_OPTIONS $i $_1024 /usr/local/bin/convert $CONVERT_OPTIONS $i 1024/$_1024 fi #CONVERT_OPTIONS='-quality 75 -geometry 1600x1200' _1600=`basename $i $FROM`1600.$TO if [ ! -s "1600/$_1600" ] then # echo convert $CONVERT_OPTIONS $i $_1600 # /usr/local/bin/convert $CONVERT_OPTIONS $i 1600/$_1600 cp -rv $i 1600/$_1600 fi echo "

" >> index.html echo "$COUNT: $i" >> index.html echo "
" >> index.html echo "> index.html echo "width=100 height=75 alt=\"$i\">
" >> index.html echo "" >> index.html echo "640x480" >> index.html SIZE=`du -sh 640/$_640 | cut -f 1` echo "(${SIZE}) " >> index.html echo "
" >> index.html echo "800x600" >> index.html SIZE=`du -sh 800/$_800 | cut -f 1` echo "(${SIZE}) " >> index.html echo "
" >> index.html echo "1024x768" >> index.html SIZE=`du -sh 1024/$_1024 | cut -f 1` echo "(${SIZE}) " >> index.html echo "
" >> index.html echo "1600x1200" >> index.html SIZE=`du -sh 1600/$_1600 | cut -f 1` echo "(${SIZE}) " >> index.html echo "
" >> index.html CAPTION="$(basename $i .jpeg)" if [ -e "${CAPTION}.txt" ]; then CAPLINE="${CAPLINE} $(/home/chip/extract/perl/txt2html.pl -e ${CAPTION}.txt)" else if [ -e "${CAPTION}.html" ]; then CAPLINE="${CAPLINE} $(cat ${CAPTION}.html)" else CAPLINE="${CAPLINE}  " fi fi echo "" >> index.html done; ls *.$FROM ++ ls cap10.jpeg cap11.jpeg cap1a.jpeg cap1b.jpeg cap1c.jpeg cap1d.jpeg cap2a.jpeg cap2b.jpeg cap2c.jpeg cap3.jpeg cap4.jpeg cap5.jpeg cap6.jpeg cap7.jpeg cap8.jpeg cap9.jpeg expr $COUNT \% 4 ++ expr 0 % 4 + COUNTLOOP=0 + echo 0 0 0 0 + '[' 0 -eq 0 ']' + echo '

' + echo 4444 4444 + CAPLINE= expr $COUNT + 1 ++ expr 0 + 1 + COUNT=1 + echo ' + echo '' expr $COUNT \% 4 ++ expr 1 % 4 + COUNTLOOP=1 + echo 1 1 1 1 + '[' 1 -eq 0 ']' expr $COUNT + 1 ++ expr 1 + 1 + COUNT=2 + echo ' + echo '' expr $COUNT \% 4 ++ expr 2 % 4 + COUNTLOOP=2 + echo 2 2 2 2 + '[' 2 -eq 0 ']' expr $COUNT + 1 ++ expr 2 + 1 + COUNT=3 + echo ' + echo '' expr $COUNT \% 4 ++ expr 3 % 4 + COUNTLOOP=3 + echo 3 3 3 3 + '[' 3 -eq 0 ']' expr $COUNT + 1 ++ expr 3 + 1 + COUNT=4 + echo ' + echo '' expr $COUNT \% 4 ++ expr 4 % 4 + COUNTLOOP=0 + echo 4 0 4 0 + '[' 0 -eq 0 ']' + echo '
' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap10.jpeg jpeg + _thumb=cap10.thumb.jpg + '[' '!' -s thumb/cap10.thumb.jpg ']' + echo Converting cap10.jpeg... Converting cap10.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap10.jpeg jpeg + _640=cap10.640.jpg + '[' '!' -s 640/cap10.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap10.jpeg jpeg + _800=cap10.800.jpg + '[' '!' -s 800/cap10.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap10.jpeg jpeg + _1024=cap10.1024.jpg + '[' '!' -s 1024/cap10.1024.jpg ']' basename $i $FROM ++ basename cap10.jpeg jpeg + _1600=cap10.1600.jpg + '[' '!' -s 1600/cap10.1600.jpg ']' + echo '

' + echo '1: cap10.jpeg' + echo '
' + echo 'cap10.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap10.640.jpg ++ cut -f 1 + SIZE=24K + echo '(24K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap10.800.jpg ++ cut -f 1 + SIZE=32K + echo '(32K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap10.1024.jpg ++ cut -f 1 + SIZE=44K + echo '(44K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap10.1600.jpg ++ cut -f 1 + SIZE=20K + echo '(20K) ' + echo '
' basename $i .jpeg ++ basename cap10.jpeg .jpeg + CAPTION=cap10 + '[' -e cap10.txt ']' + '[' -e cap10.html ']' + CAPLINE=

 ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap11.jpeg jpeg + _thumb=cap11.thumb.jpg + '[' '!' -s thumb/cap11.thumb.jpg ']' + echo Converting cap11.jpeg... Converting cap11.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap11.jpeg jpeg + _640=cap11.640.jpg + '[' '!' -s 640/cap11.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap11.jpeg jpeg + _800=cap11.800.jpg + '[' '!' -s 800/cap11.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap11.jpeg jpeg + _1024=cap11.1024.jpg + '[' '!' -s 1024/cap11.1024.jpg ']' basename $i $FROM ++ basename cap11.jpeg jpeg + _1600=cap11.1600.jpg + '[' '!' -s 1600/cap11.1600.jpg ']' + echo '

' + echo '2: cap11.jpeg' + echo '
' + echo 'cap11.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap11.640.jpg ++ cut -f 1 + SIZE=32K + echo '(32K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap11.800.jpg ++ cut -f 1 + SIZE=44K + echo '(44K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap11.1024.jpg ++ cut -f 1 + SIZE=60K + echo '(60K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap11.1600.jpg ++ cut -f 1 + SIZE=32K + echo '(32K) ' + echo '
' basename $i .jpeg ++ basename cap11.jpeg .jpeg + CAPTION=cap11 + '[' -e cap11.txt ']' + '[' -e cap11.html ']' + CAPLINE=

   ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap1a.jpeg jpeg + _thumb=cap1a.thumb.jpg + '[' '!' -s thumb/cap1a.thumb.jpg ']' + echo Converting cap1a.jpeg... Converting cap1a.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap1a.jpeg jpeg + _640=cap1a.640.jpg + '[' '!' -s 640/cap1a.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap1a.jpeg jpeg + _800=cap1a.800.jpg + '[' '!' -s 800/cap1a.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap1a.jpeg jpeg + _1024=cap1a.1024.jpg + '[' '!' -s 1024/cap1a.1024.jpg ']' basename $i $FROM ++ basename cap1a.jpeg jpeg + _1600=cap1a.1600.jpg + '[' '!' -s 1600/cap1a.1600.jpg ']' + echo '

' + echo '3: cap1a.jpeg' + echo '
' + echo 'cap1a.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap1a.640.jpg ++ cut -f 1 + SIZE=20K + echo '(20K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap1a.800.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap1a.1024.jpg ++ cut -f 1 + SIZE=36K + echo '(36K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap1a.1600.jpg ++ cut -f 1 + SIZE=12K + echo '(12K) ' + echo '
' basename $i .jpeg ++ basename cap1a.jpeg .jpeg + CAPTION=cap1a + '[' -e cap1a.txt ']' + '[' -e cap1a.html ']' + CAPLINE=

     ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap1b.jpeg jpeg + _thumb=cap1b.thumb.jpg + '[' '!' -s thumb/cap1b.thumb.jpg ']' + echo Converting cap1b.jpeg... Converting cap1b.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap1b.jpeg jpeg + _640=cap1b.640.jpg + '[' '!' -s 640/cap1b.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap1b.jpeg jpeg + _800=cap1b.800.jpg + '[' '!' -s 800/cap1b.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap1b.jpeg jpeg + _1024=cap1b.1024.jpg + '[' '!' -s 1024/cap1b.1024.jpg ']' basename $i $FROM ++ basename cap1b.jpeg jpeg + _1600=cap1b.1600.jpg + '[' '!' -s 1600/cap1b.1600.jpg ']' + echo '

' + echo '4: cap1b.jpeg' + echo '
' + echo 'cap1b.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap1b.640.jpg ++ cut -f 1 + SIZE=24K + echo '(24K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap1b.800.jpg ++ cut -f 1 + SIZE=32K + echo '(32K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap1b.1024.jpg ++ cut -f 1 + SIZE=44K + echo '(44K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap1b.1600.jpg ++ cut -f 1 + SIZE=16K + echo '(16K) ' + echo '
' basename $i .jpeg ++ basename cap1b.jpeg .jpeg + CAPTION=cap1b + '[' -e cap1b.txt ']' + '[' -e cap1b.html ']' + CAPLINE=

       
       
' + echo 4444 4444 + CAPLINE= expr $COUNT + 1 ++ expr 4 + 1 + COUNT=5 + echo ' + echo '' expr $COUNT \% 4 ++ expr 5 % 4 + COUNTLOOP=1 + echo 5 1 5 1 + '[' 1 -eq 0 ']' expr $COUNT + 1 ++ expr 5 + 1 + COUNT=6 + echo ' + echo '' expr $COUNT \% 4 ++ expr 6 % 4 + COUNTLOOP=2 + echo 6 2 6 2 + '[' 2 -eq 0 ']' expr $COUNT + 1 ++ expr 6 + 1 + COUNT=7 + echo ' + echo '' expr $COUNT \% 4 ++ expr 7 % 4 + COUNTLOOP=3 + echo 7 3 7 3 + '[' 3 -eq 0 ']' expr $COUNT + 1 ++ expr 7 + 1 + COUNT=8 + echo ' + echo '' expr $COUNT \% 4 ++ expr 8 % 4 + COUNTLOOP=0 + echo 8 0 8 0 + '[' 0 -eq 0 ']' + echo '
' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap1c.jpeg jpeg + _thumb=cap1c.thumb.jpg + '[' '!' -s thumb/cap1c.thumb.jpg ']' + echo Converting cap1c.jpeg... Converting cap1c.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap1c.jpeg jpeg + _640=cap1c.640.jpg + '[' '!' -s 640/cap1c.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap1c.jpeg jpeg + _800=cap1c.800.jpg + '[' '!' -s 800/cap1c.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap1c.jpeg jpeg + _1024=cap1c.1024.jpg + '[' '!' -s 1024/cap1c.1024.jpg ']' basename $i $FROM ++ basename cap1c.jpeg jpeg + _1600=cap1c.1600.jpg + '[' '!' -s 1600/cap1c.1600.jpg ']' + echo '

' + echo '5: cap1c.jpeg' + echo '
' + echo 'cap1c.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap1c.640.jpg ++ cut -f 1 + SIZE=20K + echo '(20K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap1c.800.jpg ++ cut -f 1 + SIZE=24K + echo '(24K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap1c.1024.jpg ++ cut -f 1 + SIZE=32K + echo '(32K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ cut -f 1 ++ du -sh 1600/cap1c.1600.jpg + SIZE=12K + echo '(12K) ' + echo '
' basename $i .jpeg ++ basename cap1c.jpeg .jpeg + CAPTION=cap1c + '[' -e cap1c.txt ']' + '[' -e cap1c.html ']' + CAPLINE=

 ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap1d.jpeg jpeg + _thumb=cap1d.thumb.jpg + '[' '!' -s thumb/cap1d.thumb.jpg ']' + echo Converting cap1d.jpeg... Converting cap1d.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap1d.jpeg jpeg + _640=cap1d.640.jpg + '[' '!' -s 640/cap1d.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap1d.jpeg jpeg + _800=cap1d.800.jpg + '[' '!' -s 800/cap1d.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap1d.jpeg jpeg + _1024=cap1d.1024.jpg + '[' '!' -s 1024/cap1d.1024.jpg ']' basename $i $FROM ++ basename cap1d.jpeg jpeg + _1600=cap1d.1600.jpg + '[' '!' -s 1600/cap1d.1600.jpg ']' + echo '

' + echo '6: cap1d.jpeg' + echo '
' + echo 'cap1d.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap1d.640.jpg ++ cut -f 1 + SIZE=24K + echo '(24K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap1d.800.jpg ++ cut -f 1 + SIZE=36K + echo '(36K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap1d.1024.jpg ++ cut -f 1 + SIZE=44K + echo '(44K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap1d.1600.jpg ++ cut -f 1 + SIZE=16K + echo '(16K) ' + echo '
' basename $i .jpeg ++ basename cap1d.jpeg .jpeg + CAPTION=cap1d + '[' -e cap1d.txt ']' + '[' -e cap1d.html ']' + CAPLINE=

   ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap2a.jpeg jpeg + _thumb=cap2a.thumb.jpg + '[' '!' -s thumb/cap2a.thumb.jpg ']' + echo Converting cap2a.jpeg... Converting cap2a.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap2a.jpeg jpeg + _640=cap2a.640.jpg + '[' '!' -s 640/cap2a.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap2a.jpeg jpeg + _800=cap2a.800.jpg + '[' '!' -s 800/cap2a.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap2a.jpeg jpeg + _1024=cap2a.1024.jpg + '[' '!' -s 1024/cap2a.1024.jpg ']' basename $i $FROM ++ basename cap2a.jpeg jpeg + _1600=cap2a.1600.jpg + '[' '!' -s 1600/cap2a.1600.jpg ']' + echo '

' + echo '7: cap2a.jpeg' + echo '
' + echo 'cap2a.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap2a.640.jpg ++ cut -f 1 + SIZE=20K + echo '(20K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap2a.800.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap2a.1024.jpg ++ cut -f 1 + SIZE=36K + echo '(36K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap2a.1600.jpg ++ cut -f 1 + SIZE=12K + echo '(12K) ' + echo '
' basename $i .jpeg ++ basename cap2a.jpeg .jpeg + CAPTION=cap2a + '[' -e cap2a.txt ']' + '[' -e cap2a.html ']' + CAPLINE=

     ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap2b.jpeg jpeg + _thumb=cap2b.thumb.jpg + '[' '!' -s thumb/cap2b.thumb.jpg ']' + echo Converting cap2b.jpeg... Converting cap2b.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap2b.jpeg jpeg + _640=cap2b.640.jpg + '[' '!' -s 640/cap2b.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap2b.jpeg jpeg + _800=cap2b.800.jpg + '[' '!' -s 800/cap2b.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap2b.jpeg jpeg + _1024=cap2b.1024.jpg + '[' '!' -s 1024/cap2b.1024.jpg ']' basename $i $FROM ++ basename cap2b.jpeg jpeg + _1600=cap2b.1600.jpg + '[' '!' -s 1600/cap2b.1600.jpg ']' + echo '

' + echo '8: cap2b.jpeg' + echo '
' + echo 'cap2b.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap2b.640.jpg ++ cut -f 1 + SIZE=32K + echo '(32K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap2b.800.jpg ++ cut -f 1 + SIZE=40K + echo '(40K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ cut -f 1 ++ du -sh 1024/cap2b.1024.jpg + SIZE=56K + echo '(56K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap2b.1600.jpg ++ cut -f 1 + SIZE=16K + echo '(16K) ' + echo '
' basename $i .jpeg ++ basename cap2b.jpeg .jpeg + CAPTION=cap2b + '[' -e cap2b.txt ']' + '[' -e cap2b.html ']' + CAPLINE=

       
       
' + echo 4444 4444 + CAPLINE= expr $COUNT + 1 ++ expr 8 + 1 + COUNT=9 + echo ' + echo '' expr $COUNT \% 4 ++ expr 9 % 4 + COUNTLOOP=1 + echo 9 1 9 1 + '[' 1 -eq 0 ']' expr $COUNT + 1 ++ expr 9 + 1 + COUNT=10 + echo ' + echo '' expr $COUNT \% 4 ++ expr 10 % 4 + COUNTLOOP=2 + echo 10 2 10 2 + '[' 2 -eq 0 ']' expr $COUNT + 1 ++ expr 10 + 1 + COUNT=11 + echo ' + echo '' expr $COUNT \% 4 ++ expr 11 % 4 + COUNTLOOP=3 + echo 11 3 11 3 + '[' 3 -eq 0 ']' expr $COUNT + 1 ++ expr 11 + 1 + COUNT=12 + echo ' + echo '' expr $COUNT \% 4 ++ expr 12 % 4 + COUNTLOOP=0 + echo 12 0 12 0 + '[' 0 -eq 0 ']' + echo '
' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap2c.jpeg jpeg + _thumb=cap2c.thumb.jpg + '[' '!' -s thumb/cap2c.thumb.jpg ']' + echo Converting cap2c.jpeg... Converting cap2c.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap2c.jpeg jpeg + _640=cap2c.640.jpg + '[' '!' -s 640/cap2c.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap2c.jpeg jpeg + _800=cap2c.800.jpg + '[' '!' -s 800/cap2c.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap2c.jpeg jpeg + _1024=cap2c.1024.jpg + '[' '!' -s 1024/cap2c.1024.jpg ']' basename $i $FROM ++ basename cap2c.jpeg jpeg + _1600=cap2c.1600.jpg + '[' '!' -s 1600/cap2c.1600.jpg ']' + echo '

' + echo '9: cap2c.jpeg' + echo '
' + echo 'cap2c.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap2c.640.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap2c.800.jpg ++ cut -f 1 + SIZE=36K + echo '(36K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap2c.1024.jpg ++ cut -f 1 + SIZE=52K + echo '(52K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap2c.1600.jpg ++ cut -f 1 + SIZE=24K + echo '(24K) ' + echo '
' basename $i .jpeg ++ basename cap2c.jpeg .jpeg + CAPTION=cap2c + '[' -e cap2c.txt ']' + '[' -e cap2c.html ']' + CAPLINE=

 ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap3.jpeg jpeg + _thumb=cap3.thumb.jpg + '[' '!' -s thumb/cap3.thumb.jpg ']' + echo Converting cap3.jpeg... Converting cap3.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap3.jpeg jpeg + _640=cap3.640.jpg + '[' '!' -s 640/cap3.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap3.jpeg jpeg + _800=cap3.800.jpg + '[' '!' -s 800/cap3.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap3.jpeg jpeg + _1024=cap3.1024.jpg + '[' '!' -s 1024/cap3.1024.jpg ']' basename $i $FROM ++ basename cap3.jpeg jpeg + _1600=cap3.1600.jpg + '[' '!' -s 1600/cap3.1600.jpg ']' + echo '

' + echo '10: cap3.jpeg' + echo '
' + echo 'cap3.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap3.640.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap3.800.jpg ++ cut -f 1 + SIZE=40K + echo '(40K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap3.1024.jpg ++ cut -f 1 + SIZE=52K + echo '(52K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap3.1600.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' basename $i .jpeg ++ basename cap3.jpeg .jpeg + CAPTION=cap3 + '[' -e cap3.txt ']' + '[' -e cap3.html ']' + CAPLINE=

   ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap4.jpeg jpeg + _thumb=cap4.thumb.jpg + '[' '!' -s thumb/cap4.thumb.jpg ']' + echo Converting cap4.jpeg... Converting cap4.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap4.jpeg jpeg + _640=cap4.640.jpg + '[' '!' -s 640/cap4.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap4.jpeg jpeg + _800=cap4.800.jpg + '[' '!' -s 800/cap4.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap4.jpeg jpeg + _1024=cap4.1024.jpg + '[' '!' -s 1024/cap4.1024.jpg ']' basename $i $FROM ++ basename cap4.jpeg jpeg + _1600=cap4.1600.jpg + '[' '!' -s 1600/cap4.1600.jpg ']' + echo '

' + echo '11: cap4.jpeg' + echo '
' + echo 'cap4.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap4.640.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap4.800.jpg ++ cut -f 1 + SIZE=36K + echo '(36K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap4.1024.jpg ++ cut -f 1 + SIZE=52K + echo '(52K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap4.1600.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' basename $i .jpeg ++ basename cap4.jpeg .jpeg + CAPTION=cap4 + '[' -e cap4.txt ']' + '[' -e cap4.html ']' + CAPLINE=

     ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap5.jpeg jpeg + _thumb=cap5.thumb.jpg + '[' '!' -s thumb/cap5.thumb.jpg ']' + echo Converting cap5.jpeg... Converting cap5.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap5.jpeg jpeg + _640=cap5.640.jpg + '[' '!' -s 640/cap5.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap5.jpeg jpeg + _800=cap5.800.jpg + '[' '!' -s 800/cap5.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap5.jpeg jpeg + _1024=cap5.1024.jpg + '[' '!' -s 1024/cap5.1024.jpg ']' basename $i $FROM ++ basename cap5.jpeg jpeg + _1600=cap5.1600.jpg + '[' '!' -s 1600/cap5.1600.jpg ']' + echo '

' + echo '12: cap5.jpeg' + echo '
' + echo 'cap5.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap5.640.jpg ++ cut -f 1 + SIZE=20K + echo '(20K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap5.800.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap5.1024.jpg ++ cut -f 1 + SIZE=36K + echo '(36K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap5.1600.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' basename $i .jpeg ++ basename cap5.jpeg .jpeg + CAPTION=cap5 + '[' -e cap5.txt ']' + '[' -e cap5.html ']' + CAPLINE=

       
       
' + echo 4444 4444 + CAPLINE= expr $COUNT + 1 ++ expr 12 + 1 + COUNT=13 + echo ' + echo '' expr $COUNT \% 4 ++ expr 13 % 4 + COUNTLOOP=1 + echo 13 1 13 1 + '[' 1 -eq 0 ']' expr $COUNT + 1 ++ expr 13 + 1 + COUNT=14 + echo ' + echo '' expr $COUNT \% 4 ++ expr 14 % 4 + COUNTLOOP=2 + echo 14 2 14 2 + '[' 2 -eq 0 ']' expr $COUNT + 1 ++ expr 14 + 1 + COUNT=15 + echo ' + echo '' expr $COUNT \% 4 ++ expr 15 % 4 + COUNTLOOP=3 + echo 15 3 15 3 + '[' 3 -eq 0 ']' expr $COUNT + 1 ++ expr 15 + 1 + COUNT=16 + echo ' + echo '' echo "$CAPLINE
' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap6.jpeg jpeg + _thumb=cap6.thumb.jpg + '[' '!' -s thumb/cap6.thumb.jpg ']' + echo Converting cap6.jpeg... Converting cap6.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap6.jpeg jpeg + _640=cap6.640.jpg + '[' '!' -s 640/cap6.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap6.jpeg jpeg + _800=cap6.800.jpg + '[' '!' -s 800/cap6.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap6.jpeg jpeg + _1024=cap6.1024.jpg + '[' '!' -s 1024/cap6.1024.jpg ']' basename $i $FROM ++ basename cap6.jpeg jpeg + _1600=cap6.1600.jpg + '[' '!' -s 1600/cap6.1600.jpg ']' + echo '

' + echo '13: cap6.jpeg' + echo '
' + echo 'cap6.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap6.640.jpg ++ cut -f 1 + SIZE=32K + echo '(32K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap6.800.jpg ++ cut -f 1 + SIZE=40K + echo '(40K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap6.1024.jpg ++ cut -f 1 + SIZE=56K + echo '(56K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap6.1600.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' basename $i .jpeg ++ basename cap6.jpeg .jpeg + CAPTION=cap6 + '[' -e cap6.txt ']' + '[' -e cap6.html ']' + CAPLINE=

 ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap7.jpeg jpeg + _thumb=cap7.thumb.jpg + '[' '!' -s thumb/cap7.thumb.jpg ']' + echo Converting cap7.jpeg... Converting cap7.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap7.jpeg jpeg + _640=cap7.640.jpg + '[' '!' -s 640/cap7.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap7.jpeg jpeg + _800=cap7.800.jpg + '[' '!' -s 800/cap7.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap7.jpeg jpeg + _1024=cap7.1024.jpg + '[' '!' -s 1024/cap7.1024.jpg ']' basename $i $FROM ++ basename cap7.jpeg jpeg + _1600=cap7.1600.jpg + '[' '!' -s 1600/cap7.1600.jpg ']' + echo '

' + echo '14: cap7.jpeg' + echo '
' + echo 'cap7.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap7.640.jpg ++ cut -f 1 + SIZE=20K + echo '(20K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap7.800.jpg ++ cut -f 1 + SIZE=24K + echo '(24K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap7.1024.jpg ++ cut -f 1 + SIZE=36K + echo '(36K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap7.1600.jpg ++ cut -f 1 + SIZE=20K + echo '(20K) ' + echo '
' basename $i .jpeg ++ basename cap7.jpeg .jpeg + CAPTION=cap7 + '[' -e cap7.txt ']' + '[' -e cap7.html ']' + CAPLINE=

   ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap8.jpeg jpeg + _thumb=cap8.thumb.jpg + '[' '!' -s thumb/cap8.thumb.jpg ']' + echo Converting cap8.jpeg... Converting cap8.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap8.jpeg jpeg + _640=cap8.640.jpg + '[' '!' -s 640/cap8.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap8.jpeg jpeg + _800=cap8.800.jpg + '[' '!' -s 800/cap8.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap8.jpeg jpeg + _1024=cap8.1024.jpg + '[' '!' -s 1024/cap8.1024.jpg ']' basename $i $FROM ++ basename cap8.jpeg jpeg + _1600=cap8.1600.jpg + '[' '!' -s 1600/cap8.1600.jpg ']' + echo '

' + echo '15: cap8.jpeg' + echo '
' + echo 'cap8.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap8.640.jpg ++ cut -f 1 + SIZE=36K + echo '(36K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap8.800.jpg ++ cut -f 1 + SIZE=44K + echo '(44K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap8.1024.jpg ++ cut -f 1 + SIZE=64K + echo '(64K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap8.1600.jpg ++ cut -f 1 + SIZE=32K + echo '(32K) ' + echo '
' basename $i .jpeg ++ basename cap8.jpeg .jpeg + CAPTION=cap8 + '[' -e cap8.txt ']' + '[' -e cap8.html ']' + CAPLINE=

     ' + CONVERT_OPTIONS=-quality 75 -geometry 100x75 basename $i $FROM ++ basename cap9.jpeg jpeg + _thumb=cap9.thumb.jpg + '[' '!' -s thumb/cap9.thumb.jpg ']' + echo Converting cap9.jpeg... Converting cap9.jpeg... + CONVERT_OPTIONS=-quality 75 -geometry 640x480 basename $i $FROM ++ basename cap9.jpeg jpeg + _640=cap9.640.jpg + '[' '!' -s 640/cap9.640.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 800x600 basename $i $FROM ++ basename cap9.jpeg jpeg + _800=cap9.800.jpg + '[' '!' -s 800/cap9.800.jpg ']' + CONVERT_OPTIONS=-quality 75 -geometry 1024x768 basename $i $FROM ++ basename cap9.jpeg jpeg + _1024=cap9.1024.jpg + '[' '!' -s 1024/cap9.1024.jpg ']' basename $i $FROM ++ basename cap9.jpeg jpeg + _1600=cap9.1600.jpg + '[' '!' -s 1600/cap9.1600.jpg ']' + echo '

' + echo '16: cap9.jpeg' + echo '
' + echo 'cap9.jpeg
' + echo '' + echo '640x480' du -sh 640/$_640 | cut -f 1 ++ du -sh 640/cap9.640.jpg ++ cut -f 1 + SIZE=20K + echo '(20K) ' + echo '
' + echo '800x600' du -sh 800/$_800 | cut -f 1 ++ du -sh 800/cap9.800.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' + echo '1024x768' du -sh 1024/$_1024 | cut -f 1 ++ du -sh 1024/cap9.1024.jpg ++ cut -f 1 + SIZE=36K + echo '(36K) ' + echo '
' + echo '1600x1200' du -sh 1600/$_1600 | cut -f 1 ++ du -sh 1600/cap9.1600.jpg ++ cut -f 1 + SIZE=28K + echo '(28K) ' + echo '
' basename $i .jpeg ++ basename cap9.jpeg .jpeg + CAPTION=cap9 + '[' -e cap9.txt ']' + '[' -e cap9.html ']' + CAPLINE=

       
" >> index.html + echo '        ' echo "

[back]" >> index.html + echo '

[back]' ######################################################################### # Tagline at the bottom # you can turn this off by toggling the "CREDIT" variable at the top ######################################################################### if [ $CREDIT -eq 1 ] then echo "

Generated by " >> index.html echo "imgconvert" >> index.html echo " $IMGCONVERT_VERSION" >> index.html fi + '[' 1 -eq 1 ']' + echo '

Generated by ' + echo 'imgconvert' + echo ' 0.2' ############################ echo "" >> index.html + echo '' tidy -wrap 3000 -m -i -q -raw index.html + tidy -wrap 3000 -m -i -q -raw index.html line 1 column 1 - Warning: missing declaration line 12 column 1 - Warning: discarding unexpected line 12 column 6 - Warning: discarding unexpected line 12 column 14 - Warning: discarding unexpected

line 93 column 7 - Warning: missing line 174 column 7 - Warning: missing line 255 column 7 - Warning: missing line 336 column 1 - Warning: discarding unexpected line 336 column 12 - Warning: missing line 255 column 87 - Warning: missing line 12 column 31 - Warning: lacks "summary" attribute line 93 column 95 - Warning:
lacks "summary" attribute line 174 column 95 - Warning:
lacks "summary" attribute line 255 column 95 - Warning:
lacks "summary" attribute exit; + exit