From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14368 invoked from network); 22 Jul 2006 02:17:09 -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 02:17:09 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 45989 invoked from network); 22 Jul 2006 02:17:00 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Jul 2006 02:17:00 -0000 Received: (qmail 3356 invoked by alias); 22 Jul 2006 02:16:53 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10535 Received: (qmail 3345 invoked from network); 22 Jul 2006 02:16:53 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 22 Jul 2006 02:16:53 -0000 Received: (qmail 44948 invoked from network); 22 Jul 2006 02:16:53 -0000 Received: from py-out-1112.google.com (64.233.166.183) by a.mx.sunsite.dk with SMTP; 22 Jul 2006 02:16:51 -0000 Received: by py-out-1112.google.com with SMTP id z74so1386217pyg for ; Fri, 21 Jul 2006 19:16:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V+JJNHyb++zQ30omozmhwUvaPAqAugbhMdoRW0cw3vctNXvcOEWvJZUsCwqL39z1UfLVEL18KmtQgWfjHII1Emc46dgLeie5z1IG6HcbRG3SKHNE1v9M3/9FAReB6Y+evqc+vRVndoUywQQKFoUrrXWdkxeifs5dtb7F/x0QeJE= Received: by 10.35.111.14 with SMTP id o14mr2331983pym; Fri, 21 Jul 2006 19:16:50 -0700 (PDT) Received: by 10.35.132.20 with HTTP; Fri, 21 Jul 2006 19:16:50 -0700 (PDT) Message-ID: <96c45c490607211916p54df21age1109ac3f225213a@mail.gmail.com> Date: Sat, 22 Jul 2006 12:16:50 +1000 From: Sean To: zsh-users@sunsite.dk Subject: Re: Does zsh have an equivalent to the shopt command ? In-Reply-To: <20060720104719.708b78db.pws@csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <96c45c490607190944n5dabb6acwffe9f4255f9a0d7@mail.gmail.com> <20060719180657.GA7276@princo> <20060720104719.708b78db.pws@csr.com> Thanks for the help with setopt. I am also having a problem with this line in a script: while getopts ":fhpqvVd:" Option again, zsh chokes on this. TIA On 7/20/06, Peter Stephenson wrote: > Jean-Rene David wrote: > > * Sean [2006.07.19 12:45]: > > > zsh chokes on this line in a script: > > > > > > shopt -s extglob > > > > > > Is there an alternative for use in zsh ? > > > > setopt extendedglob > > However, the globbing syntax enabled by bash's extglob option is the > ksh-style with parentheses introduced by ?, @, *, + or !. If you need > this syntax in zsh, you should "setopt kshglob". > > -- > Peter Stephenson Software Engineer > CSR PLC, Churchill House, Cambridge Business Park, Cowley Road > Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 > > > To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php >