summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-16 22:01:48 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-16 22:01:48 +0200
commitd43926d4bd926fe72b3f15d3ecc2f60fa8f41dee (patch)
treea1443797640ce7c1cf7ab7ace1f4206966f6ef0a
parent38c1e25a8095bd994c4f36eccdd78058c68eb91c (diff)
chkb: Properly handle ‘English (US)’
-rwxr-xr-x.local/bin/chkb5
1 files changed, 4 insertions, 1 deletions
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