#!/bin/sh

#Panzerkopf: Using a temporary file instead of pipe.

[ ! $1 ] && exit

ps2pdf "$@" /tmp/$$.pdf
#ps2pdf  -sPAPERSIZE=a4 "$@" /tmp/$$.pdf #charlie6, comment above and uncomment this line if paper size is A4
epdfview /tmp/$$.pdf
rm -f /tmp/$$.pdf
