[Bash-completion-devel] Bug#497597: bash-completion: gdb argument completions returns error
Kevin Mitchell
kevmitch at gmail.com
Sat Sep 6 21:02:40 UTC 2008
It seems to do the same thing. I tried picking things apart a little
more this time by just entering parts of the gdb entry in the shell.
Now I'm really confused:
$ IFS=":"
$ path_array=( $(echo "$PATH") )
$ IFS=$'\n'
$ find "${path_array[@]}" . -mindepth 1 -maxdepth 1 -not -type d
-executable -printf "%f\\n" > /dev/null
find: cannot search `': No such file or directory
$ echo find "${path_array[@]}" . -mindepth 1 -maxdepth 1 -not -type d
-executable -printf "%f\\n"
find /home/kevmitch/bin /usr/local/bin /usr/bin /bin /usr/games .
-mindepth 1 -maxdepth 1 -not -type d -executable -printf %f\n
$ find /home/kevmitch/bin /usr/local/bin /usr/bin /bin /usr/games .
-mindepth 1 -maxdepth 1 -not -type d -executable -printf %f\n >
/dev/null
$ wtf?
bash: wtf?: command not found
$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 2008-08-21 14:44 /bin/sh -> bash
$ apt-cache policy findutils
findutils:
Installed: 4.4.0-2
Candidate: 4.4.0-2
Version table:
*** 4.4.0-2 0
500 http://debian.yorku.ca testing/main Packages
600 http://debian.yorku.ca unstable/main Packages
100 /var/lib/dpkg/status
4.2.28-1etch1 0
400 http://debian.yorku.ca stable/main Packages
Kevin
On Sat, Sep 6, 2008 at 7:15 AM, David Paleino <d.paleino at gmail.com> wrote:
> tags 497597 unreproducible moreinfo
> thanks
>
> Hi Kevin,
>
> Kevin Mitchell wrote:
>> Package: bash-completion
>> Version: 20080705
>> [..]
>>
>> $ gdb <tab>
>> find: cannot search `': No such file or directory
>
> I'm sorry I can't reproduce this with our current development version --
> probably we already fixed it with some other bug.
>
> Would you please try the attached bash_completion, and see if it works for you
> as well? Please, backup your old bash_completion, and be warned that what I'm
> attaching is not ready to be released. Keep it at your own risk! :)
>
> Kindly,
> David
>
> --
> . ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino
> : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
> `. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page
> `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
>
More information about the Bash-completion-devel
mailing list