---
name: sortu
version: 2.1.2
origin: sysutils/sortu
comment: Tool that combines sort and uniq functionality
arch: freebsd:9:x86:64
www: http://256.com/sources/sortu/
maintainer: matt@peterson.org
prefix: /usr/local
licenselogic: single
licenses: [ISCL]
flatsize: 54700
desc: |
  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/
categories: [sysutils]
files:
  /usr/local/bin/sortu: 9a55974674fa27ae52f37334fc42b496c56e5bfcea4ec011fc707d3887df83cb
  /usr/local/share/doc/sortu/README.txt: 67101a2fda1d61b2961bb0441f407e6d781cc39a07fa9f6ed96891820ea3f34a
  /usr/local/share/licenses/sortu-2.1.2/ISCL: e0feefef73c312a6c13e016f615f2aa86df45697405c81302144db873a32266e
  /usr/local/share/licenses/sortu-2.1.2/LICENSE: 5fe93c3e042a87337ef6e636ff3254d8d0cf41de9fb5481cb74c6a7801afabff
  /usr/local/share/licenses/sortu-2.1.2/catalog.mk: 27554cba270500d51cdff2e06678e18fe78e744031ed098f414023045716a9bc
directories:
  /usr/local/share/licenses/sortu-2.1.2/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/sortu/: n
scripts:
  post-install: |
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
    cd /usr/local
  post-deinstall: |
    cd /usr/local
    cd /usr/local
