From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pineapple.bbn.com ([128.11.0.16]) by archone.tamu.edu with SMTP id <19031>; Fri, 27 Sep 1991 08:29:41 -0500 Received: from LITCHI.BBN.COM by pineapple.bbn.com id ; Fri, 27 Sep 91 09:29:16 -0400 From: Rich Salz Received: by litchi.bbn.com id ; Fri, 27 Sep 91 09:29:11 EDT Date: Fri, 27 Sep 1991 08:29:11 -0500 Message-Id: <9109271329.AA22899@litchi.bbn.com> To: malte@techfak.uni-bielefeld.de, rc@archone.tamu.edu Subject: Re: export of variables and functions Byron and I have exchanged messages about this. He rightly says that the default must be to export something, rather than not export it otherwise old scripts will break. My idea of unexporting is to have a variable that names the variables to not be exported. This seems better then having two new commands, export and unexport, and makes the "is this variable exported?" test very easy to write. fn local { unexported=( $unexported $* ) } /r$