World4You grep -q

pull/3261/head
Lorenz Stechauner 4 years ago
parent 42583cf3bb
commit 198b840059

@ -171,7 +171,7 @@ _get_paketnr() {
domains=$(echo "$form" | _ggrep -E '^\s*([A-Za-z0-9_-]+\.)+[A-Za-z0-9_-]*$' | sed 's/^\s*\(\S*\)$/\1/') domains=$(echo "$form" | _ggrep -E '^\s*([A-Za-z0-9_-]+\.)+[A-Za-z0-9_-]*$' | sed 's/^\s*\(\S*\)$/\1/')
domain='' domain=''
for domain in $domains; do for domain in $domains; do
if [ "$(echo "$domain" | grep -q "$tld\$")" ]; then if $(echo "$domain" | grep -q "$tld\$"; then
break break
fi fi
done done

Loading…
Cancel
Save