1 #!/usr/local/plan9/bin/rc 2 3 if (! ~ $DEBUG '') flag x + 4 5 echo transmission log: 6 if (test -r $LPLIB/log/$LPDEST^.st) { 7 tail -3 $LPLIB/log/$LPDEST^.st 8 echo 9 } 10 echo printer queue: 11 lpdsend -q -d$OUTDEV $DEST_HOST