A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1924 
====================================================================== 
Reported By:                stephane
Assigned To:                geoffclare
====================================================================== 
Project:                    1003.1(2024)/Issue8
Issue ID:                   1924
Category:                   Shell and Utilities
Tags:                       tc1-2024
Type:                       Error
Severity:                   Objection
Priority:                   normal
Status:                     Under Review
Name:                       Stephane Chazelas 
Organization:                
User Reference:              
Section:                    Shell word splitting and "read" utility 
Page Number:                various 
Line Number:                various 
Interp Status:              --- 
Final Accepted Text:       
https://www.austingroupbugs.net/view.php?id=1924#c7183 
====================================================================== 
Date Submitted:             2025-05-05 19:02 UTC
Last Modified:              2025-06-12 14:18 UTC
====================================================================== 
Summary:                    New word splitting requirements inappropriate in
locales with non-self-synchronising character encodings
====================================================================== 

---------------------------------------------------------------------- 
 (0007200) stephane (reporter) - 2025-06-12 14:18
 https://www.austingroupbugs.net/view.php?id=1924#c7200 
---------------------------------------------------------------------- 
Thanks, but please also change the wording to add "as if" as per:

> First, at least the wording should make it clear that shells/read
implementations are not required to implement that algorithm, just that whatever
algorithm they use must produce the same result as long as IFS contains only
properly encoded characters ("shall be split *as if* by looking for the encoding
of characters of IFS...").

In the desired action. I thought we were in agreement that splitting by "looking
for the encoding of characters of IFS" was not the algorithm that shells would
want to implement here (even in locales using self-synchronising encodings such
as UTF-8), but "as if by looking..." is fine under the currently stated
constraints (as long as IFS contains only valid characters and the locale uses a
self-synchronising encoding) and avoids having to mandate a specific algorithm. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2025-05-05 19:02 stephane       New Issue                                    
2025-05-15 15:14 geoffclare     Note Added: 0007183                          
2025-05-15 15:16 geoffclare     Status                   New => Resolved     
2025-05-15 15:16 geoffclare     Resolution               Open => Accepted As
Marked
2025-05-15 15:16 geoffclare     Interp Status             => ---             
2025-05-15 15:16 geoffclare     Final Accepted Text       =>
https://www.austingroupbugs.net/view.php?id=1924#c7183    
2025-05-15 15:16 geoffclare     Tag Attached: tc1-2024                       
2025-05-16 06:25 stephane       Note Added: 0007186                          
2025-05-16 06:28 stephane       Note Added: 0007187                          
2025-05-16 09:39 hvd            Note Added: 0007188                          
2025-05-16 14:13 stephane       Note Added: 0007189                          
2025-05-16 15:31 hvd            Note Added: 0007190                          
2025-05-16 18:48 chet_ramey     Note Added: 0007191                          
2025-06-05 16:11 geoffclare     Note Added: 0007196                          
2025-06-05 16:12 geoffclare     Assigned To               => geoffclare      
2025-06-05 16:12 geoffclare     Status                   Resolved => Under
Review
2025-06-05 16:12 geoffclare     Resolution               Accepted As Marked =>
Reopened
2025-06-12 14:18 stephane       Note Added: 0007200                          
======================================================================


  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group
    • [1003... Austin Group Issue Tracker via austin-group-l at The Open Group

Reply via email to