[1003.1(2013)/Issue7+TC1 0001070]: Collation issues in XCU (changes for Issue 8)

2020-04-21 Thread Austin Group Bug Tracker


The following issue has a resolution that has been APPLIED. 
== 
https://austingroupbugs.net/view.php?id=1070 
== 
Reported By:geoffclare
Assigned To:
== 
Project:1003.1(2013)/Issue7+TC1
Issue ID:   1070
Category:   Shell and Utilities
Type:   Error
Severity:   Objection
Priority:   normal
Status: Applied
Name:   Geoff Clare 
Organization:   The Open Group 
User Reference:  
Section:2.13.3, awk, comm, localedef, ls, sort, uniq 
Page Number:2356, 2459, 2559, 2874, 2888, 3210, 3309, and more 
Line Number:75082, 78745, 82755, 94650, 95164, 107544, 111067,
and more 
Interp Status:  --- 
Final Accepted Text: 
Resolution: Accepted
Fixed in Version:   
== 
Date Submitted: 2016-08-25 11:11 UTC
Last Modified:  2020-04-21 13:35 UTC
== 
Summary:Collation issues in XCU (changes for Issue 8)
==
Relationships   ID  Summary
--
related to  963 Collation issues in XCU (changes for TC2)
related to  948 Collation issues in XBD (changes for Is...
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2016-08-25 11:11 geoffclare New Issue
2016-08-25 11:11 geoffclare Name  => Geoff Clare 
2016-08-25 11:11 geoffclare Organization  => The Open Group  
2016-08-25 11:11 geoffclare Section   => 2.13.3, awk, comm,
localedef, ls, sort, uniq
2016-08-25 11:11 geoffclare Page Number   => 2356, 2459, 2559,
2874, 2888, 3210, 3309, and more
2016-08-25 11:11 geoffclare Line Number   => 75082, 78745,
82755, 94650, 95164, 107544, 111067, and more
2016-08-25 11:11 geoffclare Interp Status => --- 
2016-08-25 11:11 geoffclare Relationship added   related to 963  
2016-08-25 11:12 geoffclare Relationship added   related to 948  
2016-08-25 11:18 geoffclare Desired Action Updated   
2018-01-04 17:07 Don Cragun Status   New => Resolved 
2018-01-04 17:07 Don Cragun Resolution   Open => Accepted
2018-01-04 17:07 Don Cragun Tag Attached: issue8 
2020-04-21 13:35 geoffclare Status   Resolved => Applied 
==




[1003.1(2013)/Issue7+TC1 0001070]: Collation issues in XCU (changes for Issue 8)

2018-01-04 Thread Austin Group Bug Tracker

The following issue has been RESOLVED. 
== 
http://austingroupbugs.net/view.php?id=1070 
== 
Reported By:geoffclare
Assigned To:
== 
Project:1003.1(2013)/Issue7+TC1
Issue ID:   1070
Category:   Shell and Utilities
Type:   Error
Severity:   Objection
Priority:   normal
Status: Resolved
Name:   Geoff Clare 
Organization:   The Open Group 
User Reference:  
Section:2.13.3, awk, comm, localedef, ls, sort, uniq 
Page Number:2356, 2459, 2559, 2874, 2888, 3210, 3309, and more 
Line Number:75082, 78745, 82755, 94650, 95164, 107544, 111067,
and more 
Interp Status:  --- 
Final Accepted Text: 
Resolution: Accepted
Fixed in Version:   
== 
Date Submitted: 2016-08-25 11:11 UTC
Last Modified:  2018-01-04 17:07 UTC
== 
Summary:Collation issues in XCU (changes for Issue 8)
==
Relationships   ID  Summary
--
related to  963 Collation issues in XCU (changes for TC2)
related to  948 Collation issues in XBD (changes for Is...
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2016-08-25 11:11 geoffclare New Issue
2016-08-25 11:11 geoffclare Name  => Geoff Clare 
2016-08-25 11:11 geoffclare Organization  => The Open Group  
2016-08-25 11:11 geoffclare Section   => 2.13.3, awk, comm,
localedef, ls, sort, uniq
2016-08-25 11:11 geoffclare Page Number   => 2356, 2459, 2559,
2874, 2888, 3210, 3309, and more
2016-08-25 11:11 geoffclare Line Number   => 75082, 78745,
82755, 94650, 95164, 107544, 111067, and more
2016-08-25 11:11 geoffclare Interp Status => --- 
2016-08-25 11:11 geoffclare Relationship added   related to 963  
2016-08-25 11:12 geoffclare Relationship added   related to 948  
2016-08-25 11:18 geoffclare Desired Action Updated   
2018-01-04 17:07 Don Cragun Status   New => Resolved 
2018-01-04 17:07 Don Cragun Resolution   Open => Accepted
==




[1003.1(2013)/Issue7+TC1 0001070]: Collation issues in XCU (changes for Issue 8)

2016-08-25 Thread Austin Group Bug Tracker

The following issue has been set as RELATED TO issue 963. 
== 
http://austingroupbugs.net/view.php?id=1070 
== 
Reported By:geoffclare
Assigned To:
== 
Project:1003.1(2013)/Issue7+TC1
Issue ID:   1070
Category:   Shell and Utilities
Type:   Error
Severity:   Objection
Priority:   normal
Status: New
Name:   Geoff Clare 
Organization:   The Open Group 
User Reference:  
Section:2.13.3, awk, comm, localedef, ls, sort, uniq 
Page Number:2356, 2459, 2559, 2874, 2888, 3210, 3309, and more 
Line Number:75082, 78745, 82755, 94650, 95164, 107544, 111067,
and more 
Interp Status:  --- 
Final Accepted Text: 
== 
Date Submitted: 2016-08-25 11:11 UTC
Last Modified:  2016-08-25 11:11 UTC
== 
Summary:Collation issues in XCU (changes for Issue 8)
==
Relationships   ID  Summary
--
related to  963 Collation issues in XCU (changes for TC2)
== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2016-08-25 11:11 geoffclare New Issue
2016-08-25 11:11 geoffclare Name  => Geoff Clare 
2016-08-25 11:11 geoffclare Organization  => The Open Group  
2016-08-25 11:11 geoffclare Section   => 2.13.3, awk, comm,
localedef, ls, sort, uniq
2016-08-25 11:11 geoffclare Page Number   => 2356, 2459, 2559,
2874, 2888, 3210, 3309, and more
2016-08-25 11:11 geoffclare Line Number   => 75082, 78745,
82755, 94650, 95164, 107544, 111067, and more
2016-08-25 11:11 geoffclare Interp Status => --- 
2016-08-25 11:11 geoffclare Relationship added   related to 963  
==




[1003.1(2013)/Issue7+TC1 0001070]: Collation issues in XCU (changes for Issue 8)

2016-08-25 Thread Austin Group Bug Tracker

The following issue has been SUBMITTED. 
== 
http://austingroupbugs.net/view.php?id=1070 
== 
Reported By:geoffclare
Assigned To:
== 
Project:1003.1(2013)/Issue7+TC1
Issue ID:   1070
Category:   Shell and Utilities
Type:   Error
Severity:   Objection
Priority:   normal
Status: New
Name:   Geoff Clare 
Organization:   The Open Group 
User Reference:  
Section:2.13.3, awk, comm, localedef, ls, sort, uniq 
Page Number:2356, 2459, 2559, 2874, 2888, 3210, 3309, and more 
Line Number:75082, 78745, 82755, 94650, 95164, 107544, 111067,
and more 
Interp Status:  --- 
Final Accepted Text: 
== 
Date Submitted: 2016-08-25 11:11 UTC
Last Modified:  2016-08-25 11:11 UTC
== 
Summary:Collation issues in XCU (changes for Issue 8)
Description: 
A discussion on the mailing list identified some issues related to
collation for locales that do not define a collation sequence with
a total ordering of all characters.  It is proposed that these issues
are addressed in Issue 8 by requiring implementation-provided locales
that do not have an '@' modifier in their name to define a collation
sequence that has a total ordering of all characters (thus reducing
the problem to "special" locales and user-defined locales), and by
modifying the requirements for regular expressions and affected
utilities so that they cope better with such locales.  As an
intermediate step, it is proposed that the new requirements slated
for Issue 8 are recommended (or at least allowed) in TC2.

The necessary changes will be split across four Mantis bugs, targeting
XBD TC2, XCU TC2, XBD Issue 8, and XCU Issue 8.  This bug contains the
changes proposed for XCU in Issue 8.

Desired Action: 
After applying the bug http://austingroupbugs.net/view.php?id=963 changes at
each of the following
locations, make further changes to the new text as noted below.
(There is also a change to localedef inserted among the changes
derived from bug 963.)

On Page: 2356 Line: 75082 Section: 2.13.3 Patterns Used for Filename
Expansion

In the updated list item 3, change from:

any filenames or pathnames that collate equally should be further compared
byte-by-byte using the collating sequence for the POSIX locale.

to:

any filenames or pathnames that collate equally shall be further compared
byte-by-byte using the collating sequence for the POSIX locale.

and delete the small-font note:

Note: a future version of this standard may require the byte-by-byte
further comparison described above.

On Page: 2459 Line: 78745 Section: awk

In the updated text, change from:

For the "!=" and "==" operators, the strings should be compared to check if
they are identical but may be compared using the locale-specific collation
sequence to check if they collate equally.

to:

For the "!=" and "==" operators, the strings shall be compared to check if
they are identical (not to check if they collate equally).

On Page: 2478 Line: 79587 Section: awk

Change the two new APPLICATION USAGE paragraphs from:

On implementations where the "==" operator checks if strings collate
equally, applications needing to check whether strings are identical can
use:length(a) == length(b) && index(a,b) ==
1On implementations where the "==" operator checks if
strings are identical, applications needing to check whether strings
collate equally can use:a <= b && a >=
bto:

Since the "==" operator checks whether strings are identical, not whether
they collate equally, applications needing to check whether strings
collate equally can use:a <= b && a >=
b
On Page: 2486 Line: 79914 Section: awk

Change the updated FUTURE DIRECTIONS section from:

A future version of this standard may require the "!=" and "==" operators
to perform string comparisons by checking if the strings are identical (and
not by checking if they collate equally).

to:

None.

On Page: 2559 Line: 82755 Section: comm

Change the new DESCRIPTION paragraph from:

If the collating sequence of the current locale does not have a total
ordering of all characters (see [xref to XBD 7.3.2]) and any lines from the
input files collate equally but are not identical, comm should treat
them as different lines but may treat them as being the same.  If it treats
them as different, comm should expect them to be ordered according
to a further byte-by-byte comparison using the collating sequence for the
POSIX locale and if they