home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 16800 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  1.1 KB

  1. Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!odin!chet
  2. From: chet@odin.ins.cwru.edu (Chet Ramey)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Bash ( Was Re: which(1) ? where-is-it : I-wrote-one)
  5. Date: 10 Nov 1992 00:21:08 GMT
  6. Organization: Case Western Reserve University, Cleveland OH (USA)
  7. Lines: 23
  8. Message-ID: <1dmv9kINN50t@usenet.INS.CWRU.Edu>
  9. References: <9211082953@gandalf.moria> <1992Nov9.144932.27093@colorado.edu> <1992Nov9.195631.23296@netcom.com>
  10. NNTP-Posting-Host: odin.ins.cwru.edu
  11.  
  12. In article <1992Nov9.195631.23296@netcom.com> aclark@netcom.com (Al Clark) writes:
  13. >     It does NOT have shell variables as distinct
  14. >     from environment variables (no loss in my estimation).
  15.  
  16. This is not true.  A variable is not placed into the environment exported
  17. to children unless the `export' command is used:
  18.  
  19. odin(3)$ abcd=efgh
  20. odin(3)$ echo $abcd
  21. efgh
  22. odin(3)$ printenv abcd
  23. odin(3)$ export abcd
  24. odin(3)$ printenv abcd
  25. efgh
  26.  
  27. Chet Ramey
  28. Bash maintainer
  29.  
  30. -- 
  31. ``The use of history as therapy means the corruption of history as history.''
  32.     -- Arthur Schlesinger
  33.  
  34. Chet Ramey, Case Western Reserve University    Internet: chet@po.CWRU.Edu
  35.