From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10567 invoked from network); 24 Jul 2006 07:44:39 -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; 24 Jul 2006 07:44:39 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 2541 invoked from network); 24 Jul 2006 07:44:30 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Jul 2006 07:44:30 -0000 Received: (qmail 13054 invoked by alias); 24 Jul 2006 07:44:22 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10542 Received: (qmail 13044 invoked from network); 24 Jul 2006 07:44:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 24 Jul 2006 07:44:21 -0000 Received: (qmail 1290 invoked from network); 24 Jul 2006 07:44:21 -0000 Received: from py-out-1112.google.com (64.233.166.182) by a.mx.sunsite.dk with SMTP; 24 Jul 2006 07:44:19 -0000 Received: by py-out-1112.google.com with SMTP id z74so1950509pyg for ; Mon, 24 Jul 2006 00:44:18 -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=dCLBPcJly094b+6HiIguz4LD8fcspRDrjDFuSEuJFkPJElejduMKLW0Ove1zVItvc1iGDOfNItdy2xNnOt7TMNp3ptU2SDBq+RMp6BMwLFuOxjWllUpNGTh/EZs1sv9OqFepoDds19wR19JP3kOIk408YT5FiQM11t6qJVcMVfI= Received: by 10.35.90.20 with SMTP id s20mr7082617pyl; Mon, 24 Jul 2006 00:44:18 -0700 (PDT) Received: by 10.35.132.20 with HTTP; Mon, 24 Jul 2006 00:44:18 -0700 (PDT) Message-ID: <96c45c490607240044t282314dcn149e04073c0c2a1f@mail.gmail.com> Date: Mon, 24 Jul 2006 17:44:18 +1000 From: Sean To: "Peter Stephenson" , zsh-users@sunsite.dk Subject: Re: Does zsh have an equivalent to the shopt command ? In-Reply-To: <200607221508.k6MF8W0w002651@pwslaptop.csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <96c45c490607220357h2c841b20q506de061f0e6f43b@mail.gmail.com> <200607221508.k6MF8W0w002651@pwslaptop.csr.com> Peter, On futher investigation, it appears that it is not actually choking on that line, rather this code which appears in many of the case option function calls: version() { sed -e 's/^ //' < wrote: > That's absolutely standard shell code which should work fine everywhere. > What's the context? What's the actual error? Could "getopts", or even > "while", have been replaced by a function? > > I suggest posting to the list in case anyone has suggestions. > > pws >