#!/bin/sh
# bbox - show the %%BoundingBox of a file to stdout
gs -dNOPAUSE -dBATCH -sDEVICE=bbox $1 -c showpage 2>&1 | egrep '^%' | head -2
