Bacula-users

Re: [Bacula-users] Feature idea feeler - bconsole "include / grep"

2010-05-06 18:49:10
Subject: Re: [Bacula-users] Feature idea feeler - bconsole "include / grep"
From: Wolfgang Denk <wd AT denx DOT de>
To: Steve Polyack <korvus AT comcast DOT net>
Date: Fri, 07 May 2010 00:46:13 +0200
Dear Steve,

In message <4BE2F9A3.1050609 AT comcast DOT net> you wrote:
> 
> Now that we have tab completion within bconsole, an additional option 
> has come to mind which you can see in various other CLI environments 
> (IOS, *NIX shells): the ability to pipe the output of commands through a 
> various set of filters.

Yes, but the Unix way of doing things is also not to reinvent the
wheel again and again and again.

> I realize that I can accomplish the same thing with SQL queries or 
> submit bconsole commands via a shell and filtering the output, but this 
> still seems like it would streamline bconsole usage.

Hm... why do you think a artifical extension of outputy handling in
the bconsole code would be any better that a plain shell command like

echo list files jobid=999 | bconsole | grep filenameImLookingFor

?

It would only be duplicated code (at best), added complexity and added
bugs.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd AT denx DOT de
It's hard to think of you as the end result of millions of  years  of
evolution.

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

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