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

Devin Teske dteske at FreeBSD.org
Tue Dec 13 02:12:01 UTC 2016


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 \


More information about the svn-src-all mailing list