# shellcheck shell=dash

___x_cmd_stat___execraw(){
    local x_
    ___x_cmd os name_

    case "$x_" in
        darwin)     ___x_cmd_stat___execraw___bsd       "$@" ;;
        *)          ___x_cmd_stat___execraw___busybox   "$@" ;;
    esac
}

# stat -f "%N %z %u %g %Sa"

___x_cmd_stat___execraw___bsd(){
    ___x_cmd_cmds stat -f "%N
%z
%u
%g
%HT
%Sp
%Sa
%Sm
%Sc
---" "$@" 2>/dev/null
}

___x_cmd_stat___execraw___busybox(){
    ___x_cmd_cmds stat -c "%N
%s
%u
%g
%F
%A
%x
%y
%z
---" "$@" 2>/dev/null
}




