[Bash-completion-devel] Bug#519238: Bug#519238: bash-completion: syntax error in /etc/bash_completion

David Paleino d.paleino at gmail.com
Fri Mar 20 20:20:59 UTC 2009


Ciao Norbert,

On Wed, 11 Mar 2009 10:47:58 +0100, Norbert Preining wrote:

> Package: bash-completion
> Version: 20080705
> Severity: normal
> 
> /etc/bash_completion: line 273: syntax error near unexpected token `<'
> /etc/bash_completion: line 273: `       done < <( compgen -d --
> "$(quote_readline "$cur")" )'

Uhm.
How do you call bash? If you call it as /bin/sh, that may be the cause: /bin/sh
makes bash POSIX-compliant, thus disabling some features.

Please grep /etc/passwd for your username, and check that the shell
is /bin/bash, not /bin/sh (and yes, we should do some more checking there, but I
don't know whether it's possible or not -- I believe yes though, but I'm just
back from my uni classes and I don't really have all bash builtins in my
brain :P)

If that fixes it for you, I'll close the bug.

Ciao,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090320/a1e11378/attachment-0001.pgp 


More information about the Bash-completion-devel mailing list