Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh-ksh-Incompatibility



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.




Messages sorted by: Reverse Date, Date, Thread, Author