[Bash-completion-devel] Bug#558127: Bug#558127: bash-completion causes 'bash: [: too many arguments' messages

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


tags 558127 moreinfo
thanks

On Friday 27 November 2009 16:59:12, Alexander Verbovetsky wrote:
> After the yesterday upgrade of the bash-completion package, every
> start of bash produces 3 messages 'bash: [: too many arguments'.

That's not helping very much.
Could you please say whether your default login shell is /bin/sh instead of 
/bin/bash ?

And, could you please do (while the section below is still removed):

$ set -x
$ . /etc/bash_completion

and post everything here, including the error you're reporting?

> Removing
> ,----
> 
> | if [ -f /etc/bash_completion ]; then
> |     . /etc/bash_completion
> | fi
> 
> `----
> from ~/.bashrc stops the messages.

Sure, because you're not using bash-completion anymore ;)

Kindly,
David

-- 
 . ''`.   Debian developer | 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: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20091127/04712ef7/attachment.pgp>


More information about the Bash-completion-devel mailing list