Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 398 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 398 Bytes

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