Hi,

Marc Weber <[EMAIL PROTECTED]> writes:

>>   `eval'
>>             eval [ARGUMENTS]
>>        The arguments are concatenated together into a single command,
>>        which is then read and executed, and its exit status returned as
>>        the exit status of `eval'.  If there are no arguments or only
>>        empty arguments, the return status is zero.
>> 
>> Doesn't it work as documented for you?
>
> Sorry, bad example, try this:
>
>   eval "foo while; { foo }"; echo $?

Ah, right, syntax errors don't seem to yield a non-zero exit status,
which sucks.  Still, does it warrant the complexity of what you propose?

And anyway, there's a famous saying among schemers that I find apropos
here as well: "`eval' is evil".  :-)

Thanks,
Ludo'.

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to