From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4788 invoked from network); 11 Oct 2005 08:39:05 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Oct 2005 08:39:05 -0000 Received: (qmail 23726 invoked from network); 11 Oct 2005 08:38:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Oct 2005 08:38:55 -0000 Received: (qmail 25270 invoked by alias); 11 Oct 2005 08:38:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21860 Received: (qmail 25260 invoked from network); 11 Oct 2005 08:38:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 11 Oct 2005 08:38:51 -0000 Received: (qmail 23439 invoked from network); 11 Oct 2005 08:38:51 -0000 Received: from sp0233.sc1.cp.net (HELO n068.sc1.cp.net) (64.97.136.233) by a.mx.sunsite.dk with SMTP; 11 Oct 2005 08:38:50 -0000 Received: from sc (82.26.170.88) by n068.sc1.cp.net (7.0.038) id 432237B60080363B for zsh-workers@sunsite.dk; Tue, 11 Oct 2005 08:38:47 +0000 Received: from chazelas by sc with local (Exim 3.36 #1 (Debian)) id 1EPFek-0001yT-00 for ; Tue, 11 Oct 2005 09:38:42 +0100 Date: Tue, 11 Oct 2005 09:38:42 +0100 From: Stephane Chazelas To: Zsh hackers list Subject: [bug] backslash stripped in sh/ksh emulation Message-ID: <20051011083842.GA5380@sc> Mail-Followup-To: Zsh hackers list Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.6i Sender: Stephane Chazelas X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 Hi guys, $ ARGV0=ksh zsh -xc 'a="\\*"; case $a in *\\*) echo a;; esac' + a='\*' + case * (*\*) Can anyone explain it? It's OK if $a is quoted as in After investigation, it appears it is triggered by globsubst. Best regards, Stéphane