From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28599 invoked from network); 8 Jun 2004 08:41:17 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 8 Jun 2004 08:41:17 -0000 Received: (qmail 21889 invoked from network); 8 Jun 2004 08:40:33 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 Jun 2004 08:40:33 -0000 Received: (qmail 5606 invoked by alias); 8 Jun 2004 08:40:24 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7497 Received: (qmail 5553 invoked from network); 8 Jun 2004 08:40:24 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 8 Jun 2004 08:40:21 -0000 Received: (qmail 21180 invoked from network); 8 Jun 2004 08:40:20 -0000 Received: from karnickel.franken.de (193.141.110.11) by a.mx.sunsite.dk with SMTP; 8 Jun 2004 08:40:18 -0000 Received: from karnickel.franken.de (localhost [127.0.0.1]) by karnickel.franken.de (8.12.10/8.12.10) with ESMTP id i588e1Bh006982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Jun 2004 10:40:03 +0200 (CEST) Received: (from uucp@localhost) by karnickel.franken.de (8.12.10/8.12.2/Submit) with UUCP id i588ZPYD006089; Tue, 8 Jun 2004 10:35:25 +0200 (CEST) (envelope-from jean-luc@picard.franken.de) Received: by picard.franken.de (Postfix, from userid 1001) id D772F118035; Tue, 8 Jun 2004 10:31:35 +0200 (CEST) Date: Tue, 8 Jun 2004 10:31:35 +0200 From: Thomas =?iso-8859-1?Q?K=F6hler?= To: Andy Isaacson Cc: zsh-users@sunsite.dk Subject: Re: *(@)/subdir expansion Message-ID: <20040608083135.GA14991@picard.franken.de> Mail-Followup-To: Andy Isaacson , zsh-users@sunsite.dk References: <20040607224445.GB30190@hexapodia.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <20040607224445.GB30190@hexapodia.org> X-Operating-System: Linux X-Editor: VIM - Vi IMproved 6.2 http://www.vim.org/ X-IRC: tirc; Nick: tkoehler X-URL: http://jeanluc-picard.de/ User-Agent: Mutt/1.5.4i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 --gKMricLos+KVdGMg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Andy Isaacson wrote: > I'm suprised to find that this expansion doesn't work for me: >=20 > % ls *(@)/dry > zsh: no matches found: *(@)/dry [...] > Am I doing something wrong, is this expected behavior, or is it a bug? You expect glob qualifiers to work in the middle of a pattern which they do not as explained in the zshexpn man page (see the section about "Glob Qualifiers"): Patterns used for filename generation may end in a list of qualifiers enclosed in parentheses. Your pattern does not end in a list of qualifiers enclosed in parentheses, because after the parentheses, there is some more stuff. Seems you're out of luck here... You might want to try something like for i in *(@) ; do ls $i/dry 2>/dev/null ; done > -andy Ciao, Thomas --=20 Thomas K=F6hler Email: jean-luc@picard.franken.de <>< WWW: http://jeanluc-picard.de IRC: tkoehler PGP public key available from Homepage! --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAxXlnTEYXWMJlHuYRAktyAJ0aWWR7sVBxzies1QPGJY4j+ic7ngCfa1hQ nIEqWbL3S7QB4DMUJwgKvyY= =bL0F -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--