From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26396 invoked from network); 30 Jun 2004 10:01:03 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.85) by ns1.primenet.com.au with SMTP; 30 Jun 2004 10:01:03 -0000 Received: (qmail 18079 invoked from network); 30 Jun 2004 11:12:05 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Jun 2004 11:12:05 -0000 Received: (qmail 18266 invoked by alias); 30 Jun 2004 10:00:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20117 Received: (qmail 18257 invoked from network); 30 Jun 2004 10:00:45 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 30 Jun 2004 10:00:45 -0000 Received: (qmail 17717 invoked from network); 30 Jun 2004 11:11:57 -0000 Received: from lhuumrelay3.lnd.ops.eu.uu.net (62.189.58.19) by a.mx.sunsite.dk with SMTP; 30 Jun 2004 11:11:49 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i5UA0Av10036 for ; Wed, 30 Jun 2004 10:00:10 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id ; Wed, 30 Jun 2004 10:59:30 +0100 Received: from news01.csr.com ([192.168.143.38]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 30 Jun 2004 11:00:49 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.12.11/8.12.11) with ESMTP id i5UA092q023721; Wed, 30 Jun 2004 11:00:09 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.12.11/8.12.11/Submit) with ESMTP id i5UA08he023718; Wed, 30 Jun 2004 11:00:08 +0100 Message-Id: <200406301000.i5UA08he023718@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk cc: 255788-forwarded@bugs.debian.org Subject: Re: PATCH: (2): Bug#255788: $'' does not work after <<< In-reply-to: "Bart Schaefer"'s message of "Mon, 28 Jun 2004 10:26:31 PDT." Date: Wed, 30 Jun 2004 11:00:07 +0100 From: Peter Stephenson X-OriginalArrivalTime: 30 Jun 2004 10:00:49.0414 (UTC) FILETIME=[1ED6CA60:01C45E89] X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.7 required=6.0 tests=BAYES_80 autolearn=no version=2.63 X-Spam-Hits: 1.7 I've finally plucked up my courage for another round... Bart Schaefer wrote: > On Mon, 28 Jun 2004, Peter Stephenson wrote: > > > Grud. I can easily fix this. I will then commit it without asking, in > > case there are yet more problems... > > Well, only kinda. See what happens with unbalanced backticks: > > schaefer<501> cat <<`echo `foo `bar > bquote> ` > bquote> ` > bquote> ` > bquote> > > The only way to get out of this is to interrupt the shell. Hmmm... are you sure? After the patch I get % cat <<`echo `foo `bar bquote> ` heredoc> which is what I expect. At this point, there's no way of finishing the here-document because it parses line by line and can't match the newline. This is common to all forms of quoting. But that's not what was worrying you, by the looks of it. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************