home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / text / tex / pastex / source / dvips / contrib / psfig-tex / pscompress next >
Encoding:
Text File  |  1993-10-28  |  217 b   |  13 lines

  1. #!/bin/csh -f
  2. while ($1 != "") 
  3.     if (-e $1.bb || -e $1.Z) then
  4.         echo will not overwrite $1.bb or $1.Z, skipping
  5.         shift
  6.     else 
  7.         echo "%\!" > $1.bb
  8.         grep \%\%BoundingBox $1 >> $1.bb
  9.         compress $1
  10.         shift
  11.     endif
  12. end
  13.