run-printf 361 B

12345678
  1. # See whether or not we can use `diff -a'
  2. #( diff -a ./printf.tests ./printf.tests >/dev/null 2>&1 ) && AFLAG=-a
  3. # use cat -v (and assume it's there) to make control chars visible
  4. ${THIS_SH} ./printf.tests 2>&1 | cat -v > ${BASH_TSTOUT}
  5. #diff $AFLAG ${BASH_TSTOUT} printf.right && rm -f ${BASH_TSTOUT}
  6. diff ${BASH_TSTOUT} printf.right && rm -f ${BASH_TSTOUT}