From 47e5a829412fe0ffc7c576cb8e033e00c25b3244 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 6 Aug 2023 10:45:37 +0530 Subject: damb: simpler shell pattern --- damb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'damb') diff --git a/damb b/damb index c5b3fe9..8ae40f0 100755 --- a/damb +++ b/damb @@ -174,8 +174,7 @@ write_kv() val="$(trim "$2")" case "$key" in - [![:cntrl:][:print:]]*) ;; # check for unicode chars - *) key="$(gen_ico "$val") ${key}" + [[:print:]]*) key="$(gen_ico "$val") ${key}" ;; esac parse_keys getval "$key" > /dev/null && -- cgit v1.2.3