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

View File

@ -278,7 +278,7 @@ while :; do
done done
[ "$ENCRYPTION" ] || ENCRYPTION=$( echo "$NETWORKS" | [ "$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 if echo $ENCRYPTION | grep -q 'PSK'; then
PASS=$( $DIALOG \ PASS=$( $DIALOG \