Email List: Xaustin-group-lX
[All Lists]

Re: Invalid shell assignments in environment

To: "Giacomo A. Catenazzi" <cate@xxxxxxxxxx>
Subject: Re: Invalid shell assignments in environment
From: Chet Ramey <chet.ramey@xxxxxxxx>
Date: Thu, 02 Jul 2009 11:01:53 -0400
Cc: austin-group-l@xxxxxxxxxxxxx, chet.ramey@xxxxxxxx
Organization: ITS, Case Western Reserve University
References: <200907012242.n61MgCCp020103@xxxxxx> <4A4C2005.6030402@xxxxxx> <4a4c81a6.2tWl4Z9DpJUyvd+z%Joerg.Schilling@xxxxxx> <200907021327.n62DRe5k029384@xxxxxx> <20090702143325.GA5491@xxxxxx> <4A4CCA35.6070009@xxxxxx>
Giacomo A. Catenazzi wrote:
> Geoff Clare wrote:
> 
>> The shell should complain about the variable name.  Quoting from
>> my first mail in this thread:
>>
>> | There is a formal definition for "name" in this context:
>> | |     3.230 Name
>> |     In the shell command language, a word consisting solely of
>> |     underscores, digits, and alphabetics from the portable character
>> |     set. The first character of a name is not a digit.
>>
>> Note the phrase "from the portable character set".  Thus u-umlaut
>> is not a valid character in shell variable names.
> 
> "from the portable character set", but in which locale?

The portable character set, by definition, is locale-independent.

http://www.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap06.html#tag_06_01

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@xxxxxx    http://cnswww.cns.cwru.edu/~chet/

<Prev in Thread] Current Thread [Next in Thread>