On 10/13/11 10:37 AM, lolilolicon wrote:
> Inside an empty directory:
>
> touch 1 1\'1
> complete -r ls
> ls 1\'<TAB> # ls 1\'1
> complete -f ls
> ls 1\'<TAB> # ls 1
> ls 1\\\'<TAB> # ls 1\'1
>
> (Note: the comment on the right is the result after pressing <TAB>)
>
> Is this broken behavior?
> Why on earth does the user have to double-escape at all?
> Is there any benefit of this?
Thanks for the report. This looks like a problem, or an omission, with
the effects of the `-f' option to complete, since it works as expected
without using programmable completion or when using `-o default'. I
will take a look.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/