You don't need parentheses for awk's printf
This commit is contained in:
parent
0724c87c95
commit
191441eed8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309976
@ -226,7 +226,7 @@ while :; do
|
||||
|
||||
SCAN_RESULTS=$( wpa_cli scan_results )
|
||||
NETWORKS=$( echo "$SCAN_RESULTS" | awk -F '\t' '
|
||||
/..:..:..:..:..:../ && $5 { printf("\"%s\"\t%s\n", $5, $4) }
|
||||
/..:..:..:..:..:../ && $5 { printf "\"%s\"\t%s\n", $5, $4 }
|
||||
' | sort | uniq )
|
||||
|
||||
if [ ! "$NETWORKS" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user