Sort

Pipelines v1.9

 

.* Example by TenFiftyTwo(c).

Home

 
.* The following pipeline reads the file: example.txt and performs a non-case sensitive sort of
.* the input records.
 
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.