Copy

Pipelines v2.0

 

/* Example by TenFiftyTwo(c). */

Home

 
/* The following pipeline handles two input arguments:
 
   arg 1. The name of a file to read.
   arg 2. The name of the output file.
 
   The pipeline copies the input file to the output file. */
 
Address Rxpipe
 
Parse Arg infile ‘,’ outfile
 
pipe <’ infile ,    /* Read input file. */
     ‘| >’ outfile   /* Write to output file. */
 
Exit 0