Documentation

choose – human-friendly and fast alternative to cut

Last Updated on July 1, 2023

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

choose is not designed to be a drop-in or complete replacement for cut or awk. Instead, it’s a simple and intuitive tool to reach for when the basics of awk or cut will do, but the overhead of getting them to behave should not be necessary.

This is free and open source software.

Key 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.
  • Slightly faster than cut for sufficiently long inputs, much faster than awk.
  • Regular expression field separators using Rust’s regex syntax.

Website: github.com/theryangeary/choose
Support:
Developer: Ryan Geary
License: GNU General Public License v3.0

choose - options

choose is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Alternatives to awk
gawkImplementation of the awk programming language
GoAWKPOSIX-compliant awk interpreter written in Go
MillerSmall and powerful CLI tool to do all your data processing
frawkSmall programming language for writing short programs processing textual data
chooseHuman-friendly and fast alternative to cut and (sometimes) awk
gemaGeneral purpose text processing utility based on the concept of pattern matching
mawkInterpreter for the awk programming language
ruplacerFind and replace text in source files
rawkPOSIX compatible AWK written in Rust
wakawk implementation for toybox and standalone
PAWKPython line processor
HawkHaskell text processor for the command-line
Alternatives to cut
hckDrop-in replacement that can use a regex delimiter instead of a fixed string
tucDrop-in replacement for cut
chooseHuman-friendly and fast alternative to cut
ccutColum's cut

Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments