[gnu.bash.bug] File name completion

cbcscmrs@csun.edu (10/13/89)

Brian, in bash 1.03 there is an interesting mis-feature.

I have a file called gcc*' that I want to remove so I type in

	rm -i gcc<TAB>

and I get exaclty what I expected.  But after hitting return, I
realized that what I expected was wrong, and what I should have expected
was a completion of gcc\*\' not gcc*'.  Could you extend bash to quote
funny characters when doing completions.

Thanks.

mikem+@ANDREW.CMU.EDU (Michael Meyer) (12/02/89)

Perhaps this is my error .....

Try creating a file called (say) =junk,
then doing
ls  =<TAB>
GNU bash, version 1.04.1 will not complete the file name.  However files
with names that start with + signs seem to be OK.
More weirdness.  If you have two files, say =fred and frog, then
ls =fr<TAB>
will give
ls  =frog
i.e, the completion will ignore the leading = character.

Regards,
--Mike Meyer