Sort

Pipelines v2.0

 

/* Example by TenFiftyTwo(c). */

Home

 
/* The following pipeline reads the file: example.txt and performs a non-case
   sensitive sort of the input records. */
 
Address Rxpipe
 
'pipe < &installdrive:\&installpath\Examples\Input\example.txt', /* Read input file. */
     '| strip trailing',                                         /* Trim off whitespce. */
     '| locate',                                                 /* Discard null records. */
     '| sort anycase',                                           /* Sort, ignoring case. */
     '| cons'                                                    /* Display on the console. */
 
Say 'Hit Enter to close..'
Parse Pull
 
Exit 0