From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5631 invoked from network); 3 Sep 1999 02:53:25 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 3 Sep 1999 02:53:25 -0000 Received: (qmail 822 invoked by alias); 3 Sep 1999 02:53:06 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2554 Received: (qmail 815 invoked from network); 3 Sep 1999 02:53:05 -0000 Sender: dado@pdi.com Message-ID: <37CF36E2.E0627CAC@pdi.com> Date: Thu, 02 Sep 1999 19:48:03 -0700 From: dado Organization: Pacific Data Images X-Mailer: Mozilla 4.5 [en] (X11; U; IRIX 6.5 IP32) X-Accept-Language: pt-BR MIME-Version: 1.0 Subject: Re: strange glob expansion References: <19990901101116.A8076@youkaidi.irisa.fr> <990901174608.ZM19896@candle.brasslantern.com> <19990902121532.A24349@youkaidi.irisa.fr> <990902150120.ZM24598@candle.brasslantern.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Apparently-To: Bart Schaefer wrote: > On Sep 2, 12:15pm, Hubert Canon wrote: > } Subject: Re: strange glob expansion > } > } Bart Schaefer =E9crivait : > } > % echo .scwm/{chan*,**/scwmrc*} > } > } Not exactly. The { , } construct is somewhat different than ( | ) : > } for example, when one of the partterns fails, the whole expression > } fails. > > That's what `setopt cshnullglob` is for. I can't imagine why anyone wo= uld > not want that option when the shell is interactive; brace expansion is > practically useless without it. It's true. It always annoyed me that a no match would brake the whole thi= ng. But I just tried setopt cshnullglob to no avail. It's still complaining about a no match, even if there are other matches:= dado@saci:~/pdi/timesheet 16 -> setopt | grep null cshnullglob dado@saci:~/pdi/timesheet 17 -> ll 99090{0,1,2,3} UX:ls: ERROR: Cannot access 990900: No such file or directory UX:ls: ERROR: Cannot access 990903: No such file or directory -rw------- 1 dado users 19 Sep 1 20:06 990901 -rw------- 1 dado users 19 Sep 2 19:39 990902 I also would like to have the same behavior on 99090{0..3} Is that possible? Any idea? Thanks. ZSH_VERSION=3D3.0.5 SGI O2 - IRIX 6.5 -- _________________________________________________________________________= ___ d a d o f e i g e n b l a t t direct (650) 846-8= 386 dado@pdi.com - Technical Lighter front desk (650) 846-8= 100 PDI - Palo Alto, CA fax (650) 846-8= 101