svn commit: r309976 - head/usr.sbin/bsdinstall/scripts

Devin Teske dteske at FreeBSD.org
Tue Dec 13 02:07:14 UTC 2016


Author: dteske
Date: Tue Dec 13 02:07:12 2016
New Revision: 309976
URL: https://svnweb.freebsd.org/changeset/base/309976

Log:
  You don't need parentheses for awk's printf

Modified:
  head/usr.sbin/bsdinstall/scripts/wlanconfig

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:04:50 2016	(r309975)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig	Tue Dec 13 02:07:12 2016	(r309976)
@@ -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


More information about the svn-src-all mailing list