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
===> The following configuration options are available for choose-1.3.7_12:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
*/*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the
compat-11 symbols until version 0.2.176. Patch a great many Rust ports
to use a newer version of libc, to eliminate the dependency on COMPAT11.
Explicitly patching Cargo.lock isn't usually necessarily, since within
the build jail cargo is forced to use whichever crates Makefile.crates
installs there.
Notes on specific ports:
* textproc/bookokrat: Rework bookokrat's existing patch to be more
robust. Also, report the issue upstream:
https://github.com/bugzmanov/bookokrat/issues/182
(Only the first 15 lines of the commit message are shown above )
*/*: remove STRIP_CMD calls in rust based ports
This is not needed after bc4fedc1fec0d359365c04d43be9e32bf101a50e
PR: 246993
Differential Revision: https://reviews.freebsd.org/D46503
textproc/choose: add port: Human-friendly and fast alternative to cut and
(sometimes) awk
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
WWW: https://github.com/theryangeary/choose