home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / gnu / bash / bug / 552 < prev    next >
Encoding:
Text File  |  1992-08-14  |  1.1 KB  |  34 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!odin.ins.cwru.edu!chet
  3. From: chet@odin.ins.cwru.edu (Chet Ramey)
  4. Subject: Re: $() fails if stdin and stdout are not open
  5. Message-ID: <9208131845.AA05611.SM@odin.INS.CWRU.Edu>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: chet@po.cwru.edu
  8. Organization: GNUs Not Usenet
  9. References: chet@odin.ins.cwru.edu (Chet Ramey)
  10. Distribution: gnu
  11. Date: Thu, 13 Aug 1992 10:45:59 GMT
  12. Approved: bug-bash@prep.ai.mit.edu
  13. Lines: 19
  14.  
  15. > If bash is run with stdin and stdout closed, the backquoting mechanism fails.
  16. > Look:
  17. > bash$ bash -c 'echo foo$(echo bar)baz >/dev/tty' >&- <&-
  18. > foobaz
  19.  
  20. I don't know which version you're using (your last message said 1.2), but I
  21. don't find this to be a problem with the current development 1.13 on a
  22. Sun running SunOS 4.1.2, Decstation running Ultrix 4.2, an IBM RT running
  23. 4.3 BSD, or a NeXT running OS 2.1.
  24.  
  25. Chet
  26.  
  27. --
  28. ``The use of history as therapy means the corruption of history as history.''
  29.     -- Arthur Schlesinger
  30.  
  31. Chet Ramey, Case Western Reserve University    Internet: chet@po.CWRU.Edu
  32.  
  33.