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

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to