I've recently switched from gcc 3.4.0 to gcc 4.2-8 (codesourcery) for shared library support on the Coldfire. It seems this has broken two things: recognition of the ! inside of braces [], and messed with variable substitution inside of backticks. This fails: [ $i -lt 10 -a ! -e /var/snap_state ]. I can get rid of the ! and it works properly.
If I do echo `expr $i + 1` expr returns a syntax error. Running it as a regular command is successful. I am trying to find out which part of busybox/shell/msh.c to debug from someone who is more familiar with the code. Thanks. - Jate S. _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
