>>>>> "Mo" == Mo DeJong <[EMAIL PROTECTED]> writes:

Mo> That might not be a bad idea. I don't like to depend on od just to
Mo> get the size of a file. Am I just missing something? Is there an
Mo> easy way to figure out the size of a binary file in bytes?

Autoconf 2.13 says:

  ac_lines=`grep -c . conftest.vals`
  # grep -c gives empty output for an empty file on some AIX systems.
  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi

so I guess this means you can rely on grep -c.  But really, don't fear
using wc -c, just write your test in such a way that it is pessimistic
is wc fails.

        Akim

Reply via email to