## Busybox
The [Busybox documentation](https://busybox.net/downloads/BusyBox.html) explains only this:
>
od [-aBbcDdeFfHhIiLlOovXx] [-t TYPE] [FILE]
>
> Write an unambiguous representation, octal bytes by default, of FILE
to standard output. With no FILE
or when FILE
is -
, read standard input.
But it doesn't explain what each option is and they seem to be really different from the [man page](https://man7.org/linux/man-pages/man1/od.1.html)
The -t
option seems to not exist and gives the error:
od: invalid option -- 't'
BusyBox v1.35.0 () multi-call binary.
Usage: od [-aBbcDdeFfHhIiLlOovXx] [FILE]
The other [documentation website](https://boxmatrix.info/wiki/Property:od) seems to ommit the -t
option and seems more accurate.
> Usage:
> > od [-abcdeFfhiloxsv] [FILE]
>
> Print FILE
(or stdin
) unambiguously, as octal bytes by default
Confirming the online documentation, when the command od --help
is sent, the output is:
>Usage: od [-aBbcDdeFfHhIiLlOovXx] [FILE]
### Repository
So looking at the [source code](https://github.com/mirror/busybox/blob/master/coreutils/od.c) it seems to be some kind of remap to the od_bloaty.c
[source file](https://github.com/brgl/busybox/blob/master/coreutils/od_bloaty.c)
### Question
I could not understand this source file and the documentation is not clear on all the options of the od
command.
Is there some other documentation for this busybox command or some better explanation for those options?
Asked by danieltakeshi
(131 rep)
Dec 13, 2024, 04:03 PM
Last activity: Dec 13, 2024, 05:47 PM
Last activity: Dec 13, 2024, 05:47 PM