A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1561 
====================================================================== 
Reported By:                calestyo
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1561
Category:                   Shell and Utilities
Type:                       Enhancement Request
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       Christoph Anton Mitterer 
Organization:                
User Reference:              
Section:                    various 
Page Number:                N/A 
Line Number:                N/A 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2022-02-01 00:10 UTC
Last Modified:              2022-04-16 00:22 UTC
====================================================================== 
Summary:                    clarify what kind of data shell variables need to be
able to hold
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001560 clarify wording of command substitution
related to          0001562 printf utility: clarify what is (byte) ...
related to          0001564 clariy on what (character/byte) strings...
====================================================================== 

---------------------------------------------------------------------- 
 (0005808) calestyo (reporter) - 2022-04-16 00:22
 https://www.austingroupbugs.net/view.php?id=1561#c5808 
---------------------------------------------------------------------- 
I tried to go through all the possible points to deal with, that have come
up so far in this ticket.

I'd say that no adaptions (like re-iterations) are needed in these:
- 3.239 Parameter, page 62
- 3.393 Variable, page 85
- 2.6.3 Command Substitution, page 2323 (unlike assumed in the description
of this issue, I not longer think anything needs to be done there, which
wouldn't have already been dealt with in other tickets).




As far as I can see all have been dealt with, except for the following:


- My original point (3) from the "Desired Actions" (the definition of
"Stream" using "characters" although it can be bytes)... shall I open
another ticket for this to be dealt with?


- My original point (2) from the "Desired Actions" (would a shell be
allowed to transform the value or to skip env vars which are not valid
characters), is kinda still open.
I mean it's specified now, that any byte values (except NUL) need to be
supported, but not ruled out whether shells might still do any fancy
transformations (e.g. mapping any such bytes that do not form characters
into special Unicode regions).

Should something be done about that? Like excluding it or declaring it
explicitly unspecified - or should it simply be left out?


- https://www.austingroupbugs.net/view.php?id=1561#c5669
That solves point (4) (in the sense that it's explicitly unspecified)...
perhaps with the following to be considered by some expert:

I've noticed, that the line KRE was quoting (page 2335, lines 75446-75449
and their counterparts on page 2336, lines 75469-75472) were all "only"
about "Non-built-in Utility Execution".

Does that open any holes with respect to regular built-in utilities?
Utilities are not only the 3.369 Standard Utilities (none of which would
use any such strangely named environment variables, I guess)... so a shell
could, AFAIU it, make *any* program a built-in utility, right?
Such program may however either expect that such ill-named variables are
present - or the opposite - not present.

Does anyone think that the same (i.e. that it's unspecified) should be
included for regular built-ins, too?


- With respect to https://www.austingroupbugs.net/view.php?id=1561#c5668

Should page 2351, line 76081-76082 include a note with respect to what's
been said in page 2335, lines 75446-75449 and their counterparts on page
2336, lines 75469-75472.... namely that in addition to the variables with
export attribute, also such with invalid names *might* be passed on
(respectively that it's unspecified whether or not)? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2022-02-01 00:10 calestyo       New Issue                                    
2022-02-01 00:10 calestyo       Name                      => Christoph Anton
Mitterer
2022-02-01 00:10 calestyo       Section                   => various         
2022-02-01 00:10 calestyo       Page Number               => N/A             
2022-02-01 00:10 calestyo       Line Number               => N/A             
2022-02-01 19:33 mirabilos      Note Added: 0005645                          
2022-02-01 19:44 calestyo       Note Added: 0005647                          
2022-02-01 20:52 chet_ramey     Note Added: 0005649                          
2022-02-01 23:07 kre            Note Added: 0005650                          
2022-02-02 15:15 chet_ramey     Note Added: 0005652                          
2022-02-02 16:39 calestyo       Note Added: 0005653                          
2022-02-02 18:44 kre            Note Added: 0005654                          
2022-02-06 11:18 mirabilos      Note Added: 0005662                          
2022-02-06 18:18 chet_ramey     Note Added: 0005665                          
2022-02-06 23:17 kre            Note Added: 0005666                          
2022-02-08 15:14 calestyo       Note Added: 0005668                          
2022-02-09 01:58 kre            Note Added: 0005669                          
2022-04-07 16:29 geoffclare     Relationship added       related to 0001560  
2022-04-07 16:30 geoffclare     Relationship added       related to 0001562  
2022-04-07 16:30 geoffclare     Relationship added       related to 0001564  
2022-04-11 13:52 geoffclare     Note Added: 0005795                          
2022-04-15 23:38 calestyo       Note Added: 0005807                          
2022-04-16 00:22 calestyo       Note Added: 0005808                          
======================================================================


  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
    • Re: [Is... Geoff Clare via austin-group-l at The Open Group
      • Re:... Christoph Anton Mitterer via austin-group-l at The Open Group
        • ... Geoff Clare via austin-group-l at The Open Group
          • ... Christoph Anton Mitterer via austin-group-l at The Open Group
  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to