On Thu, Feb 13, 2003 at 10:24:57AM -0800, Herb Lewis wrote: > > > Isn't the second check for newline redundant? > > > > Looks like it to me. > > Only redundant if we can guarentee that the cmd string will only have > one \n at the end and no other ones embeded in the string. I don't > know enough about rpcclient to know if this is true.
I think Martin and I decided that the check was necessary, and that the whole pile of crummy code should be trashed and replaced with popt. (-: Tim.