[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: possible bug in 'sum' command, with a demo
From: Kang-Che Sung <explorer09 () gmail ! com>
Date: 2016-09-22 23:55:48
Message-ID: CADDzAfMt0dGygOdFusmff-f1rH=3o-g1SZDEtk3gfxoKbieh9g () mail ! gmail ! com
[Download RAW message or body]
> I can't reproduce the same result in the latest BusyBox version from git.
> Perhaps this has been fixed already?
Oops. My mistake. Used the wrong input. Here's the corrected one:
$ printf '145146\n\n'| ./busybox cksum
1560277601 8
$ printf '145146\n\n'| cksum
1560277601 8
$ printf '145146\n\n'| ./busybox sum
59944 1
$ printf '145146\n\n'| sum
59944 1
$ printf '107108\n\n'| sum
59944 1
$ printf '107108\n\n'| ./busybox sum
59944 1
$ printf '107108\n\n'| cksum
2984653705 8
$ printf '107108\n\n'| ./busybox cksum
2984653705 8
$ ./busybox | head -n 1
BusyBox v1.26.0.git (2016-09-23 07:33:08 CST) multi-call binary.
$ sum --version | head -n 1
sum (GNU coreutils) 8.21
$ cksum --version | head -n 1
cksum (coreutils) 8.21
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic