List Archive: gentoo-dev
On 19:27 Mon 02 Mar , Mike Frysinger wrote:
> unless i see any new issues come up, bash-4.0-r1 will be going into ~arch this
> week. now would be a good time to sync up and try bash-4.0 on your system :p.
> -mike
comet $ source /usr/share/bash-completion/genkernel
-bash: /usr/share/bash-completion/genkernel: line 50: unexpected EOF while looking for matching `)'
-bash: /usr/share/bash-completion/genkernel: line 74: syntax error: unexpected end of file
48 # generate a list of completions for the argument; this replaces args with
49 # an array of results
50 args=( $(case $args in
51 ('<0-5>') compgen -W "$(echo {1..5})" -- "$rhs" ;;
52 ('<outfile>'|'<file>') compgen -A file -o plusdirs -- "$rhs" ;;
53 ('<dir>') compgen -A directory -S / -- "$rhs" ;;
54 ('<tbz2>') compgen -G '*.tbz2' -G '*.tar.bz2' -o plusdirs -- "$rhs" ;;
55 (*) compgen -o bashdefault -- "$rhs" ;; # punt
56 esac) )
Actually seems like quite a few of the bash-completion scripts have
issues with 4.0 ... might want to just run through those.
--
Thanks,
Donnie
Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com
|
|