From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17641 invoked from network); 22 Nov 2003 23:56:05 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 22 Nov 2003 23:56:05 -0000 Received: (qmail 11210 invoked by alias); 22 Nov 2003 23:55:50 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6806 Received: (qmail 11110 invoked from network); 22 Nov 2003 23:55:49 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 22 Nov 2003 23:55:49 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [213.97.199.90] by sunsite.dk (MessageWall 1.0.8) with SMTP; 22 Nov 2003 23:55:49 -0000 Received: (qmail 21545 invoked by uid 500); 22 Nov 2003 23:55:40 -0000 Date: Sun, 23 Nov 2003 00:55:40 +0100 From: David =?iso-8859-15?Q?G=F3mez?= To: Zsh-users Subject: Question about extended globbing Message-ID: <20031122235540.GA21492@fargo> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.1i Hi all ;), I'm trying to create a pattern to match a given set of files that do not match some pattern. I found that the ^ globbing operator, with the option extended_glob set would help me to do this, but the thing is that i don't know how to make two patterns to be affected by this operator, I tried something like: grep something $FOO/^{*txt,*info} but it didn't work. How can I achieve to include several alternatives with the ^ operator? Thanks, -- David Gómez "The question of whether computers can think is just like the question of whether submarines can swim." -- Edsger W. Dijkstra