| Summary: | using an unknown option with `set -o` causes dash to abort early | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | SpanKY <vapier> |
| Component: | [OLD] Core system | Assignee: | Roy Marples (RETIRED) <uberlord> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | truedfx |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
SpanKY
2007-06-01 13:32:07 UTC
This is not a bug in dash; susv3 explicitly allows this behaviour. See 2.14 "Special Built-In Utilities", item 1: "A syntax error in a special built-in utility may cause a shell executing that utility to abort, while a syntax error in a regular built-in utility shall not cause a shell executing that utility to abort." set is a "special built-in utility". fair enough ... still lame ;) |