***************************************************************************** LSort 1.1 (3.11.94) © Konrad Dubiel ***************************************************************************** INTRODUCTION -------------- LSort is a freeware and may be freely distributed as long as all files remain unchanged. The author can not be taken responsible for any damage caused by this program or its improper use. LSort is a localized Sort command, it uses standard locale.library's functions for string comparison. It adapts automatically to sorting rules of preferred language set in Locale preferences. LSort must be run from Shell only, can be made resident and is able to read files from PIPE: device. LSort requires Workbench 2.1 or later. Note for Norwegian users: LSort doesn't sort properly when used with standard Commodore's language file, which is missing character comparison table. To fix this problem I've included in this archive corrected file 'norsk.language' which should be copied to 'LOCALE:Languages' directory of your Workbench disk. Thanks for Øyvind Falch (oyvindfa@ifi.uio.no) for reporting this. Suggestions and bug-reports please send to: Konrad Dubiel ul. Bartnicza 12/5 71-487 Szczecin Poland E-mail: banshee@uoo.univ.szczecin.pl USAGE ------- Template: LSort FROM/A,TO/A,COLSTART/K/N,REVERSE/S,NOBLANKS/S FROM - input file name (to be sorted) TO - output file name (after sorting) COLSTART - starting column number REVERSE - reverse sort direction (Z-A) NOBLANKS - skip leading blank characters (spaces, tabs) Examples: LSort FROM file1 TO file2 This command will sort file1 and write result to file2 LSort file file COLSTART 10 Sort starting from 10th column and save to the same file LSort file1 file2 REVERSE NOBLANKS Reverse sorting with leading spaces being skipped from comparison LSort PIPE: PRT: Read file from PIPE:, sort and print it