Skip to main content

Module key

Module key 

Source

Structs§

KeyDef
A parsed key specification from -k START[,END].
KeyOpts
Key definition parsing and field extraction for sort -k.

Functions§

extract_key
Extract the key portion of a line based on a KeyDef. Allocation-free: uses find_nth_field instead of collecting all fields.