REFSORT.COM ----------- Copyright 1986 Carl M. Tootle This is an extension of my line-sorting program, LINESORT.COM, which alphabetically sorts ASCII input on a line-by-line basis. This program was written in response to the need to sort document references longer than one line. A single reference may be up to ten lines of up to 255 bytes each. All references must be in an ASCII text file, single-spaced and with a blank line between each reference. The first line of each reference is the sort key, and leading spaces or tabs are ignored. The sort is on a case-INsensitive basis, and each reference is written to an ASCII output file in sorted order. Input files and output files are specified as command-line parameters: refsort input.fil output.fil Sorting proceeds in memory, if possible, and if not then disk space is automatically used. This is the Turbo-Sort tool distributed by Borland International with the Turbo-Pascal compiler, and is a QuickSort algorithm. It requires PLENTY of empty disk space (and more time) as the size of the input file increases. The object file was compiled with C200 hex as the end address, so the program should run on most CP/M computers. The GINST Turbo Tool is provided for terminal installation if desired (without installation, REFSORT.COM is for Kaypros with hilite). To install, put all files on disk and type REFSINST at the A> prompt; see the file INSTALL.DOC for the details. I am interested in any comments: Carl M. Tootle 33 North Stone Ave., #1220 Tucson, AZ 85701