On Sep 15 2025, Chet Ramey wrote: > On 9/13/25 10:55 AM, Lawrence Velázquez wrote: > >> Yeah, I misunderstood how locale_setblanks [1] works. Its function >> comment is: >> Set every character in the <blank> character class to be a >> shell break character for the lexical analyzer when the >> locale changes. >> But it seems to only consider 0x00 through 0xFF, which are tabulated >> into syntax.c at build time [2]. > > That's the domain of isblank(3).
Which makes it useless for Unicode. You need to use iswblank instead. -- Andreas Schwab, SUSE Labs, [email protected] GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
