View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001266 | 1003.1(2016/18)/Issue7+TC2 | Shell and Utilities | public | 2019-07-03 15:18 | 2024-06-11 09:08 |
Reporter | dennisw | Assigned To | |||
Priority | normal | Severity | Objection | Type | Error |
Status | Closed | Resolution | Accepted | ||
Name | Dennis Wölfing | ||||
Organization | |||||
User Reference | |||||
Section | sh | ||||
Page Number | 3226 | ||||
Line Number | 108308-108309 | ||||
Interp Status | Approved | ||||
Final Accepted Text | See 0001266:0004504. | ||||
Summary | 0001266: sh -s with operands | ||||
Description | When the -i option is not present, the standard currently says that the shell is only interactive when there are no operands and stdin and stderr are a terminal. However when the -s option is given commands are read from stdin even when operands are present and existing shells do treat -s with operands as interactive when stdin and stderr refer to a terminal. | ||||
Desired Action | On page 3226 lines 108308-108309 section sh, change: If the −i option is present, or if there are no operands and the shell’s standard input andto If the −i option is present, or if the shell reads commands from the standard input and the shell’s standard input and | ||||
Tags | tc3-2008 |
|
Interpretation response ------------------------ The standard clearly states that sh -s arg... is not interactive, and conforming implementations must conform to this. However, concerns have been raised about this which are being referred to the sponsor. Rationale: ------------- All known shells, except yash, make the shell interactive in this case when standard input and standard error are connected to a terminal and we believe this historic behavior is correct. Notes to the Editor (not part of this interpretation): ------------------------------------------------------- Make the changes suggested in the Desired Action. |
|
Interpretation proposed: 7 October 2019 |
|
Interpretation Approved: 11 Nov 2019 |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-07-03 15:18 | dennisw | New Issue | |
2019-07-03 15:18 | dennisw | Name | => Dennis Wölfing |
2019-07-03 15:18 | dennisw | Section | => sh |
2019-07-03 15:18 | dennisw | Page Number | => 3226 |
2019-07-03 15:18 | dennisw | Line Number | => 108308-108309 |
2019-08-01 16:05 | Don Cragun | Note Added: 0004504 | |
2019-08-01 16:06 | Don Cragun | Interp Status | => --- |
2019-08-01 16:06 | Don Cragun | Final Accepted Text | => See 0001266:0004504. |
2019-08-01 16:06 | Don Cragun | Status | New => Interpretation Required |
2019-08-01 16:06 | Don Cragun | Resolution | Open => Accepted |
2019-08-01 16:06 | Don Cragun | Tag Attached: tc3-2008 | |
2019-08-01 16:07 | Don Cragun | Interp Status | --- => Pending |
2019-10-07 15:15 | agadmin | Interp Status | Pending => Proposed |
2019-10-07 15:15 | agadmin | Note Added: 0004598 | |
2019-11-11 12:19 | agadmin | Interp Status | Proposed => Approved |
2019-11-11 12:19 | agadmin | Note Added: 0004644 | |
2019-12-05 11:16 | geoffclare | Status | Interpretation Required => Applied |
2024-06-11 09:08 | agadmin | Status | Applied => Closed |