blob: f3cccd94063763c735497c9f7c6b424bf6b89c7a (
plain)
1
2
3
4
5
6
7
|
readonly bla=123
# Bare "eval bla=123" should abort ("eval" is a special builtin):
(eval bla=123 2>/dev/null; echo BUG)
echo Fail:$?
# "command BLTIN" disables "special-ness", should not abort:
command eval bla=123 2>/dev/null
echo Fail:$?
|