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

This commit is contained in:
Devin Teske 2016-12-13 02:12:00 +00:00
parent 5943bcd19f
commit be34885e2a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309978

View File

@ -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 \