The following issue has been SUBMITTED. ====================================================================== http://austingroupbugs.net/view.php?id=1266 ====================================================================== Reported By: dennisw Assigned To: ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1266 Category: Shell and Utilities Type: Error Severity: Objection Priority: normal Status: New Name: Dennis Wölfing Organization: User Reference: Section: sh Page Number: 3226 Line Number: 108308-108309 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2019-07-03 15:18 UTC Last Modified: 2019-07-03 15:18 UTC ====================================================================== Summary: 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: <blockquote>If the <b>−i</b> option is present, or if there are no operands and the shell’s standard input and standard error are attached to a terminal, the shell is considered to be <i>interactive</i>.</blockquote> to <blockquote>If the <b>−i</b> option is present, or if the shell reads commands from the standard input and the shell’s standard input and standard error are attached to a terminal, the shell is considered to be <i>interactive</i>.</blockquote> ======================================================================
Issue History 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 ======================================================================
