[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wc can not count very large file

From: pwu
Subject: wc can not count very large file
Date: Wed, 06 Oct 2004 22:25:24 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040608

I have tried to calculate how many lines in our project. In one directory it give me the value is 160k, but the total number for all
directories are only 50k.
my command is like this:
find . -name '*.[ch]' |xargs wc
The newlines are only 50K. I have about 20 directories, each has 100k to 300k lines. I guess it is because wc use int not long to calculate
the lines and bytes


reply via email to

[Prev in Thread] Current Thread [Next in Thread]