A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1813 
====================================================================== 
Reported By:                kre
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1813
Category:                   Shell and Utilities
Type:                       Error
Severity:                   Editorial
Priority:                   normal
Status:                     New
Name:                       Robert Elz 
Organization:                
User Reference:              
Section:                    XCU 3 / xargs 
Page Number:                3600-3603 
Line Number:                123177-8 123183 123184-6 123228-32 123233-7 123252-3
123263 123304-6 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2024-02-16 14:42 UTC
Last Modified:              2024-04-18 16:24 UTC
====================================================================== 
Summary:                    generic xargs description cleanups
====================================================================== 

---------------------------------------------------------------------- 
 (0006767) geoffclare (manager) - 2024-04-18 16:24
 https://austingroupbugs.net/view.php?id=1813#c6767 
---------------------------------------------------------------------- 
Interpretation response
------------------------
The standard is unclear on this issue, and no conformance distinction can
be made between alternative implementations based on this. This is being
referred to the sponsor.

Rationale:
-------------
None.

Notes to the Editor (not part of this interpretation):
-------------------------------------------------------

On page 3600 line 123176, change:
<blockquote>the application shall ensure that arguments in the standard
input are delimited by unquoted <blank> characters, unescaped <blank>
characters, or <newline> characters</blockquote>
to:
<blockquote>the application shall ensure that arguments in the standard
input are delimited by <blank> characters that are neither quoted nor
escaped, or by unescaped <newline> characters</blockquote>

After page 3600 line 123183, add two bullet items:
<blockquote><ul>
<li>Quoting and escaping characters shall not be included in the arguments
passed to <i>utility</i>. Escaped <newline> characters shall be included in
the arguments.</li>
<li>It shall be an error if an attempt is made to quote a <newline>
character.</li>
</ul></blockquote>

On page 3601 line 123231, change:
<blockquote>or {LINE_MAX} if there is no <b>−s</b> option</blockquote>
to:
<blockquote>or the default command line length if there is no <b>−s</b>
option</blockquote>

On page 3601 line 123232, change:
<blockquote>The last iteration has fewer than <i>number</i>, but not zero,
operands remaining.</blockquote>
to:
<blockquote>The last iteration has fewer than <i>number</i> operands
remaining, or zero arguments were read from standard input (and the
<b>-r</b> option is not specified).</blockquote>

On page 3602 line 123263, change:
<blockquote>The name of the utility to be invoked, found by search path
using ...</blockquote>
to:
<blockquote>The name of the utility to be invoked. If the name does not
contain a <slash> character, the utility shall be found by search path
using ...</blockquote>

On page 3603 line 123302, change:
<blockquote>If the <b>−t</b> option is specified, the utility and its
constructed argument list shall be written to standard error, as it will be
invoked, prior to invocation.</blockquote>
to:
<blockquote>If the <b>−t</b> option is specified, the utility and its
constructed argument list, with a <space> character preceding each argument
and a terminating <newline>, shall be written to standard error, as it will
be invoked, prior to invocation. Implementations may insert quoting and
escaping characters in the output produced by <b>-t</b> such that the
output (minus the utility name) can be unambiguously used as input to a
subsequent <i>xargs</i> command and result in the same constructed argument
list.</blockquote>

On page 3603 line 123304, change:
<blockquote>a prompt of the following format shall be written (in the POSIX
locale):
<pre>"?..."</pre>
at the end of the line of the output from <b>−t</b>.</blockquote>
to:
<blockquote>a prompt shall be written at the end of the line of the output
from <b>−t</b>. In the POSIX locale, the format of the prompt shall be:
<pre>"?..."</pre></blockquote> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2024-02-16 14:42 kre            New Issue                                    
2024-02-16 14:42 kre            Name                      => Robert Elz      
2024-02-16 14:42 kre            Section                   => XCU 3 / xargs   
2024-02-16 14:42 kre            Page Number               => 3600-3603       
2024-02-16 14:42 kre            Line Number               => 123177-8 123183
123184-6 123228-32 123233-7 123252-3 123263 123304-6
2024-04-18 16:24 geoffclare     Note Added: 0006767                          
======================================================================


  • [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

Reply via email to