Browse Source

remove awk

pull/1054/head
hiska 8 years ago
committed by GitHub
parent
commit
4b4debc86b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_dnsever.sh

2
dnsapi/dns_dnsever.sh

@ -207,7 +207,7 @@ dnsever_select_user_domain() {
fulldomain="$1"
response="$2"
domains=$(printf "%s\n" "$response" | awk '/<SELECT name="user_domain"/,/<\/SELECT>/' | _egrep_o "<OPTION value=\".+\"" | cut -f2 -d= | tr -d \")
domains=$(printf "%s\n" "$response" | _egrep_o "<OPTION value=\".+\"" | cut -f2 -d= | tr -d \")
_debug domains "$domains"
nmax=0

Loading…
Cancel
Save