Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: completion problem with filename including #
- X-seq: zsh-workers 12498
- From: Tanaka Akira <akr@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: Re: completion problem with filename including #
- Date: 03 Aug 2000 20:47:09 +0900
- In-reply-to: <200008031110.NAA09282@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> (Sven Wischnowsky's message of "Thu, 3 Aug 2000 13:10:03 +0200 (MET DST)")
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <200008031110.NAA09282@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
In article <200008031110.NAA09282@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx> writes:
> Damn. This `quoting of glob characters' just made it one more step up
> in my list of things that would be nice to have in C-code, efficiently.
Thanks.
> + tmp1=( ${tmp1//(#b)([][()|*?^#~<>])/\\${match[1]}} )
I tried test some special characters other than # and found that > and
\ has a problem.
Z(2):akr@flux% Src/zsh -f
flux% bindkey -e; autoload -U compinit; compinit -D; compdef _tst tst
flux% mkdir -p '>aa/bb' '\cc/dd'
flux% ls -ld '>aa' '\cc'
drwxr-xr-x 3 akr akr 512 Aug 3 20:46 >aa
drwxr-xr-x 3 akr akr 512 Aug 3 20:46 \cc
flux% ls \>a<TAB>
flux% ls \\c<TAB>
They completes nothing.
Although I tried to change the character range to [][()|*?^#~<\\], the
problem is not fixed.
--
Tanaka Akira
Messages sorted by:
Reverse Date,
Date,
Thread,
Author