[Bash-completion-devel] Bug#524961: bash-completion: Tab completion of svk command line forgets to escape filenames

Brendon Higgins blhiggins at gmail.com
Tue Apr 21 07:16:50 UTC 2009

Package: bash-completion
Version: 1:1.0-2
Severity: normal


Try this:

touch "filename with spaces"
svk add filen<TAB>

The completion I get is "svk add filename with spaces". Note that the
completion does not escape the spaces in the filename. When you try to run
the command, svk looks for the files "filename", "with", and "spaces" and,
of course, fails.

You should expect the completion to be "svk add filename\ with\ spaces" like
everything else.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          3.2-5      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information

More information about the Bash-completion-devel mailing list