1#!/bin/rc 2 3if (! ~ $DEBUG '') flag x + 4 5if (~ $#* 0) *='/fd/0' 6 7for (j in $*) { 8 if (~ $j '/fd/0' || test -f $j) { 9 @{bind -b $LPLIB/process /bin; $LPPROC} < $j | /$cputype/bin/aux/lpdsend -d$OUTDEV -tf -H$LPMACHID -P$LPUSERID $DEST_HOST >[2]$LPLOGDIR/$LPDEST^.st 10 } 11 if not { 12 echo $j cannot be opened >[1=2] 13 } 14} 15