Busybox and hex arguments

Michael Abbott michael at araneidae.co.uk
Wed Apr 7 11:08:30 UTC 2010


On Wed, 7 Apr 2010, Denys Vlasenko wrote:
> On Wed, Apr 7, 2010 at 10:41 AM, Michael Abbott <michael at araneidae.co.uk> wrote:
> >> On Tuesday 06 April 2010 15:32, David Parkinson wrote:
> >> >     hexdump -C -n 128 -s 0xC00000 /dev/mem
...
> >> 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
> 
> This is a compat issue. If upstream tool supports that, we should do it 
> too.

Sure, no argument with the patch, but had a strong feeling that David 
didn't know this useful trick.


More information about the busybox mailing list