From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29720 invoked from network); 25 Oct 2004 13:18:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Oct 2004 13:18:35 -0000 Received: (qmail 98894 invoked from network); 25 Oct 2004 13:18:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Oct 2004 13:18:29 -0000 Received: (qmail 17615 invoked by alias); 25 Oct 2004 13:18:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20517 Received: (qmail 17597 invoked from network); 25 Oct 2004 13:18:14 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Oct 2004 13:18:14 -0000 Received: (qmail 98516 invoked from network); 25 Oct 2004 13:18:14 -0000 Received: from ns9.hostinglmi.net (213.194.149.146) by a.mx.sunsite.dk with SMTP; 25 Oct 2004 13:18:12 -0000 Received: from 212.red-80-35-44.pooles.rima-tde.net ([80.35.44.212]:52735 helo=dervishd.net) by ns9.hostinglmi.net with esmtpa (Exim 4.43) id 1CM4jj-0000i1-0S; Mon, 25 Oct 2004 15:18:11 +0200 Date: Mon, 25 Oct 2004 15:20:05 +0200 From: DervishD To: "Matthias B." Cc: zsh-workers@sunsite.dk Subject: Re: zsh/bash incompatibilities Message-ID: <20041025132005.GA23543@DervishD> Mail-Followup-To: "Matthias B." , zsh-workers@sunsite.dk References: <20041025150630.230c5115@buddha.localdomain.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20041025150630.230c5115@buddha.localdomain.de> User-Agent: Mutt/1.4.2.1i Organization: DervishD X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns9.hostinglmi.net X-AntiAbuse: Original Domain - sunsite.dk X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - dervishd.net X-Source: X-Source-Args: X-Source-Dir: X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 Hi Matthias :) * Matthias B. dixit: > I'm undecided about which \ treatment inside of $'..' Mmm, AFAIK, POSIX doesn't specify $'...' quoting (at least SUSv3 doesn't do it? Moreover, $'...' quoting in bash is different (per manual) from zsh $'...' quoting. In bash, escape sequences within $'...' are replaced as if they were inside ANSI C code. Zsh processes anything inside $'...' as if the builtin 'print' was interpreting that. These two behaviours are different and are documented as such (see the info manual for bash and for zsh). I'm not sure about which behaviour should work when doing 'sh' emulation, since 'sh' shouldn't have such quoting. I don't have a position about the octal sequences, anyway, so I won't give an opinion about it. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.dervishd.net & http://www.pleyades.net/