code: plan9front

ref: b67b2eeac8acf220d33c8e354fe17d8f1d1efdcc
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