From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14938 invoked from network); 3 Sep 2005 02:16:18 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Sep 2005 02:16:18 -0000 Received: (qmail 44353 invoked from network); 3 Sep 2005 02:16:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Sep 2005 02:16:11 -0000 Received: (qmail 4753 invoked by alias); 3 Sep 2005 02:16:04 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9375 Received: (qmail 4744 invoked from network); 3 Sep 2005 02:16:03 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Sep 2005 02:16:03 -0000 Received: (qmail 43353 invoked from network); 3 Sep 2005 02:16:03 -0000 Received: from acolyte.scowler.net (216.254.112.45) by a.mx.sunsite.dk with SMTP; 3 Sep 2005 02:15:59 -0000 Received: by acolyte.scowler.net (Postfix, from userid 1000) id 4A97870055; Fri, 2 Sep 2005 22:15:58 -0400 (EDT) Date: Fri, 2 Sep 2005 22:15:58 -0400 From: Clint Adams To: Timothy Luoma Cc: zsh-users@sunsite.dk Subject: Re: trying to match yyyy-mm-dd what am I missing? Message-ID: <20050903021558.GA22671@scowler.net> Mail-Followup-To: Timothy Luoma , zsh-users@sunsite.dk References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 > then > if [ "$i" = 2[0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9] ] I don't know why it would match the first one, but if you have MARK_DIRS set, that's going to fail.