changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / rc/bin/dpost

changeset 7243: 34f64dcbbc25
parent: efddda59690a
author: cinap_lenrek@felloff.net
date: Fri, 17 May 2019 18:14:10 +0200
permissions: -rwxr-xr-x
description: 7l: don't hardcode 4k pagesize, use INITRND
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 $*