[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
what's a good way to check a file size (as part of a "make check") from
what's a good way to check a file size (as part of a "make check") from automake?
Mon, 26 Dec 2005 09:13:31 -0700
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)
Here at the World Headquarters of the netCDF data format, we are
wondering how to get a file size in an automake test?
(Our test, in this case, is to generate a data file with some of our
command line utilities, and then check the size of the output file.)
Should we just use 'ls -l $file' with sed to parse the output for the
If so, do we have to check for the existence of ls and sed during the
configure? Or is going to be found everywhere?
Or is there some more clever way to check the size of a file?
Any comments would be appreciated.
Ed Hartnett -- address@hidden
- what's a good way to check a file size (as part of a "make check") from automake?,
Ed Hartnett <=