diff options
Diffstat (limited to 'coreutils/od.c')
-rw-r--r-- | coreutils/od.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/coreutils/od.c b/coreutils/od.c index 30b5bd676..dcd693446 100644 --- a/coreutils/od.c +++ b/coreutils/od.c | |||
@@ -110,7 +110,7 @@ odoffset(dumper_t *dumper, int argc, char ***argvp) | |||
110 | * the offset is changed as well. This isn't pretty, | 110 | * the offset is changed as well. This isn't pretty, |
111 | * but it's easy. | 111 | * but it's easy. |
112 | */ | 112 | */ |
113 | #define TYPE_OFFSET 7 | 113 | #define TYPE_OFFSET 7 |
114 | { | 114 | { |
115 | char x_or_d; | 115 | char x_or_d; |
116 | if (base == 16) { | 116 | if (base == 16) { |
@@ -130,19 +130,19 @@ odoffset(dumper_t *dumper, int argc, char ***argvp) | |||
130 | } | 130 | } |
131 | 131 | ||
132 | static const char *const add_strings[] = { | 132 | static const char *const add_strings[] = { |
133 | "16/1 \"%3_u \" \"\\n\"", /* a */ | 133 | "16/1 \"%3_u \" \"\\n\"", /* a */ |
134 | "8/2 \" %06o \" \"\\n\"", /* B, o */ | 134 | "8/2 \" %06o \" \"\\n\"", /* B, o */ |
135 | "16/1 \"%03o \" \"\\n\"", /* b */ | 135 | "16/1 \"%03o \" \"\\n\"", /* b */ |
136 | "16/1 \"%3_c \" \"\\n\"", /* c */ | 136 | "16/1 \"%3_c \" \"\\n\"", /* c */ |
137 | "8/2 \" %05u \" \"\\n\"", /* d */ | 137 | "8/2 \" %05u \" \"\\n\"", /* d */ |
138 | "4/4 \" %010u \" \"\\n\"", /* D */ | 138 | "4/4 \" %010u \" \"\\n\"", /* D */ |
139 | "2/8 \" %21.14e \" \"\\n\"", /* e (undocumented in od), F */ | 139 | "2/8 \" %21.14e \" \"\\n\"", /* e (undocumented in od), F */ |
140 | "4/4 \" %14.7e \" \"\\n\"", /* f */ | 140 | "4/4 \" %14.7e \" \"\\n\"", /* f */ |
141 | "4/4 \" %08x \" \"\\n\"", /* H, X */ | 141 | "4/4 \" %08x \" \"\\n\"", /* H, X */ |
142 | "8/2 \" %04x \" \"\\n\"", /* h, x */ | 142 | "8/2 \" %04x \" \"\\n\"", /* h, x */ |
143 | "4/4 \" %11d \" \"\\n\"", /* I, L, l */ | 143 | "4/4 \" %11d \" \"\\n\"", /* I, L, l */ |
144 | "8/2 \" %6d \" \"\\n\"", /* i */ | 144 | "8/2 \" %6d \" \"\\n\"", /* i */ |
145 | "4/4 \" %011o \" \"\\n\"", /* O */ | 145 | "4/4 \" %011o \" \"\\n\"", /* O */ |
146 | }; | 146 | }; |
147 | 147 | ||
148 | static const char od_opts[] ALIGN1 = "aBbcDdeFfHhIiLlOoXxv"; | 148 | static const char od_opts[] ALIGN1 = "aBbcDdeFfHhIiLlOoXxv"; |