ref: 2e4717b4e21ee49ef77271fed6e4ad6b38f532b1
dir: /sys/doc/cleanps/
#!/bin/rc
if(! ~ $#* 1){
echo usage: cleanps infile >[1=2]
exit usage
}
{
echo %!PS-Adobe-2.0
cat /sys/doc/preamble
grep -v '^%%DocumentFonts' $1
} > cleanps.tmp
mv cleanps.tmp $1