Skip to Content
gnux

-A, --address-radix

Output format for file offsets; RADIX is one of [doxn], for Decimal, Octal, Hex or None.

An option of odx.

Usage

odx -A RADIX [FILE]...
odx --address-radix=RADIX [FILE]...

Details

ShortLongValueDefaultMeaning
-A--address-radixRADIXooutput format for file offsets; RADIX is one of [doxn], for Decimal, Octal, Hex or None

Examples

A hexdump with offsets in hex and the text alongside

odx -A x -t x1z image.png

A config file breaks a parser, but looks fine in an editor: find the stray carriage returns and the byte order mark, which the terminal view colors apart from the text

odx -A x -t x1z -N 64 config.yaml

Read the first four bytes (a magic number)

odx -A n -t x1 -N 4 image.png

Help in the terminal

gnux help odx --address-radix

On this page