From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4088 invoked from network); 2 Sep 2004 13:47:38 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 2 Sep 2004 13:47:38 -0000 Received: (qmail 14361 invoked from network); 2 Sep 2004 13:47:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Sep 2004 13:47:31 -0000 Received: (qmail 14745 invoked by alias); 2 Sep 2004 13:47:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20304 Received: (qmail 14734 invoked from network); 2 Sep 2004 13:47:17 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 2 Sep 2004 13:47:17 -0000 Received: (qmail 13699 invoked from network); 2 Sep 2004 13:46:18 -0000 Received: from imr6.us.db.com (160.83.65.199) by a.mx.sunsite.dk with SMTP; 2 Sep 2004 13:46:12 -0000 Received: from sdbo1002.db.com by imr6.us.db.com id i82Dk9NR029867; Thu, 2 Sep 2004 09:46:10 -0400 (EDT) Subject: zsh-ksh-Incompatibility To: zsh-workers@sunsite.dk X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: From: "Dieter Lambrecht" Date: Thu, 2 Sep 2004 15:46:01 +0200 X-MIMETrack: Serialize by Router on sdbo1002/Eschborn/DeuBaInt/DeuBa(5012HF695 | April 07, 2004) at 09/02/2004 03:47:15 PM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable 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=BAYES_50 autolearn=no version=2.63 X-Spam-Hits: 0.0 Hi, there is an incompatility between Korn-Shell and zsh with emulate ksh: A real korn shell script ( e.g. Version M-11/16/88f or Version M-12/28/= 93e on AIX, Version M-11/16/88i on Solaris) #! /bin/ksh u=3Dbzq090 echo ~$u gives output /home/bzq090 whereas the same script for zsh in ksh-emulation #! /bin/zsh emulate ksh u=3Dbzq090 echo ~$u produces ~bzq090. An old ksh-book (describes versions ksh88d and ksh88e) exactly predicts= "~bzq090". However, I could not find any actual ksh that produces this= result. Kind Regards, Dieter Lambrecht. -- Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Inf= ormationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail= irrt=FCmlich erhalten haben, informieren Sie bitte sofort den Absender= und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbef= ugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If = you are not the intended recipient (or have received this e-mail in err= or) please notify the sender immediately and destroy this e-mail. Any u= nauthorized copying, disclosure or distribution of the material in this= e-mail is strictly forbidden. =