Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0001519 |
[1003.1(2016/18)/Issue7+TC2] Shell and Utilities |
Objection |
Omission |
2021-09-06 15:27 |
2024-06-11 09:07 |
|
Reporter |
geoffclare |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Accepted |
|
Status |
Closed |
|
|
|
|
Name |
Geoff Clare |
Organization |
The Open Group |
User Reference |
|
Section |
sh |
Page Number |
3226 |
Line Number |
108295 |
Interp Status |
--- |
Final Accepted Text |
|
|
Summary |
0001519: Mismatch between sh and set for -o and +o with no option-argument |
Description |
The 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 Action |
Append 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.
|
Tags |
tc3-2008 |
|
Attached Files |
|
|