BSD Ports

textproc/choose 1.3.6_4 DragonFly

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

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
textproc
Package size
715.9 KiB, 2658.8 KiB installed

Description

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

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
  • aslightly faster than cut for sufficiently long inputs, much faster than awk
  • regular expression field separators using Rust's regex syntax

In the other systems

SystemPortVersion
DragonFlytextproc/choose1.3.6_4
FreeBSDtextproc/choose1.3.7_12
NetBSDtextproc/choose1.3.4

Install

Binary package:

pkg install choose

From DPorts:

cd /usr/dports/textproc/choose && make install clean

Dependencies

No port depends on this one.