plan9fox/rc/bin/dpost
2011-03-30 18:29:07 +00:00

11 lines
220 B
Bash
Executable file

#!/bin/rc
# dpost [-f] [file...] - convert troff output to postscript,
# optionally include font def'ns
# exec lp -dstdout $*
if (! ~ $#* 0 && ~ $1 -f) {
shift
aux/tr2post $* | addpsfonts
}
if not
exec aux/tr2post $*