home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 014 / unixtee.arc / TEE.TXT < prev   
Encoding:
Text File  |  1986-11-12  |  944 b   |  29 lines

  1.                                                 TEE.EXE
  2.  
  3.  
  4.                                                 Class: UNIX
  5.  
  6. Duplicates output sent to STDOUT to file and screen.
  7.  
  8. NAME
  9.     TEE                         Duplicate output to screen and files
  10.  
  11. SYNOPSIS
  12.     tee [-a] [<file>]
  13.  
  14. DESCIPTION
  15.     The function of TEE is to redirect output of a program to a file and
  16.     still be able to view it on the screen. This is useful during processes
  17.     such as compiling where you would like to save the output to a file
  18.     for future use but need to know if keyboard input is needed. Tee takes
  19.     STDOUT as it's input so its best to pipe output from one program to it
  20.     to TEE.
  21.  
  22. OPTIONS
  23.         -a      Append to the specified file, do not create.
  24.  
  25. EXAMPLE
  26.         LC TEST.C | TEE TEST.ERR
  27.             This will take the output from the compilation of TEST, show it
  28.             on the screen and save it in TEST.ERR   
  29.