On Tue, Dec 12, 2000 at 03:04:24PM -0600, Debian Bug Tracking System wrote: > Processing commands for control@bugs.debian.org: > > > reassign 79401 xserver-xfree86 > Bug#79401: ash: confused by $((foo | bar) > baz) construction, believing it to be POSIX arithmetic > Bug#79406: ash: confused by $((foo | bar) > baz) construction, believing it to be POSIX arithmetic > Bug reassigned from package `ash' to `xserver-xfree86'. > > > quit Please see <http://bugs.debian.org/79406>. I said: > The parser is too hasty. $(( only means "go into arithmetic mode" if it's > matched by a "))". Herbert says: > I do not see anything in the standards that requires this text to be parsed > in the way you intend it to be. Thus for your script to be > POSIX-compliant, you must insert at least one white space between $( and ( > to disambiguate it. Herbert does not quote the standards in question, so it is difficult for me to evaluate his assertions. Bash does the right thing with the cited construction, and POSIX arithmetic is not a bashism, therefore bash's behavior likely doesn't violate the standard either, by doing what it does. Had Herbert bothered to pay any attention at all, he'd have noticed that I already introduced the suggested workaround in xserver-xfree86.config to work with existing versions of ash. However, the issue of how ash parses POSIX shell syntax is tautologically ash's issue. Depending on what the POSIX specification says, Herbert may be able to justify downgrading this bug report to a wishlist item (which, given his attitude, would indicate that he has no intention of ever addressing it), but reassigning it to xserver-xfree86 is nonsensical. I request that the technical committee rule on this issue to reverse Herbert's action of assigning bug reports that belong with his package to inappropriate and irrelevant packages instead. -- G. Branden Robinson | America is at that awkward stage. It's Debian GNU/Linux | too late to work within the system, but branden@deadbeast.net | too early to shoot the bastards. http://deadbeast.net/~branden/ | --Claire Wolfe
Attachment:
pgpbafKXnUQdP.pgp
Description: PGP signature