Austin Group Defect Tracker

Aardvark Mark IV


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

- Relationships

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
2024-08-15 19:43 salewski Issue Monitored: salewski


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker