Re: Bash feature request: provide state data pointer and unset_func for dynamic variables

2017-05-20 Thread George
On Fri, 2017-05-19 at 21:37 -0500, Eduardo Bustamante wrote: > On Fri, May 19, 2017 at 12:08 PM,   wrote: > [...] > > > > Anyway, I thought I'd float the idea and see if it might be a > > possibility. > Feel free to send patches. > > Could you provide examples on how you expect this to be used? I

Re: Bash feature request: provide state data pointer and unset_func for dynamic variables

2017-05-19 Thread Eduardo Bustamante
On Fri, May 19, 2017 at 12:08 PM, wrote: [...] > Anyway, I thought I'd float the idea and see if it might be a > possibility. Feel free to send patches. Could you provide examples on how you expect this to be used? I'm having a hard time trying to understand how this will be used.

Bash feature request: provide state data pointer and unset_func for dynamic variables

2017-05-19 Thread tetsujin
Hi, I think this is probably kind of an unusual request, but you don't get anything you don't ask for, right? So I figure it's worth a shot. Basically, I am working on a library called shell-pepper (it's not too far along at this point) - the general concept is that it's like a grab-bag of functi