zsh-users
 help / color / mirror / code / Atom feed
* ksh Emulation Not Clearing Envariables
@ 2004-05-09  0:41 Chris Jepeway
  2004-05-09 21:58 ` Bart Schaefer
  0 siblings, 1 reply; 9+ messages in thread
From: Chris Jepeway @ 2004-05-09  0:41 UTC (permalink / raw)
  To: zsh-users

I ran into some trouble with ksh emulation when trying to get zsh
to work with a ksh88 script.  Here's a smallish test case that
illustrates the problem:

	emulate ksh

	function e {
		env | egrep ^X
	}

	X=one e <<-EEK
       	Oy
	EEK

	e

I'd expect the output to be

	X=one

Instead, I see

	X=one
	X=one

Without ksh emulation enabled, I see the expected output.
This, with zsh-4.2.0.

This is a bug, right?  If so, should I file a report @ sourceforge.net?

Chris <jepeway@blasted-heath.com>.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-05-11 20:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-09  0:41 ksh Emulation Not Clearing Envariables Chris Jepeway
2004-05-09 21:58 ` Bart Schaefer
2004-05-10 14:52   ` Peter Stephenson
2004-05-11 17:03     ` Chris Jepeway
2004-05-11 16:59   ` Chris Jepeway
2004-05-11 17:34     ` Peter Stephenson
     [not found]       ` <040511181944.AA29985.SM@caleb.ins.cwru.edu>
2004-05-11 18:44         ` Chris Jepeway
2004-05-11 20:22           ` Bart Schaefer
     [not found]           ` <040511192759.AA02456.SM@caleb.ins.cwru.edu>
2004-05-11 20:38             ` Chris Jepeway

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).