From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1109 invoked from network); 4 May 2000 03:16:09 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 May 2000 03:16:09 -0000 Received: (qmail 28298 invoked by alias); 4 May 2000 03:15:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11134 Received: (qmail 28273 invoked from network); 4 May 2000 03:15:43 -0000 From: "Bart Schaefer" Message-Id: <1000504031459.ZM22208@candle.brasslantern.com> Date: Thu, 4 May 2000 03:14:59 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: History quoting again MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Remind me why we can't implement :q by tokenizing rather than by actually inserting quotes into the string? Here's tcsh: [schaefer@candle]$ echo '"' " [schaefer@candle]$ echo "!!:q" echo "echo '"'" echo '"' [schaefer@candle]$ Now here's zsh: zagzig% echo '"' " zagzig% echo "!!:q" dquote> echo "'echo' ''\''"'\'''" zagzig% (Never mind why tcsh thinks hostname is candle but zsh thinks it's zagzig.) -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com