The following issue has been SUBMITTED. ====================================================================== https://austingroupbugs.net/view.php?id=1886 ====================================================================== Reported By: geoffclare Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1886 Category: Shell and Utilities Type: Clarification Requested Severity: Objection Priority: normal Status: New Name: Geoff Clare Organization: The Open Group User Reference: Section: 1.4 Utility Description Defaults Page Number: 2463 Line Number: 79723 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2024-12-05 14:31 UTC Last Modified: 2024-12-05 14:31 UTC ====================================================================== Summary: Conflicting statements about '-' as an operand Description: The text about '-' under OPERANDS in Utility Description Defaults does not match syntax Guideline 13 in XBD 12.2, which says:<blockquote>For utilities that use operands to represent files to be opened for either reading or writing, the '-' operand should be used to mean only standard input (or standard output when it is clear from context that an output file is being specified) or a file named -.</blockquote>
Desired Action: Change:<blockquote>If an operand naming a file can be specified as '-', which means to use the standard input instead of a named file, this is explicitly stated in this section. Unless otherwise stated, the use of multiple instances of '-' to mean standard input in a single command produces unspecified results.</blockquote>to:<blockquote>If an operand naming a file to be opened for either reading or writing can be specified as '-' and the meaning of such an operand is not as stated in Guideline 13 in [xref to XBD 12.2], this is explicitly stated in this section. Unless otherwise stated, for utilities where '-' as an operand means to use the standard input, the use of multiple instances of '-' as operands in a single command produces unspecified results.</blockquote> ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2024-12-05 14:31 geoffclare New Issue 2024-12-05 14:31 geoffclare Name => Geoff Clare 2024-12-05 14:31 geoffclare Organization => The Open Group 2024-12-05 14:31 geoffclare Section => 1.4 Utility Description Defaults 2024-12-05 14:31 geoffclare Page Number => 2463 2024-12-05 14:31 geoffclare Line Number => 79723 2024-12-05 14:31 geoffclare Interp Status => --- ======================================================================