Version1.3.7
Revision70
Size1.3 MB
LicenseGPL-3.0
Confinementstrict
Basecore24
CategoriesUtilities

Human-friendly and fast alternative to cut and (sometimes) awk


This is choose, a human-friendly and fast alternative to cut and (sometimes) awk.

USAGE:
 choose [FLAGS] [OPTIONS] <choices>...


FLAGS:
 -c, --character-wise    Choose fields by character number
 -d, --debug             Activate debug mode
 -x, --exclusive         Use exclusive ranges, similar to array indexing in many programming languages
 -h, --help              Prints help information
 -n, --non-greedy        Use non-greedy field separators
 -V, --version           Prints version information

OPTIONS:
 -f, --field-separator <field-separator>
         Specify field separator other than whitespace, using Rust regex syntax


 -i, --input <input>                                      Input file
 -o, --output-field-separator <output-field-separator>    Specify output field separator

ARGS:
 <choices>...    Fields to print. Either a, a:b, a..b, or a..=b, where a and b are integers. The beginning or end
                 of a range can be omitted, resulting in including the beginning or end of the line,
                 respectively. a:b is inclusive of b (unless overridden by -x). a..b is exclusive of b and a..=b
                 is inclusive of b

Update History

1.3.7 (70)
13 Dec 2025, 09:47 UTC

Published12 Sept 2024, 20:46 UTC

Last updated19 Nov 2025, 11:54 UTC

First seen13 Dec 2025, 09:47 UTC