Ahmed AL-Saigh
2009-Apr-01 08:40 UTC
[Bridge] "#brctl show" command output need to be modified
This command output should be modified " aligned " to fit the text processing tool to can understand what I mean please try to cut the interfaces column with any text processing tool "awk , cut or even python script" but make sure that you have some bridges with some interfaces -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux-foundation.org/pipermail/bridge/attachments/20090401/956cc0df/attachment.htm
Stephen Hemminger
2009-Apr-01 15:52 UTC
[Bridge] "#brctl show" command output need to be modified
On Wed, 1 Apr 2009 10:40:51 +0200 Ahmed AL-Saigh <shabanadevel at gmail.com> wrote:> This command output should be modified " aligned " to fit the text > processing tool > to can understand what I mean please try to cut the interfaces column with > any text processing tool > "awk , cut or even python script" > but make sure that you have some bridges with some interfacesUnfortunately existing output format can never be changed because users already have scripts that parse the existing format. But, if you want to add a new output format (and option to enable it), I would be interested in incorporating it. How about: brctl --xml show