Bug#369851: I beg to differ...

2006-08-29 Thread Julian Gilbey
On Tue, Aug 29, 2006 at 07:00:03PM +0200, David Weinehall wrote: > In other words, SuSv3 is POSIX.1 + POSIX.2 + errata. Thanks for the clarification. > However, dash does not support $((x)) either, so I'd say that dash is > buggy in any case, since it can be argued that SuSv3 is the clarified > v

Bug#369851: I beg to differ...

2006-08-29 Thread David Weinehall
On Tue, Aug 29, 2006 at 01:57:27PM +0100, Julian Gilbey wrote: > On Tue, Aug 29, 2006 at 01:40:38PM +0200, David Weinehall wrote: > > Quoting from "Shell & Utilities"/"2.6.4 Arithmetic Expansion" of SuSv3: > > > > "If the shell variable x contains a value that forms a valid integer > > constant,

Bug#369851: I beg to differ...

2006-08-29 Thread Julian Gilbey
On Tue, Aug 29, 2006 at 01:40:38PM +0200, David Weinehall wrote: > Quoting from "Shell & Utilities"/"2.6.4 Arithmetic Expansion" of SuSv3: > > "If the shell variable x contains a value that forms a valid integer > constant, then the arithmetic expansions "$((x))" and "$(($x))" shall > return the

Bug#369851: I beg to differ...

2006-08-29 Thread David Weinehall
Quoting from "Shell & Utilities"/"2.6.4 Arithmetic Expansion" of SuSv3: "If the shell variable x contains a value that forms a valid integer constant, then the arithmetic expansions "$((x))" and "$(($x))" shall return the same value." I cannot seem to find any reasonable way to parse this other