A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1128 ====================================================================== Reported By: kre Assigned To: ====================================================================== Project: 1003.1(2013)/Issue7+TC1 Issue ID: 1128 Category: Shell and Utilities Type: Omission Severity: Objection Priority: normal Status: New Name: Robert Elz Organization: User Reference: Section: 1.1.2.1, 2.6.4 Page Number: 2331-3, 2358-9 Line Number: 74118-74162, 75225-75250 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2017-03-17 01:08 UTC Last Modified: 2017-03-17 12:39 UTC ====================================================================== Summary: Where is the ',' (comma) operator ? ======================================================================
---------------------------------------------------------------------- (0003633) kre (reporter) - 2017-03-17 12:39 http://austingroupbugs.net/view.php?id=1128#c3633 ---------------------------------------------------------------------- Re: 2632... ',' certainly is an arithmetic operator that returns a result, just as much as ?: does (you can describe them just the same way) - and for that matter '=' (assignment - particularly in the sh context where there are no data type conversions to be concerned with). Further, while ',' does imply sequencing of its operands (as does && and ||) it has nothing whatever to do with control flow, or goto (even less than ?: which is certainly an included operator in sh). Re: 3631, "the spec should make it clear what operators are supported" - if it did it that way, and only listed the supported operations, and simply said that all other C operators are unspecified, that would be fine. But excludig explicitly all the ones that we could think of to exclude, but not the ones that were forgotten, makes it unclear what the status would have been had it been remembered, would ',' have been listed as supported or not (after all, ksh - all variants I could find to test it - supports it, and as we keep being told, ksh88 forms the basis of the posix sh spec.) Issue History Date Modified Username Field Change ====================================================================== 2017-03-17 01:08 kre New Issue 2017-03-17 01:08 kre Name => Robert Elz 2017-03-17 01:08 kre Section => 1.1.2.1, 2.6.4 2017-03-17 01:08 kre Page Number => 2331-3, 2358-9 2017-03-17 01:08 kre Line Number => 74118-74162, 75225-75250 2017-03-17 10:32 stephane Note Added: 0003623 2017-03-17 10:32 stephane Note Edited: 0003623 2017-03-17 10:59 joerg Note Added: 0003626 2017-03-17 11:30 stephane Note Added: 0003627 2017-03-17 11:31 kre Note Added: 0003628 2017-03-17 11:40 stephane Note Edited: 0003627 2017-03-17 12:13 stephane Note Added: 0003631 2017-03-17 12:21 shware_systems Note Added: 0003632 2017-03-17 12:36 shware_systems Note Edited: 0003632 2017-03-17 12:39 kre Note Added: 0003633 ======================================================================