#!/bin/sh for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 do echo "doing $i.jpg" # jpeg2ps -h -r 72 $i.jpg > $i.ps jpeg2ps -h $i.jpg > $i.eps done