On Sun, 10 Aug 2008, Stefano Zacchiroli wrote: > On Sun, Aug 10, 2008 at 02:57:43PM -0700, Don Armstrong wrote: > > The attached diff gives the ability to use the status bits in the bts > > to do fun things, like the following: > > > > $ ./scripts/bts.pl status 300000 > > bug_num: 300000 > > Wonderful! > > Just a comment on the input/output format. Now it is: > > field: value > > which is RFC-822 like, but as such not really script friendly, something > like the following would be more IMO: > > field=value > > using the latter one can "cut -f 2 -d=". > > Using tab as a separator would make even easier to cut over the output, > but harder to provide input. I think that '=' is a good compromise.
Doesn't really matter to me; the reason to avoid =, is because I use it in the hash keys that I send out too (well, =>). Tab is probably more useful; even better would be to make it configurable, but either way is fine. Something else that may be useful is to modify the patch even more to allow returning a table of bugs tab separated. Don Armstrong -- It was said that life was cheap in Ankh-Morpork. This was, of course, completely wrong. Life was often very expensive; you could get death for free. -- Terry Pratchet _Pyramids_ p25 http://www.donarmstrong.com http://rzlab.ucr.edu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]