From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10475 invoked by alias); 18 Nov 2013 11:10:28 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18147 Received: (qmail 28046 invoked from network); 18 Nov 2013 11:10:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f4-b7fee6d000004b2d-a0-5289f33f0555 Date: Mon, 18 Nov 2013 11:00:14 +0000 From: Peter Stephenson To: zsh-users@zsh.org Subject: Re: Globbing question Message-id: <20131118110014.504fd024@pwslap01u.europe.root.pri> In-reply-to: <20131118104543.GA15404@linux.vnet.ibm.com> References: <20131118104543.GA15404@linux.vnet.ibm.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphluLIzCtJLcpLzFFi42I5/e/4NV37z51BBn0/uS12nFzJ6MDoserg B6YAxigum5TUnMyy1CJ9uwSujOtPfjAVzGOueLxhP2sD41mmLkZODgkBE4k9e56wQ9hiEhfu rWfrYuTiEBJYyijxfnkjI5TDJNEx8QMbSBWLgKrEtPPzwbrZBAwlpm6azQhiiwiISixfsRls krCAnMTJa/OAajg4eAXsJeYeUQUJcwpYSHw7/ZUVxBYSMJdYd3UvWDm/gL7E1b+foA6yl5h5 5QzYSF4BQYkfk++xgNjMAloSm7c1sULY8hKb17xlnsAoMAtJ2SwkZbOQlC1gZF7FKJpamlxQ nJSea6hXnJhbXJqXrpecn7uJERKCX3YwLj5mdYhRgINRiYdXM6wzSIg1say4MvcQowQHs5II 74obQCHelMTKqtSi/Pii0pzU4kOMTBycUg2MkTNubL4fz1EQuazWt2tCd+yTy0zGsUH77oRd YtKLkeTM3vTgmez9Mx/T52dXzLFYleoj8ZV1+5TUo0fmb5BJ+XyKoWS+rbHrZkGzmS+/7uK4 27j0j8TedONdt1/mB4mvkKosWvLgZoLWr6lVzJuKWSR1T+jcv/SNPWrVIUNNtdwbLa/3Ld8T pMRSnJFoqMVcVJwIAGnL6B0fAgAA On Mon, 18 Nov 2013 11:45:43 +0100 Dominik Vogt wrote: > I'm looking for a globbing pattern that matches all plain files in > all subdirectories except "git". (^git)/**/*(.) If you want to avoid matching git recursively in subdirectories, too, you need EXTENDED_GLOB and (^git/)##**/*(.) and you'd remove the second "#" to include files in the current directory. pws