xref: /plan9/rc/bin/dpost (revision ebbc20e5471a99fea471766f93d3489b41066397)
1#!/bin/rc
2# dpost [-f] [file...] - convert troff output to postscript,
3#	optionally include font def'ns
4# exec lp -dstdout $*
5if (! ~ $#* 0 && ~ $1 -f) {
6	shift
7	aux/tr2post $* | addpsfonts
8}
9if not
10	exec aux/tr2post $*
11