On Tue, Apr 19, 2016 at 7:02 PM, Chet Ramey <chet.ra...@case.edu> wrote:
> On 4/16/16 8:13 AM, Piotr Grzybowski wrote: > > > [..] > > > - expand the name given to coproc > > I'll consider this for a future version of bash. > > thanks. maybe someone else finds it useful? > > > - if it expands to a legal identifier create the coproc > > This isn't necessary; there's no reason to restrict a coproc name to > something stricter than the set of valid executable names. I suppose > I could see restricting it to the same set of valid names as shell > functions. > ok, but I thought along these lines: if the name is not a valid identifier, how are you going to refer by this name to the array with the descriptors? but maybe checking legal_identifier is too much. cheers, pg