View Issue Details

IDProjectCategoryView StatusLast Update
00020091003.1(2024)/Issue8Shell and Utilitiespublic2026-11-23 01:54
ReporterRooftopJoe Assigned To 
PrioritynormalSeverityEditorialTypeOmission
Status NewResolutionOpen 
NameBogdan Barbu
Organization
User Reference
Sectionmake - Makefile Execution
Page Numberhttps://pubs.opengroup.org/onlinepubs/9799919799/utilities/make.html
Line NumberN/A
Interp Status
Final Accepted Text
Summary0002009: Improve phrasing on the shell's -e requrement
DescriptionAccording 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.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-11-23 01:54 RooftopJoe New Issue