#! /bin/sh rm -rf output mkdir output ./genfract -w 1500 -h 1000 -g -0.749876x0.158976x0.022968x0.015312 > tmp.pdl PALETTES=`find favpals -name '*' -type f` for p in $PALETTES; do OUTNAME=`basename $p .MAP`.gif cat tmp.pdl | ./pdl2ppm -p $p | ppmtogif > output/$OUTNAME; done;