Anonymous | Login | 2024-04-18 20:36 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0000718 | [1003.1(2013)/Issue7+TC1] Shell and Utilities | Objection | Error | 2013-06-29 21:43 | 2019-06-10 08:55 | ||
Reporter | rhansen | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | ||||||
Name | Richard Hansen | ||||||
Organization | BBN | ||||||
User Reference | |||||||
Section | XCU 2.3 (Token Recognition), XCU description of sh | ||||||
Page Number | 2321, 3190 | ||||||
Line Number | 73637-73638, 106748-106752 | ||||||
Interp Status | --- | ||||||
Final Accepted Text | see Note: 0001672 | ||||||
Summary | 0000718: sh -i -c '...' should not read its input from terminal | ||||||
Description |
XCU 2.3 page 2321 lines 73637-73638 says: The shell shall read its input in terms of lines from a file, from a terminal in the case of an interactive shell, or from a string in the case of sh −c or system(). XCU description of sh page 3190 lines 106748-106752 says: The standard input shall be used only if one of the following is true: * The −s option is specified. * The −c option is not specified and no operands are specified. * The script executes one or more commands that require input from standard input (such as a read command that does not redirect its input). These two sections conflict in this case: sh -i -c '...' |
||||||
Desired Action |
Change XCU 2.3 page 2321 lines 73637-73638 from: The shell shall read its input in terms of lines from a file, from a terminal in the case of an interactive shell, or from a string in the case of sh −c or system(). to: The shell shall read its input in terms of lines. (For details about how the shell reads its input, see the description of the sh utility on page 3189.) |
||||||
Tags | tc2-2008 | ||||||
Attached Files | |||||||
|
Relationships | ||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2013-06-29 21:43 | rhansen | New Issue | |
2013-06-29 21:43 | rhansen | Name | => Richard Hansen |
2013-06-29 21:43 | rhansen | Organization | => BBN |
2013-06-29 21:43 | rhansen | Section | => XCU 2.3 (Token Recognition), XCU description of sh |
2013-06-29 21:43 | rhansen | Page Number | => 2321, 3190 |
2013-06-29 21:43 | rhansen | Line Number | => 73637-73638, 106748-106752 |
2013-07-11 15:55 | eblake | Note Added: 0001672 | |
2013-07-11 15:56 | eblake | Interp Status | => --- |
2013-07-11 15:56 | eblake | Final Accepted Text | => see Note: 0001672 |
2013-07-11 15:56 | eblake | Status | New => Resolved |
2013-07-11 15:56 | eblake | Resolution | Open => Accepted As Marked |
2013-07-11 15:56 | eblake | Tag Attached: tc2-2008 | |
2013-07-11 15:56 | eblake | Note Edited: 0001672 | |
2013-08-22 16:08 | nick | Relationship added | related to 0000736 |
2019-06-10 08:55 | agadmin | Status | Resolved => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |