A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1879 
====================================================================== 
Reported By:                calestyo
Assigned To:                
====================================================================== 
Project:                    1003.1(2024)/Issue8
Issue ID:                   1879
Category:                   Shell and Utilities
Type:                       Clarification Requested
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       Christoph Anton Mitterer 
Organization:                
User Reference:              
Section:                    Shell Command Language 
Page Number:                various 
Line Number:                various 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2024-11-26 04:30 UTC
Last Modified:              2024-11-27 20:47 UTC
====================================================================== 
Summary:                    claifications/improvements around command/exec and
special built-in redirection errors
====================================================================== 

---------------------------------------------------------------------- 
 (0006973) calestyo (reporter) - 2024-11-27 20:47
 https://austingroupbugs.net/view.php?id=1879#c6973 
---------------------------------------------------------------------- 
> ...it seems to me that the lack of descriptions of
> consequences of errors in the EXIT STATUS section is intentional. 

May be. But as it's written now, I would not necessarily interpret it as
the shell must abort when a redirection error occurs on exec (without any
other command in it).
IOW, bash's (default) behaviour would now be POSIX compliant.

But even that, is IMO not really said by the text, because it still loosely
links to 2.8.1, and there are still numerous other parts in the standard,
where it says that errors (or explicitly redirection errors) on special
built-ins shall cause the shell to exit (and AFAIU, "immediately", that is
in exec <does-not-exist || echo foo ... foo should NOT be printed, 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2024-11-26 04:30 calestyo       New Issue                                    
2024-11-26 04:30 calestyo       Name                      => Christoph Anton
Mitterer
2024-11-26 04:30 calestyo       Section                   => Shell Command
Language
2024-11-26 04:30 calestyo       Page Number               => various         
2024-11-26 04:30 calestyo       Line Number               => various         
2024-11-26 08:23 larryv         Note Added: 0006970                          
2024-11-26 08:26 larryv         Note Edited: 0006970                         
2024-11-26 08:27 larryv         Note Edited: 0006970                         
2024-11-26 18:48 calestyo       Note Added: 0006971                          
2024-11-27 07:19 larryv         Note Added: 0006972                          
2024-11-27 20:47 calestyo       Note Added: 0006973                          
======================================================================


  • [1003.1(2024... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
      • Re:... Christoph Anton Mitterer via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to