diff options
author | aiju <aiju@phicode.de> | 2011-07-18 11:01:22 +0200 |
---|---|---|
committer | aiju <aiju@phicode.de> | 2011-07-18 11:01:22 +0200 |
commit | 8c4c1f39f4e369d7c590c9d119f1150a2215e56d (patch) | |
tree | cd430740860183fc01de1bc1ddb216ceff1f7173 /sys/doc/cleanps | |
parent | 11bf57fb2ceb999e314cfbe27a4e123bf846d2c8 (diff) |
added /sys/doc
Diffstat (limited to 'sys/doc/cleanps')
-rwxr-xr-x | sys/doc/cleanps | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/doc/cleanps b/sys/doc/cleanps new file mode 100755 index 000000000..67f87b655 --- /dev/null +++ b/sys/doc/cleanps @@ -0,0 +1,13 @@ +#!/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 |