od

    od command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.3
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    81

    #od

    Display numeric and character data for MoonX.

    moonx cli/od@0.1.3 [OPTION]... [FILE]...

    #Supported scope

    Concatenate files or stdin and display integer, floating or character values. Default output is two-byte octal with octal addresses.

    #Options

    OptionDescription
    -A, --address-radix=d\|o\|x\|naddress base, or no addresses
    -j, --skip-bytes=Nskip N input bytes
    -N, --read-bytes=Nprint at most N bytes
    -t, --format=TYPEa, c, integers 1/2/4/8; floats 2/4/8/16; optional z
    -a -b -c -d -i -l -o -s -xtraditional named/integer formats
    -f -e -Ftraditional float or double formats
    --endian=little\|bigbyte order (default little)
    -w[N], --width[=N]bytes per line (default 16, bare option 32)
    -v, --output-duplicatesdo not replace repeated blocks with *
    -S N, --strings[=N]print NUL-terminated printable strings (default 3)
    --traditionalaccept old offset and label operands
    --help / --versionShow help / package version.

    #Limitations

    • Characters use C-byte rules. Floating formats follow the GNU Linux amd64 profile on every host.
    • Output widths are limited to 1048576 bytes; incompatible widths use the common type size with a warning.

    #Examples

    moonx cli/od@0.1.3 -Ax -tx1 data.bin moonx cli/od@0.1.3 -j4 -N8 --endian=big -tx2 data.bin

    DumpState

    type DumpState