nmcli pollutes terse output with unrequested information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
For example on my system with a wifi device named wlp2s0, run the following command which should just print out the three requested fields:
$ nmcli -t -f SSID,CHAN,FREQ d wifi list ifname wlp2s0
wlp2s0
Canonical:1:2412 MHz
Canonical:6:2437 MHz
Canonical:11:2462 MHz
Canonical:40:5200 MHz
Canonical:36:5180 MHz
...
The first line of output is the interface name and should not be included.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: network-manager 1.4.4-1ubuntu3.2
ProcVersionSign
Uname: Linux 4.10.0-32-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Fri Oct 13 10:17:13 2017
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2017-04-18 (177 days ago)
InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
IpRoute:
default via 10.20.64.1 dev enxa0cec802a800 proto static metric 100
10.20.64.0/21 dev enxa0cec802a800 proto kernel scope link src 10.20.66.44 metric 100
10.111.44.0/24 dev lxdbr0 proto kernel scope link src 10.111.44.1
169.254.0.0/16 dev enxa0cec802a800 scope link metric 1000
NetworkManager.
[main]
plugins=
[ifupdown]
managed=false
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
lxdbr0 bridge connected /org/freedeskto
enxa0cec802a800 ethernet connected /org/freedeskto
wlp2s0 wifi disconnected /org/freedeskto
lo loopback unmanaged /org/freedeskto
nmcli-nm:
RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
running 1.4.4 connected started full enabled enabled enabled enabled enabled