From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19329 invoked from network); 7 Oct 2006 17:36:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.6 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Oct 2006 17:36:27 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 10298 invoked from network); 7 Oct 2006 17:36:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Oct 2006 17:36:19 -0000 Received: (qmail 3679 invoked by alias); 7 Oct 2006 17:36:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10811 Received: (qmail 3669 invoked from network); 7 Oct 2006 17:36:12 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Oct 2006 17:36:12 -0000 Received: (qmail 9225 invoked from network); 7 Oct 2006 17:36:12 -0000 Received: from mtaout03-winn.ispmail.ntl.com (81.103.221.49) by a.mx.sunsite.dk with SMTP; 7 Oct 2006 17:36:12 -0000 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20061007173610.HZKW1865.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Sat, 7 Oct 2006 18:36:10 +0100 Received: from pwslaptop.csr.com ([82.6.97.160]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20061007173610.GFYD11710.aamtaout03-winn.ispmail.ntl.com@pwslaptop.csr.com> for ; Sat, 7 Oct 2006 18:36:10 +0100 Received: from pwslaptop.csr.com (pwslaptop.csr.com [127.0.0.1]) by pwslaptop.csr.com (8.13.7/8.13.7) with ESMTP id k97Ha5Vg002841; Sat, 7 Oct 2006 18:36:05 +0100 Message-Id: <200610071736.k97Ha5Vg002841@pwslaptop.csr.com> From: Peter Stephenson To: zsh-users@sunsite.dk (Zsh users list), pws@pwslaptop.csr.com Subject: Re: Move command line options to start of line In-Reply-To: Message from Bart Schaefer of "Sat, 07 Oct 2006 05:39:26 PDT." <061007053926.ZM30314@torch.brasslantern.com> Date: Sat, 07 Oct 2006 18:36:05 +0100 Bart Schaefer wrote: > Suppose instead that it's > > zsh% ls -s *1 *3 -l > > Then the result is supposed to be > > zsh% ls -s -l -- *1 *3 > > I.e., you must know where to insert the "--" because you don't know > whether *1 is going to return something beginning with a "-", and if > you know where to put the "--" you know what to put to its left. Aha, yes, that's a whole different ballgame, which I'm not playing. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/