Skip to content

choose

Human-friendly and fast alternative to cut and sometimes awk

Not a complete replacement for cut and awk, but rather a simple and intuitive tool to use when the basics of awk or cut are sufficient, but it is not necessary to run them.

terminal

https://github.com/theryangeary/choose

amd64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install choose

sudo apt install choose

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    choose=1.3.4*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      choose=1.3.4*

Download URLs

Version SHA256 Size (KB)
1.3.4 4f284c99d77f212f6941fa9a10ba4e92111ad2b654eff9bc3577980e72395230 542
1.3.3 c3c82b324903ee5b3c5fcc9a979c4c7cc4260a6d3456e635e90836e7e2aa75ba 540

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for choose are versioned here.

Click here to see choose ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/terminal/choose/ops2deb.yml
- name: choose
  version: 1.3.3
  revision: "3"
  homepage: https://github.com/theryangeary/choose
  summary: human-friendly and fast alternative to cut and sometimes awk
  description: |-
    Not a complete replacement for cut and awk, but rather a simple and intuitive
    tool to use when the basics of awk or cut are sufficient, but it is not
    necessary to run them.
  fetch: https://github.com/theryangeary/choose/releases/download/v{{version}}/choose-x86_64-unknown-linux-gnu
  script:
    - mv choose-x86_64-unknown-linux-gnu {{src}}/usr/bin/choose

- name: choose
  version: 1.3.4
  homepage: https://github.com/theryangeary/choose
  summary: human-friendly and fast alternative to cut and sometimes awk
  description: |-
    Not a complete replacement for cut and awk, but rather a simple and intuitive
    tool to use when the basics of awk or cut are sufficient, but it is not
    necessary to run them.
  fetch: https://github.com/theryangeary/choose/releases/download/v{{version}}/choose-x86_64-unknown-linux-gnu
  install:
    - choose-x86_64-unknown-linux-gnu:/usr/bin/choose

The blueprint fetch keyword contains a URL template pointing to choose releases. Downloaded files are locked in a lockfile versioned here.

Click here to see choose release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/terminal/choose/ops2deb.lock.yml
- url: https://github.com/theryangeary/choose/releases/download/v1.3.3/choose-x86_64-unknown-linux-gnu
  sha256: be74d8432765c8474d067d7c7d4916d2100ad92e232c1e1381a4c4293f118945
  timestamp: 2021-12-14 15:37:09+00:00
- url: https://github.com/theryangeary/choose/releases/download/v1.3.4/choose-x86_64-unknown-linux-gnu
  sha256: 80c0e3927757d5f69d93489cf5e4a7ddbe577b0f4e857eeda10701e54e1c3447
  timestamp: 2022-04-24 03:45:48+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/choose.svg)](https://docs.wakemeops.com/packages/choose)
<a href="https://docs.wakemeops.com/packages/choose">
  <img src="https://docs.wakemeops.com/badges/choose.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/choose.svg
:target: https://docs.wakemeops.com/packages/choose