From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LeOby-0007DX-0r for garchives@archives.gentoo.org; Tue, 03 Mar 2009 07:00:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29E21E02F2; Tue, 3 Mar 2009 07:00:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0861EE02F2 for ; Tue, 3 Mar 2009 07:00:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 9B36C643CB for ; Tue, 3 Mar 2009 07:00:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.588 X-Spam-Level: X-Spam-Status: No, score=-3.588 required=5.5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g-H86Wl++Fqm for ; Tue, 3 Mar 2009 07:00:09 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 56EEC642C9 for ; Tue, 3 Mar 2009 07:00:08 +0000 (UTC) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1LeObi-0005mq-H4 for gentoo-dev@gentoo.org; Tue, 03 Mar 2009 07:00:02 +0000 Received: from pool-173-71-204-106.clppva.fios.verizon.net ([173.71.204.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Mar 2009 07:00:02 +0000 Received: from en.ABCD by pool-173-71-204-106.clppva.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Mar 2009 07:00:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: ABCD Subject: [gentoo-dev] Re: bash-4.0-r1 for ~arch Date: Tue, 03 Mar 2009 01:58:17 -0500 Message-ID: References: <200903021927.49961.vapier@gentoo.org> <20090303035627.GA3811@comet> <200903030127.27075.vapier@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-71-204-106.clppva.fios.verizon.net User-Agent: Thunderbird 2.0.0.19 (X11/20090106) In-Reply-To: <200903030127.27075.vapier@gentoo.org> X-Enigmail-Version: 0.95.7 Sender: news X-Archives-Salt: 35d20f05-f5ec-491e-9740-c5b9b9dee3c1 X-Archives-Hash: 92f144bf17870f9e7ce3572a313ce51a -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Frysinger wrote: > On Monday 02 March 2009 22:56:27 Donnie Berkholz wrote: >> 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 >> >> 50 args=( $(case $args in >> 55 (*) compgen -o bashdefault -- "$rhs" ;; # punt >> 56 esac) ) > > comments in subshelled case statements is causing the problem. drop the '# > punt' and it's fine. > >> Actually seems like quite a few of the bash-completion scripts have >> issues with 4.0 ... might want to just run through those. > > i dont use bash completion so i dont have any actually installed. run `bash - > n` on each one on your system and let me know which ones result in errors. > -mike With my tests using bash 3.2, I noticed that a number of the bash-completion scripts use extglob, so you will need to use `bash -O extglob -n $script` to check for validity. - -- ABCD (lurked for a long while, just never had a reason to post) (this is a resend, I don't think my first one actually got sent properly - - my apologies if this is a duplicate) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkms1QkACgkQOypDUo0oQOqTQgCgzMSClpp+GNJI3oD4tD4PPrlH TCUAoN4Z1YKdPTj4k7+r8dTez/eqgPei =hpiY -----END PGP SIGNATURE-----