]> git.lizzy.rs Git - plan9front.git/blob - rc/bin/dpost
fstype: make copy of first sector in /env to avoid unaligned reads on the disk (for...
[plan9front.git] / rc / bin / dpost
1 #!/bin/rc
2 # dpost [-f] [file...] - convert troff output to postscript,
3 #       optionally include font def'ns
4 # exec lp -dstdout $*
5 if (! ~ $#* 0 && ~ $1 -f) {
6         shift
7         aux/tr2post $* | addpsfonts
8 }
9 if not
10         exec aux/tr2post $*