From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8089 invoked from network); 3 Aug 2000 11:49:02 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Aug 2000 11:49:02 -0000 Received: (qmail 25763 invoked by alias); 3 Aug 2000 11:48:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12498 Received: (qmail 25749 invoked from network); 3 Aug 2000 11:48:19 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: completion problem with filename including # References: <200008031110.NAA09282@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 03 Aug 2000 20:47:09 +0900 In-Reply-To: <200008031110.NAA09282@beta.informatik.hu-berlin.de> (Sven Wischnowsky's message of "Thu, 3 Aug 2000 13:10:03 +0200 (MET DST)") Message-ID: User-Agent: T-gnus/6.14.1 (based on Gnus v5.8.3) (revision 16) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.6 (i686-pc-linux-gnu) MULE/4.0 (HANANOEN) In article <200008031110.NAA09282@beta.informatik.hu-berlin.de>, Sven Wischnowsky 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 flux% ls \\c They completes nothing. Although I tried to change the character range to [][()|*?^#~<\\], the problem is not fixed. -- Tanaka Akira