1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
2 .TH OD "1" "January 2016" "GNU coreutils 8.25" "User Commands"
4 od \- dump files in octal and other formats
7 [\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
10 [\fI\,-abcdfilosx\/\fR]... [\fI\,FILE\/\fR] [[\fI\,+\/\fR]\fI\,OFFSET\/\fR[\fI\,.\/\fR][\fI\,b\/\fR]]
13 \fI\,--traditional \/\fR[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR] [[\fI\,+\/\fR]\fI\,OFFSET\/\fR[\fI\,.\/\fR][\fI\,b\/\fR] [\fI\,+\/\fR][\fI\,LABEL\/\fR][\fI\,.\/\fR][\fI\,b\/\fR]]
15 .\" Add any additional description here
17 Write an unambiguous representation, octal bytes by default,
18 of FILE to standard output. With more than one FILE argument,
19 concatenate them in the listed order to form the input.
21 With no FILE, or when FILE is \-, read standard input.
23 If first and second call formats both apply, the second format is assumed
24 if the last operand begins with + or (if there are 2 operands) a digit.
25 An OFFSET operand means \fB\-j\fR OFFSET. LABEL is the pseudo\-address
26 at first byte printed, incremented when dump is progressing.
27 For OFFSET and LABEL, a 0x or 0X prefix indicates hexadecimal;
28 suffixes may be . for octal and b for multiply by 512.
30 Mandatory arguments to long options are mandatory for short options too.
32 \fB\-A\fR, \fB\-\-address\-radix\fR=\fI\,RADIX\/\fR
33 output format for file offsets; RADIX is one
34 of [doxn], for Decimal, Octal, Hex or None
36 \fB\-\-endian=\fR{big|little}
37 swap input bytes according the specified order
39 \fB\-j\fR, \fB\-\-skip\-bytes\fR=\fI\,BYTES\/\fR
40 skip BYTES input bytes first
42 \fB\-N\fR, \fB\-\-read\-bytes\fR=\fI\,BYTES\/\fR
43 limit dump to BYTES input bytes
45 \fB\-S\fR BYTES, \fB\-\-strings\fR[=\fI\,BYTES\/\fR]
46 output strings of at least BYTES graphic chars;
47 3 is implied when BYTES is not specified
49 \fB\-t\fR, \fB\-\-format\fR=\fI\,TYPE\/\fR
50 select output format or formats
52 \fB\-v\fR, \fB\-\-output\-duplicates\fR
53 do not use * to mark line suppression
55 \fB\-w[BYTES]\fR, \fB\-\-width\fR[=\fI\,BYTES\/\fR]
56 output BYTES bytes per output line;
57 32 is implied when BYTES is not specified
60 accept arguments in third form above
63 display this help and exit
66 output version information and exit
67 .SS "Traditional format specifications may be intermixed; they accumulate:"
70 same as \fB\-t\fR a, select named characters, ignoring high\-order bit
73 same as \fB\-t\fR o1, select octal bytes
76 same as \fB\-t\fR c, select printable characters or backslash escapes
79 same as \fB\-t\fR u2, select unsigned decimal 2\-byte units
82 same as \fB\-t\fR fF, select floats
85 same as \fB\-t\fR dI, select decimal ints
88 same as \fB\-t\fR dL, select decimal longs
91 same as \fB\-t\fR o2, select octal 2\-byte units
94 same as \fB\-t\fR d2, select decimal 2\-byte units
97 same as \fB\-t\fR x2, select hexadecimal 2\-byte units
98 .SS "TYPE is made up of one or more of these specifications:"
101 named character, ignoring high\-order bit
104 printable character or backslash escape
107 signed decimal, SIZE bytes per integer
110 floating point, SIZE bytes per integer
113 octal, SIZE bytes per integer
116 unsigned decimal, SIZE bytes per integer
119 hexadecimal, SIZE bytes per integer
121 SIZE is a number. For TYPE in [doux], SIZE may also be C for
122 sizeof(char), S for sizeof(short), I for sizeof(int) or L for
123 sizeof(long). If TYPE is f, SIZE may also be F for sizeof(float), D
124 for sizeof(double) or L for sizeof(long double).
126 Adding a z suffix to any type displays printable characters at the end of
128 .SS "BYTES is hex with 0x or 0X prefix, and may have a multiplier suffix:"
145 and so on for G, T, P, E, Z, Y.
149 Display hexdump format output
151 .B od -A o -t oS -w16
152 The default output format used by od
154 Written by Jim Meyering.
156 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
158 Report od translation bugs to <http://translationproject.org/team/>
160 Copyright \(co 2016 Free Software Foundation, Inc.
161 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
163 This is free software: you are free to change and redistribute it.
164 There is NO WARRANTY, to the extent permitted by law.
166 Full documentation at: <http://www.gnu.org/software/coreutils/od>
168 or available locally via: info \(aq(coreutils) od invocation\(aq