Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
 
3
if (! ~ $DEBUG '') flag x +
4
 
5
if (~ $#* 0) *='/fd/0'
6
 
7
for (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
}