bug#19969: problem: wc -c doesn't read actual # of bytes in file

2015-02-28 Thread Linda Walsh
(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 retu

bug#19969: problem: wc -c doesn't read actual # of bytes in file

2015-03-01 Thread Bernhard Voelker
On 02/28/2015 09:59 AM, Linda Walsh wrote: > (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 und

bug#19969: problem: wc -c doesn't read actual # of bytes in file

2015-03-01 Thread Linda Walsh
Bernhard Voelker wrote: On 02/28/2015 09:59 AM, Linda Walsh wrote: (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

bug#19969: problem: wc -c doesn't read actual # of bytes in file

2015-03-02 Thread Eric Blake
On 02/28/2015 01:59 AM, Linda Walsh wrote: > (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 und

bug#19969: problem: wc -c doesn't read actual # of bytes in file

2015-03-02 Thread Mike Frysinger
On 02 Mar 2015 06:57, Eric Blake wrote: > On 02/28/2015 01:59 AM, Linda Walsh wrote: > > (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' (did

bug#19969: problem: wc -c doesn't read actual # of bytes in file

2015-03-02 Thread Jim Meyering
On Sat, Feb 28, 2015 at 12:59 AM, Linda Walsh wrote: > (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

bug#19969: problem: wc -c doesn't read actual # of bytes in file

2015-03-02 Thread Linda Walsh
Jim Meyering wrote: As root: # cd /proc # find -H [^0-9]* -name self -prune -o -name thread-self -prune -o -type f ! -name kmsg ! -name kcore ! -name kpagecount ! -name kpageflags -print0|wc -c --files0-from=- |sort -n Thanks for the report. However, with wc from coreutils-8.23 and a 3.10 ker

bug#19969: problem: wc -c doesn't read actual # of bytes in file

2015-03-02 Thread Pádraig Brady
On 02/03/15 21:29, Linda Walsh wrote: > > > Jim Meyering wrote: >>> As root: >>> # cd /proc >>> # find -H [^0-9]* -name self -prune -o -name thread-self -prune -o -type f ! >>> -name kmsg ! -name kcore ! -name kpagecount ! -name kpageflags -print0|wc -c >>> --files0-from=- |sort -n >> >> Thanks f

bug#19969: problem: wc -c doesn't read actual # of bytes in file

2015-03-02 Thread Jim Meyering
On Mon, Mar 2, 2015 at 1:29 PM, Linda Walsh wrote: > > > Jim Meyering wrote: >>> >>> As root: >>> # cd /proc >>> # find -H [^0-9]* -name self -prune -o -name thread-self -prune -o -type >>> f ! >>> -name kmsg ! -name kcore ! -name kpagecount ! -name kpageflags -print0|wc >>> -c >>> --files0-from=-