Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0001745 |
[1003.1(2016/18)/Issue7+TC2] Shell and Utilities |
Objection |
Clarification Requested |
2023-06-13 14:32 |
2024-06-11 09:07 |
|
Reporter |
geoffclare |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Accepted As Marked |
|
Status |
Closed |
|
|
|
|
Name |
Geoff Clare |
Organization |
The Open Group |
User Reference |
|
Section |
tsort |
Page Number |
3319 |
Line Number |
111766 |
Interp Status |
Approved |
Final Accepted Text |
See Note: 0006408. |
|
Summary |
0001745: tsort input and output format clarifications |
Description |
The tsort description seems to require applications to supply a single line of input:The application shall ensure that the input consists of pairs of items (non-empty strings) separated by <blank> characters. However, the example shows input split over multiple lines.
It appears that most implementations accept any white-space characters as separators, although the GNU coreutils version only accepts blanks and newlines.
Also, it doesn't say whether there can be multiple separator characters between items, which all implementations I tried accept, or that the output is one-item-per-line.
|
Desired Action |
On page 3319 line 111766 section tsort, change:The application shall ensure that the input consists of pairs of items (non-empty strings) separated by <blank> characters. Pairs of different items indicate ordering. Pairs of identical items indicate presence, but not ordering. to:The application shall ensure that the input consists of pairs of items (non-empty strings) separated by one or more <blank> or <newline> characters. It is unspecified whether other white-space characters can also be used as separators. Pairs of different items shall indicate ordering. Pairs of identical items shall indicate presence, but not ordering.
On page 3319 line 111798 section tsort, change:The standard output shall be a text file consisting of the order list produced from the partially ordered input. to:The standard output shall be a text file consisting of the ordered list of items, with one item per line, produced from the partially ordered input.
|
Tags |
applied_after_i8d3, tc3-2008 |
|
Attached Files |
|
|