Re: [PATCH] multibyte_identifiers: opt-in UTF-8 variable names (UAX #31 + NFC) behind a root-controlled system switch (Ruben.Vanlus)

Wiley Young <[email protected]>
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <CAGnujaPtBdEVutr2hQXsaLP=KJZeD+ks7hfrm8tQTGoUgkuQMg@mail.gmail.com>
>
> On Mon, 03 Aug 2026 23:18:23 +0000, Ruben.Vanlus wrote:
>
> A shell that aims to ensure “portability” should allow more characters
> rather than fewer,


Portability in shell scripting is that middle ground currently occupied by
the POSIX Specification: something found through common agreement.  From
the outside, it seems to be the set of things that most UNIX / Linux-ish
shells already have implemented. The fewer features your script uses, the
more shells may have implemented those features, the more shells can
execute your scripts without any further modifications. Therefore a script
can be portable, ie, usable, from Bash to Dash to Ksh, to an EOL'd HPUX
machine, etc., etc.

Implementing Unicode variable names would be a "bashism" in addition to a
"zsh ism."

Wiley
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.