Предисловие: я добавил alias airport="sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport"
в свой .zshrc
.
myuser:~/ $ airport prefs [17:19:30]
AirPort preferences for en1:
DisconnectOnLogout=NO
JoinMode=Automatic
Unable to retrieve JoinModeFallback
RememberRecentNetworks=YES
RequireAdminIBSS=NO
RequireAdminNetworkChange=NO
RequireAdminPowerToggle=NO
WoWEnabled=YES
myuser:~/ $ airport prefs | grep "JoinMode=" [17:20:36]
Unable to retrieve JoinModeFallback
JoinMode=Automatic
Почему этот grep
не фильтрует строку JoinModeFallback
?