public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Chet Ramey <chet@nike.INS.CWRU.Edu>
To: cabbey@bresnanlink.net
Cc: cygwin@cygwin.com, chet@po.cwru.edu
Subject: RE: bash: setenv: command not found
Date: Mon, 12 Feb 2001 08:51:00 -0000	[thread overview]
Message-ID: <1010212164702.AA62809.SM@nike.INS.CWRU.Edu> (raw)

> 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

             reply	other threads:[~2001-02-12  8:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-12  8:51 Chet Ramey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-08 15:53 kulack
2001-02-08  9:42 Chet Ramey
2001-02-08 19:43 ` Christopher Abbey
2001-02-09  5:03   ` Earnie Boyd
2001-02-09 10:00   ` Bob McGowan
2001-02-08  7:57 Schaible, Joerg
2001-02-08  4:48 Chet Ramey
2001-02-08  7:42 ` Christopher Abbey
2001-02-07 16:46 Jeff Lu
2001-02-07 16:53 ` Earnie Boyd
2001-02-07 19:27   ` Jeff Lu
2001-02-07 20:46     ` Christopher Abbey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1010212164702.AA62809.SM@nike.INS.CWRU.Edu \
    --to=chet@nike.ins.cwru.edu \
    --cc=cabbey@bresnanlink.net \
    --cc=chet@po.cwru.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).