ps2epsi.sh revision 6b15695578f07a3f72c4c9475c1a261a3021472a
#! /bin/sh
TMPDIR="${TMPDIR-/tmp}"
TEMPFILENAME=`mktemp 2>/dev/null || echo "$TMPDIR/tmp-ps-$$.epsi"`
ps2epsi "$1" "${TEMPFILENAME}" > /dev/null 2>&1
rc=0
cat < "${TEMPFILENAME}" || rc=1
rm -f "${TEMPFILENAME}"
exit $rc