diff --git a/doc/usage/md.rst b/doc/usage/md.rst index 3951b0d58f..4c1073ea35 100644 --- a/doc/usage/md.rst +++ b/doc/usage/md.rst @@ -39,6 +39,16 @@ length number of values to dump. Defaults to 40 (0d64). Note that this is not the same as the number of bytes, unless .b is used. +Note that the format of 'md.b' can be emulated from linux with:: + + # This works but requires using sed to get the extra spaces + # is the address, is the filename + xxd -o -g1 |sed 's/ / /' >bad + + # This uses a single tool but the offset always starts at 0 + # is the filename + hexdump -v -e '"%08.8_ax: " 16/1 "%02x " " "' -e '16/1 "%_p" "\n" ' + Example -------