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
dba958af5d
commit
01a2404c35
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309980
@ -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…
Reference in New Issue
Block a user