-c Interpret bytes as characters specified by the current setting of the LC_CTYPE category. Certain
non-graphic characters appear as C escapes: "NUL=\0" , "BS=\b" , "FF=\f" , "NL=\n" , "CR=\r" ,
"HT=\t" ; others appear as 3-digit octal numbers.
|
-j skip
Jump over skip bytes from the beginning of the input. The od utility shall read or seek past the
first skip bytes in the concatenated input files. If the combined input is not at least skip bytes
long, the od utility shall write a diagnostic message to standard error and exit with a non-zero
exit status.
By default, the skip option-argument shall be interpreted as a decimal number. With a leading 0x or 0X,
the offset shall be interpreted as a hexadecimal number; otherwise, with a leading '0' , the offset shall
be interpreted as an octal number. Appending the character 'b' , 'k' , or 'm' to offset shall cause it to
be interpreted as a multiple of 512, 1024, or 1048576 bytes, respectively. If the skip number is
hexadecimal, any appended 'b' shall be considered to be the final hexadecimal digit.
|
-N count
Format no more than count bytes of input. By default, count shall be interpreted as a decimal
number. With a leading 0x or 0X, count shall be interpreted as a hexadecimal number; otherwise,
with a leading '0' , it shall be interpreted as an octal number. If count bytes of input (after
successfully skipping, if -j skip is specified) are not available, it shall not be considered an
error; the od utility shall format the input that is available.
|
-s Interpret words (two-byte units) in signed decimal. This shall be equivalent to -t d2.
-t type_string
Specify one or more output types. See the EXTENDED DESCRIPTION section. The application shall
ensure that the type_string option-argument is a string specifying the types to be used when
writing the input data. The string shall consist of the type specification characters a , c , d ,
f , o , u , and x , specifying named character, character, signed decimal, floating point, octal,
unsigned decimal, and hexadecimal, respectively. The type specification characters d , f , o , u ,
and x can be followed by an optional unsigned decimal integer that specifies the number of bytes
to be transformed by each instance of the output type. The type specification character f can be
followed by an optional F , D , or L indicating that the conversion should be applied to an item
of type float, double, or long double, respectively. The type specification characters d , o , u ,
and x can be followed by an optional C , S , I , or L indicating that the conversion should be
applied to an item of type char, short, int, or long, respectively. Multiple types can be
concatenated within the same type_string and multiple -t options can be specified. Output lines
shall be written for each type specified in the order in which the type specification characters
are specified.
|