home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / msdos / programm / 12353 < prev    next >
Encoding:
Text File  |  1993-01-23  |  1.0 KB  |  25 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!vuse.vanderbilt.edu!stst
  3. From: stst@vuse.vanderbilt.edu (Stefan Strack)
  4. Subject: Re: tee for DOS?
  5. Message-ID: <C19yB0.AJB@vuse.vanderbilt.edu>
  6. Sender: news@vuse.vanderbilt.edu
  7. Nntp-Posting-Host: necs
  8. Organization: Vanderbilt University School of Engineering, Nashville, TN, USA
  9. References: <1993Jan22.184439.27754@magnus.acs.ohio-state.edu>
  10. Date: Fri, 22 Jan 1993 21:28:12 GMT
  11. Lines: 12
  12.  
  13. In article <1993Jan22.184439.27754@magnus.acs.ohio-state.edu> esova@magnus.acs.ohio-state.edu (Edward R Sova) writes:
  14. >Where can I get the Unix tee command for DOS?  You can split redirection and
  15. >piping.  like maybe foo | tee > prn >logfile.  Well I'm not sure of the 
  16. >syntax, and I don't care right now, but I think you see what I want.  Where
  17. >is it?  Thanx
  18. >
  19.  
  20. TEE (as well as Y) are internal commands of 4DOS, the command.com replacement.
  21. The syntax is foo | tee logfile | prn. Note that you can roll your own tee
  22. with just a few lines of code.
  23.  
  24. Regards, Stefan (stst@vuse.vanderbilt.edu)
  25.