Import sources from 2011-03-30 iso image - sys/lib

This commit is contained in:
Taru Karttunen 2011-03-30 16:53:33 +03:00
parent b41b903422
commit e463eb4036
1144 changed files with 388460 additions and 0 deletions

14
sys/lib/lp/spooler/lpdspool Executable file
View file

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