[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19969: problem: wc -c doesn't read actual # of bytes in file
From: |
Jim Meyering |
Subject: |
bug#19969: problem: wc -c doesn't read actual # of bytes in file |
Date: |
Mon, 2 Mar 2015 15:17:40 -0800 |
On Mon, Mar 2, 2015 at 1:29 PM, Linda Walsh <address@hidden> 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 for the report.
>> However, with wc from coreutils-8.23 and a 3.10 kernel, this is no
>> longer an issue.
>
> ---
>
> with coreutils 8.23 from suse 13.2 and uname:
>
> Linux Ishtar 3.18.5-Isht-Van #1 SMP PREEMPT Wed Feb 4 14:50:44 PST 2015
> x86_64 x86_64 x86_64 GNU/Linux
>
> it is an issue. All the "/proc/sys" entries are still 0.
>
> Here's the output (with a some lines elided)...
>
>
> 0 mpt/summary
> 0 net/netfilter/nfnetlink_log
Correction: I was using wc from upstream git (coreutils-8.23.141), so as
Pádraig says, it will be fixed in 8.24.