BSD Ports

textproc/choose 1.3.7_12 FreeBSD

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

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
GPLv3
Categories
textproc
Package size
574.3 KiB, 1642.4 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
FreeBSDtextproc/choose1.3.7_12
NetBSDtextproc/choose1.3.4
DragonFlytextproc/choose1.3.6_4

Install

Binary package:

pkg install choose

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	choose>0:textproc/choose

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.7_111.3.7_12-1.3.71.3.7_12
FreeBSD:14:quarterly1.3.7_101.3.7_10n/a1.3.6_61.3.7_10
FreeBSD:15:latest1.3.7_121.3.7_12n/a1.3.6_71.3.7
FreeBSD:15:quarterly1.3.7_101.3.7_10n/an/an/a
FreeBSD:16:latest1.3.7_101.3.7_12n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 11

No port depends on this one.

Configuration

Options name: textproc_choose

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cargo
Service scripts
none

Files

distinfo 32
FileSizeSHA256
rust/crates/aho-corasick-1.1.3.crate1833118e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916
rust/crates/ansi_term-0.12.1.crate24838d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2
rust/crates/atty-0.2.14.crate5470d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
rust/crates/backslash-0.2.0.crate14646fc9fc0782bff70e4ea109606bc4e37162191a39a513416ae04c8fcadc983e42d
rust/crates/bitflags-1.3.2.crate23021bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
rust/crates/clap-2.34.0.crate202210a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c
rust/crates/heck-0.3.3.crate102606d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c
rust/crates/hermit-abi-0.1.19.crate997962b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33
rust/crates/lazy_static-1.5.0.crate14025bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe
rust/crates/libc-0.2.186.crate82188368ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66
rust/crates/memchr-2.7.4.crate9667078ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3
rust/crates/proc-macro-error-1.0.4.crate25293da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c
rust/crates/proc-macro-error-attr-1.0.4.crate7971a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869
rust/crates/proc-macro2-1.0.86.crate489585e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77
rust/crates/quote-1.0.37.crate28558b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af
rust/crates/regex-1.10.6.crate2538944219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619
rust/crates/regex-automata-0.4.7.crate61758238caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df
rust/crates/regex-syntax-0.8.4.crate3475777a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b
rust/crates/strsim-0.8.0.crate93098ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a
rust/crates/structopt-0.3.26.crate537980c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645