[BusyBox] how to do "[ $? -eq 1 ] && echo equal"
Michael Renzmann
mrenzmann at web.de
Wed Apr 11 12:55:05 UTC 2001
Hi.
> is there already a possibility to do a "execute on test" ? I want to
> start an application, if a condition is true. But how can I start an
> application conditionally ?
Does anything speak against an if-clause?
if [ $? -eq 1]; then
echo "equal"
fi
Thats the way I normally do it in bash-scripts. Due to a lack of
knowledge of the lash I don't know if it works similar there, but...
Bye, Mike
More information about the busybox
mailing list