From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12137 invoked from network); 1 Feb 2001 16:40:01 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Feb 2001 16:40:01 -0000 Received: (qmail 13377 invoked by alias); 1 Feb 2001 16:39:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13424 Received: (qmail 13361 invoked from network); 1 Feb 2001 16:39:53 -0000 From: "Bart Schaefer" Message-Id: <1010201163948.ZM5182@candle.brasslantern.com> Date: Thu, 1 Feb 2001 16:39:48 +0000 In-Reply-To: <000001c08c13$86b378f0$21c9ca95@mow.siemens.ru> Comments: In reply to "Andrej Borsenkow" "RE: Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin )" (Feb 1, 8:55am) References: <000001c08c13$86b378f0$21c9ca95@mow.siemens.ru> X-Mailer: Z-Mail (5.0.0 30July97) To: , "Andrej Borsenkow" Subject: Re: Somebody with gcc knowledge here? (Was: termcap moodule problem on Cygwin ) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Feb 1, 8:55am, Andrej Borsenkow wrote: } Subject: RE: Somebody with gcc knowledge here? (Was: termcap moodule prob } } > What you actually want here is } > } > case "$all_subdirs " in } > *" $lastsub "* ) ;; } } Or do I miss something? You miss the significance of whitespace. Look closely at the `case' line. Adding a trailing space there means you can always match a trailing space in the pattern line, so you only need one pattern. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net