home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 144_01 / cat.hlp < prev    next >
Text File  |  1985-08-21  |  2KB  |  45 lines

  1. **********************************************************************
  2. *                             CAT                                    *
  3. **********************************************************************
  4. *                  COPYRIGHT 1983 EUGENE H. MALLORY                  *
  5. **********************************************************************
  6. PROGRAM:
  7.     CAT - Concatenate named files together to produce the output.
  8. USAGE:
  9.     CAT [<fid] [afn ...] [>fid]
  10. FUNCTION:
  11.     This accepts a list of file names either on the command line
  12.     or from the standard input.  File names in the command line
  13.     may use afn's. File names in the standard input may not be
  14.     wildcarded.  The files are read in the order mentioned, command
  15.     line first, then the input, if any.  As they are read, they are
  16.     sent to the standard output.
  17.     
  18.     Unless piping is used or the standard input is assigned to a file
  19.     (i.e. <file), only the command line arguments will be used
  20.     as file names.
  21.     
  22. EXAMPLE:
  23.     CAT *.HLP
  24.     LS *.HLP |CAT
  25.     CAT F1 F2 F3 >FALL
  26.     CAT <FILELIST >ALLLINES
  27.     
  28.  
  29.  
  30.         Command Line                       
  31.  
  32. ___________________________________  
  33.                                   |  
  34.                                   |  
  35.                                   |  
  36.                                   |  AMBIGUOUS FILE NAME LIST
  37.                                   |                  
  38.                     ______________V______________    
  39.  Standard Input     |                           |   Standard Output
  40.  FILE NAME LIST     |                           |  CONCATENATED TEXT
  41. ------------------->|          CAT              |----------------------->
  42.                     |                           |
  43.                     |                           |
  44.                     |___________________________|
  45.