GNU bug report logs - #11559
cksum needs to be line buffered on lines of md5sum

Previous Next

Package: coreutils;

Reported by: Anoop Sharma <sendtoanoop <at> gmail.com>

Date: Fri, 25 May 2012 19:27:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11559 in the body.
You can then email your comments to 11559 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#11559; Package coreutils. (Fri, 25 May 2012 19:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anoop Sharma <sendtoanoop <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 25 May 2012 19:27:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Anoop Sharma <sendtoanoop <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: cksum needs to be line buffered on lines of md5sum
Date: Sat, 26 May 2012 00:53:34 +0530
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> Aspire:~$ ^C

Thanks,
Anoop
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#11559; Package coreutils. (Sat, 26 May 2012 10:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 11559 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Anoop Sharma <sendtoanoop <at> gmail.com>
Cc: 11559 <at> debbugs.gnu.org
Subject: Re: bug#11559: cksum needs to be line buffered on lines of md5sum
Date: Sat, 26 May 2012 11:21:04 +0100
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 <at> 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 <at> Aspire:~$ ^C

oops.
I'll fix that up.

cheers,
Pádraig.




Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Mon, 28 May 2012 01:56:02 GMT) Full text and rfc822 format available.

Notification sent to Anoop Sharma <sendtoanoop <at> gmail.com>:
bug acknowledged by developer. (Mon, 28 May 2012 01:56:02 GMT) Full text and rfc822 format available.

Message #13 received at 11559-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Anoop Sharma <sendtoanoop <at> gmail.com>
Cc: 11559-done <at> debbugs.gnu.org
Subject: Re: bug#11559: cksum needs to be line buffered on lines of md5sum
Date: Mon, 28 May 2012 02:54:07 +0100
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 <at> 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 <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 25 Jun 2012 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.