On Thu, 20 Nov 2008, Bernhard Reutner-Fischer wrote: > On Wed, Nov 19, 2008 at 09:30:27PM +0100, Natanael Copa wrote: > >On Wed, 2008-11-19 at 21:17 +0100, Natanael Copa wrote: > > >> shorter testcase: > >> > >> ash -c "foo() { ! false && echo foo; }; foo" > > Works for me on trunk (on a debian box)..
Doesn't work for me :( I get something else: ash: memory exhausted On the other hand, this: # ./busybox ash -c 'foo(){ false||echo foo;};foo' produces expected result. But this: # ./busybox ash -c 'foo(){false||echo foo;};foo' or this: # ./busybox ash -c 'foo(){false&&echo foo;};foo' fail with: ash: syntax error: ";" unexpected Note the difference is one space character. Cheers, -- Cristian _______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox