View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002009 | 1003.1(2024)/Issue8 | Shell and Utilities | public | 2026-11-23 01:54 | 2026-11-23 01:54 |
| Reporter | RooftopJoe | Assigned To | |||
| Priority | normal | Severity | Editorial | Type | Omission |
| Status | New | Resolution | Open | ||
| Name | Bogdan Barbu | ||||
| Organization | |||||
| User Reference | |||||
| Section | make - Makefile Execution | ||||
| Page Number | https://pubs.opengroup.org/onlinepubs/9799919799/utilities/make.html | ||||
| Line Number | N/A | ||||
| Interp Status | |||||
| Final Accepted Text | |||||
| Summary | 0002009: Improve phrasing on the shell's -e requrement | ||||
| Description | According to the standard: "The execution line shall then be executed by a shell as if it were passed as the argument to the system() interface, except that if errors are not being ignored then the shell -e option shall also be in effect. If errors are being ignored for the command (as a result of the -i option, a '-' command prefix, or a .IGNORE special target), the shell -e option shall not be in effect." The wording around set -e being or not being in effect is too definitive. A precise reading may suggest that executing set +e inside the shell is not permitted or possible when errors are ignored and set -e is not permitted or possible otherwise. | ||||
| Desired Action | ... the shell -e option shall also be in effect. Change to: ... the shell -e option shall also be in effect when invoked. I believe the correct interpretation carries over to the next sentence as well. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-23 01:54 | RooftopJoe | New Issue |