Do not remove -all|excat when not sourrounded by space in query.sh

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2023-06-01 15:10:05 +02:00
parent ba3e290915
commit 088b2c2920
No known key found for this signature in database

View file

@ -50,7 +50,7 @@ fi
# Strip valid options, leaving only the domain and invalid options # Strip valid options, leaving only the domain and invalid options
# This allows users to place the options before or after the domain # This allows users to place the options before or after the domain
options=$(sed -E 's/ ?-(all|exact) ?//g' <<< "${options}") options=$(sed -E 's/ +-(all|exact) ?//g' <<< "${options}")
# Handle remaining options # Handle remaining options
# If $options contain non ASCII characters, convert to punycode # If $options contain non ASCII characters, convert to punycode