Re: while read line; do; done; cannot handle big files

2009-04-29 Thread Chet Ramey
schom...@ai.rug.nl wrote: > Bash Version: 3.1 > Patch Level: 17 > Release Status: release > > Description: > [Detailed description of the problem, suggestion, or complaint.] > > The script > >while read line >do > echo "$line" >done < larger-than-2GB-file.txt > > will fa

while read line; do; done; cannot handle big files

2009-04-28 Thread schomake
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPAC