World4You using _egrep_o

This commit is contained in:
Lorenz Stechauner committed 2020-11-27 17:09:31 +01:00
1 parent d639c7be39
commit 95235d69c2
1 file changed
+2 -2
+2 -2
View File
@@ -15,7 +15,7 @@ dns_world4you_add() {
_debug fulldomain "$fqdn"
_debug txtvalue "$value"
tld=$(echo "$fqdn" | grep -o '[^.]*\.[^.]*$')
tld=$(echo "$fqdn" | _egrep_o '[^.]*\.[^.]*$')
record=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#tld} - 1))")
_login
@@ -69,7 +69,7 @@ dns_world4you_rm() {
_debug fulldomain "$fqdn"
_debug txtvalue "$value"
tld=$(echo "$fqdn" | grep -o '[^.]*\.[^.]*$')
tld=$(echo "$fqdn" | _egrep_o '[^.]*\.[^.]*$')
record=$(echo "$fqdn" | cut -c"1-$((${#fqdn} - ${#tld} - 1))")
_login
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.