dirname

    dirname command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.6
    License
    Apache-2.0
    Last updated
    8 hours ago
    Downloads
    147

    #dirname

    Print the parent component of each path through MoonX.

    #Usage

    moonx cli/dirname /home/user/report.txt moonx cli/dirname one/file.txt two/file.txt

    Print one result per operand. A name without a directory component produces a dot.

    #Common options

    OptionDescription
    -z, --zeroEnd each result with NUL.
    --helpShow help.
    --versionShow the version.

    #Notes

    • Paths are handled lexically, without resolving symbolic links or checking existence.

    See the compatibility guide for the supported profile.

    Source Files