Debian Codegraph @

lib/pphs

raw
1 #!/bin/sh
2 # Print the Primary Hint Stream from a linearized PDF file. Usage:
3 # pphs filename.pdf
4 # Output goes to stdout.
5
6 # This definition is changed on install to match the
7 # executable name set in the makefile
8 GS_EXECUTABLE=gs
9 gs="`dirname \"$0\"`/$GS_EXECUTABLE"
10 if test ! -x "$gs"; then
11 gs="$GS_EXECUTABLE"
12 fi
13 GS_EXECUTABLE="$gs"
14
15 exec "$GS_EXECUTABLE" -q -P- -dSAFER -dNODISPLAY -- pphs.ps "$@"