From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2787 invoked from network); 1 Oct 2008 01:06:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 Oct 2008 01:06:28 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 4285 invoked from network); 1 Oct 2008 01:06:14 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Oct 2008 01:06:14 -0000 Received: (qmail 5640 invoked by alias); 1 Oct 2008 01:06:01 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25785 Received: (qmail 5609 invoked from network); 1 Oct 2008 01:05:56 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 1 Oct 2008 01:05:56 -0000 Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by bifrost.dotsrc.org (Postfix) with ESMTP id 8C00B8030847 for ; Wed, 1 Oct 2008 03:05:51 +0200 (CEST) Received: by gxk14 with SMTP id 14so793705gxk.21 for ; Tue, 30 Sep 2008 18:05:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=MzAyo8NdfVkxCOf5eO5xee1ELvMxVYRyAVlxbeqNsnM=; b=M0IRAZR/og3aSmzI3SID0E7VU1PVBg6vP8b/mv7/nUdL2DDKZMCH0ghtTeOM1RdQFU KyD6d2kH0XUXbWbmPEaprcQJSp9428AhjDYp3pj1Yr05Nl/4/nb1JIkU1efeoHfdcCWL M6x0UmkcDvnNFLs9YYXtft71KdW/qkucukFH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XrfkRki4H3Ze1E5x8AmwtUqX/nrSQcZ7cwUNkb9UbUMdu8d5byUrl9Fjtim+AIeXkY zyZW43AxH/MLvAfagyju8S+591yxLdDn2zZHICUBpLvdfS3cxc0OLgU3Pj+36UvVbwcx 4e0AfTljO1f73XXSrUM1obR/EY2RwTyAYoHag= Received: by 10.100.140.15 with SMTP id n15mr7077652and.69.1222823149584; Tue, 30 Sep 2008 18:05:49 -0700 (PDT) Received: by 10.100.43.19 with HTTP; Tue, 30 Sep 2008 18:05:49 -0700 (PDT) Message-ID: <2d460de70809301805i2959971ape090f1758af91aaf@mail.gmail.com> Date: Wed, 1 Oct 2008 03:05:49 +0200 From: "Richard Hartmann" To: "Zsh hackers list" Subject: Re: Strange parsing bug(?) In-Reply-To: <2d460de70809301756j71effaa9waa6b1a1d0736d9b9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2d460de70809301756j71effaa9waa6b1a1d0736d9b9@mail.gmail.com> X-Virus-Scanned: ClamAV 0.92.1/8362/Wed Oct 1 01:23:46 2008 on bifrost X-Virus-Status: Clean On Wed, Oct 1, 2008 at 02:56, Richard Hartmann wrote: > [crap] Of course, the second I hit enter, I realize what the actual issue is. I.e. the second I mentally step back from the problem, I realize it's not actually a string I want to echo, any more. This _is_ an interactive session, after all. The shell _has_ to act the way it does. I blame my cold & headache ;) Sorry for the noise, Richard PS: Of course, the man page was there to tell me about it, all along PPS: Whoever chose !" in the mists of time made a rather annoying mistake. It's not as if an exclamation mark followed by a string delimiter is rare.. PPPS: Is there any sane way to write code including !" that will behave the same way in interactive & batch mode? And no, using ! " does not count ;)