Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /proc/self/root/proc/thread-self/root/usr/share/bash-completion/completions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/proc/thread-self/root/usr/share/bash-completion/completions/xsltproc
# xsltproc(1) completion                                   -*- shell-script -*-

_xsltproc()
{
    local cur prev words cword
    _init_completion || return

    case $prev in
        --output|-o)
            _filedir
            return
            ;;
        # TODO : number only
        --maxdepth)
            return
            ;;
        --encoding)
            # some aliases removed
            COMPREPLY=( $( compgen -W "$( iconv -l | command sed -e '/^UTF[1378]/d' \
                -e '/^ISO[0-9_]/d' -e '/^8859/d' -e 's/\/.*//')" -- "$cur" ) )
            return
            ;;
        --param|--stringparam)
            return
            ;;
        # not really like --writesubtree
        --path)
            _filedir -d
            return
            ;;
        --writesubtree)
            _filedir -d
            return
            ;;
    esac

    [[ $cword -gt 2 && `_get_cword '' 2` == --?(string)param ]] && return

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
        COMPREPLY=( "${COMPREPLY[@]%:}" )
    else
        # TODO: 1st file xsl|xslt, 2nd XML
        _filedir '@(xsl|xslt|xml|dbk|docbook|page)'
    fi
} &&
complete -F _xsltproc xsltproc

# ex: filetype=sh

Spamworldpro Mini