A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1413 
====================================================================== 
Reported By:                philip-guenther
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1413
Category:                   Shell and Utilities
Type:                       Error
Severity:                   Objection
Priority:                   normal
Status:                     Resolution Proposed
Name:                       Philip Guenther 
Organization:               OpenBSD 
User Reference:              
Section:                    printf's APPLICATION USAGE 
Page Number:                3038 
Line Number:                102845 - 102848 
Final Accepted Text:        See
https://austingroupbugs.net/view.php?id=1413#c5248 
====================================================================== 
Date Submitted:             2020-10-24 22:01 UTC
Last Modified:              2021-03-16 10:01 UTC
====================================================================== 
Summary:                    incorrect description of how a hexadecimal character
constant can be terminated in ISO C
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
child of            0000249 Add standard support for $'...' in shell
====================================================================== 

---------------------------------------------------------------------- 
 (0005276) geoffclare (manager) - 2021-03-16 10:01
 https://austingroupbugs.net/view.php?id=1413#c5276 
---------------------------------------------------------------------- 
I see your point. Perhaps it would be better to keep the part about
concatenation (with corrected wording) and say that in the shell $'...' can
be used in a similar way. Something like:

On 2018 edition page 3115 line 104182-104185, after
https://austingroupbugs.net/view.php?id=249 is resolved
change:<blockquote>In the ISO C standard, the "##" concatenation operator
can be used to terminate a constant and follow it with a hexadecimal
character to be written. In the shell, concatenation occurs before the
<i>printf</i> utility has a chance to parse the end of the hexadecimal
constant.</blockquote>to:<blockquote>In the ISO C standard, string literal
concatenation can be used to terminate a constant and follow it with a
hexadecimal character to be written. In the shell, similar concatenation
can be done using <tt>$'...'</tt> so that the shell converts the
hexadecimal sequence before it executes <i>printf</i>.</blockquote> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2020-10-24 22:01 philip-guentherNew Issue                                    
2020-10-24 22:01 philip-guentherName                      => Philip Guenther 
2020-10-24 22:01 philip-guentherOrganization              => OpenBSD         
2020-10-24 22:01 philip-guentherSection                   => printf's
APPLICATION USAGE
2020-10-24 22:01 philip-guentherPage Number               => 3038            
2020-10-24 22:01 philip-guentherLine Number               => 102845 - 102848 
2021-02-18 17:11 nick           Relationship added       child of 0000249    
2021-02-18 17:12 nick           Note Added: 0005248                          
2021-02-18 17:13 nick           Status                   New => Resolution
Proposed
2021-02-18 17:13 nick           Resolution               Open => Accepted As
Marked
2021-02-18 17:14 nick           Final Accepted Text       => See
https://austingroupbugs.net/view.php?id=1413#c5248
2021-02-18 17:15 nick           Tag Attached: issue8                         
2021-03-15 20:53 mirabilos      Note Added: 0005274                          
2021-03-16 10:01 geoffclare     Note Added: 0005276                          
======================================================================


  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to