Hi Danek,

Without calculating the maximum width of the output data fields, it's
not possible to ensure that headers and data are correctly aligned when
the data is tab separated. 

I can accept that there's no need to make headers align with data when
the output is specified as -F tsv, but surely it's a good thing if it
is? Otherwise there would be no point in ever requesting that headers are
present with parseable data, in which case I would be back at the solution
that I supplied yesterday.

I'll remove the comma separated format code.

Gary

On Thu, Jan 28, 2010 at 10:36:57AM -0800, Danek Duvall wrote:
> Gary Pennington wrote:
> 
> > I've also tried to address Danek's feedback about minimising the special
> > processing required for different output formats.
> 
> That you did, but what you ended up with was incredibly overengineered.
> It's not clear to me why you need to dynamically set the field widths, or
> the column values, for instance.  You're allowing for comma-separated
> arguments to -F, but then telling the user they're illegal.  You're messing
> with column widths in the tab-separated output, which makes no sense.
> 
> Please do this sensibly.
> 
> Thanks,
> Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to