On Sat, Jun 17, 2000 at 09:33:33PM -0700, Mo DeJong wrote: > > This is really messy. Why is there no way to find the length > of a file in bash? That is all we really want to do. If the Bourne shell (e.g., /bin/sh), not bash. > file gets bigger, then -g is supported. What about ls -S, > is that portable? no (not portable) > Some folks have suggested compiling and running a C program > to figure out the length of the file, but that would not > help if I wanted to do a cross compile. > > What if we used cmp, but wrote some null bytes over the first > 16 bytes of each object file before we did the compare? 16 isn't enough to cover all headers -- Thomas E. Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
- 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
- Re: [gnu.utils.bug] AC_PROG_CC_G, et al, are not very rob... Alexandre Oliva