|
| From: | Chet Ramey |
| Subject: | Re: Missing semicolon tolerated after double-bracket [[ ]] expression |
| Date: | Mon, 15 Sep 2025 09:51:01 -0400 |
| User-agent: | Mozilla Thunderbird |
On 9/14/25 3:08 PM, Robert Elz wrote:
There is really nothing in the standard I can find which is explicit about how locales affect parsing of programs using any of the languages it defines (awk, bc, sed, sh ...) - and I would certainly hesitate to jump to the conclusion that the locale settings are intended to affect that, in fact I think that would be an extremely poor result.
At least for sh -- I didn't look at the other utilities -- the standard is
fairly explicit that <blank> characters delimit tokens, and <blank> is
locale-specific.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
| [Prev in Thread] | Current Thread | [Next in Thread] |