Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: exec -a and parameter expansion



On Fri, 07 Jan 2011 18:17:06 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> So either there are some missing test cases for other things that
> this would cause to break, or we should rearrange execcmd() so that
> "typeset" is the only special-cased builtin ahead of prefork().

I could be convinced the latter is correct.  Apart from KSH_TYPESET,
nothing stands out in my mind as needing special behaviour during the
expansion phase.  A careful search of the manual might be warranted.

There was some discussion of the KSH_TYPESET behaviour on the Austin
group list; I can't remember the exact upshot, but it's possible it
makes the proposed change a requirement.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author