[BusyBox] RE: md5sum strangeness
Anthony Russello
russello at iomega.com
Wed Mar 16 16:32:14 UTC 2005
Nevermind, stupid me, realized that busybox was compiled with
CONFIG_FEATURE_FANCY_ECHO.
> -----Original Message-----
> From: Anthony Russello
> Sent: March 16, 2005 10:35 AM
> To: 'busybox at mail.busybox.net'
> Subject: md5sum strangeness
>
>
> Hi All,
>
> I'm currently seeing some odd behaviour from the md5sum
> function in busybox when running on the cris architecture
> (cris-axis-linux-gnu).
>
> basically, if I run "echo -n pass | md5sum" on my x86
> machine, not using busybox, I get this:
>
> 1a1dc91c907325c69271ddf0c944bc72 -
>
> When I run the same command using busybox, I get this:
>
> 2fb40ef8b9a248c0836092862f1e944f -
>
> Now, to test a little further, I tried running "echo pass |
> md5sum" on both, and got these results:
>
> x86:
> 4528e6a7bb9341c36c425faf40ef32c3 -
>
> cris with busybox:
> 4528e6a7bb9341c36c425faf40ef32c3 -
>
> So it looks like without the -n at the end of the echo
> command the results are identical, but with it, they're different.
>
> I'm going to dig in a bit deeper to see if I can figure out
> what's going on with the echo command, but if anyone has any
> ideas, or has seen this before, I'd really appreciated the heads up.
>
> Thanks in advance,
> Anthony
>
More information about the busybox
mailing list