Oops, forgot to drop the input redirect... This: /usr/bin/pstotext <$tf Should be this: /usr/bin/pstotext $tf Mark wrote: