From 368ca204df61a5e24c71d4697746603e2dcc94d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Fri, 22 Sep 2023 15:27:40 +0200 Subject: [PATCH] case insensitive search --- handlers/40_search.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/40_search.sh b/handlers/40_search.sh index c9bc627..ca068ab 100644 --- a/handlers/40_search.sh +++ b/handlers/40_search.sh @@ -13,7 +13,7 @@ words="$( GET q | awk ' FS = "([] \t\n\r!\"#'\''()*+,./:;<=>?\\^_`{|}~[-]|%[0-9A-Fa-f]{2}|'"$(printf '\342\200[\200-\277]|\342\201[\201-\257]')"')+"; fi } - { for (n = 1; n <= NF; n++) printf "%s ", $n; } + { for (n = 1; n <= NF; n++) printf "%s ", tolower($n); } ')" for w in ${words}; do -- 2.39.2