bug#19969: problem: wc -c doesn't read actual # of bytes in file
From:
Linda Walsh
Subject:
bug#19969: problem: wc -c doesn't read actual # of bytes in file
Date:
Sat, 28 Feb 2015 00:59:20 -0800
User-agent:
Thunderbird
(coreutils-8.21-7.7.7)
wc -c(bytes) doesn't seem to reliably read the number
of bytes in a file.
I was wanting to find out what the largest data-source
files in '/proc' and '/sys' (didn't get around to trying
/sys, since all the files under /proc/sys return 0 bytes.
Note -- "wc -l" doesn't return '0' on the /proc/sys files.
As root:
# cd /proc