home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / bash / bug / 596 < prev    next >
Encoding:
Text File  |  1992-09-08  |  804 b   |  35 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!netcom.com!alm
  3. From: alm@netcom.com (Andrew Moore)
  4. Subject: "tee | bash -i" doesn't work?
  5. Message-ID: <w!rn-wq.alm@netcom.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Netcom - Online Communication Services  (408 241-9760 guest)
  8. Distribution: gnu
  9. Date: Tue, 8 Sep 1992 02:48:27 GMT
  10. Approved: bug-bash@prep.ai.mit.edu
  11. Lines: 22
  12.  
  13. [Sorry if this is an FAQ.  Is an FAQ available?]
  14.  
  15. $ tee | sh -i
  16.  
  17. works and
  18.  
  19. $ tee | bash -s
  20.  
  21. works, but I can't seem to get out of:
  22.  
  23. $ tee | bash -i
  24.  
  25. This is true of ash and ksh as well.  I want to use the construct to
  26. create a log file without screen:
  27.  
  28. $ tee -a log | bash -i 2>&1 | tee -a log
  29.  
  30. Is this behaviour a bug in bash or in sh?  Or am I leaving something
  31. out?  Thanks.
  32. -Andrew Moore <alm@netcom.com>
  33.  
  34.  
  35.