1
# xsltproc(1) completion
8
_get_comp_words_by_ref cur prev
20
# some aliases removed
21
COMPREPLY=( $( compgen -W "$( iconv -l | sed -e '/^UTF[1378]/d' \
22
-e '/^ISO[0-9_]/d' -e '/^8859/d' -e 's/\/.*//')" -- "$cur" ) )
25
--param|--stringparam)
28
# not really like --writesubtree
39
[[ $COMP_CWORD -gt 2 && `_get_cword '' 2` == --?(string)param ]] && \
42
if [[ "$cur" == -* ]]; then
45
_filedir '@(xsl|xslt|xml)'
48
complete -F _xsltproc -o filenames xsltproc
53
# sh-indent-comment: t
54
# indent-tabs-mode: nil
56
# ex: ts=4 sw=4 et filetype=sh