busybox sed -n 'N;p'>output <<EOF a b c EOF cmp -s output - <<EOF a b EOF