This BASH script uses the built in function ps2pdf in a for loop to create png files in a directory from multiple postscript files with the extension
.eps. The newly created files are put in the same directory for LATEX to create postscript or pdf output.