Memory leak in for loops

2009-04-29 Thread Sandino Araico Sánchez
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='l$ uname output: Linux cannelloni 2.6.27.10-grsec-2.1.12-vs2.3.0.36.4 #1 SMP Fri F$ Machi

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