On Sun, Jul 26, 2009 at 02:47:11PM +0300, Efraim Yawitz wrote:
> On Sat, Jul 25, 2009 at 11:45 PM, Gregory Margo <[email protected]> wrote:
> 
> 
> > One may create an entirely new environment variable, that is passed to
> > children, with:
> >    :let $NEWVAR = "foobar"
> > but there us no way to delete that environment variable.  You can assign
> > a blank string to it,
> >    :let $NEWVAR = ""
> > but that still leaves the variable in the environment.
> >
> 
> Why isn't that good enough?  Isn't that the same thing you would do in the
> shell?

No.  Shells in general (bash,dash,ksh,zsh,tcsh,csh) allow complete
removal of the environment variable.  Bourne-type shells use "unset"
and C-type shells use "unsetenv" commands.

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Gregory H. Margo
gmargo at yahoo/com, gmail/com, pacbell/net; greg at margofamily/org

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to