weird bash completion

Orion Poplawski orion at cora.nwra.com
Mon Aug 29 20:07:41 UTC 2011


On 08/29/2011 11:11 AM, John5342 wrote:
> On Mon, Aug 29, 2011 at 07:14, Joachim Backes
> <joachim.backes at rhrk.uni-kl.de>  wrote:
>> Having a file in my home called :0-greeter.log
>>
>> If pressing "rm :<tab>", the bash completes:
>>
>> rm :\:0-greeter.log
>>
>> Two questions:
>>
>> 1. Why the : is escaped at second position?
>> 2. Why the : is escaped at all?
>>
>> That's a known issue?
>
> I discovered the same thing with the '=' symbol in strings. I also
> noticed today that if a file has spaces if i type "rm some<tab>" it
> completes as "rm some file with spaces" rather than "rm some\ file\
> with\ spaces" as it used to.
>

This is often caused by the adobe reader bash completion file.  I thought it 
was fixed with the latest bash-completion updates though.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the test mailing list