Bug#867734: $ set $(cat /tm<TAB>

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#867734: $ set $(cat /tm<TAB>

積丹尼 Dan Jacobson
Package: bash-completion
Version: 1:2.1-4.3

Cannot complete filenames at this point:
$ set `cat /tmp/<TAB>

Even worse is
$ set $(cat /tm<TAB>

$ set $(cat /tmbash: eval: line 22: unexpected EOF while looking for matching `)'
bash: eval: line 23: syntax error: unexpected end of file
bash: eval: line 22: unexpected EOF while looking for matching `)'
bash: eval: line 23: syntax error: unexpected end of file

Same thing here,
$ set $(cat /tmp/<TAB>   )

All I was looking for was a little help completing /tmp/oo .

Reply | Threaded
Open this post in threaded view
|

Bug#867734: $ set $(cat /tm<TAB>

Gabriel F. T. Gomes-2
Hi, I see that you forwarded this upstream as
https://github.com/scop/bash-completion/issues/282

I'm adding this note here for easier reference.

Reply | Threaded
Open this post in threaded view
|

Bug#867734: $ set $(cat /tm<TAB>

Gabriel F. T. Gomes-4
In reply to this post by 積丹尼 Dan Jacobson
Control: tags -1 + confirmed upstream

On Sun, 09 Jul 2017 09:38:23 +0800 =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <[hidden email]> wrote:
>
> Cannot complete filenames at this point:
> $ set `cat /tmp/<TAB>

Confirmed that it doesn't work.
 
> Even worse is
> $ set $(cat /tm<TAB>
>
> $ set $(cat /tmbash: eval: line 22: unexpected EOF while looking for matching `)'
> bash: eval: line 23: syntax error: unexpected end of file
> bash: eval: line 22: unexpected EOF while looking for matching `)'
> bash: eval: line 23: syntax error: unexpected end of file

This part doesn't happen with bash-completion 1:2.8-6.

> Same thing here,
> $ set $(cat /tmp/<TAB>   )

Confirmed that it doesn't work.

> All I was looking for was a little help completing /tmp/oo .

This is not implemented upstream.  I'm marking the bug with the 'confirmed' and 'upstream' tags.