Anybody know ho to concatente this perl script into a do shell script:
ioreg -l -n AirPortDriver | grep APCurrentSSID | sed 's/^.*= "\(.*\)".*$/\1/; s/ /_/g'
(it should render the Airport zone name)
Anybody know ho to concatente this perl script into a do shell script:
ioreg -l -n AirPortDriver | grep APCurrentSSID | sed 's/^.*= "\(.*\)".*$/\1/; s/ /_/g'
(it should render the Airport zone name)
you have to stick a backslash () in front of each double-quote mark and each backslash within the shell script
do shell script "ioreg -l -n AirPortDriver | grep APCurrentSSID | sed 's/^.*= \"\\(.*\\)\".*$/\\1/; s/ /_/g'"