summaryrefslogtreecommitdiff
path: root/debian/bash_completion/BUGS
blob: 4694eacc2d06bf46ff93793969453e942e40050d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$Id: BUGS,v 1.3 2003/05/01 05:49:58 ianmacd Exp $

The following are known bugs with the bash completion code. See also the
KNOWN PROBLEMS section of the README file.

- sudo completion goes awry when a command line contains wildcards

  The problem arises because sudo needs to hand off completion duties to
  the function bound to the command that it is told to execute. As part of
  this process, any arguments on the command line are expanded.

  Suppose you have the following command line:

  $ sudo mv *.txt foo/

  This command line contains four tokens, of which '*.txt' is the third.
  However, after expansion of the wildcard, there may be any number of
  arguments in the command-line that is ultimately handed to mv.

  Note: this bug is believed to be fixed as of the 20030501 release