echo "filename.dat is input data, filename.out is output generated
" > index.html for d in * do echo "$d" >> index.html done