home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!odin!chet
- From: chet@odin.ins.cwru.edu (Chet Ramey)
- Newsgroups: comp.os.linux
- Subject: Re: Bash ( Was Re: which(1) ? where-is-it : I-wrote-one)
- Date: 10 Nov 1992 00:21:08 GMT
- Organization: Case Western Reserve University, Cleveland OH (USA)
- Lines: 23
- Message-ID: <1dmv9kINN50t@usenet.INS.CWRU.Edu>
- References: <9211082953@gandalf.moria> <1992Nov9.144932.27093@colorado.edu> <1992Nov9.195631.23296@netcom.com>
- NNTP-Posting-Host: odin.ins.cwru.edu
-
- In article <1992Nov9.195631.23296@netcom.com> aclark@netcom.com (Al Clark) writes:
- > It does NOT have shell variables as distinct
- > from environment variables (no loss in my estimation).
-
- This is not true. A variable is not placed into the environment exported
- to children unless the `export' command is used:
-
- odin(3)$ abcd=efgh
- odin(3)$ echo $abcd
- efgh
- odin(3)$ printenv abcd
- odin(3)$ export abcd
- odin(3)$ printenv abcd
- efgh
-
- Chet Ramey
- Bash maintainer
-
- --
- ``The use of history as therapy means the corruption of history as history.''
- -- Arthur Schlesinger
-
- Chet Ramey, Case Western Reserve University Internet: chet@po.CWRU.Edu
-