From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4212 invoked from network); 10 Mar 2000 10:59:22 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 10 Mar 2000 10:59:22 -0000 Received: (qmail 21856 invoked by alias); 10 Mar 2000 10:58:56 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10052 Received: (qmail 21842 invoked from network); 10 Mar 2000 10:58:55 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "Sven Wischnowsky" , Subject: RE: ${_comps[(K)*diff*]} Date: Fri, 10 Mar 2000 13:57:51 +0300 Message-ID: <001901bf8a7f$7af9bc90$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <200003101032.LAA03460@beta.informatik.hu-berlin.de> > > The keys of $_comps are used as patterns (none of them is a real > pattern, they are just strings -- the names of commands and special > context), but none of them matches the string `*diff*'. So you get > nothing. Of course. Right? Maybe what you wanted is the (I) flag? > (That (I) and (K) do what they do and that they are named the way they > are named may be a bit irritating -- probably less when thinking about > normal arrays instead of associations -- but that has historical > reasons. (K) just came later.) > O.K., sorry, I was confused by manual. The description in (k), (K): "the first value whose key matches the EXP" means (unless my english completely fails me) STRING key is matched against PATTERN EXP. The usual usage is "string matches pattern", is not it? I hope, somebody with native english can clarify it. And the reference in (k) description "this behaves like `r'" just adds to confusion. Sorry for the noice (yes, I actually meant (I) in this case) -andrej