home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / qutil2.zip / qtee.doc < prev    next >
Text File  |  1993-04-17  |  1KB  |  51 lines

  1.  
  2.  
  3.                         QTEE (OS/2) - 1.00
  4.                           Documentation
  5.  
  6.     Copyright 1992-1993, Thomas G. Harold, All Rights Reserved.
  7.  
  8.  
  9.     QTEE [-a] files...
  10.  
  11.         -a  - files will be appended to instead of overwritten
  12.         files... - list of files
  13.  
  14.     QTEE is part of the QUTIL2 utilities package and may not be 
  15. distributed seperately.  QTEE mimics the *nix command in usage 
  16. and function.  QTEE allows standard input and output to be
  17. split to a file or list of files.
  18.  
  19. -----------------------------------------------------------------
  20.  
  21. I.  Installation:
  22.  
  23.     Copy the qtee.exe file to a directory in your PATH statement.
  24.  
  25. II. Usage:
  26.  
  27.     QTEE is generally used in conjunction with the pipe command
  28. during standard input/output redirection.  One example would
  29. be:
  30.  
  31.     dir | qtee raw.dir | sort > sorted.dir
  32.  
  33.     In the above, the output from the "dir" command passes
  34. through a "qtee" command which writes a copy to the file "raw.dir",
  35. at the same time, "qtee" sends the output to the "sort" command
  36. which then writes the sorted list to the file "sorted.dir".
  37.  
  38.     QTEE will return a non-zero error code if it cannot open any
  39. of the files or if it is given invalid arguments.
  40.  
  41. -----------------------------------------------------------------
  42.  
  43. History:
  44.  
  45.         1.00    Oct 1992
  46.             Original release version.
  47.  
  48.         1.00    Apr 1993
  49.             Original OS/2 port.
  50.             
  51.