A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=1914 ====================================================================== Reported By: rillig Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1914 Category: Shell and Utilities Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: Roland Illig Organization: User Reference: Section: Issue 8, Volume 3, expr Page Number: 2916 Line Number: 97319, 97321 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2025-03-15 16:20 UTC Last Modified: 2025-03-20 14:20 UTC ====================================================================== Summary: expr: short-circuit evaluation ======================================================================
---------------------------------------------------------------------- (0007128) dwheeler (reporter) - 2025-03-20 14:20 https://www.austingroupbugs.net/view.php?id=1914#c7128 ---------------------------------------------------------------------- Are there implementations that do NOT short-circuit? Obviously, speed isn't a critical need here, but short-circuiting is pretty common behavior for "and" and "or" when you look across the landscape. I know Ada has both operations ("and then" short-circuits while "and" doesn't), but if the specification can specifically require short-circuits, that would eliminate some unnecessary variation. Issue History Date Modified Username Field Change ====================================================================== 2025-03-15 16:20 rillig New Issue 2025-03-18 10:05 geoffclare Note Added: 0007121 2025-03-18 18:45 rillig Note Added: 0007126 2025-03-20 09:42 geoffclare Note Added: 0007127 2025-03-20 14:20 dwheeler Note Added: 0007128 ======================================================================