smbclient prompting behaviour stderr vs. stdout

Jeremy Allison jra at samba.org
Wed Jun 14 19:15:58 GMT 2006


On Wed, Jun 14, 2006 at 09:49:33AM +0200, Volker Lendecke wrote:
> On Wed, Jun 14, 2006 at 02:45:45PM +1000, James Peach wrote:
> > 	1. the prompt always appears on stderr
> > 	2. the prompt always appears on stdout in
> > 	interactive mode, stderr otherwise
> > 	3. the prompt always appears on stdout, and
> > 	does not appear if we are in interactive mode
> 
> You probably mean non-interactive mode in 3....
> 
> I think I'd go with 3. We don't need a prompt if stdin is
> from a script.

I vote for #3 also.

Jeremy.


More information about the samba-technical mailing list