Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!mcvax!inria!imag!pierre From: pierre@imag.UUCP (Pierre LAFORGUE) Newsgroups: news.software.b Subject: Re: news 2.11 src patch #10 Message-ID: <2025@imag.UUCP> Date: Mon, 12-Oct-87 12:09:53 EDT Article-I.D.: imag.2025 Posted: Mon Oct 12 12:09:53 1987 Date-Received: Wed, 14-Oct-87 04:47:11 EDT References: <44104@beno.seismo.CSS.GOV> Reply-To: pierre@imag.UUCP (Pierre LAFORGUE) Organization: IMAG, University of Grenoble, France Lines: 15 Keywords: #11 coming soon... In article <44104@beno.seismo.CSS.GOV> rick@seismo.CSS.GOV (Rick Adams) writes: %Description: % This is patch #10 for news 2.11 src. % .... % Sendbatch fixed to work when 'test' is a builtin. % .... %! : '@(#)sendbatch.sh 1.11 9/24/87' % .... %! while test $? -eq 0 -a \( \( -n "$testit" -s BATCHDIR/$rmt \) -o -s BATCHDIR/$rmt.work -o \( -n "$DOIHAVE" -a -s BATCHDIR/$rmt.ihave \) \) This is cleaner, but it miss a "-a", at least on Vax/BSD4.3 ; it should be : while test $? -eq 0 -a \( \( -n "$testit" -a -s BATCHDIR/$rmt \) -o -s BATCHDIR/$rmt.work -o \( -n "$DOIHAVE" -a -s BATCHDIR/$rmt.ihave \) \) -- Pierre Laforgue pierre@imag.imag.fr 76.51.46.30