#!/bin/sh
# Convert PDF to PostScript.

if [ $# -lt 1 -o $# -gt 2 ]; then
	echo "Usage: `basename $0` input.pdf output.ps" 1>&2
	exit 1
fi

exec gs -q -dNODISPLAY -sPSFile=$2 -dNOPAUSE $1 -c quit
