Package: bash
Version: 4.0-2
Severity: normal
File: /etc/skel/.bashrc

With the .bashrc from /etc/skel I get the following error message on
startup:

bash: /home/test/.bashrc: line 97: unexpected EOF while looking for
matching `)'
bash: /home/test/.bashrc: line 100: syntax error: unexpected end of file

The buggy shell code is:

if [ -f /etc/bash_completion ] && [ $(set -o | grep -q
'^posix[[:space:]]*off$' ]; then
    . /etc/bash_completion
fi

It is missing a closing ) in
 $(set -o | grep -q '^posix[[:space:]]*off$


Cheers,
Michael
-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.1
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash depends on:
ii  base-files                5.0            Debian base system miscellaneous f
ii  debianutils               3.0.1          Miscellaneous utilities specific t
ii  libc6                     2.9-6          GNU C Library: Shared libraries
ii  libncurses5               5.7+20090404-1 shared libraries for terminal hand

Versions of packages bash recommends:
ii  bash-completion               1:1.0-2    programmable completion for the ba

Versions of packages bash suggests:
pn  bash-doc                      <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to