Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!umich!sharkey!fmsrl7!art-sy!news From: chap@art-sy.detroit.mi.us (j chapman flack) Newsgroups: comp.unix.shell Subject: Removing environment strings in C shell Summary: How would I do it? Keywords: unset remove environment csh Message-ID: <9105091222.aa05720@art-sy.detroit.mi.us> Date: 9 May 91 16:22:20 GMT Sender: chap@art-sy.detroit.mi.us (j chapman flack) Reply-To: chap@art-sy.detroit.mi.us (j chapman flack) Organization: Appropriate Roles for Technology Lines: 21 In the Bourne shell, the sequence of commands export KILLIT unset KILLIT will remove KILLIT from the shell's environment altogether. The closest I can seem to come in the C shell is setenv KILLIT '' which defines KILLIT to be the null string, but does not remove it. Am I stuck with: exec sh -c 'export KILLIT;unset KILLIT;exec csh' ??? -- Chap Flack Their tanks will rust. Our songs will last. chap@art-sy.detroit.mi.us -Mikos Theodorakis Nothing I say represents Appropriate Roles for Technology unless I say it does.