1#!/bin/rc 2 3if(! ~ $#* 1){ 4 echo usage: cleanps infile >[1=2] 5 exit usage 6} 7 8{ 9echo %!PS-Adobe-2.0 10cat /sys/doc/preamble 11grep -v '^%%DocumentFonts' $1 12} > cleanps.tmp 13mv cleanps.tmp $1 14