From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11334 invoked from network); 23 Oct 1999 09:50:44 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 23 Oct 1999 09:50:44 -0000 Received: (qmail 20414 invoked by alias); 23 Oct 1999 09:50:31 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8379 Received: (qmail 20306 invoked from network); 23 Oct 1999 09:50:29 -0000 From: "Bart Schaefer" Message-Id: <991023083509.ZM21037@candle.brasslantern.com> Date: Sat, 23 Oct 1999 08:35:09 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: "typeset -x" vs. "export" in 3.1.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Consider the following two functions: putenv() { typeset -x $1=$2 } setenv() { export $1=$2 } Is it really intentional that they don't have the same behavior? (They have the same behavior in every version from 2.5 through 3.0.7, though I can't say for other stages in the 3.1 chain.) This is a pretty serious incompatible change. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com