Removing environment strings in C shell

Shiping Zhang ping at cubmol.bio.columbia.edu
Sat May 11 13:07:31 AEST 1991


In article <9105091222.aa05720 at art-sy.detroit.mi.us> chap at art-sy.detroit.mi.us (j chapman flack) writes:
<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

What about
      unsetenv KILLIT
?

-ping



More information about the Comp.unix.shell mailing list