Sorting a paragraph

Pipelines v1.6

 

.* Example by TenFiftyTwo(c).

Home

 
.* The following pipeline reads the input file: example.txt, and calls the target
.* pipeline: SortParagraph.ppl to sort the second paragraph in ascending record order.
 
pipe (endchar ?)
     < &installdrive:\&installpath\Examples\Input\example.txt            .* Read the input file.
     | callpipe "&installdrive:\&installpath\Examples\Handle arguments\SortParagraph.ppl" 2 a
     | cons                                                              .* Display on the console.