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, 16 May 2016 11:57:57 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.0
On 5/14/16 12:41 PM, Grisha Levit wrote:
> On Mon, May 2, 2016 at 2:30 PM, Chet Ramey <chet.ramey@case.edu
> <mailto:chet.ramey@case.edu>> wrote:
>
> I ended up writing a new function: valid_nameref_value(name, flags) which
> I can customize to serve this purpose.
>
> Looks like this ends up getting bypassed in some cases when the value is an
> empty string:
Yes, it was. That was intended to solve a specific problem, so I solved
it in a different way. Thanks for the additional test cases.
Chet
--
``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/