diff options
author | sinanmohd <sinan@firemail.cc> | 2023-08-06 10:45:37 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-08-06 11:21:12 +0530 |
commit | 47e5a829412fe0ffc7c576cb8e033e00c25b3244 (patch) | |
tree | a5a70b570c0d2f96c51792b53501e69d319006c5 | |
parent | 253213e9dae4cfd6b7b5406d5a53be23553cb7b8 (diff) |
damb: simpler shell pattern
-rwxr-xr-x | damb | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 && |