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:
Mon, 2 May 2016 14:28:57 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.0
On 4/27/16 7:37 PM, Piotr Grzybowski wrote:
>
> sorry for the spam concerning the patch: it needs merging with what Eduardo
> posted (excluding the `declare -n r; declare -n r;' regression bug), and what
> is in #ifdef 0 in declare.def; I just found out that it is exactly what it
> intends to do.
> I am sure we need to forbid the illegal identifiers during declare -n and in
> later assignments to the nameref variable.
Yes, among other things.
--
``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/