home *** CD-ROM | disk | FTP | other *** search
-
- File Sorting Utility 1.3 -- Replacement of C:Sort
-
- (c) 1995 Martin Mares, MJSoft System Software
-
- ================================================================================
-
-
- Preface
- =======
-
- FSort, its documentation and the ss.library are Copyright (c) Martin Mares,
- MJSoft System Software, Prague, Czech Republic.
-
- This archive can be freely redistributed as long as all of its files are
- included in their original form without any additions, deletions or
- modifications (excluding addition of other README-style files and icons) and no
- more than a nominal fee is charged for its distribution. All copyright notices
- in the programs and accompanying documentation files must remain intact. It's
- especially forbidden to add various '.displayme' files and BBS advertisements.
- This style of distribution is generally known as FREEWARE.
-
- Source text of this program is included in the distribution. You can freely
- improve it. If you want to distribute your improved version, there're two
- possibilities: (1) Send your improvements to me (the best form is a diff
- output) and I'll include them in the next release. (2) Distribute them alone.
- In this case, you must mention the name of original author, change the name of
- the product (not only by increasing the version), and obey all of the
- distribution rules mentioned above.
-
- This software is provided "AS IS" without warranty of any kind, either
- expressed or implied. The author is not responsible for any damage caused by
- it.
-
-
- Introduction
- ============
-
- File sorting... Hmm... C:Sort does this... But it's very sssslllllooooowwwww.
- ARP Sort sorts slightly faster.
-
- - FSort tries to be much more better.
-
- - FSort supports input from stdin and output to stdout (PIPES !!!).
-
- - FSort eats less RAM (but slightly more than ARP Sort).
-
- - FSort requires Kickstart 2.04 or higher.
-
- - FSort is pure and can be made resident.
-
- - FSort takes advantage of the powerful ss.library (also in this archive,
- see SSLib??.lha on the AmiNet for complete distribution).
-
- Speed comparison: (280K file, on GVP A530 Turbo - 68EC030 40MHz)
-
- original C:Sort 37.3 36 seconds 380K used
- ARP Sort 27 seconds 317K used
- FSort 4.9 seconds 334K used
-
- All the timings are mesaured by Stat 1.0 (available in MJUtils.lha on AmiNet).
-
-
- Usage
- =====
-
- FSort must be started from the shell.
-
- Syntax: FSort [<source> [<dest>]] [CASE] [BUF <bufsize>] [COLSTART <c>]
- [WIDTH <w>]
-
- source - source file (standard input if omitted)
- dest - destination file (standard output if omitted)
- CASE - perform case-dependent sorting (it may be faster a lot)
- BUF - set I/O buffer size in bytes (default: 8192). Maximal allowed line
- length is equal to approximately one half of this size.
- COLSTART - byte offset on the line the comparison starts from (0=leftmost)
- WIDTH - width of line part the comparison is applied to
-
- Destination identical to source is allowed.
-
-
- Speed
- =====
-
- This paragraph describes how various options affect sorting speed. All the
- timings (477K file, on GVP A530 Turbo - 68EC030 40MHz, measured by Stat 1.0):
-
- Default 6.99 sec
- CASE 5.65 sec
- COLSTART/WIDTH 7.63 sec
- CASE+COLSTART/WIDTH 6.19 sec
-
-
- History
- =======
-
- Version 1.2 (16 Jan 1995)
-
- - BUF option added to allow processing of very long lines.
-
- - Corrected sorting of files with more than 65535 lines. If you need to sort
- such files, you must use ss.library version 5.1 or newer (version 5.1 is
- included in this archive).
-
- Version 1.3 (7 Feb 1995)
-
- - COLSTART and WIDTH options implemented.
-
- - Speed statistics added to the DOC.
-
-
- Notes
- =====
-
- Send suggestions, flames and bug reports to <mjsoft@k332.feld.cvut.cz>.
-
-