textproc/choose - The NetBSD Packages Collection

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

The AWK programming language is designed for text processing and is extremely
capable in this endeavor. However, the awk command is not ideal for rapid shell
use, with its requisite quoting of a line wrapped in curly braces, even for
the simplest of programs.

Likewise, cut is far from ideal for rapid shell use, because of its confusing
syntax. Field separators and ranges are just plain difficult to get right on
the first try.

It is for these reasons that I present to you choose. It is not meant to be a
drop-in or complete replacement for either of the aforementioned tools, but
rather 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.

Build dependencies

lang/rust pkgtools/mktools pkgtools/digest pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64choose-1.3.4.tgz
NetBSD 10.0aarch64choose-1.3.4.tgz
NetBSD 10.0earmv7hfchoose-1.3.4.tgz
NetBSD 10.0earmv7hfchoose-1.3.4.tgz
NetBSD 10.0earmv7hfchoose-1.3.4.tgz
NetBSD 10.0i386choose-1.3.4.tgz
NetBSD 10.0i386choose-1.3.4.tgz
NetBSD 10.0powerpcchoose-1.3.4.tgz
NetBSD 10.0powerpcchoose-1.3.4.tgz
NetBSD 10.0powerpcchoose-1.3.4.tgz
NetBSD 10.0sparc64choose-1.3.4.tgz
NetBSD 10.0sparc64choose-1.3.4.tgz
NetBSD 10.0x86_64choose-1.3.4.tgz
NetBSD 10.0x86_64choose-1.3.4.tgz
NetBSD 9.0earmv7hfchoose-1.3.4.tgz
NetBSD 9.0earmv7hfchoose-1.3.4.tgz
NetBSD 9.0i386choose-1.3.4.tgz
NetBSD 9.0i386choose-1.3.4.tgz
NetBSD 9.0powerpcchoose-1.3.4.tgz
NetBSD 9.0powerpcchoose-1.3.4.tgz
NetBSD 9.0powerpcchoose-1.3.4.tgz
NetBSD 9.0x86_64choose-1.3.4.tgz
NetBSD 9.0x86_64choose-1.3.4.tgz
NetBSD 9.3x86_64choose-1.3.4.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.