1 2 3 4 5 6 7 8 9
echo foo >foo echo bar >bar set +e busybox cmp -s foo bar if [ $? != 0 ] ; then exit 0; fi exit 1;