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

Log:
  Neither printf (and as is commonly known) nor print need parens in awk

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

Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:11:09 2016        
(r309977)
+++ head/usr.sbin/bsdinstall/scripts/wlanconfig Tue Dec 13 02:12:00 2016        
(r309978)
@@ -278,7 +278,7 @@ while :; do
 done
 
 [ "$ENCRYPTION" ] || ENCRYPTION=$( echo "$NETWORKS" |
-       awk -F '\t' "/^\"$NETWORK\"\t/ { printf(\"%s\n\", \\\$2 ) }" )
+       awk -F '\t' "/^\"$NETWORK\"\t/ { printf \"%s\n\", \\\$2 }" )
 
 if echo $ENCRYPTION | grep -q 'PSK'; then
        PASS=$( $DIALOG \
_______________________________________________
[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