Bug#473019: debian-policy: clarification needed for "local" builtin exception for /bin/sh

2008-07-06 Thread Raphael Hertzog
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? S

Bug#473019: debian-policy: clarification needed for "local" builtin exception for /bin/sh

2008-07-05 Thread Guillem Jover
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 absen

Bug#473019: debian-policy: clarification needed for "local" builtin exception for /bin/sh

2008-07-05 Thread Russ Allbery
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.

Bug#473019: debian-policy: clarification needed for "local" builtin exception for /bin/sh

2008-03-31 Thread Clint Adams
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

Bug#473019: debian-policy: clarification needed for "local" builtin exception for /bin/sh

2008-03-27 Thread Daniel Kahn Gillmor
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 fi

Bug#473019: debian-policy: clarification needed for "local" builtin exception for /bin/sh

2008-03-27 Thread Russ Allbery
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: > > file:///usr/share/doc/debian-poli

Bug#473019: debian-policy: clarification needed for "local" builtin exception for /bin/sh

2008-03-27 Thread Daniel Kahn Gillmor
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 follo