From: Raphael Geissert <geiss...@debian.org>
Date: Tue, 15 Feb 2011 20:50:02 +0100
Local: Tues, Feb 15 2011 2:50 pm
Subject: Bug#613556: Why dash's local variable inherits its value from outter env?
On Tuesday 15 February 2011 10:40:31 weakish wrote:
> According to man dash:Why do you consider it a bug? policy specifically says:
> When a variable is made local, it inherits the initial value and
> Why does dash implement this feature? I guess sinec local is not specified
> * `local' to create a scoped variable must be supported, includingIt's simply an unspecified behaviour, just initialize it to the empty value.
> listing multiple variables in a single local command and
> assigning a value to a variable at the same time as localizing
> it. `local' may or may not preserve the variable value from an
> outer scope if no assignment is present.
E.g. local x=
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.