choose

A human-friendly and fast alternative to cut and (sometimes) awk. More information: https://github.com/theryangeary/choose.

choose 4

choose --field-separator ':' 0 2 4

choose 1:4

choose --exclusive 1:4

choose :2

choose --exclusive :2

choose 2:

choose -1