home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / shell / 3095 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!usc!sdd.hp.com!mips!apple!news.oc.com!convex!tchrist
  3. From: Tom Christiansen <tchrist@convex.COM>
  4. Subject: Re: setting variable from script to current environment??
  5. Message-ID: <1992Jul23.033748.20024@news.eng.convex.com>
  6. Originator: tchrist@pixel.convex.com
  7. Sender: usenet@news.eng.convex.com (news access account)
  8. Nntp-Posting-Host: pixel.convex.com
  9. Reply-To: tchrist@convex.COM (Tom Christiansen)
  10. Organization: CONVEX Realtime Development, Colorado Springs, CO
  11. References: <1992Jul21.070212.16485@gbrmpa.gov.au>
  12. Date: Thu, 23 Jul 1992 03:37:48 GMT
  13. X-Disclaimer: This message was written by a user at CONVEX Computer
  14.               Corp. The opinions expressed are those of the user and
  15.               not necessarily those of CONVEX.
  16. Lines: 18
  17.  
  18. From the keyboard of wayne@gbrmpa.gov.au (Wayne Amisano):
  19. :I am trying to write a script to set an environment variable in
  20. :my tcsh environment.  I could use an alias to do it, but would
  21. :much rather do it from a script.  What i need to do is, run a
  22. :script to change the value of one environment variable, but
  23. :every time i do this, it changes the variable in the spawned
  24. :process, but it then disappears when it dies.
  25. :
  26. :I need this variable to remain around!!  Any ideas would be welcome.
  27.  
  28. RTFFAQ.
  29.  
  30. --tom
  31. -- 
  32.     Tom Christiansen      tchrist@convex.com      convex!tchrist
  33.  
  34.  
  35. If God had meant for us to be naked, we would have been born that way.
  36.