A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=1629 ====================================================================== Reported By: mirabilos Assigned To: ====================================================================== Project: 1003.1(2016/18)/Issue7+TC2 Issue ID: 1629 Category: Shell and Utilities Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: mirabilos Organization: mksh User Reference: Section: unsure which applies Page Number: (page or range of pages) Line Number: (Line or range of lines) Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2023-01-15 17:30 UTC Last Modified: 2023-03-10 21:33 UTC ====================================================================== Summary: Shell vs. read(2) errors on the script ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0000367 interaction between readonly, export, g... ======================================================================
---------------------------------------------------------------------- (0006201) chet_ramey (reporter) - 2023-03-10 21:33 https://www.austingroupbugs.net/view.php?id=1629#c6201 ---------------------------------------------------------------------- I'm going to change the bash behavior to exit immediately with status 128 on read errors while reading commands from a script. I'm going to hold off changing any other behavior. Bash already reads an entire `.' file before parsing and executing any commands in it, so that's not going to be a problem. I'd like to see the behavior of `command .' and `command eval' standardized so shells don't exit if the builtin fails, even with a read error, but I'm willing to have the discussion. Issue History Date Modified Username Field Change ====================================================================== 2023-01-15 17:30 mirabilos New Issue 2023-01-15 17:30 mirabilos Name => mirabilos 2023-01-15 17:30 mirabilos Organization => mksh 2023-01-15 17:30 mirabilos URL => unsure which applies 2023-01-15 17:30 mirabilos Section => unsure which applies 2023-01-20 21:18 chet_ramey Note Added: 0006120 2023-01-30 16:45 nick Relationship added related to 0000367 2023-02-02 15:51 chet_ramey Note Added: 0006142 2023-02-04 17:46 chet_ramey Note Added: 0006143 2023-02-09 16:59 geoffclare Note Added: 0006145 2023-02-09 17:06 geoffclare Project Online Pubs => 1003.1(2016/18)/Issue7+TC2 2023-02-18 21:51 mirabilos Note Added: 0006158 2023-02-18 21:54 mirabilos Note Edited: 0006158 2023-02-20 21:14 chet_ramey Note Added: 0006160 2023-02-20 22:47 mirabilos Note Added: 0006161 2023-02-21 05:58 kre Note Added: 0006163 2023-02-22 17:25 McDutchie Note Added: 0006167 2023-02-22 17:32 McDutchie Note Edited: 0006167 2023-02-22 17:39 McDutchie Note Added: 0006168 2023-03-05 11:20 hvd Note Added: 0006192 2023-03-06 19:07 hvd Note Added: 0006195 2023-03-06 19:10 hvd Note Edited: 0006195 2023-03-06 19:11 hvd Note Edited: 0006195 2023-03-06 19:13 hvd Note Edited: 0006195 2023-03-09 17:29 geoffclare Note Added: 0006196 2023-03-09 17:44 hvd Note Added: 0006197 2023-03-10 09:20 geoffclare Note Added: 0006198 2023-03-10 10:57 hvd Note Added: 0006199 2023-03-10 14:52 kre Note Added: 0006200 2023-03-10 21:33 chet_ramey Note Added: 0006201 ======================================================================