>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> I'm not even sure `wc -c' will be available everywhere :-( I don't remember where, but I used it portably. I think for a time, Automake what using it too somewhere (was it depcomp?). But I can't find where. To answer Mo's question, the means to get the size of a file I used was size=`cat file | wc -c` so that wc does not give the name. Alternatively, set dummy `wc file` size=$3 should be fine. But I prefer the approach presented by Paul, based on ls, which is properly much faster. Alexandre> I still think using cmp is the best solution. I trust wc -c more than I trust tail +16c.
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC... Mo DeJong
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC... Assar Westerlund
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas Dickey
- Re: [gnu.utils.bug] AC_PROG_CC... Paul Eggert
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas Dickey
- Re: [gnu.utils.bug] AC_PROG_CC... Paul Eggert
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas Dickey
- Re: [gnu.utils.bug] AC_PROG_CC... Akim Demaille
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas E. Dickey
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC... Peter Eisentraut
- Re: [gnu.utils.bug] AC_PROG_CC... Mo DeJong
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC_G, ... Assar Westerlund
- Re: [gnu.utils.bug] AC_PROG_CC... Akim Demaille
- Re: [gnu.utils.bug] AC_PROG_CC... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC... Thomas E. Dickey
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very ro... Steven G. Johnson