home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!usc!sdd.hp.com!mips!apple!news.oc.com!convex!tchrist
- From: Tom Christiansen <tchrist@convex.COM>
- Subject: Re: setting variable from script to current environment??
- Message-ID: <1992Jul23.033748.20024@news.eng.convex.com>
- Originator: tchrist@pixel.convex.com
- Sender: usenet@news.eng.convex.com (news access account)
- Nntp-Posting-Host: pixel.convex.com
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- Organization: CONVEX Realtime Development, Colorado Springs, CO
- References: <1992Jul21.070212.16485@gbrmpa.gov.au>
- Date: Thu, 23 Jul 1992 03:37:48 GMT
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 18
-
- From the keyboard of wayne@gbrmpa.gov.au (Wayne Amisano):
- :I am trying to write a script to set an environment variable in
- :my tcsh environment. I could use an alias to do it, but would
- :much rather do it from a script. What i need to do is, run a
- :script to change the value of one environment variable, but
- :every time i do this, it changes the variable in the spawned
- :process, but it then disappears when it dies.
- :
- :I need this variable to remain around!! Any ideas would be welcome.
-
- RTFFAQ.
-
- --tom
- --
- Tom Christiansen tchrist@convex.com convex!tchrist
-
-
- If God had meant for us to be naked, we would have been born that way.
-