On Mon, 6 Nov 2006 09:07:11 -0800, Russ Allbery wrote: > Michal Politowski <firstname.lastname@example.org> writes: > > On Sun, 5 Nov 2006 19:41:40 -0800, Russ Allbery wrote: > > [...] > >> + <item><tt>local</tt> to create a scoped variable must be > >> + supported</item> > > > Underspecified. local in dash and bash behave differently. In dash the > > variable value from outer scope is retained, in bash it is not. > > Bugs caused by this do happen: see eg. #381237 > > > Also local in dash is documented to be only allowed at the beginning of > > a function, and take only variable names, not assignments, as arguments, > > though in practice it seems this is not enforced and more bash-like > > behaviour works. > > Here's a revised patch. Does this resolve that concern? Yes, I guess. This should be precise enough. -- Michał Politowski Talking has been known to lead to communication if practiced carelessly.
Description: Digital signature