public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: ABCD <en.ABCD@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev]  Re: bash-4.0-r1 for ~arch
Date: Tue, 03 Mar 2009 01:58:17 -0500	[thread overview]
Message-ID: <goike9$ro2$2@ger.gmane.org> (raw)
In-Reply-To: <200903030127.27075.vapier@gentoo.org>

-----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-----




  reply	other threads:[~2009-03-03  7:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03  0:27 [gentoo-dev] bash-4.0-r1 for ~arch Mike Frysinger
2009-03-03  3:56 ` Donnie Berkholz
2009-03-03  6:25   ` Caleb Cushing
2009-03-03  6:39     ` Mike Frysinger
2009-03-03  6:43       ` Caleb Cushing
2009-03-03  6:27   ` Mike Frysinger
2009-03-03  6:58     ` ABCD [this message]
2009-03-03  7:54     ` Donnie Berkholz
2009-03-03  7:56       ` Donnie Berkholz
2009-03-03 20:04         ` Mike Frysinger
2009-03-03 22:55   ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='goike9$ro2$2@ger.gmane.org' \
    --to=en.abcd@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox