Since Google can't answer me, I download the coreutils source package in which wc belongs. the variable total_lines is of type uintmax_t. Now I'm getting somewhere.
On 2/16/09, Roger Filomeno <[email protected]> wrote: > I should since the whole file is not actually loaded into memory. Its jst > going to take a lot of I/O > -- > Roger P. Filomeno > TwitSnap: The coolest Twitter widget for your site! http://www.twitsnap.com > > http://corruptedpartition.blogspot.com/ > TEL#: +1-360-968-1767 > SMS: send MSG GODIE <YOUR MESSAGE> to 2948 > > $> who | grep -i blond | date; cd ~; unzip; touch; strip; finger; mount; > gasp; yes; uptime; umount; sleep > > > On Mon, Feb 16, 2009 at 12:27 PM, Ramil Galib <[email protected]> wrote: > >> Hi All, >> >> I have text files ranging from 5 to 10 GB. I want to use wc -l to >> count the number of lines of these files. I expect the number of lines >> to be from 50 to 100 billion. >> Can wc handle this? >> Hope you can help. >> Thanks! >> >> Ramil >> _________________________________________________ >> Philippine Linux Users' Group (PLUG) Mailing List >> http://lists.linux.org.ph/mailman/listinfo/plug >> Searchable Archives: http://archives.free.net.ph >> > _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

