headsort sorts files by line and fields. Options can pick field order and etc. Mostly compatible with gnu sort(1).

It also has several sort algorithms to try.

In general headsort can sort in 1/2 the time sort(1) (mergesort) does in situations involving either pipes or mult column selection; less than 1/2 with both. Best case was about opposite that of sort(1)*.

NEW* hsort main algorithm speed improvement (applies to all; 27,29,31). Now faster than sort(1) (in all cases tested).

Using triangulation, hsort begins piped sorted output when 1st bin is done. This means it has new applications in distributed computing and in some cases makes dc un-necessary. (gnu sort must finish all bins)

Well compatible with gnu sort (most should not copy over sort binary).

other algorthms featured if menu used:

bubble, selection, insertion, shell, distributive counting, straight radix, radix exchange, quick, merge. (some are by character, some by line, some both)

Features

  • NEW: main algo SPEED improvement ! (all: 27,29,31)
  • NEW: mini-sort DEMO for those wishing to use hsort algorithm in other programs
  • exact column selection sort what's needed , not all / heuristic
  • non-buggy numeric sorting , fast , very wide numbers
  • floating month names (as international) (or as ordering rule)
  • pretty text + binary + hex dump of file
  • menu for trying other algorithms / selectable algorithm
  • all sort(1) options supported , always stable
  • arg handling even closer to gnusort's
  • sources much cleaned and simplified. easy GNU make.
  • see manpage for all features
  • (new speed by dimensional access reduction, 31 now has two kinds of)

Project Samples

Project Activity

See All Activity >

License

Other License

Follow headsort

headsort Web Site

You Might Also Like
Digital Payments by Deluxe Payment Exchange Icon
Digital Payments by Deluxe Payment Exchange

A single integrated payables solution that takes manual payment processes out of the equation, helping reduce risk and cutting costs for your business

Save time, money and your sanity. Deluxe Payment Exchange+ (DPX+) is our integrated payments solution that streamlines and automates your accounts payable (AP) disbursements. DPX+ ensures secure payments and offers suppliers alternate ways to receive funds, including mailed checks, ACH, virtual credit cards, debit cards, or eCheck payments. By simply integrating with your existing accounting software like QuickBooks®, you’ll implement efficient payment solutions for AP with ease—without costly development fees or untimely delays.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of headsort!

Additional Project Details

Operating Systems

Linux, BSD

Intended Audience

Advanced End Users, Engineering

User Interface

Console/Terminal

Programming Language

C

Related Categories

C Systems Administration Software, C Scientific Engineering

Registered

2013-04-05