On Thu, 06 May 2010, Steve Polyack wrote:

> These are certainly good points.  My thought is just that instead of 
> breaking out of bconsole to perform these tasks can be cumbersome.  
> Personally, I feel that it's something that I'd use a lot, simply to 
> prevent me from constantly breaking in and out of the interactive 
> bconsole session.  However, perhaps a solution would be to have bconsole 
> parse the pipe character and feed output into the command that follows 
> which could be any arbitrary *nix command (as opposed to 
> writing/including our own version of grep).

For comparison, the Postgresql and MySQL command line interfaces include
something similar to this.

MySQL offers the "pager" command which can be set to "less" or "grep xxxx",
etc. as well as the tee command to also send output to a file.  Postgresql
offers a single:

          \o [FILE]      send all query results to file or |pipe

Neither allow anything as simple as

        SELECT ....... ; | grep blah

though.

Gavin



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

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

Reply via email to