diff options
author | Philippe Audeoud <jadawin@FreeBSD.org> | 2008-03-13 14:50:57 +0000 |
---|---|---|
committer | Philippe Audeoud <jadawin@FreeBSD.org> | 2008-03-13 14:50:57 +0000 |
commit | 2a51f06664f4cc07bf064be2f5ed7455abe4d7c2 (patch) | |
tree | b5c3e6932e391d2aa9821db25bd76b39354d1bad /sysutils/sortu/pkg-descr | |
parent | 2d73db35333e6fc7a451669d2944eb5d5e73dc3a (diff) |
Notes
Diffstat (limited to 'sysutils/sortu/pkg-descr')
-rw-r--r-- | sysutils/sortu/pkg-descr | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/sortu/pkg-descr b/sysutils/sortu/pkg-descr new file mode 100644 index 000000000000..fb4f9d55fc6d --- /dev/null +++ b/sysutils/sortu/pkg-descr @@ -0,0 +1,16 @@ +The sortu program is a replacement for the sort and uniq programs. It is +common for Unix script writers to want to count how many separate patterns +are in a file. For example, if you have a list of addresses, you may want +to see how many are from each state. So you cut out the state part, sort +these, and then pass them through uniq -c. Sortu does all this for you in a +fraction of the time. + +Sortu uses a hash table and some decent line processing to provide this +functionality. For a relatively small number of keys, it can be signifcantly +smaller than using sort, because it does not have to keep temporary files. +If you are dealing with a large number of unique keys then sortu will run out +of memory and stop. Sortu has some basic field and delimiter handling which +should do most basic awk or cut features to separate out the field that you +are sorting on. + +WWW: http://256.com/sources/sortu/ |