Re: 'eval' exit behaviour in posix mode

2018-12-26 Thread Chet Ramey
On 12/23/18 7:42 PM, Martijn Dekker wrote: > Op 14-12-18 om 14:29 schreef Chet Ramey: >> On 12/14/18 6:46 AM, Martijn Dekker wrote: >>> In current git, 'bash -o posix' no longer exits the shell on a syntax error >>> in the argument to the special builtin 'eval'. Bash 4.2-4.4 exit as POSIX >>> speci

Re: 'eval' exit behaviour in posix mode

2018-12-23 Thread Martijn Dekker
Op 14-12-18 om 14:29 schreef Chet Ramey: On 12/14/18 6:46 AM, Martijn Dekker wrote: In current git, 'bash -o posix' no longer exits the shell on a syntax error in the argument to the special builtin 'eval'. Bash 4.2-4.4 exit as POSIX specifies. Well, not quite. It's the specific case of an une

Re: 'eval' exit behaviour in posix mode

2018-12-14 Thread Chet Ramey
On 12/14/18 6:46 AM, Martijn Dekker wrote: > In current git, 'bash -o posix' no longer exits the shell on a syntax error > in the argument to the special builtin 'eval'. Bash 4.2-4.4 exit as POSIX > specifies. Well, not quite. It's the specific case of an unexpected end of file. ksh93 doesn't exit