On Sun, Dec 11, 2016 at 04:53:13PM +0100, René J.V. Bertin wrote: > > 'port info' output is already parsed by scripts today. It's output is > > already machine-readable when using -q info --line --$fieldname. Your > > change breaks this. > > Just as machine readable as this line.
Wrong, since 'port -q info --line --$fieldname' by definition only contains information on $fieldname, whereas your message contains natural language. > One other usual thing that be done is ensuring that ui_* print to a > different stream than the one `port -q info --line` prints to. I would > hope that Tcl doesn't make that needlessly difficult. That would happen if you were using ui_warn or ui_error. -- Clemens
