copy.rex

Pipelines v2.1

 

.....|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....10...

Home

     **** Top of file ****
   1
   2 /* The following pipeline handles two input arguments:
   3
   4    arg 1. The name of a file to read.
   5    arg 2. The name of the output file.
   6
   7    The pipeline copies the input file to the output file. */
   8
   9 Address Rxpipe
  10
  11 Parse Arg infile ',' outfile
  12
  13 'pipe <' infile ,    /* Read input file. */
  14      '| >' outfile   /* Write to output file. */
  15
  16 Exit 0
     **** End of file ****
 

 

 
Validate the arguments!