Gentoo Archives: gentoo-dev

From: ABCD <en.ABCD@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: bash-4.0-r1 for ~arch
Date: Tue, 03 Mar 2009 07:00:18
Message-Id: goike9$ro2$2@ger.gmane.org
In Reply to: Re: [gentoo-dev] bash-4.0-r1 for ~arch by Mike Frysinger
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Mike Frysinger wrote:
5 > On Monday 02 March 2009 22:56:27 Donnie Berkholz wrote:
6 >> On 19:27 Mon 02 Mar , Mike Frysinger wrote:
7 >>> unless i see any new issues come up, bash-4.0-r1 will be going into ~arch
8 >>> this week. now would be a good time to sync up and try bash-4.0 on your
9 >>> system :p. -mike
10 >> comet $ source /usr/share/bash-completion/genkernel
11 >> -bash: /usr/share/bash-completion/genkernel: line 50: unexpected EOF while
12 >> looking for matching `)' -bash: /usr/share/bash-completion/genkernel: line
13 >> 74: syntax error: unexpected end of file
14 >>
15 >> 50 args=( $(case $args in
16 >> 55 (*) compgen -o bashdefault -- "$rhs" ;; # punt
17 >> 56 esac) )
18 >
19 > comments in subshelled case statements is causing the problem. drop the '#
20 > punt' and it's fine.
21 >
22 >> Actually seems like quite a few of the bash-completion scripts have
23 >> issues with 4.0 ... might want to just run through those.
24 >
25 > i dont use bash completion so i dont have any actually installed. run `bash -
26 > n` on each one on your system and let me know which ones result in errors.
27 > -mike
28
29 With my tests using bash 3.2, I noticed that a number of the
30 bash-completion scripts use extglob, so you will need to use
31 `bash -O extglob -n $script` to check for validity.
32
33 - --
34 ABCD
35
36 (lurked for a long while, just never had a reason to post)
37
38 (this is a resend, I don't think my first one actually got sent properly
39 - - my apologies if this is a duplicate)
40 -----BEGIN PGP SIGNATURE-----
41 Version: GnuPG v2.0.10 (GNU/Linux)
42 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
43
44 iEYEARECAAYFAkms1QkACgkQOypDUo0oQOqTQgCgzMSClpp+GNJI3oD4tD4PPrlH
45 TCUAoN4Z1YKdPTj4k7+r8dTez/eqgPei
46 =hpiY
47 -----END PGP SIGNATURE-----