code: plan9front

ref: 76fb145d7508115b755197681c6cb509adc6e4ed
dir: /rc/bin/troff2gif/

View raw version
#!/bin/rc
{/bin/troff $*|/bin/lp -dstdout|/bin/gs -dNOPAUSE -dQUIET '-sOUTPUTFILE='/fd/1 '-sDEVICE=plan9bm' - quit.ps| crop -c 255 255 255 | togif}  >[2] /dev/null