In awk, if you're going to append a newline to your printf
AND you're going to print only the argument, just use print
This commit is contained in:
parent
8179d41c00
commit
d811f94e7f
@ -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/ { print \$2 }" )
|
||||
|
||||
if echo $ENCRYPTION | grep -q 'PSK'; then
|
||||
PASS=$( $DIALOG \
|
||||
|
Loading…
x
Reference in New Issue
Block a user