From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24028 invoked from network); 22 Jul 2006 10:36:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) 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.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Jul 2006 10:36:43 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 10122 invoked from network); 22 Jul 2006 10:36:35 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Jul 2006 10:36:35 -0000 Received: (qmail 3520 invoked by alias); 22 Jul 2006 10:36:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10536 Received: (qmail 3510 invoked from network); 22 Jul 2006 10:36:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 22 Jul 2006 10:36:25 -0000 Received: (qmail 8986 invoked from network); 22 Jul 2006 10:36:25 -0000 Received: from mta07-winn.ispmail.ntl.com (HELO mtaout01-winn.ispmail.ntl.com) (81.103.221.47) by a.mx.sunsite.dk with SMTP; 22 Jul 2006 10:36:24 -0000 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20060722103625.ZNRI15018.mtaout01-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Sat, 22 Jul 2006 11:36:25 +0100 Received: from pwslaptop.csr.com ([81.107.41.155]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20060722103623.VPXL15733.aamtaout04-winn.ispmail.ntl.com@pwslaptop.csr.com> for ; Sat, 22 Jul 2006 11:36:23 +0100 Received: from pwslaptop.csr.com (pwslaptop.csr.com [127.0.0.1]) by pwslaptop.csr.com (8.13.6/8.13.4) with ESMTP id k6MAaJv2002892; Sat, 22 Jul 2006 11:36:19 +0100 Message-Id: <200607221036.k6MAaJv2002892@pwslaptop.csr.com> From: Peter Stephenson To: zsh-users@sunsite.dk, pws@pwslaptop.csr.com Subject: Re: Does zsh have an equivalent to the shopt command ? In-Reply-To: Message from Sean of "Sat, 22 Jul 2006 12:16:50 +1000." <96c45c490607211916p54df21age1109ac3f225213a@mail.gmail.com> Date: Sat, 22 Jul 2006 11:36:19 +0100 Sean wrote: > Thanks for the help with setopt. > > I am also having a problem with this line in a script: > > while getopts ":fhpqvVd:" Option That should work fine; what's the code in the loop and what problem are you seeing? -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/