Op 08-04-17 om 02:08 schreef Chet Ramey:
> On 4/7/17 7:46 PM, Thorsten Glaser wrote:
>> Chet Ramey dixit:
>>
>>>> 'break' and 'continue' are POSIX "special builtins", meaning if they
>>>> fail they should cause the shell to exit, at least in POSIX mode.
>>>
>>> Posix explicitly makes this case unspecified.
>>
>> Indeed, I just found this out as well, thanks.
>>
>> Ib m curiousb & is the 'break' in 'eval break' contained within the
>> compound-list of the do loop? (Ib ll probably make this work as
>> requested nevertheless as I consider it correct, butb & meh, those
>> standardsb &)
> 
> Yeah, I think it is.

Agreed; there is nothing to suggest otherwise. 'eval' executes its
arguments in the current shell environment in place of itself. So after
parsing those arguments, executing them should be equivalent to 'eval'
not being there at all.

- M.

Reply via email to