Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/lib/lp/stat/lpd
#!/bin/rc if (! ~ $DEBUG '') flag x + echo transmission log: if (test -r $LPLIB/log/$LPDEST^.st) { tail -3 $LPLIB/log/$LPDEST^.st echo } echo printer queue: /$cputype/bin/aux/lpdsend -q -d$OUTDEV $DEST_HOST