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
Seemingly Similar Threads
- [Bridge] BRCTL is displaying only 32 bridge interfaces even /proc/net/dev is showing more then that
- [Bridge] When I add br0 (brctl addbr br0), and I show bridge list (brctl show) it's eth0 which is in the list. It's a bug ?
- [Bridge] why ./brctl showmacs br0 display nothing?
- [Bridge] brctl insmod
- [Bridge] two fields are missing in brctl output when using /sys