A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=249 
====================================================================== 
Reported By:                dwheeler
Assigned To:                ajosey
====================================================================== 
Project:                    1003.1(2008)/Issue 7
Issue ID:                   249
Category:                   Shell and Utilities
Type:                       Enhancement Request
Severity:                   Objection
Priority:                   normal
Status:                     Under Review
Name:                       David A. Wheeler 
Organization:                
User Reference:              
Section:                    2.2 Quoting 
Page Number:                2298-2299 
Line Number:                72348-72401 
Interp Status:              --- 
Final Accepted Text:        Previously accepted text is in
https://austingroupbugs.net/view.php?id=249#c590. 
====================================================================== 
Date Submitted:             2010-04-30 21:42 UTC
Last Modified:              2022-10-19 11:50 UTC
====================================================================== 
Summary:                    Add standard support for $'...' in shell
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
parent of           0001413 incorrect description of how a hexadeci...
related to          0000322 Defect in XCU File Format Notation
related to          0000985 quote removal missing from case stateme...
====================================================================== 

---------------------------------------------------------------------- 
 (0005997) kre (reporter) - 2022-10-19 11:50
 https://austingroupbugs.net/view.php?id=249#c5997 
---------------------------------------------------------------------- 
In https://austingroupbugs.net/view.php?id=249#c5995 in the proposed new section
2.2.4, the penultimate
bullet point is:

   <tt>\ddd</tt> yields the byte whose value is the octal value ddd
   (one to three octal digits).

Which suggests to me that \567 is required to yeild the byte
whose octal value is 0567 which is something of a challenge.

There are multiple ways this could be fixed, but as far as I can tell,
all sells which I can test, which also implement $' (as other than a $
preceding a single quoted string) all conform to;

   <tt>\ddd</tt> yields the byte whose value is the least significant 8
   bits of the octal value ddd (one to three octal digits).

I understand the need for the final bullet point (\<nl> gives unspecified
results) -- I see all 3 reasonable interpretations for that in at least
one
shell which supports $' (treating it as a line join, simply pretending the
backslash is not there <ie: \<nl> is <nl>) is treating the sequence
literally
\<nl> is <nl>) [aside: only the first makes any sense to me, the ability
to insert a line wrap in the middle of the string is useful, and while it
can be achieved by ending the $' string, adding a \<nl> and then starting
a new $' string, that is cumbersome - on the other hand the 2nd interp
(simply drop the \) can be done by simply omitting the \ in the input
string,
and the latter, by properly escaping the \ (resulting in \\<nl>) both of
which
are easy, but never mind].

However, there is nothing in the text being added to XRAT about why \<nl>
is unspecified, and there probably should be, for future generations.

Also, assuming that \u and \U are part of the C standard (I actually have
no idea on that assumption) then explaining why they're not being included
here would also help. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-30 21:42 dwheeler       New Issue                                    
2010-04-30 21:42 dwheeler       Status                   New => Under Review 
2010-04-30 21:42 dwheeler       Assigned To               => ajosey          
2010-04-30 21:42 dwheeler       Name                      => David A. Wheeler
2010-04-30 21:42 dwheeler       Section                   => 2.2 Quoting     
2010-04-30 21:42 dwheeler       Page Number               => 2298-2299       
2010-04-30 21:42 dwheeler       Line Number               => 72348-72401     
2010-09-16 16:17 nick           Note Added: 0000548                          
2010-09-18 18:12 Don Cragun     Relationship added       related to 0000322  
2010-10-01 12:48 geoffclare     Note Added: 0000560                          
2010-10-06 01:26 nick           Tag Attached: c99                            
2010-10-08 17:28 mirabilos      Note Added: 0000565                          
2010-10-25 06:17 Don Cragun     Note Added: 0000590                          
2010-10-25 14:51 Don Cragun     Note Edited: 0000590                         
2010-10-25 15:55 Don Cragun     Note Edited: 0000590                         
2010-10-26 06:44 Don Cragun     Note Edited: 0000590                         
2010-10-26 20:39 Don Cragun     Note Edited: 0000590                         
2010-10-26 20:40 Don Cragun     Note Edited: 0000590                         
2010-10-26 20:40 Don Cragun     Note Edited: 0000590                         
2010-10-26 20:45 Don Cragun     Note Edited: 0000590                         
2010-10-26 21:04 Don Cragun     Note Edited: 0000590                         
2010-10-27 03:29 Don Cragun     Note Edited: 0000590                         
2010-11-04 16:07 nick           Note Added: 0000599                          
2010-11-05 02:34 Don Cragun     Note Edited: 0000590                         
2010-11-05 03:00 Don Cragun     Note Added: 0000601                          
2010-11-05 03:04 Don Cragun     Note Edited: 0000601                         
2010-11-05 14:52 nick           Note Added: 0000609                          
2010-11-05 14:54 nick           File Added: n1534.htm                        
2010-11-05 14:56 nick           File Added: n1534_original.htm                  
 
2010-11-11 16:40 Don Cragun     Note Edited: 0000590                         
2010-11-11 16:42 Don Cragun     Note Edited: 0000590                         
2010-11-11 16:44 Don Cragun     Interp Status             => ---             
2010-11-11 16:44 Don Cragun     Final Accepted Text       => See
https://austingroupbugs.net/view.php?id=249#c590 
2010-11-11 16:44 Don Cragun     Status                   Under Review =>
Resolved
2010-11-11 16:44 Don Cragun     Resolution               Open => Accepted As
Marked
2010-11-11 16:44 Don Cragun     Tag Attached: issue8                         
2010-12-09 16:12 Don Cragun     Note Edited: 0000590                         
2015-07-31 15:59 stephane       Issue Monitored: stephane                    
2015-08-20 15:24 nick           Note Edited: 0000590                         
2015-08-20 15:25 nick           Note Edited: 0000590                         
2015-08-20 15:31 nick           Note Added: 0002793                          
2015-08-20 15:32 nick           Note Edited: 0002793                         
2015-08-20 15:33 nick           Note Edited: 0002793                         
2015-09-03 16:40 rhansen        Note Added: 0002809                          
2015-09-03 16:45 rhansen        Note Edited: 0002809                         
2015-09-03 16:48 rhansen        Note Edited: 0002809                         
2015-09-03 17:00 rhansen        Note Edited: 0002809                         
2015-09-03 17:05 rhansen        Note Edited: 0002809                         
2015-09-03 17:10 rhansen        Tag Attached: UTF-8_Locale                    
2015-09-10 20:25 rhansen        Note Added: 0002824                          
2015-09-10 20:26 rhansen        Note Edited: 0002824                         
2015-09-10 20:26 rhansen        Note Edited: 0002824                         
2015-09-10 20:27 rhansen        Note Edited: 0002809                         
2015-10-08 06:43 Don Cragun     Final Accepted Text      See
https://austingroupbugs.net/view.php?id=249#c590 => Previously accepted text is
in https://austingroupbugs.net/view.php?id=249#c590.
2015-10-08 06:43 Don Cragun     Resolution               Accepted As Marked =>
Reopened
2015-10-08 16:32 Don Cragun     Status                   Resolved => Under
Review
2015-10-08 16:41 rhansen        Relationship added       related to 0000985  
2015-11-09 21:10 steffen        Note Added: 0002893                          
2015-11-13 19:19 shware_systems Note Added: 0002922                          
2015-11-13 21:22 steffen        Note Added: 0002923                          
2015-11-13 21:24 steffen        Note Added: 0002925                          
2015-11-13 23:23 shware_systems Note Added: 0002929                          
2015-11-14 14:26 steffen        Note Added: 0002942                          
2016-06-06 21:07 steffen        Note Added: 0003247                          
2016-06-07 19:50 shware_systems Note Added: 0003248                          
2016-06-07 19:53 shware_systems Note Edited: 0003248                         
2016-06-07 20:25 steffen        Note Added: 0003249                          
2016-06-07 20:27 steffen        Note Added: 0003250                          
2016-06-08 06:51 shware_systems Note Added: 0003251                          
2016-06-08 10:43 steffen        Note Added: 0003252                          
2016-06-08 19:55 shware_systems Note Added: 0003254                          
2016-06-09 13:55 steffen        Note Added: 0003256                          
2016-06-09 14:10 stephane       Note Added: 0003257                          
2016-06-09 14:15 shware_systems Note Added: 0003258                          
2016-06-09 14:18 stephane       Note Edited: 0003257                         
2016-06-09 14:26 stephane       Note Edited: 0003257                         
2016-06-09 15:07 steffen        Note Added: 0003259                          
2016-06-09 18:42 stephane       Note Added: 0003262                          
2021-01-31 05:37 calestyo       Issue Monitored: calestyo                    
2021-01-31 05:38 calestyo       Note Added: 0005221                          
2021-01-31 06:48 stephane       Note Added: 0005222                          
2021-01-31 17:08 calestyo       Note Added: 0005223                          
2021-01-31 18:31 stephane       Note Edited: 0005222                         
2021-01-31 18:34 stephane       Note Edited: 0005222                         
2021-02-04 21:38 dwheeler       Note Added: 0005226                          
2021-02-05 16:02 dwheeler       Note Added: 0005227                          
2021-02-05 16:08 dwheeler       Note Added: 0005228                          
2021-02-05 16:42 calestyo       Note Added: 0005229                          
2021-02-18 17:11 nick           Relationship added       parent of 0001413   
2021-03-15 20:38 mirabilos      Note Added: 0005273                          
2021-03-16 09:40 geoffclare     Note Added: 0005275                          
2022-01-14 20:20 calestyo       Issue End Monitor: calestyo                    
2022-01-14 20:20 calestyo       Issue Monitored: calestyo                    
2022-02-25 02:56 calestyo       Note Added: 0005714                          
2022-03-14 00:52 calestyo       Note Added: 0005746                          
2022-03-14 01:22 calestyo       Note Added: 0005747                          
2022-03-14 21:22 shware_systems Note Added: 0005751                          
2022-10-18 10:42 geoffclare     Note Added: 0005995                          
2022-10-18 10:50 geoffclare     Note Edited: 0005995                         
2022-10-19 11:50 kre            Note Added: 0005997                          
======================================================================


  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
    • Re: [10... Steffen Nurpmeso via austin-group-l at The Open Group
      • Re:... Geoff Clare via austin-group-l at The Open Group
        • ... Steffen Nurpmeso via austin-group-l at The Open Group
      • Re:... Robert Elz via austin-group-l at The Open Group
        • ... Steffen Nurpmeso via austin-group-l at The Open Group
        • ... Geoff Clare via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [1003.1(2008... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to