]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
Neither printf (and as is commonly known) nor print need parens in awk
authordteske <dteske@FreeBSD.org>
Tue, 13 Dec 2016 02:12:00 +0000 (02:12 +0000)
committerdteske <dteske@FreeBSD.org>
Tue, 13 Dec 2016 02:12:00 +0000 (02:12 +0000)
usr.sbin/bsdinstall/scripts/wlanconfig

index 9b26196d551d32eb82bb3297c9146406ff3eeac9..eecee25529b7d285146e116509507a4f01c448ba 100755 (executable)
@@ -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 \