View Issue Details

IDProjectCategoryView StatusLast Update
00015191003.1(2016/18)/Issue7+TC2Shell and Utilitiespublic2024-06-11 09:07
Reportergeoffclare Assigned To 
PrioritynormalSeverityObjectionTypeOmission
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionsh
Page Number3226
Line Number108295
Interp Status---
Final Accepted Text
Summary0001519: Mismatch between sh and set for -o and +o with no option-argument
DescriptionThe sh SYNOPSIS shows -o and +o as requiring an option-argument; however the description in OPTIONS refers to set for these options, and set has SYNOPSIS lines that allow them without an option-argument.

Some shell implementations complain if you invoke them with "sh -o" or "sh +o", but others do the equivalent of "set -o" or "set +o" (and then enter interactive mode).
Desired ActionAppend to the second paragraph of OPTIONS (where set is referenced):
If the -o or +o option is specified without an option-argument, the behavior is unspecified.

Tagstc3-2008

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-09-06 15:27 geoffclare New Issue
2021-09-06 15:27 geoffclare Name => Geoff Clare
2021-09-06 15:27 geoffclare Organization => The Open Group
2021-09-06 15:27 geoffclare Section => sh
2021-09-06 15:27 geoffclare Page Number => 3226
2021-09-06 15:27 geoffclare Line Number => 108295
2021-09-06 15:27 geoffclare Interp Status => ---
2021-12-16 16:42 Don Cragun Status New => Resolved
2021-12-16 16:42 Don Cragun Resolution Open => Accepted
2021-12-16 16:42 Don Cragun Tag Attached: tc3-2008
2022-01-11 11:45 geoffclare Status Resolved => Applied
2024-06-11 09:07 agadmin Status Applied => Closed