Package: bash
Version: 3.1dfsg-8
Severity: normal

As of the version of bash in etch, perl [opts] <tab> does not complete
possible filenames.

I'm not pretending to understand how bash tab completion works, but
having examined the diff of /etc/bash_completion between sarge and etch,
reverting the change:

@@ -4306,7 +5205,7 @@
                        -n -a -F -l -0 -I -m -M -P -S -x -i -e ' -- $cur ) )
     return 0
 }
-complete -F _perl $default perl
+complete -F _perl $filenames perl
 
 _perldoc()
 {

seems to fix the problem for me.

(a workaround for other wanting to fix this issue in the interim, without
having to delve into the monolithic file, is the following:

echo 'complete -F _perl $default perl' > /etc/bash_completion.d/fix-perl

)

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-4-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages bash depends on:
ii  base-files             4                 Debian base system miscellaneous f
ii  debianutils            2.17              Miscellaneous utilities specific t
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libncurses5            5.5-5             Shared libraries for terminal hand

bash recommends no packages.

-- no debconf information



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

Reply via email to