-N, --read-bytes
Limit dump to BYTES input bytes.
An option of odx.
Usage
odx -N BYTES [FILE]...
odx --read-bytes=BYTES [FILE]...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
-N | --read-bytes | BYTES | limit dump to BYTES input bytes |
Examples
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.yamlRead the first four bytes (a magic number)
odx -A n -t x1 -N 4 image.pngSkip a 512-byte header and dump the next 64 bytes
odx -j 512 -N 64 -t x1 disk.imgHelp in the terminal
gnux help odx --read-bytes