smbclient prompting behaviour stderr vs. stdout
jpeach at samba.org
Wed Jun 14 23:00:00 GMT 2006
On Wed, 2006-06-14 at 09:49 +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.
3 it is
James Peach | jpeach at samba.org
More information about the samba-technical