Bacula-users

[Bacula-users] bconsole scripting

2010-05-27 11:48:39
Subject: [Bacula-users] bconsole scripting
From: Kern Sibbald <kern AT sibbald DOT com>
To: bacula-devel AT lists.sourceforge DOT net
Date: Thu, 27 May 2010 17:45:52 +0200
On Thursday 27 May 2010 17:23:46 Morty Abzug wrote:
> On Tue, May 25, 2010 at 05:01:52PM +0200, Kern Sibbald wrote:
> > I don't think there is any need for either a -e option nor a -b option. 
> > Both can easily be done via the shell.
>
>  -e can indeed easily be done from the shell.  But the caller isn't
> always a shell environment.  It's usually possible to workaround this,
> of course, with something like sh -c "echo mount | bconsole"; -e would
> just make this easier.
>
>  -b cannot easily be done by the shell.  The intent is to remove
> formatting done for human convenience.

I have been doing *lots* of scripting of bconsole for 8 years no with no 
problems, so I really don't understand the problem.

What do you mean by "remove formatting done for human convenience"?


Kern

------------------------------------------------------------------------------

_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users