Re: weird ksh eval behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ralf Wildenhues dixit:

>This one is the reason for a subtle CVS Libtool testsuite failure..
>
>With ash-0.3.8, OpenBSD 3.8 'sh' and 'ksh' PD KSH v5.2.14 99/07/13.2,

ash-based MirBSD #8 sh and pdksh-based mksh R26 too:

tg@odem:/home/tg $ /bin/sh -c 'false; eval 'foo=$?'; echo $foo'
0
tg@odem:/home/tg $ /bin/mksh -c 'false; eval 'foo=$?'; echo $foo'
0

I have no idea why, or what's expected - in my experience,
using "eval" at all is prone to cause many many errors.

bye,
//mirabile

PS: tech@xxxxxxxxxxx or misc@xxxxxxxxxxx would have been more
    appropriate for that. For this, I added miros-discuss...
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux