Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cmp-detects-difference « cmp « testsuite - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b9bb628f109291edca4fe1e7e39803521f027542 (plain)
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;