Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14946 > unrolled thread
| Started by | Martijn Dekker <martijn@inlv.org> |
|---|---|
| First post | 2018-12-24 00:42 +0000 |
| Last post | 2018-12-24 00:42 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: 'eval' exit behaviour in posix mode Martijn Dekker <martijn@inlv.org> - 2018-12-24 00:42 +0000
| From | Martijn Dekker <martijn@inlv.org> |
|---|---|
| Date | 2018-12-24 00:42 +0000 |
| Subject | Re: 'eval' exit behaviour in posix mode |
| Message-ID | <mailman.6231.1545612133.1284.bug-bash@gnu.org> |
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 unexpected end of file. ksh93 > doesn't exit, either, but it's probably the right thing to do, and the > right thing for backwards compatibility. But now it exits on an unexpected EOF (or other syntax error) in 'command eval' as well, which it shouldn't. - M.
Back to top | Article view | gnu.bash.bug
csiph-web