From: "Dieter Lambrecht" <dieter.lambrecht@db.com>
To: zsh-workers@sunsite.dk
Subject: zsh-ksh-Incompatibility
Date: Thu, 2 Sep 2004 15:46:01 +0200 [thread overview]
Message-ID: <OF30303285.2147D1C6-ONC1256F03.0047C122-C1256F03.004BA4EC@db.com> (raw)
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=bzq090
echo ~$u
gives output
/home/bzq090
whereas the same script for zsh in ksh-emulation
#! /bin/zsh
emulate ksh
u=bzq090
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ält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 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 error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
next reply other threads:[~2004-09-02 13:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-02 13:46 Dieter Lambrecht [this message]
2004-09-02 13:56 ` zsh-ksh-Incompatibility Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OF30303285.2147D1C6-ONC1256F03.0047C122-C1256F03.004BA4EC@db.com \
--to=dieter.lambrecht@db.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).