View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000584 | 1003.1(2008)/Issue 7 | Base Definitions and Headers | public | 2012-06-23 17:46 | 2019-06-10 08:55 |
| Reporter | Don Cragun | Assigned To | ajosey | ||
| Priority | normal | Severity | Editorial | Type | Error |
| Status | Closed | Resolution | Accepted As Marked | ||
| Name | Don Cragun | ||||
| Organization | Self | ||||
| User Reference | |||||
| Section | Multiple sections in XBD, XCU, XRAT, and XSH | ||||
| Page Number | 0 | ||||
| Line Number | 0 | ||||
| Interp Status | --- | ||||
| Final Accepted Text | See 0000584:0001276 | ||||
| Summary | 0000584: Meaning of "minus sign" is not clear | ||||
| Description | This bug report is based on the Austin Group main mail reflector message sequence number 17606 where Laszlo Ersek notes that the term "minus-sign" is frequently used in the standard, but not defined. A lot of this comes from the C Standard's use of "plus or minus sign" referring indirectly to the '+' and '-' characters, respectively, in the basic source character set and in the basic execution character set. But the C Standard does not specify the names or values of these characters in any locale. The POSIX Standard usually translated "plus or minus sign" from the C Standard into "<plus-sign> or minus-sign". This ties the "plus sign" in C to the character <plus-sign> in the C and POSIX Locales in the POSIX standard with the character PLUS SIGN with value <U002B> as specified in ISO/IEC 10646-1:2000, but leaves the value of minus-sign unspecified. ISO/IEC 10646 defines the character HYPHEN-MINUS with value <U002D> (known both as <hyphen> and <hyphen-minus> in the POSIX Standard) and defines the character MINUS SIGN with value <U2212> (which the POSIX standard does not include in the C or POSIX Locales). To match existing practice and clarify the meaning of "minus sign" in the POSIX standard, uses of "minus sign" should be changed to "<hyphen>". | ||||
| Desired Action | Note: The page and line numbers given below are from Base_TC1_Draft2.pdf.
Change:
"indicates either a <plus-sign> or minus-sign),"
to:
"indicates either a <plus-sign> or <hyphen>),"
on XBD Chapter 5 File Format Notation P123, L3436.
Change:
"<plus-sign> (’+’) character, or the minus-sign"
to:
"<plus-sign> (’+’) character, or the <hyphen>"
on XBD Clause 8.3 Other Environment Variables (TZ) P179, L5770.
Change:
"minus-sign character (’−’)"
to:
"<hyphen> character (’−’)"
on XSH strftime() DESCRIPTION P2022, L64567.
Change:
"leading minus-sign for %F,"
to:
"leading <hyphen> for %F,"
on XSH strftime() RATIONALE P2029, L64850.
Change:
"leading minus-sign (’−’) when using %Y"
to:
"leading <hyphen> (’−’) when using %Y"
on XSH strftime() RATIONALE P2029, L64858.
Change:
"If the subject sequence begins with a minus-sign,"
to:
"If the subject sequence begins with a <hyphen>,"
on XSH strtod() DESCRIPTION P2051, L65528.
Change:
"begins with a minus-sign,"
to:
"begins with a <hyphen>,"
on XSH strtol() DESCRIPTION P2059, L65823.
Change:
"begins with a minus-sign,"
to:
"begins with a <hyphen>,"
on XSH strtuol() DESCRIPTION P2064, L65944.
Change:
"minus-sign, the sequence shall be interpreted as negated."
to:
"<hyphen>, the sequence shall be interpreted as negated."
on XSH wcstod() DESCRIPTION P2246, L71184.
Change:
"minus-sign, the sequence shall be interpreted as negated."
to:
"<hyphen>, the sequence shall be interpreted as negated."
on XSH wcstol() DESCRIPTION P2252, L71403.
Change:
"minus-sign, the sequence shall be interpreted as negated."
to:
"<hyphen>, the sequence shall be interpreted as negated."
on XSH wcstoul() DESCRIPTION P2259, L71565.
Change:
"sequence begins with a minus-sign,"
to:
"sequence begins with a <hyphen>,"
on XCU awk EXTENDED DESCRIPTION P2456, L78640.
Change:
"A <plus-sign> (’+’) or a minus-sign (’−’)"
to:
"A <plus-sign> (’+’) or a <hyphen> (’−’)"
on XCU ex EXTENDED DESCRIPTION P2669, L86915.
Change:
"preceded by a plus (’+’) or minus-sign (’−’) sign"
to:
"preceded by a <plus-sign> (’+’) or <hyphen> (’−’)"
on XCU awk OPERANDS P2762, L90490.
Change:
"a minus-sign (’−’)."
to:
"a <hyphen> (’−’)."
on XCU ipcs STDOUT P2830, L92977.
Change:
"A leading <plus-sign> or minus-sign shall be allowed."
to:
"A leading <plus-sign> or <hyphen> shall be allowed."
on XCU printf EXTENDED DESCRIPTION P3077, L102569.
Change:
"optional minus-sign,"
to:
"optional <hyphen> character,"
on XCU sort OPTIONS P3211, L107574.
| ||||
| Tags | tc2-2008 | ||||
|
|
After much discussion on the Austin Group mail list (starting with sequence #17681) and during the Austin Group's June 28, 2012 conference call, the following changes are proposed instead of the changes listed in the Desired Action section: After the following changes are made, all existing occurrences of "minus-sign" and all but one appearance of "<hyphen>" should have been replaced by "<hyphen-minus>". Note that the global changes below should be applied after all other changes have been applied to the draft. In the future, "minus-sign" should not appear in normative text and <hyphen> should not be used except in the one place left by this set of changes. The preferred term for future references to this glyph is <hyphen-minus>. Note: The page and line numbers given below are from Base_TC1_Draft2.pdf.
Change:
"indicates either a <plus-sign> or minus-sign),"
to:
"indicates either a <plus-sign> or <hyphen-minus>),"
on XBD Chapter 5 File Format Notation P123, L3436.
Change the characters in the Glyph column of Table 6-1 on P125,
L3505-3506 to be the same character. (Note that the character used for
both of these should be the same character that is used in the construct
"('-')" in the rest of the standard. This should not be done when that
construct appears in constant-width font, but I didn't find any case in
the TC1 draft where that happened.)
Change:
"<plus-sign> (’+’) character, or the minus-sign"
to:
"<plus-sign> (’+’) character, or the <hyphen-minus>"
on XBD Clause 8.3 Other Environment Variables (TZ) P179, L5770.
Change:
"minus-sign character (’−’)"
to:
"<hyphen-minus> character (’−’)"
on XSH strftime() DESCRIPTION P2022, L64567.
Change:
"leading minus-sign for %F,"
to:
"leading <hyphen-minus> for %F,"
on XSH strftime() RATIONALE P2029, L64850.
Change:
"leading minus-sign (’−’) when using %Y"
to:
"leading <hyphen-minus> (’−’) when using %Y"
on XSH strftime() RATIONALE P2029, L64858.
Change:
"If the subject sequence begins with a minus-sign,"
to:
"If the subject sequence begins with a <hyphen-minus>,"
on XSH strtod() DESCRIPTION P2051, L65528.
Change:
"begins with a minus-sign,"
to:
"begins with a <hyphen-minus>,"
on XSH strtol() DESCRIPTION P2059, L65823.
Change:
"begins with a minus-sign,"
to:
"begins with a <hyphen-minus>,"
on XSH strtuol() DESCRIPTION P2064, L65944.
Change:
"minus-sign, the sequence shall be interpreted as negated."
to:
"<hyphen-minus>, the sequence shall be interpreted as negated."
on XSH wcstod() DESCRIPTION P2246, L71184.
Change:
"minus-sign, the sequence shall be interpreted as negated."
to:
"<hyphen-minus>, the sequence shall be interpreted as negated."
on XSH wcstol() DESCRIPTION P2252, L71403.
Change:
"minus-sign, the sequence shall be interpreted as negated."
to:
"<hyphen-minus>, the sequence shall be interpreted as negated."
on XSH wcstoul() DESCRIPTION P2259, L71565.
Change:
"leading plus or minus sign"
to:
"leading <plus-sign> or <hyphen-minus>"
on XCU Section 2.6.4 Arithmetic Expansion on P2332, L74112.
Change:
"sequence begins with a minus-sign,"
to:
"sequence begins with a <hyphen-minus>,"
on XCU awk EXTENDED DESCRIPTION P2456, L78640.
Change:
"A <plus-sign> (’+’) or a minus-sign (’−’)"
to:
"A <plus-sign> (’+’) or a <hyphen-minus> (’−’)"
on XCU ex EXTENDED DESCRIPTION P2669, L86915.
Change:
"preceded by a plus (’+’) or minus-sign (’−’) sign"
to:
"preceded by a <plus-sign> (’+’) or <hyphen-minus> (’−’)"
on XCU awk OPERANDS P2762, L90490.
Change:
"a minus-sign (’−’)."
to:
"a <hyphen-minus> (’−’)."
on XCU ipcs STDOUT P2830, L92977.
Change:
"A leading <plus-sign> or minus-sign shall be allowed."
to:
"A leading <plus-sign> or <hyphen-minus> shall be allowed."
on XCU printf EXTENDED DESCRIPTION P3077, L102569.
Change:
"optional minus-sign,"
to:
"optional <hyphen-minus> character,"
on XCU sort OPTIONS P3211, L107574.
Change:
"the character plus (’+’), the character minus (’−’), or digits),:
to:
"the <plus-sign> (’+’), the <hyphen-minus> (’−’), or digits),"
in XRAT Section A.8.3 Other Environment Variables TZ rationale on P3499,
L118222.
Globally change all occurrences of "<hyphen>" except on P125, L3506 (in
Table 6-1 Portable Character Set) to "<hyphen-minus>".
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-06-23 17:46 | Don Cragun | New Issue | |
| 2012-06-23 17:46 | Don Cragun | Status | New => Under Review |
| 2012-06-23 17:46 | Don Cragun | Assigned To | => ajosey |
| 2012-06-23 17:46 | Don Cragun | Name | => Don Cragun |
| 2012-06-23 17:46 | Don Cragun | Organization | => Self |
| 2012-06-23 17:46 | Don Cragun | Section | => Multiple sections in XBD, XCU, and XSH |
| 2012-06-23 17:46 | Don Cragun | Page Number | => 0 |
| 2012-06-23 17:46 | Don Cragun | Line Number | => 0 |
| 2012-06-23 17:46 | Don Cragun | Interp Status | => --- |
| 2012-06-29 03:20 | Don Cragun | Note Added: 0001276 | |
| 2012-06-29 03:42 | Don Cragun | Section | Multiple sections in XBD, XCU, and XSH => Multiple sections in XBD, XCU, XRAT, and XSH |
| 2012-07-12 15:36 | Don Cragun | Note Edited: 0001276 | |
| 2012-07-12 15:38 | nick | Final Accepted Text | => See 0000584:0001276 |
| 2012-07-12 15:38 | nick | Status | Under Review => Resolved |
| 2012-07-12 15:38 | nick | Resolution | Open => Accepted As Marked |
| 2012-07-12 15:38 | nick | Tag Attached: tc2-2008 | |
| 2019-06-10 08:55 | agadmin | Status | Resolved => Closed |