sort.rex

Pipelines v2.1

 

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

Home

     **** Top of file ****
   1
   2 /* The following pipeline reads the file: aldous.txt and performs a non-case
   3    sensitive sort of the first 10 non-blank input records. */
   4
   5 Address Rxpipe
   6
   7 'pipe < &installdrive:\&installpath\examples\input\aldous.txt',  /* Read input file. */
   8      '| strip trailing',                                         /* Trim off whitespace. */
   9      '| locate',                                                 /* Discard null records. */
  10      '| take 10',                                                /* Take the first 10 records. */
  11      '| sort anycase',                                           /* Sort, ignoring case. */
  12      '| cons'                                                    /* Display on the console. */
  13
  14 Say 'Hit Enter to close..'
  15 Parse Pull
  16
  17 Exit 0
     **** End of file ****
 

Console output

 
We need the output to update this!!!