View Issue Details

IDProjectCategoryView StatusLast Update
00009731003.1(2013)/Issue7+TC1Shell and Utilitiespublic2019-06-10 08:54
Reportergeoffclare Assigned To 
PrioritynormalSeverityObjectionTypeOmission
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionpaste
Page Number3016
Line Number100085
Interp StatusApproved
Final Accepted TextSee 0000973:0002781
Summary0000973: paste -s description omits behaviour for empty files
DescriptionThe description of paste -s does not say what happens if an input
file is empty. Existing practice is to write an empty line for
that file.
Desired ActionOn Page: 3016 Line: 100085 Section: paste

In the OPTIONS section, for the -s option change from:

Concatenate all of the lines of each separate input file in command
line order. The <newline> of every line except the last line in each
input file shall be replaced with the <tab>, unless otherwise
specified by the -d option.

to:

Concatenate all of the lines from each input file into one line of
output per file, in command line order. The <newline> of every line
except the last line in each input file shall be replaced with a <tab>,
unless otherwise specified by the -d option. If an input file
is empty, the output line corresponding to that file shall consist of
only a <newline> character.
Tagstc2-2008

Activities

nick

2015-08-06 16:29

manager   bugnote:0002781

Last edited: 2015-08-06 16:31

Interpretation response
------------------------

The standard does not speak to this issue, and as such no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor.

Rationale:
-------------
The description of paste -s does not say what happens if an input
file is empty. Existing practice is to write an empty line for
that file.

Notes to the Editor (not part of this interpretation):
-----------------------------------------------------
On Page: 3016 Line: 100085 Section: paste

In the OPTIONS section, for the -s option change from:

Concatenate all of the lines of each separate input file in command
line order. The <newline> of every line except the last line in each
input file shall be replaced with the <tab>, unless otherwise
specified by the -d option.

to:

Concatenate all of the lines from each input file into one line of
output per file, in command line order. The <newline> of every line
except the last line in each input file shall be replaced with a <tab>,
unless otherwise specified by the -d option. If an input file
is empty, the output line corresponding to that file shall consist of
only a <newline> character.

ajosey

2015-08-07 18:40

manager   bugnote:0002786

Interpretation proposed: 7 August 2015

ajosey

2015-09-07 11:31

manager   bugnote:0002812

Interpretation approved: 7 Sep 2015

Issue History

Date Modified Username Field Change
2015-08-05 14:59 geoffclare New Issue
2015-08-05 14:59 geoffclare Name => Geoff Clare
2015-08-05 14:59 geoffclare Organization => The Open Group
2015-08-05 14:59 geoffclare Section => paste
2015-08-05 14:59 geoffclare Page Number => 3016
2015-08-05 14:59 geoffclare Line Number => 100085
2015-08-05 14:59 geoffclare Interp Status => ---
2015-08-06 16:29 nick Note Added: 0002781
2015-08-06 16:29 nick Tag Attached: tc2-2008
2015-08-06 16:30 nick Interp Status --- => Pending
2015-08-06 16:30 nick Final Accepted Text => See 0000973:0002781
2015-08-06 16:30 nick Status New => Interpretation Required
2015-08-06 16:30 nick Resolution Open => Accepted
2015-08-06 16:31 nick Note Edited: 0002781
2015-08-07 18:40 ajosey Interp Status Pending => Proposed
2015-08-07 18:40 ajosey Note Added: 0002786
2015-09-07 11:31 ajosey Interp Status Proposed => Approved
2015-09-07 11:31 ajosey Note Added: 0002812
2019-06-10 08:54 agadmin Status Interpretation Required => Closed