blob: 38daf8eecd20040a33774a588040c8e6c307ef29 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
This is choose, a human-friendly and fast alternative to cut and
(sometimes) awk.
Features
- terse field selection syntax similar to Python's list slices
- negative indexing from end of line
- optional start/end index
- zero-indexed
- reverse ranges
- aslightly faster than cut for sufficiently long inputs, much faster
than awk
- regular expression field separators using Rust's regex syntax
|