From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4844 invoked from network); 24 Jul 2005 23:22:44 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 24 Jul 2005 23:22:44 -0000 Received: (qmail 46940 invoked from network); 24 Jul 2005 23:22:38 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Jul 2005 23:22:38 -0000 Received: (qmail 24579 invoked by alias); 24 Jul 2005 23:22:32 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9147 Received: (qmail 24570 invoked from network); 24 Jul 2005 23:22:31 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 24 Jul 2005 23:22:31 -0000 Received: (qmail 45907 invoked from network); 24 Jul 2005 23:22:31 -0000 Received: from vms042pub.verizon.net (206.46.252.42) by a.mx.sunsite.dk with SMTP; 24 Jul 2005 23:22:25 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IK5004YQNLBLGK6@vms042.mailsrvcs.net> for zsh-users@sunsite.dk; Sun, 24 Jul 2005 18:22:24 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j6ONMMNs026879 for ; Sun, 24 Jul 2005 16:22:22 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j6ONMLi2026878 for zsh-users@sunsite.dk; Sun, 24 Jul 2005 16:22:22 -0700 Date: Sun, 24 Jul 2005 23:22:21 +0000 From: Bart Schaefer Subject: Re: Command != command ??? In-reply-to: <87r7dnsvjn.fsf@ceramic.fifi.org> To: zsh-users@sunsite.dk Message-id: <1050724232221.ZM26877@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050724.074251.74755659.Meino.Cramer@gmx.de> <87r7dnsvjn.fsf@ceramic.fifi.org> Comments: In reply to Philippe Troin "Re: Command != command ???" (Jul 24, 3:12pm) 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.1 required=5.0 tests=AWL,BAYES_00,PLING_QUERY autolearn=no version=3.0.4 On Jul 24, 3:12pm, Philippe Troin wrote: } Subject: Re: Command != command ??? } } Meino Christian Cramer writes: } } > ./mkexif.sh:7: no matches found: **/*.jpg } } You setopt extendglob in your zshrc, which is not sourced for your } script. Good guess, but extendedglob is not required for **/ to work. More likely is that there is a "cd" command in some startup file that the script *does* read, such as ~/.zshenv. Try changing the script to start with #!/bin/zsh -x so you can see a trace of the commands that it is executing. Remove the -x again after you fix whatever is wrong, of course.