View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001732 | 1003.1(2016/18)/Issue7+TC2 | Shell and Utilities | public | 2023-05-23 13:50 | 2024-06-11 09:07 |
Reporter | geoffclare | Assigned To | |||
Priority | normal | Severity | Objection | Type | Error |
Status | Closed | Resolution | Accepted As Marked | ||
Name | Geoff Clare | ||||
Organization | The Open Group | ||||
User Reference | |||||
Section | cp, mv | ||||
Page Number | 2609, 3020 | ||||
Line Number | 84793, 100451 | ||||
Interp Status | Approved | ||||
Final Accepted Text | See 0001732:0006410. | ||||
Summary | 0001732: cp and mv EXIT STATUS does not account for -i | ||||
Description | The description of cp exit status 0 is:All input files were copied successfully.and for mv it is: All input files were moved successfully.These do not take into account a "no" answer to a prompt when -i is used. Compare with rm: Each directory entry was successfully removed, unless its removal was canceled by a non-affirmative response to a prompt for confirmation. | ||||
Desired Action | On page 2609 line 84793 section cp, change:All input files were copied successfully.to: Each file was successfully copied, unless copying it was canceled by a non-affirmative response to a prompt for confirmation. On page 3020 line 100451 section mv, change: All input files were moved successfully.to: Each file was successfully moved, unless moving it was canceled by a non-affirmative response to a prompt for confirmation. | ||||
Tags | applied_after_i8d3, tc3-2008 |
|
Interpretation response ------------------------ The standard is unclear on this issue, and no conformance distinction can be made between alternative implementations based on this. This is being referred to the sponsor. Rationale: ------------- The cp and mv utility's EXIT STATUS sections did not properly account for the interaction with the -i option. Notes to the Editor (not part of this interpretation): ------------------------------------------------------- On page 2609 line 84793 section cp, change: All input files were copied successfully.to: All requested files (excluding files where a non-affirmative response was given to a request for confirmation) were successfully copied. On page 3020 line 100451 section mv, change: All input files were moved successfully.to: All requested files (excluding files where a non-affirmative response was given to a request for confirmation) were successfully moved. On page 3200, line 107342-107343 section rm, change: Each directory entry was successfully removed, unless its removal was canceled by a non-affirmative response to a prompt for confirmation.to: All requested directory entries (excluding directory entries where a non-affirmative response was given to a request for confirmation) were successfully deleted. |
|
Interpretation proposed: 31 July 2023 |
|
Interpretation approved: 4th September 2023 |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-23 13:50 | geoffclare | New Issue | |
2023-05-23 13:50 | geoffclare | Name | => Geoff Clare |
2023-05-23 13:50 | geoffclare | Organization | => The Open Group |
2023-05-23 13:50 | geoffclare | Section | => cp, mv |
2023-05-23 13:50 | geoffclare | Page Number | => 2609, 3020 |
2023-05-23 13:50 | geoffclare | Line Number | => 84793, 100451 |
2023-05-23 13:50 | geoffclare | Interp Status | => --- |
2023-07-31 15:26 | Don Cragun | Note Added: 0006410 | |
2023-07-31 15:27 | Don Cragun | Final Accepted Text | => See 0001732:0006410. |
2023-07-31 15:27 | Don Cragun | Status | New => Interpretation Required |
2023-07-31 15:27 | Don Cragun | Resolution | Open => Accepted As Marked |
2023-07-31 15:27 | Don Cragun | Tag Attached: tc3-2008 | |
2023-07-31 16:32 | agadmin | Interp Status | --- => Proposed |
2023-07-31 16:32 | agadmin | Note Added: 0006413 | |
2023-09-04 08:20 | agadmin | Interp Status | Proposed => Approved |
2023-09-04 08:20 | agadmin | Note Added: 0006454 | |
2023-09-05 11:00 | geoffclare | Status | Interpretation Required => Applied |
2023-09-05 11:00 | geoffclare | Tag Attached: applied_after_i8d3 | |
2024-06-11 09:07 | agadmin | Status | Applied => Closed |