|
From: | Martijn Dekker |
Subject: | 'eval' exit behaviour in posix mode |
Date: | Fri, 14 Dec 2018 11:46:17 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
$ bash -o posix -c 'eval "(" || echo woops' bash: eval: regel 1: syntaxfout: onverwacht bestandseinde woopsOn the other hand, note that 'command eval' should *not* exit. Bash 4.2-4.4 exit on 'command eval "("' which is also a bug.
Thanks, - M.
[Prev in Thread] | Current Thread | [Next in Thread] |