david@wiley.UUCP (David Hull) (02/02/89)
Whan I tried to use the +m option to sendbatch to remove the MAXBATCH restriction, a test in the batching loop failed. Quoting the arguement fixed the problem. Also, there was no way to change MINDF from the command line, so I added a -f option. -David *** sendbatch.sh.old Fri Jan 27 13:35:32 1989 --- sendbatch.sh Wed Feb 1 19:25:25 1989 *************** *** 59,64 **** --- 59,66 ---- continue;; +D*) SPOOLDISK='' continue;; + -f*) MINDF=`expr "$rmt" : '-f\(.*\)'` + continue;; esac if test -n "$SPOOLDISK" *************** *** 104,110 **** # make sure $? is zero sentbytes=0 ! while test $? -eq 0 -a $sentbytes -le $MAXBATCH -a \ \( \( $sentbytes -eq 0 -a -s $BATCH/$rmt \) -o \ -s $BATCH/$rmt.work \) do --- 106,112 ---- # make sure $? is zero sentbytes=0 ! while test $? -eq 0 -a $sentbytes -le "$MAXBATCH" -a \ \( \( $sentbytes -eq 0 -a -s $BATCH/$rmt \) -o \ -s $BATCH/$rmt.work \) do