FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

We also have a status page: https://freshports.wordpress.com/

Port details
sortu Tool that combines sort and uniq functionality
2.1.2 sysutils on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: matt@peterson.org search for ports maintained by this maintainer
Port Added: 13 Mar 2008 15:07:16
License: ISCL
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/
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (4 items)
  1. bin/sortu
  2. /usr/local/share/licenses/sortu-2.1.2/catalog.mk
  3. /usr/local/share/licenses/sortu-2.1.2/LICENSE
  4. /usr/local/share/licenses/sortu-2.1.2/ISCL
  5. Collapse this list.

To install the port: cd /usr/ports/sysutils/sortu/ && make install clean
To add the package: pkg install sortu

PKGNAME: sortu

distinfo:

SHA256 (sortu-2.1.2.tgz) = eb42c4bc314996db27e0db7d7f04432ddf6ce2f34a316b1d3f2c4ba89c165ead
SIZE (sortu-2.1.2.tgz) = 54396

There are no ports dependent upon this port


Configuration Options
===> The following configuration options are available for sortu-2.1.2:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings

Master Sites:
  1. http://256.com/sources/sortu/
  2. http://matt.peterson.org/FreeBSD/ports/

Number of commits found: 7

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
25 Feb 2014 15:20:30
Original commit files touched by this commit  2.1.2
Revision:346022
ehaupt search for other commits by this committer
Support staging
21 Feb 2014 13:39:38
Original commit files touched by this commit  2.1.2
Revision:345435
ehaupt search for other commits by this committer
Remove trailing whitespaces from category sysutils
10 Feb 2014 13:54:28
Original commit files touched by this commit  2.1.2
Revision:343634
ehaupt search for other commits by this committer
According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
20 Sep 2013 23:06:00
Original commit files touched by this commit  2.1.2
Revision:327772
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils)
19 Jun 2012 16:44:39
Original commit files touched by this commit  2.1.2
jgh search for other commits by this committer
- update to 2.1.2, honour CC/CFLAGS and add LICENSE [1]
- while here [2]
  - use optionsNG for portdocs
  - use portsdocs and plist files in favor of pkg-plist file
  - remove unnecessary inclusion of bsd.port.pre.mk in favor of
bsd.port.options.mk

PR:     ports/169141
Submitted by:   koobs.freebsd@gmail.com [1], jgh@ [2]
Approved by:    maintainer, matt@peterson.org
19 Mar 2011 12:38:54
Original commit files touched by this commit  2.1.0
miwi search for other commits by this committer
- Get Rid MD5 support
13 Mar 2008 14:50:58
Original commit files touched by this commit  2.1.0
jadawin search for other commits by this committer
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)

Number of commits found: 7

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
jenkinsDec 15
jenkins-ltsDec 15
gitlabDec 14
nodeDec 14
node4Dec 14
node6Dec 14
node8Dec 14
torDec 14
asterisk13Dec 13
asterisk13*Dec 13
asterisk13*Dec 13
asterisk13*Dec 13
libxml2Dec 13
curl*Dec 11
linux-c7-curl*Dec 11

17 vulnerabilities affecting 108 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2017-12-15 16:33:45


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 32130
Broken 122
Deprecated 47
Ignore 358
Forbidden 0
Restricted 173
No CDROM 77
Vulnerable 43
Expired 10
Set to expire 39
Interactive 0
new 24 hours 0
new 48 hours7
new 7 days77
new fortnight119
new month48543

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2017 Dan Langille. All rights reserved.