Install latest/stable of choose
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
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
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.