home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.eng.gtefsd.com!gatech!udel!darwin.sura.net!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!hri.com!noc.near.net!bigboote.WPI.EDU!parrot.WPI.EDU!ryant
- From: ryant@parrot.WPI.EDU (Ryoid)
- Newsgroups: comp.unix.questions
- Subject: Env variables from within a script...
- Message-ID: <1k9bp7INNj5i@bigboote.WPI.EDU>
- Date: 28 Jan 93 19:22:15 GMT
- Organization: Worcester Polytechnic Institute
- Lines: 23
- NNTP-Posting-Host: parrot.wpi.edu
-
- I am writing a seemingly simple shell script, but I am running into many
- obsatcles along the way. I need to pass two environment variables from
- within a script to the calling, or parent, process. Everytime I just pass
- the variable, it never gets changed in the original parent shell. I know
- that I can source a file that passes the variables and then just alias the
- command, but that will not work in this application. I have to pass them
- from directly within the 'child' shell.
-
- In the FAQ, it states that you can tell the parent shell to be prepared to
- accept environment variables and then when you pass them, they will become
- permanent, but it never states HOW to do it!
-
- If anyone can help me with this problem, please post or write email to the
- address listed below!
-
- Thanks in advance...
-
- ryant@wpi.wpi.edu
- --
-
- Gweeping on forever and ever,
-
- *** Ryoid =) ***
-