On Sat, 05 Jul 2008, Russ Allbery wrote:
I suggest that Policy be amended to require that
local a b c=delta e
scope variables a, b, c, and e as local, and assign the
string delta to the local c.
Here is a proposed patch that implements Clint's suggestion. Seconds?
Seconded.
Clint Adams [EMAIL PROTECTED] writes:
I observe that
a) POSIX specifies the behavior of 'export' and 'readonly'
b) Implementation of 'local' is often very similar to 'export' and 'readonly'
and in the absence of a standardized 'local', it makes sense to
specify a similar form.
c)
On Sat, 2008-07-05 at 13:31:20 -0700, Russ Allbery wrote:
Clint Adams [EMAIL PROTECTED] writes:
I observe that
a) POSIX specifies the behavior of 'export' and 'readonly'
b) Implementation of 'local' is often very similar to 'export' and
'readonly'
and in the absence of a
On Thu, Mar 27, 2008 at 01:16:31PM -0700, Russ Allbery wrote:
The intention when I originally wrote the text was to not allow declaring
multiple variables with one local line, since at the time I was told that
some shells didn't support this.
I think your first patch is therefore correct and
Package: debian-policy
Version: 3.7.3.0
Severity: normal
Tags: patch
The scripts section of chapter 10 is somewhat ambiguous about
whether declaring multiple local variables is acceptable or not:
file:///usr/share/doc/debian-policy/policy.html/ch-files.html#s-scripts
For example, is the
Daniel Kahn Gillmor [EMAIL PROTECTED] writes:
Package: debian-policy
Version: 3.7.3.0
Severity: normal
Tags: patch
The scripts section of chapter 10 is somewhat ambiguous about
whether declaring multiple local variables is acceptable or not:
Thanks for the quick response, Russ.
On Thu 2008-03-27 16:16:31 -0400, Russ Allbery wrote:
The intention when I originally wrote the text was to not allow declaring
multiple variables with one local line, since at the time I was told that
some shells didn't support this.
I think your first
7 matches
Mail list logo