View Issue Details

IDProjectCategoryView StatusLast Update
00018361003.1(2024)/Issue8Shell and Utilitiespublic2024-07-11 15:50
Reportergeoffclare Assigned To 
PrioritynormalSeverityObjectionTypeOmission
Status ResolvedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionexpand, unexpand
Page Number2912, 3491
Line Number97167, 97169, 119166, 119168
Interp Status---
Final Accepted Text
Summary0001836: Missing statements about reading from standard input
DescriptionThe 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 ActionOn 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.

Tagstc1-2024

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-06-27 15:55 geoffclare New Issue
2024-06-27 15:55 geoffclare Name => Geoff Clare
2024-06-27 15:55 geoffclare Organization => The Open Group
2024-06-27 15:55 geoffclare Section => expand, unexpand
2024-06-27 15:55 geoffclare Page Number => 2912, 3491
2024-06-27 15:55 geoffclare Line Number => 97167, 97169, 119166, 119168
2024-06-27 15:55 geoffclare Interp Status => ---
2024-06-27 15:58 geoffclare Desired Action Updated
2024-07-11 15:50 Don Cragun Status New => Resolved
2024-07-11 15:50 Don Cragun Resolution Open => Accepted
2024-07-11 15:50 Don Cragun Tag Attached: tc1-2024