From 907c8454ffc56f3f812767493091e2e5edbfd539 Mon Sep 17 00:00:00 2001 From: oopsbagel Date: Wed, 13 May 2026 21:29:34 -0700 Subject: [PATCH 1/2] lex.sh: an xbox, not a xbox MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In English, Xbox is pronounced /ˈɛks bɒks/, which begins with a vowel sound and thus should be preceded by 'an' rather than 'a'. Contrast with the other extant OS starting with an X: Xerox, which is pronounced /ˈzɛ.ɹɒks/ and is preceded by 'a'. --- lex.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lex.sh b/lex.sh index 27d3b2b..68decdc 100755 --- a/lex.sh +++ b/lex.sh @@ -23,7 +23,7 @@ thesystem=${thesystem/\//} thesystem=${thesystem//_/ } thesystem=${thesystem/\.[a-z][a-z][a-z]/} if ! [[ "${thesystem,,}" =~ ^unix ]] && \ - ([[ "${thesystem,,}" =~ ^[aeiou] ]] || [[ "${thesystem,,}" =~ ^lcars ]]); then + ([[ "${thesystem,,}" =~ ^[aeiou] ]] || [[ "${thesystem,,}" =~ ^lcars ]] || [[ "${thesystem,,}" =~ ^xbox ]]); then thearticle=an else From dab9bbc76586ba090a20565e69e0bc334c6e430b Mon Sep 17 00:00:00 2001 From: oopsbagel Date: Wed, 13 May 2026 21:38:29 -0700 Subject: [PATCH 2/2] lex.sh: an lg, an sgi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SGI starts with /ɛs/ LG starts with /ɛl/ Both are usually pronounced by spelling out the names. I did not include HP because can be pronounced /eɪt͡ʃ/ or /heɪt͡ʃ/ depending on the dialect of the speaker. --- lex.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lex.sh b/lex.sh index 68decdc..cdd50b4 100755 --- a/lex.sh +++ b/lex.sh @@ -23,8 +23,11 @@ thesystem=${thesystem/\//} thesystem=${thesystem//_/ } thesystem=${thesystem/\.[a-z][a-z][a-z]/} if ! [[ "${thesystem,,}" =~ ^unix ]] && \ - ([[ "${thesystem,,}" =~ ^[aeiou] ]] || [[ "${thesystem,,}" =~ ^lcars ]] || [[ "${thesystem,,}" =~ ^xbox ]]); then - + ([[ "${thesystem,,}" =~ ^[aeiou] ]] || \ + [[ "${thesystem,,}" =~ ^lcars ]] || \ + [[ "${thesystem,,}" =~ ^lg ]] || \ + [[ "${thesystem,,}" =~ ^sgi ]] || \ + [[ "${thesystem,,}" =~ ^xbox ]]); then thearticle=an else thearticle=a