Article View: comp.unix.shell
Article #90setting variable from script to current environment??
From: Wayne Amisano
Date: Tue, 21 Jul 1992 07:02
Date: Tue, 21 Jul 1992 07:02
19 lines
1142 bytes
1142 bytes
Hi, 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. tnx cul wayne!! -- Wayne Amisano (VK4KT) _-_|\\ E-Mail - wayne@gbrmpa.gov.au Great Barrier Reef / \\ Phone - +61 77 81 8861 (GMT+1000) Marine Park Authority. \_.-._/ Fax - +61 77 72 6093 Our's to use Wisely! v Mail - GPO Box 1379, Townsville QLD 4810
Technical Details
Message-ID:
<1992Jul21.070212.16485@gbrmpa.gov.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!solwarra.gbrmpa.gov.au!wayneShow Full Headers
Complete Article Headers
Newsgroups: comp.unix.shell Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!marlin.jcu.edu.au!solwarra.gbrmpa.gov.au!wayne From: wayne@gbrmpa.gov.au (Wayne Amisano) Subject: setting variable from script to current environment?? Message-ID: <1992Jul21.070212.16485@gbrmpa.gov.au> Organization: Great Barrier Reef Marine Park Authority Date: Tue, 21 Jul 1992 07:02:12 GMT Lines: 19