ref: 7829c6ca83c00d34d269a2df7e71eab9c08d71e0
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