summaryrefslogtreecommitdiff
path: root/sys/doc/cleanps
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-07-19 05:12:01 +0200
committercinap_lenrek <cinap_lenrek@centraldogma>2011-07-19 05:12:01 +0200
commitb6eee91029e9b7ed76d872d18aa88dc4d85a7e56 (patch)
treeb187989a64eedab41bc32ade5400325389bcecba /sys/doc/cleanps
parent3b8c921bfa982bcdf287bb34f7a6f1b96c4b5ec8 (diff)
parent8c4c1f39f4e369d7c590c9d119f1150a2215e56d (diff)
merge
Diffstat (limited to 'sys/doc/cleanps')
-rw-r--r--sys/doc/cleanps13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/doc/cleanps b/sys/doc/cleanps
new file mode 100644
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