On 9/28/14, 12:48 AM, Eric Blake wrote: > This patch forbids importing function names containing '/' (yay!), and > we already established that bash has never been able to properly import > functions with names containing '='. But I'm assuming there will need > to be a followup patch to actually reject the attempt to create such > function names (that is, "bash -c 'a/b () { echo oops; }; a/b'" should > issue an error message instead of printing "oops"), so that we do not > have the confusing situation of being unable to pass all permitted > function names through an export/import cycle.
I have not decided whether to reject the creation of such functions, since bash never has, or to reject the attempt to export them. That's a discussion that can be deferred. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/