Skip site navigation (1)Skip section navigation (2)

CVS log for ports/sysutils/sortu/Makefile

[BACK] Up to [FreeBSD] / ports / sysutils / sortu

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Mar 13 14:50:57 2008 UTC (3 years, 10 months ago) by jadawin
Branches: MAIN
CVS tags: RELEASE_9_0_0, RELEASE_8_2_0, RELEASE_8_1_0, RELEASE_8_0_0, RELEASE_7_4_0, RELEASE_7_3_0, RELEASE_7_2_0, RELEASE_7_1_0, RELEASE_6_EOL, RELEASE_6_4_0, RELEASE_5_EOL, HEAD
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/

PR:		ports/121376
Submitted by:	Matt Peterson <matt at peterson.org>
Approved by:	tabthorpe (mentor)

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options