[BUG] hexdump wrong output for all zero input
Baruch Siach
baruch at tkos.co.il
Wed Jun 27 07:03:25 UTC 2018
Hi Busybox List,
Output of Busybox v1.28.1 built in Buildroot:
dd if=/dev/zero bs=1 count=15 2>/dev/null |hexdump -C
*
Output of bsdmainutils 11.1.2 (Debian):
dd if=/dev/zero bs=1 count=15 2>/dev/null |hexdump -C
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...............|
0000000f
With 'count=16' both implementations produce the same output.
I'll try to look into this later.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the busybox
mailing list