strings

    strings command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.6
    License
    Apache-2.0
    Last updated
    4 days ago
    Downloads
    122

    #strings

    Development candidate: cli/strings@0.1.6. Publication is separate; latest.json records the uploaded coordinates.

    Extract printable byte sequences for MoonX.

    moonx cli/strings@0.1.6 [OPTION]... [FILE]...

    #Supported scope

    Scan complete files or stdin for runs of at least four printable bytes by default. TAB belongs to a printable run.

    #Options

    OptionDescription
    -a, --allscan the whole file
    -f, --print-file-nameprint the file name before each string
    -n, --bytes=Nprint sequences at least N bytes long
    -odisplay offsets in octal
    -t, --radix=RADIXdisplay offsets in d, o, or x radix
    -e, --encoding=ENCs: 7-bit bytes (default); S: 8-bit bytes
    -s, --output-separator=STRseparate accepted strings with STR
    --help / --versionShow help / package version.

    #Extension and diagnostic contract

    Project alias: --octal selects -o; it is not a binutils long option.

    See the finite option and diagnostic profile for the scope and upstream distinction.

    #Argument and exit-status contract

    Unknown encoding selectors exit 1; recognized unsupported wide encodings explicitly exit 2.

    #Limitations

    • Wide encodings, object-section selection, locale decoding and GNU Unicode rendering modes are unsupported.

    #Examples

    moonx cli/strings@0.1.6 -n 6 -t d data.bin printf 'hello\000world\n' | moonx cli/strings@0.1.6