hck-0.1.1-beta.2 is not a library.
Visit the last successful build:
hck-0.10.0
🪓 hck
hck
is a shortening of hack
, a rougher form of cut
.
A close to drop in replacement for cut that uses a regex delimiter instead of a fixed string. Additionally this tool allows for specification of the order of the output columns using the same column selection syntax as cut (see below for examples).
Features
- Reordering of output columns! i.e. if you use
-f4,2,8
the output columns will appear in the order4
,2
,8
- Regex delimiter, i.e. you can split on multiple spaces without and extra pipe to
tr
! - Selection of columns by header regex with the
-F
option, or by string literal by setting the-L
flag - As fast as cut or awk
Install
With the Rust toolchain:
From the releases page:
TODO
- Add complement argument
- Handle pipe closing and such more gracefully
- Update CI