shithub: riscv

ref: 435a0f18d5a5f372b4d5a30953e8d6bfd9cf6d17
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 $*