Path: utzoo!attcan!uunet!lll-winken!ames!vsi1!v7fs1!mvp From: mvp@v7fs1.UUCP (Mike Van Pelt) Newsgroups: comp.unix.wizards Subject: Set parent env with csh script Summary: Can this be done? Message-ID: <174@v7fs1.UUCP> Date: 7 Jan 89 19:42:15 GMT Reply-To: mvp@v7fs1.UUCP (Mike Van Pelt) Organization: Video7, Cupertino, CA Lines: 16 I asked comp.unix.questions, but got only blank stares. So, maybe this is a wizardly type question... I would like to write a shell script (csh preferred) that will set a few environment variables to various things. Of course, just doing setenv foo bar in the script only works for that subshell and its children, not for the calling shell. I've gone back and forth through all the likely places in the manuals, and haven't found any mention of this. Is it possible for a subshell to changes the calling shell's environment? How? -- I would like to electrocute everyone who uses the | Mike Van Pelt word 'fair' in connection with income tax policies. | Video 7 -- William F. Buckley | ...ames!vsi1!v7fs1!mvp