home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
util
/
cli
/
fsort
/
fsort.doc
< prev
next >
Wrap
Text File
|
1994-12-12
|
2KB
|
78 lines
File Sorting Utility -- Replacement of C:Sort
(c) 1994 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, and no more than a nominal fee is charged for its distribution.
All copyright notices in the programs and accompanying documentation files must
remain on their places. Also '.displayme' and other similar files may not be
added. This is generally known as FREEWARE.
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.
Assembly source of this program is included, but if you make any changes, I
will be pleased if you send them to me and I'll incorporate them into new
version. Please don't distribute modified versions of this software without my
permission.
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]
source - source file (standard input if omitted)
dest - destination file (standard output if omitted)
CASE - perform case-dependent sorting
Destination identical to source is allowed.
Notes
=====
Send suggestions, flames and bug reports to <mjsoft@k332.feld.cvut.cz>.