Sorting Data with Qedit

We received a call from a user with an unusual Suprtool request: he needed to sort the contents of a file, except the first and last records. In other words, he wanted the second through second-last entries rearranged into sorted order. He needed to do this in batch, and the files had up to several hundred records.

Our solution? Use Qedit's Lsort command instead of Suprtool:

/text filex,unn /lsort first+1/last-1 keys 1,10 /keep,yes

....Back to the Qedit Q&A Page
....Back to the Suprtool Q&A Page