8 lines
238 B
Plaintext
8 lines
238 B
Plaintext
|
readonly bla=123
|
||
|
# Bare "eval bla=123" should abort ("eval" is a special builtin):
|
||
|
(eval bla=123 2>/dev/null; echo BUG)
|
||
|
echo One:$?
|
||
|
# "command BLTIN" disables "special-ness", should not abort:
|
||
|
command eval bla=123 2>/dev/null
|
||
|
echo One:$?
|