On Mar 27, Chet Ramey wrote: > Since that line, as you entered it above, is a syntax error, it's not > clear what bash should do with it (probably nothing). What do you > expect to happen?
The same as if you would try to complete any non-existing file name, nothing? The completion should not append an "a" to the typed in "a(". Instead the cursor should stay in the same position (after the parenthesis) and bash should beep. When you try to complete "ls ab" with <TAB> in the same example with the two files "aa" and "a(" in a directory bash-completion handles it correctly. It only fails because of the parenthesis (and maybe also with other special characters). Uwe