plan9fox/sys/doc/cleanps
cinap_lenrek b6eee91029 merge
2011-07-19 05:12:01 +02:00

14 lines
184 B
Bash

#!/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