From 088b2c29205c8da2145de664cf2b0978e6fcba79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Thu, 1 Jun 2023 15:10:05 +0200 Subject: [PATCH] Do not remove -all|excat when not sourrounded by space in query.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- advanced/Scripts/query.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/query.sh b/advanced/Scripts/query.sh index 1d3b0a29..bfa21247 100755 --- a/advanced/Scripts/query.sh +++ b/advanced/Scripts/query.sh @@ -50,7 +50,7 @@ fi # Strip valid options, leaving only the domain and invalid options # 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 # If $options contain non ASCII characters, convert to punycode