shithub: riscv

ref: a99b0166432f1773ae50811c34d43f0c19ab2fa5
dir: /rc/bin/dpost/

View raw version
#!/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 $*