home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / OS2TEE.ZIP / TEE.C < prev    next >
Text File  |  1988-08-12  |  2KB  |  53 lines

  1. /*************************************************
  2. *                                                *
  3. *                 "tee" Utility                  *
  4. *  Copyright  (c)  1988: by Delta Concepts Inc.  *
  5. *  All  rights,  not  expressly granted herein,  *
  6. *                are reserved.                   *
  7. *                                                *
  8. *  The  user  is  granted  the  right  to  make  *
  9. *  unlimited  copies  of  this  program  and to  *
  10. *  distribute  these  copies as he/she desires,  *
  11. *  EXCEPT that Delta Concepts reserves the SOLE  *
  12. *  right  to distribute the program for PROFIT.  *
  13. *  If  the  user  distributes  the product, the  *
  14. *  the may collect a duplication charge, not to  *
  15. *  exceed $5 per copy.                           *
  16. *                                                *
  17. *                                                *
  18. *  Be sure to check Compuserve  for future OS/2  *
  19. *  shareware  releases  from  Delta  Concepts.   *
  20. *                                                *
  21. *  For  a  complete  catalog detailing the OS/2  *
  22. *  shareware available from Delta Concepts Inc,  *
  23. *  send $5, check or money order, to:            *
  24. *                                                *
  25. *           Delta Concepts Inc Dept 210          *
  26. *           249 South Hwy 101 suite 502          *
  27. *           Solana Beach, CA 92075, USA          *
  28. *                                                *
  29. *  Be sure to include your return address!       *
  30. *                                                *
  31. *                                                *
  32. *  All  comments  and  suggestions  are greatly  *
  33. *  appreciated   and   should  be  directed  to  *
  34. *                                                *
  35. *                   Joel French                  *
  36. *               User ID: 76576,3153              *
  37. *                                                *
  38. *************************************************/
  39.  
  40. #include <stdio.h>
  41.  
  42. #define BUFFER_SIZE 256
  43.  
  44. main (void) {
  45.   unsigned char   line [BUFFER_SIZE];
  46.  
  47.   while (fgets (line, BUFFER_SIZE, stdin) != NULL) {
  48.     fputs (line, stdout);
  49.     fputs (line, stderr);
  50.   }
  51.   return 0;
  52. }
  53.