Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0001836 |
[1003.1(2024)/Issue8] Shell and Utilities |
Objection |
Omission |
2024-06-27 15:55 |
2024-07-11 15:50 |
|
Reporter |
geoffclare |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Accepted |
|
Status |
Resolved |
|
|
|
|
Name |
Geoff Clare |
Organization |
The Open Group |
User Reference |
|
Section |
expand, unexpand |
Page Number |
2912, 3491 |
Line Number |
97167, 97169, 119166, 119168 |
Interp Status |
--- |
Final Accepted Text |
|
|
Summary |
0001836: Missing statements about reading from standard input |
Description |
The expand and unexpand pages are missing the usual statements in OPERANDS and STDIN about reading from standard input when no file operands are specified.
It is clear from the SYNOPSIS that executing these utilities with no file operands is allowed, and the reference to INPUT FILES from STDIN gives a clue that the intended behaviour is for them to read from standard input in that case.
|
Desired Action |
On page 2912 line 97167 section expand (OPERANDS), change:The pathname of a text file to be used as input. to:A pathname of a text file to be used as input. If no file operands are specified, the standard input shall be used.
On page 2912 line 97169 section expand (STDIN), change:See the INPUT FILES section. to:The standard input shall be used if no file operands are specified, and shall be used if a file operand is '-' and the implementation treats the '-' as meaning standard input. Otherwise, the standard input shall not be used. See the INPUT FILES section.
On page 3491 line 119166 section unexpand (OPERANDS), change:A pathname of a text file to be used as input. to:A pathname of a text file to be used as input. If no file operands are specified, the standard input shall be used.
On page 3491 line 119168 section unexpand (STDIN), change:See the INPUT FILES section. to:The standard input shall be used if no file operands are specified, and shall be used if a file operand is '-' and the implementation treats the '-' as meaning standard input. Otherwise, the standard input shall not be used. See the INPUT FILES section.
|
Tags |
tc1-2024 |
|
Attached Files |
|
|