Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!vsi1!lmb From: lmb@vicom.COM (Larry Blair) Newsgroups: news.software.b Subject: Bug in sendbatch Message-ID: <1494@vicom.COM> Date: 16 Feb 89 00:27:20 GMT Organization: VICOM Systems Inc., San Jose, CA Lines: 16 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