On Jun 18, 2000, Assar Westerlund <[EMAIL PROTECTED]> wrote: > Alexandre Oliva <[EMAIL PROTECTED]> writes: >> This might work: >> >> awk '{len+=length()+1;} END {print len;}' < filename > Are you sure there's not a stupid awk that has some limit for the > length of a line and will truncate it? :-( Nope :-( In fact, I had considered this possibility, but reasoned that, if awk fails, it would fail identically for identical files, and we'd get the same result. But I had failed to consider the case of different files giving the same results :-( -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org} Free Software Evangelist *Please* write to mailing lists, not to me
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Akim Demaille
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Thomas E. Dickey
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Mo DeJong
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Mo DeJong
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Mo DeJong
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Assar Westerlund
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Thomas Dickey
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Paul Eggert
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Thomas Dickey
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Paul Eggert
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Thomas Dickey
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Akim Demaille
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Thomas E. Dickey
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Alexandre Oliva
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Peter Eisentraut
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Mo DeJong