Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: ABCD <en.ABCD@...>
Subject: Re: bash-4.0-r1 for ~arch
Date: Tue, 03 Mar 2009 01:58:17 -0500
-----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-----



References:
bash-4.0-r1 for ~arch
-- Mike Frysinger
Re: bash-4.0-r1 for ~arch
-- Donnie Berkholz
Re: bash-4.0-r1 for ~arch
-- Mike Frysinger
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: bash-4.0-r1 for ~arch
Next by thread:
Re: bash-4.0-r1 for ~arch
Previous by date:
Re: bash-4.0-r1 for ~arch
Next by date:
Re: QA Overlay Layout support.


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.