[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFE: Please allow unicode ID chars in identifiers
From: |
Chet Ramey |
Subject: |
Re: RFE: Please allow unicode ID chars in identifiers |
Date: |
Tue, 13 Jun 2017 20:14:52 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
On 6/13/17 5:19 PM, tetsujin@scope-eye.net wrote:
>
> In that case, the answer is simple:
>
> The shell swiftly rejects the script, and provides a clear reason why
> it cannot be run. ("bash: Script requires the en_US.utf8 locale which
> is not installed on this system. Sorry, dude.")
The shell has no business doing this. If a script requires a certain
locale, and won't run correctly without it, the author can ensure that
an assignment to LC_CTYPE produces the desired results.
> This is also why I think this should be an optional "encoding marker"
> at a fairly fixed location in the file, rather than an option setting
> that could occur anywhere in the script: It allows an incompatible
> script to be immediately identified and rejected before it does
> anything.
This is relatively trivial to do with a shell function.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
- Re: RFE: Please allow unicode ID chars in identifiers, (continued)
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, tetsujin, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, tetsujin, 2017/06/02
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, tetsujin, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Greg Wooledge, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, tetsujin, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, L A Walsh, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers,
Chet Ramey <=
- Re: RFE: Please allow unicode ID chars in identifiers, George, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Greg Wooledge, 2017/06/14
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Chet Ramey, 2017/06/13
- Re: RFE: Please allow unicode ID chars in identifiers, Greg Wooledge, 2017/06/02
- Re: RFE: Please allow unicode ID chars in identifiers, L A Walsh, 2017/06/02
- Re: RFE: Please allow unicode ID chars in identifiers, L A Walsh, 2017/06/03
- Re: RFE: Please allow unicode ID chars in identifiers, John McKown, 2017/06/03