echo typeset -i counter=1 outfile=../public_html/$1 if test -s $outfile then read counter < $outfile counter=$counter+1 fi echo $counter > $outfile