3
0

cmp-detects-difference 101 B

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