Re: locale-dependent token separator handling doesn't work in multi-byte
From:
Chet Ramey
Subject:
Re: locale-dependent token separator handling doesn't work in multi-byte locales
Date:
Wed, 08 Oct 2014 12:12:57 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
On 10/8/14, 10:52 AM, Stephane Chazelas wrote:
> When bash parses code it honours the "blank" character class in
> the current locale as token separator.
Posix requires it.
> With bash, that only works in single-byte locales though.
> Probably because bash does some isblank() on individual bytes
> instead of characters.
Maybe, I'd have to look.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/