Eugene Grosbein 8e725dacd2 ifconfig(8): make it possible to filter output by interface group.
Now options -g/-G allow to select/unselect interfaces by groups
in the "ifconfig -a" output just like already existing -d/-u.

Examples:

to exclude loopback from the list: ifconfig -a -G lo
to show vlan interfaces only: ifconfig -a -g vlan
to show tap interfaces that are up: ifconfig -aug tap

Arguments to -g/-G may be shell patterns and both may be specified.
Later options -g/-G override previous ones.

MFC after:		2 weeks
Relnotes:		yes
Differential Revision:	https://reviews.freebsd.org/D25029
2020-06-04 14:44:44 +00:00
..
2019-08-13 20:06:55 +00:00
2019-11-21 01:24:49 +00:00
2019-11-21 01:24:49 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-08-13 20:06:55 +00:00
2019-12-22 05:44:29 +00:00
2020-03-29 20:03:46 +00:00
2019-12-22 01:22:51 +00:00
2020-05-21 01:55:35 +00:00
2017-10-31 00:07:04 +00:00
2019-12-11 17:37:53 +00:00
2019-11-21 01:24:49 +00:00
2019-12-11 17:37:53 +00:00
2020-05-21 01:55:35 +00:00
2019-06-25 04:50:09 +00:00