home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / bin / dumphint < prev    next >
Encoding:
Text File  |  2005-11-16  |  363 b   |  21 lines

  1. #!/bin/sh
  2. # $Id: dumphint,v 1.1.4.1 2003/12/12 22:07:58 giles Exp $
  3. # Linearized PDF hint formatting utility.
  4.  
  5. OPTIONS="-dSAFER -dDELAYSAFER"
  6. while true
  7. do
  8.     case "$1" in
  9.     -*) OPTIONS="$OPTIONS $1" ;;
  10.     *)  break ;;
  11.     esac
  12.     shift
  13. done
  14.  
  15. if [ $# -ne 1 ]; then
  16.     echo "Usage: `basename $0` input.pdf" 1>&2
  17.     exit 1
  18. fi
  19.  
  20. exec gs -q -dNODISPLAY $OPTIONS -- dumphint.ps "$1"
  21.