Package: bash-completion
Version: 20060301-4
Followup-For: Bug #468254

Hi,

please apply the latest change from Andrei Paskevich in #468254, it fixes
another issue I have, which I guess it's the same Andrei described.

Without quoting $cur properly:

  ~ $ mkdir -p /tmp/sandbox && cd /tmp/sandbox
  /tmp/sandbox $ touch test
  /tmp/sandbox $ touch test\ 2
  /tmp/sandbox $ mv test\ <TAB>
  test    test 2
  /tmp/sandbox $ mv test 
                        ^cursor here

INCORRECT, it should complete to "test 2"

After I changed 'echo $cur' to 'echo "$cur"' as Andrei suggested:

  ~ $ mkdir -p /tmp/sandbox && cd /tmp/sandbox
  /tmp/sandbox $ touch test
  /tmp/sandbox $ touch test\ 2
  /tmp/sandbox $ mv test\ <TAB>
  /tmp/sandbox $ mv test\ 2 
                            ^cursor here

CORRECT!

Thanks,
   Antonio

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          3.2-2      The GNU Bourne Again SHell
ii  ucf                           3.006      Update Configuration File: preserv

bash-completion 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