
206
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Byte count
The number of bytes to be interpreted by the conversion
string. It should be preceded by a slash character to
distinguish it from the iteration count.
Format characters
The actual format characters should be surrounded by
quotation marks and are interpreted as fprintf (see printf)
formatting strings, although the *, h, l, n, p, and q options
will not work as expected. Format string usage is
discussed at greater length in the hexdump manpage.
-f filename
Choose a file that contains several format strings. The strings
should be separated by newlines; the # character marks a line
as a comment.
-n length
Limit the number of bytes of input to be interpreted.
-o Two-byte octal display, meaning a hexadecimal offset
followed by eight five-column data entries of two bytes each,
in octal format.
-s offset
Skip to specified offset. The offset number is assumed to be
decimal unless it starts with 0x or 0X (hexadecimal), or O
(octal). Numbers may also be designated in megabytes, kilo-
bytes, or half-kilobytes with the addition of m, k,orb at the
end of the number.
-v Display all input data, even if it is the same as the previous
line. Normally, a duplicate line is replaced by an asterisk (*).
-x Display data in a two-byte hexadecimal format. The offset is,
as usual,