79172061

Date: 2024-11-09 03:36:44
Score: 0.5
Natty:
Report link

A faster version for Sequoia (which also determines the correct WiFi interface enX):

ipconfig getsummary "$(networksetup -listallhardwareports | awk '/Wi-Fi|AirPort/{getline; print $NF}')" | grep '  SSID : ' | awk -F ': ' '{print $2}'

Takes 46 ms vs. 3.8 s on my system.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: David P.