On Mon, Nov 16, 2009 at 12:53 PM, martin f krafft <[email protected]> wrote: > also sprach James Vega <[email protected]> [2009.11.16.0555 +0100]: >> On Wed, Sep 17, 2008 at 02:55:14PM +0100, martin f krafft wrote: >> > bts select rocks, but it can only output bug numbers. It would be >> > awesome if it could also display other fields, e.g. when invoked >> > like so: >> > >> > bts select number package title [where] submitter:[email protected] >> > >> > output could be either in a single line with a (configurable) >> > delimiter, such as tab or |, or in RFC822/LDAP style: >> > >> > Number: 123456 >> > Package: foo >> > Title: bar >> > % >> > ... >> >> A couple days after this bug was submitted, we released a new >> sub-command, status, which looks like it fits the bill: >> >> bts select submitter:[email protected] | bts status file:- | egrep >> '^(subject|package|bug_num)' > > Yes, this fits the bill, as you say, and it's more unix-y, but I do > like my syntax better; imagine it doing table output! ;) > > If only /usr/bin/bts weren't perl... :(
Adapting status to accept a list of fields to print isn't out of the question. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]> -- To unsubscribe, send mail to [email protected].
