| Server IP : 217.160.0.64 / Your IP : 216.73.216.182 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67269618 ( 67269618) PHP Version : 8.4.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/self/root/kunden/proc/self/root/usr/share/zsh/functions/Completion/Unix/ |
Upload File : |
#compdef wc gwc
local args
args=(
'(-c --bytes)'{-c,--bytes}'[print byte counts]'
'(-C -m --chars)'{-m,--chars}'[print character counts]'
'(-w --words)'{-w,--words}'[print word counts]'
'(-l --lines)'{-l,--lines}'[print line counts]'
)
if _pick_variant gnu=GNU unix --version; then
args+=(
'(*)--files0-from=[read NUL-terminated file list from specified file]:file:_files'
'(-L --max-line-length)'{-L,--max-line-length}'[print longest line lengths]'
)
else
args=( -A "-*" "${(@)args:#(|\(*\))(|\*)--*}" )
case $OSTYPE in
freebsd*|netbsd*) args+=( '-L[print longest line lengths]' ) ;;
openbsd*) args+=( '-h[human readable: use unit suffixes]' ) ;;
solaris*) args+=( ${${(M)args:#*-m\[*}//-m\[/-C\[} ) ;;
esac
fi
_arguments -s -S $args '*:file:_files'