diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-16 22:01:48 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-16 22:01:48 +0200 |
commit | d43926d4bd926fe72b3f15d3ecc2f60fa8f41dee (patch) | |
tree | a1443797640ce7c1cf7ab7ace1f4206966f6ef0a | |
parent | 38c1e25a8095bd994c4f36eccdd78058c68eb91c (diff) |
chkb: Properly handle ‘English (US)’
-rwxr-xr-x | .local/bin/chkb | 5 |
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 |