From d43926d4bd926fe72b3f15d3ecc2f60fa8f41dee Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 16 Oct 2024 22:01:48 +0200 Subject: chkb: Properly handle ‘English (US)’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .local/bin/chkb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.local/bin/chkb') diff --git a/.local/bin/chkb b/.local/bin/chkb index e26133a..6abe5ae 100755 --- a/.local/bin/chkb +++ b/.local/bin/chkb @@ -17,7 +17,10 @@ set s `{ | map("\(.[0]) (\(.[1]))") | .[] ' - | sed -E 's/[a-zA-Z]+/\u&/g' + | sed -E ' + s/[a-zA-Z]+/\u&/g + s/Us \(Basic\)/English (US)/ + ' } set choice `echo $s | osel -- cgit v1.2.3