Skip to content

A streaming binary sorting tool written in C++

License

Notifications You must be signed in to change notification settings

dcousens/binsort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binsort

A streaming binary sorting tool, pipes stdin to stdout, sorted.

Byte-for-byte, not UTF8 aware.

Uses OpenMP for multi-threading.

Examples

# sort by 32 byte chunks
<data.bin binsort 32

# sort by first 16 bytes, in 32 byte chunks
<data.bin binsort 16 32

# sort by bytes [16:24] (8 bytes), in 32 byte chunks
<data.bin binsort 16 24 32

LICENSE MIT