[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: param expansion with single-character special vars in the environmen
From: |
Chet Ramey |
Subject: |
Re: param expansion with single-character special vars in the environment |
Date: |
Thu, 5 May 2016 08:49:54 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.0 |
On 5/4/16 3:37 PM, Piotr Grzybowski wrote:
>
> On 4 May 2016, at 17:51, Chet Ramey wrote:
>
>> The issue I'm thinking about currently is whether or not to allow nameref
>> variables to have numeric (integer) values. bash-4.3 didn't allow those
>> values to be expanded, but allowed them to be assigned. It doesn't seem
>> harmful to change the error to assignment time.
>
> I vote for error at assignment, whats the point of allowing pointless
> assignment?
No reason, except for minimal backwards compatibility. I'm leaning towards
that position myself.
--
``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/
- Re: param expansion with single-character special vars in the environment, (continued)
- Re: param expansion with single-character special vars in the environment, Chet Ramey, 2016/05/02
- Re: param expansion with single-character special vars in the environment, Chet Ramey, 2016/05/04
- Re: param expansion with single-character special vars in the environment, Piotr Grzybowski, 2016/05/04
- Re: param expansion with single-character special vars in the environment, Dan Douglas, 2016/05/04
- Re: param expansion with single-character special vars in the environment, Dan Douglas, 2016/05/04
- Re: param expansion with single-character special vars in the environment, Piotr Grzybowski, 2016/05/05
- Re: param expansion with single-character special vars in the environment,
Chet Ramey <=
Re: param expansion with single-character special vars in the environment, Chet Ramey, 2016/05/02
Re: param expansion with single-character special vars in the environment, Chet Ramey, 2016/05/02
Re: param expansion with single-character special vars in the environment, Chet Ramey, 2016/05/03
Re: param expansion with single-character special vars in the environment, Chet Ramey, 2016/05/06