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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to