On Mon, Sep 15, 2025 at 12:32:05 -0400, Lawrence Velázquez wrote:
> Of the shells I have at hand, running under a UTF-8 locale on macOS,
> only yash delimits on anything other than space and tab.  (I tested
> the twenty-five Unicode whitespace characters [*].  Eighteen of
> them are <blank>s in my locale, and yash delimits on all of them.)
> 
> Under an ISO-8859-1 locale, only bash and yash delimit on anything
> other than space and tab.  (Specifically, they delimit on 0xA0.  If
> there were other <blank> characters, presumably those would be used
> as well.)

I cannot reproduce your bash results on Debian 13, where the non-breaking
space character is *not* included in :blank:.  This means that a
script written on MacOS may be parsed differently on GNU/Linux, and
vice versa, depending on one's locale setting, which is a situation I
find undesirable.

Reply via email to