bash: setenv: command not found

Chet Ramey chet@nike.INS.CWRU.Edu
Mon Feb 12 08:51:00 GMT 2001


> yep, I'm familiar with it:
> 
> foo=bar sets a local shell variable
> foo=  unsets a local shell variable

Not exactly.  It makes `foo' have a null value.  It's not the same thing.

> but where is "unexport"? how do I demote a process environment variable
> without removing it from the local shell?

Bash has `export -n'.  POSIX doesn't.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list