A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1913 
====================================================================== 
Reported By:                calestyo
Assigned To:                geoffclare
====================================================================== 
Project:                    1003.1(2024)/Issue8
Issue ID:                   1913
Category:                   Shell and Utilities
Tags:                       tc1-2024
Type:                       Enhancement Request
Severity:                   Editorial
Priority:                   normal
Status:                     Interpretation Required
Name:                       Christoph Anton Mitterer 
Organization:                
User Reference:             Shell & Utilities 
Section:                    2.7.5, 2.7.6 
Page Number:                2497 
Line Number:                81097-81118 
Interp Status:              Pending 
Final Accepted Text:       
https://www.austingroupbugs.net/view.php?id=1913#c7300 
Resolution:                 Accepted As Marked
Fixed in Version:           
====================================================================== 
Date Submitted:             2025-03-12 03:33 UTC
Last Modified:              2025-11-14 08:13 UTC
====================================================================== 
Summary:                    clarify/define the meaning of n<&n and m>&m
redirections
====================================================================== 

---------------------------------------------------------------------- 
 (0007325) stephane (reporter) - 2025-11-14 08:13
 https://www.austingroupbugs.net/view.php?id=1913#c7325 
---------------------------------------------------------------------- 
> If, and only if, job control is disabled, the standard input for the subshell
in which an asynchronous AND-OR list is executed shall be assigned to an open
file description that behaves as if /dev/null had been opened for reading only

Though it seems to be the exception, zsh appears to open /dev/null in read+write
mode, which sounds better to me. I don't see a benefit of preventing shells from
doing so by mandating that read-only above. Having it open *at least* for
reading is important.

<pre>
$ ksh -c 'ls -ogd /proc/self/fd/0 & wait'
lr-x------ 1 64 Nov 14 08:09 /proc/self/fd/0 -> /dev/null
$ zsh -c 'ls -ogd /proc/self/fd/0 & wait'
lrwx------ 1 64 Nov 14 08:09 /proc/self/fd/0 -> /dev/null
</pre> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2025-03-12 03:33 calestyo       New Issue                                    
2025-03-12 07:00 larryv         Note Added: 0007111                          
2025-03-13 02:41 calestyo       Note Added: 0007112                          
2025-03-13 16:12 geoffclare     Note Added: 0007115                          
2025-03-13 17:48 calestyo       Note Added: 0007117                          
2025-03-13 20:20 larryv         Note Added: 0007119                          
2025-03-13 20:43 larryv         Note Added: 0007120                          
2025-03-14 09:44 geoffclare     Note Edited: 0007115                         
2025-03-18 12:30 geoffclare     Note Added: 0007125                          
2025-03-20 14:49 geoffclare     Note Edited: 0007115                         
2025-09-25 11:34 geoffclare     Note Added: 0007277                          
2025-10-23 15:34 geoffclare     Note Edited: 0007277                         
2025-10-23 15:36 geoffclare     Note Edited: 0007277                         
2025-10-23 15:37 geoffclare     Status                   New => Interpretation
Required
2025-10-23 15:37 geoffclare     Resolution               Open => Accepted As
Marked
2025-10-23 15:37 geoffclare     Interp Status             => Pending         
2025-10-23 15:37 geoffclare     Final Accepted Text       =>
https://www.austingroupbugs.net/view.php?id=1913#c7277    
2025-10-23 15:38 geoffclare     Tag Attached: tc1-2024                       
2025-10-23 15:52 ajosey         Interp Status            Pending => Proposed 
2025-10-23 15:52 ajosey         Note Added: 0007289                          
2025-10-23 16:46 hvd            Note Added: 0007291                          
2025-10-23 21:17 stephane       Note Added: 0007292                          
2025-10-23 21:24 stephane       Note Added: 0007293                          
2025-10-25 18:47 hvd            Note Added: 0007294                          
2025-10-28 11:59 geoffclare     Note Added: 0007295                          
2025-10-28 12:35 hvd            Note Added: 0007296                          
2025-10-28 15:52 geoffclare     Note Added: 0007297                          
2025-10-28 16:30 hvd            Note Added: 0007298                          
2025-10-30 15:23 geoffclare     Note Added: 0007299                          
2025-10-30 16:41 geoffclare     Assigned To               => geoffclare      
2025-10-30 16:41 geoffclare     Status                   Interpretation Required
=> Under Review
2025-10-30 16:41 geoffclare     Resolution               Accepted As Marked =>
Reopened
2025-10-30 16:41 geoffclare     Note Added: 0007300                          
2025-10-30 16:44 geoffclare     Interp Status            Proposed => Pending 
2025-10-30 16:44 geoffclare     Final Accepted Text     
https://www.austingroupbugs.net/view.php?id=1913#c7277 =>     
2025-11-13 16:21 geoffclare     Note Edited: 0007300                         
2025-11-13 16:21 geoffclare     Note Edited: 0007277                         
2025-11-13 16:22 geoffclare     Status                   Under Review =>
Interpretation Required
2025-11-13 16:22 geoffclare     Resolution               Reopened => Accepted As
Marked
2025-11-13 16:22 geoffclare     Final Accepted Text       =>
https://www.austingroupbugs.net/view.php?id=1913#c7300    
2025-11-14 08:13 stephane       Note Added: 0007325                          
======================================================================


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

Reply via email to