diff --git a/lex.sh b/lex.sh index 27d3b2b..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 ]]); then - + ([[ "${thesystem,,}" =~ ^[aeiou] ]] || \ + [[ "${thesystem,,}" =~ ^lcars ]] || \ + [[ "${thesystem,,}" =~ ^lg ]] || \ + [[ "${thesystem,,}" =~ ^sgi ]] || \ + [[ "${thesystem,,}" =~ ^xbox ]]); then thearticle=an else thearticle=a