Denys Vlasenko | d81e9f5 | 2016-10-28 15:43:50 +0200 | [diff] [blame^] | 1 | readonly bla=123 |
2 | # Bare "eval bla=123" should abort ("eval" is a special builtin): | ||||
3 | (eval bla=123 2>/dev/null; echo BUG) | ||||
4 | echo One:$? | ||||
5 | # "command BLTIN" disables "special-ness", should not abort: | ||||
6 | command eval bla=123 2>/dev/null | ||||
7 | echo One:$? |