From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25189 invoked from network); 27 Jul 2006 10:21:57 -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.4 required=5.0 tests=AWL,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; 27 Jul 2006 10:21:57 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 95848 invoked from network); 27 Jul 2006 10:21:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Jul 2006 10:21:45 -0000 Received: (qmail 26223 invoked by alias); 27 Jul 2006 10:21:39 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10553 Received: (qmail 26213 invoked from network); 27 Jul 2006 10:21:38 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 27 Jul 2006 10:21:38 -0000 Received: (qmail 94831 invoked from network); 27 Jul 2006 10:21:38 -0000 Received: from cluster-c.mailcontrol.com (168.143.177.190) by a.mx.sunsite.dk with SMTP; 27 Jul 2006 10:21:36 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly13c.srv.mailcontrol.com (MailControl) with ESMTP id k6RAHDgm018921 for ; Thu, 27 Jul 2006 11:21:20 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Thu, 27 Jul 2006 11:17:30 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.4/8.13.4) with ESMTP id k6RAHV0H027643 for ; Thu, 27 Jul 2006 11:17:31 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.13.4/8.13.4/Submit) with ESMTP id k6RAHUF5027640 for ; Thu, 27 Jul 2006 11:17:30 +0100 Message-Id: <200607271017.k6RAHUF5027640@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-users@sunsite.dk Subject: Re: Does zsh have an equivalent to the shopt command ? In-reply-to: <96c45c490607262038m39ed9af5nebe437335258ef0b@mail.gmail.com> References: <96c45c490607220357h2c841b20q506de061f0e6f43b@mail.gmail.com> <200607221508.k6MF8W0w002651@pwslaptop.csr.com> <96c45c490607240044t282314dcn149e04073c0c2a1f@mail.gmail.com> <200607241001.k6OA1rvM003764@news01.csr.com> <96c45c490607240423u131caf80w6e5d667c735a65b9@mail.gmail.com> <200607241138.k6OBcQmE015964@news01.csr.com> <96c45c490607262038m39ed9af5nebe437335258ef0b@mail.gmail.com> Comments: In-reply-to Sean message dated "Thu, 27 Jul 2006 13:38:18 +1000." Date: Thu, 27 Jul 2006 11:17:30 +0100 From: Peter Stephenson X-OriginalArrivalTime: 27 Jul 2006 10:17:30.0983 (UTC) FILETIME=[DE86D770:01C6B165] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-07-00-11 (www.mailcontrol.com) on 10.67.0.123 Sean wrote: > I can run sed from the command line ok, and all of the other sed stuff > in the script works. > > It seems to be something to do with processing these text blocks: > > < EndVersion I have no idea what could be causing that and it doesn't happen on anyway of the Cygwin versions I've tried. Is it still the case that >I am running the windows port of zsh (ver 3.0.5) supplied with unixkit-tiny. ? I suspect there might be something wrong with this port. (3.0.5 is now rather old, but I still don't remember any problem of this kind in any version I've seen.) If you don't mind exploring other avenues, you can change version() { sed -e 's/^ //' < 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