#!/bin/csh -f #--------- groff a file with tmac.qo and produce file.dvi # usage: g2dvi file #......... if you use tmac.xx replace -mqo with -mxx set fn = $1 echo " " if( "$1" == "" ) then echo -n " --- g2dvi file --- Enter filename: " set fn = $< endif groff -tepC -mqo -Tdvi $fn > "$fn".dvi exit ### replaces # alias g2dvi 'groff -tepC -mqo -Tdvi \!* > "\!^".dvi &' # see also: g2ps