Subject: bug#11559: closed (Re: bug#11559: cksum needs to be line buffered on lines of md5sum)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 28 May 2012 01:56:02 +0000

Your bug report

#11559: cksum needs to be line buffered on lines of md5sum

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
11559: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11559
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#11559: cksum needs to be line buffered on lines of md5sum
From: Pádraig Brady <[email-masked]>
To: Anoop Sharma <[email-masked]>
Cc: [email-masked]
Date: Mon, 28 May 2012 02:54:07 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On 05/26/2012 11:21 AM, Pádraig Brady wrote:
> On 05/25/2012 08:23 PM, Anoop Sharma wrote:
>> Hi,
>>
>> md5sum was made line buffered sometime back. However, cksum was left out of
>> that patch.
>>
>> I tried running the following test on my machine for cksum, on the lines of
>> test for md5sum, given in bug archives at:
>> http://lists.gnu.org/archive/html/bug-coreutils/2009-10/msg00190.html. The
>> test failed.
>>
>> Shouldn't cksum too be made line buffered?
>>
>>
>> anoop@Aspire:~$ find / -type f 2>/dev/null | xargs -P2 -n 50 cksum
>> 2>/dev/null | sed -n '/^[0-9]\{1,\} [0-9]\{1,\}/!p'
>> decs/snd-soc-da7210.ko
>> 24-generic/kernel/drivers/staging/comedi/drivers/pcm3724.ko
>> /modules/3.2.0-24-generic/kernel/drivers/staging/comedi/drivers/pcmad.ko
>> a/video/gspca/gspca_spca1528.ko
>> el/drivers/staging/comedi/drivers/c6xdigio.ko
>> /dvb-usb-gl861.ko
>> nel/drivers/media/common/tuners/tda18271.ko
>> vers/media/rc/ite-cir.ko
>> ^C
>> anoop@Aspire:~$ ^C
> 
> oops.
> I'll fix that up.

Fixed with:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=2ab72e3a

cheers,
Pádraig.

Subject: cksum needs to be line buffered on lines of md5sum
From: Anoop Sharma <[email-masked]>
To: [email-masked]
Date: Sat, 26 May 2012 00:53:34 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

md5sum was made line buffered sometime back. However, cksum was left out of
that patch.

I tried running the following test on my machine for cksum, on the lines of
test for md5sum, given in bug archives at:
http://lists.gnu.org/archive/html/bug-coreutils/2009-10/msg00190.html. The
test failed.

Shouldn't cksum too be made line buffered?

anoop@Aspire:~$ find / -type f 2>/dev/null | xargs -P2 -n 50 cksum
2>/dev/null | sed -n '/^[0-9]\{1,\} [0-9]\{1,\}/!p'
decs/snd-soc-da7210.ko
24-generic/kernel/drivers/staging/comedi/drivers/pcm3724.ko
/modules/3.2.0-24-generic/kernel/drivers/staging/comedi/drivers/pcmad.ko
a/video/gspca/gspca_spca1528.ko
el/drivers/staging/comedi/drivers/c6xdigio.ko
/dvb-usb-gl861.ko
nel/drivers/media/common/tuners/tda18271.ko
vers/media/rc/ite-cir.ko
^C
anoop@Aspire:~$ ^C

Thanks,
Anoop