[news.software.b] Bug in sendbatch

lmb@vicom.COM (Larry Blair) (02/16/89)

There is a bug in the argument parsing in ``sendbatch''.  The arguments are
parsed using a loop that begins:

for rmt in $*

The Bourne shell, at least under SunOS 3.5, breaks the command line into
separate words, whether or not you have parameters with embedded spaces.
This means that I cannot enter an argument such as ``"-u-r -z -gc"'' to
change the UUX_FLAGS.  The fix is to change the line to:

for rmt

This will loop for $rmt set to each positional parameter, including the
embedded spaces.
-- 
Larry Blair   ames!vsi1!lmb   lmb@vicom.com