On Wed, Apr 7, 2010 at 10:41 AM, Michael Abbott <[email protected]> wrote: >> On Tuesday 06 April 2010 15:32, David Parkinson wrote: >> > I've been using busybox as part of the tinycore distribution and find >> > it irritating that it apparently only accepts decimal numbers on the >> > command line. In particular I've been using hexdump to look at >> > particular areas of memory. e.g. >> > >> > hexdump -C -n 128 -s 0xC00000 /dev/mem >> > >> > Works fine with the standard utility (eg in Fedora) but with busybox >> > I just get: >> > >> > hexdump: invalid number '0xC00000' >> > >> > Have I got the syntax wrong? Is it busybox? Is it tinycore's >> > implementation? >> >> Please try attached patch. > > This kind of problem can be worked around using the shell by writing > > hexdump -C -n 128 -s $((0xC00000)) /dev/mem > > instead.
This is a compat issue. If upstream tool supports that, we should do it too. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
