Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] bash-4.0-r1 for ~arch
Date: Tue, 03 Mar 2009 03:56:31
Message-Id: 20090303035627.GA3811@comet
In Reply to: [gentoo-dev] bash-4.0-r1 for ~arch by Mike Frysinger
1 On 19:27 Mon 02 Mar , Mike Frysinger wrote:
2 > unless i see any new issues come up, bash-4.0-r1 will be going into ~arch this
3 > week. now would be a good time to sync up and try bash-4.0 on your system :p.
4 > -mike
5
6 comet $ source /usr/share/bash-completion/genkernel
7 -bash: /usr/share/bash-completion/genkernel: line 50: unexpected EOF while looking for matching `)'
8 -bash: /usr/share/bash-completion/genkernel: line 74: syntax error: unexpected end of file
9
10 48 # generate a list of completions for the argument; this replaces args with
11 49 # an array of results
12 50 args=( $(case $args in
13 51 ('<0-5>') compgen -W "$(echo {1..5})" -- "$rhs" ;;
14 52 ('<outfile>'|'<file>') compgen -A file -o plusdirs -- "$rhs" ;;
15 53 ('<dir>') compgen -A directory -S / -- "$rhs" ;;
16 54 ('<tbz2>') compgen -G '*.tbz2' -G '*.tar.bz2' -o plusdirs -- "$rhs" ;;
17 55 (*) compgen -o bashdefault -- "$rhs" ;; # punt
18 56 esac) )
19
20
21 Actually seems like quite a few of the bash-completion scripts have
22 issues with 4.0 ... might want to just run through those.
23
24 --
25 Thanks,
26 Donnie
27
28 Donnie Berkholz
29 Developer, Gentoo Linux
30 Blog: http://dberkholz.wordpress.com

Replies

Subject Author
Re: [gentoo-dev] bash-4.0-r1 for ~arch Caleb Cushing <xenoterracide@×××××.com>
Re: [gentoo-dev] bash-4.0-r1 for ~arch Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] bash-4.0-r1 for ~arch Mike Frysinger <vapier@g.o>