Doesn't work on non-english Ubuntu distros
Closed this issue · 0 comments
msn0 commented
Command nmcli
is localized on my Ubuntu 14.04. Here is my output
$ nmcli -t -f active,ssid dev wifi
tak:'FRITZ!Box Fon WLAN 7360 SL'
nie:'HTC Portable Hotspot'
In this case regex /^\s*yes:(.+)\s*$/gm
doesn't match. Using iwgetid -r
might be an alternative solution.