On 9/27/14, 5:23 PM, Eric Blake wrote:
> It should be fairly easy to validate whether an incoming environment
> name=value pair names a valid shell function name, without having to
> resort to the full power (and possible unknown bugs) of the parser. And
> it is only common sense that we do so.
We already do. That's the point of the call to legal_identifier().
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/